mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-11 15:58:48 +08:00
3 lines
1.4 MiB
3 lines
1.4 MiB
/*! For license information please see main.d2807b26.js.LICENSE.txt */
|
|
!function(){var e={9799:function(e,t,n){"use strict";var r={};n.r(r),n.d(r,{attentionMarkers:function(){return Ah},contentInitial:function(){return xh},disable:function(){return _h},document:function(){return bh},flow:function(){return wh},flowInitial:function(){return Th},insideSpan:function(){return Eh},string:function(){return Sh},text:function(){return Ch}});var i={};n.r(i),n.d(i,{safe:function(){return ey},spec:function(){return KO}});var o={};n.r(o),n.d(o,{getTrace:function(){return Rk},isKeyword:function(){return Mk},isProperty:function(){return Nk},isType:function(){return Dk}});var a={};n.r(a),n.d(a,{generate:function(){return Ob},name:function(){return mb},parse:function(){return vb},structure:function(){return gb}});var s={};n.r(s),n.d(s,{generate:function(){return Sb},name:function(){return bb},parse:function(){return wb},structure:function(){return Tb},walkContext:function(){return xb}});var u={};n.r(u),n.d(u,{generate:function(){return Qb},name:function(){return Cb},parse:function(){return _b},structure:function(){return Ab},walkContext:function(){return Eb}});var l={};n.r(l),n.d(l,{generate:function(){return Ib},name:function(){return Db},parse:function(){return Mb},structure:function(){return Nb}});var c={};n.r(c),n.d(c,{generate:function(){return Wb},name:function(){return jb},parse:function(){return Hb},structure:function(){return zb},walkContext:function(){return Bb}});var h={};n.r(h),n.d(h,{generate:function(){return Gb},name:function(){return Ub},parse:function(){return Xb},structure:function(){return qb}});var f={};n.r(f),n.d(f,{generate:function(){return Kb},name:function(){return Jb},parse:function(){return Yb},structure:function(){return Vb}});var d={};n.r(d),n.d(d,{generate:function(){return rx},name:function(){return ex},parse:function(){return nx},structure:function(){return tx}});var p={};n.r(p),n.d(p,{generate:function(){return sx},name:function(){return ix},parse:function(){return ax},structure:function(){return ox}});var m={};n.r(m),n.d(m,{generate:function(){return hx},name:function(){return ux},parse:function(){return cx},structure:function(){return lx}});var g={};n.r(g),n.d(g,{generate:function(){return mx},name:function(){return fx},parse:function(){return px},structure:function(){return dx}});var v={};n.r(v),n.d(v,{generate:function(){return Tx},name:function(){return yx},parse:function(){return xx},structure:function(){return bx},walkContext:function(){return kx}});var O={};n.r(O),n.d(O,{generate:function(){return Qx},name:function(){return Ex},parse:function(){return _x},structure:function(){return Ax}});var y={};n.r(y),n.d(y,{generate:function(){return Nx},name:function(){return Px},parse:function(){return Dx},structure:function(){return Rx}});var k={};n.r(k),n.d(k,{generate:function(){return Zx},name:function(){return Mx},parse:function(){return Fx},structure:function(){return Lx},walkContext:function(){return Ix}});var b={};n.r(b),n.d(b,{generate:function(){return Hx},name:function(){return jx},parse:function(){return zx},structure:function(){return Bx},xxx:function(){return $x}});var x={};n.r(x),n.d(x,{generate:function(){return Xx},name:function(){return Wx},parse:function(){return qx},structure:function(){return Ux}});var T={};n.r(T),n.d(T,{generate:function(){return Yx},name:function(){return Gx},parse:function(){return Vx},structure:function(){return Jx}});var w={};n.r(w),n.d(w,{generate:function(){return nT},name:function(){return Kx},parse:function(){return tT},structure:function(){return eT}});var S={};n.r(S),n.d(S,{generate:function(){return aT},name:function(){return rT},parse:function(){return oT},structure:function(){return iT}});var C={};n.r(C),n.d(C,{generate:function(){return cT},name:function(){return sT},parse:function(){return lT},structure:function(){return uT}});var E={};n.r(E),n.d(E,{generate:function(){return pT},name:function(){return hT},parse:function(){return dT},structure:function(){return fT}});var A={};n.r(A),n.d(A,{generate:function(){return OT},name:function(){return mT},parse:function(){return vT},structure:function(){return gT}});var _={};n.r(_),n.d(_,{generate:function(){return xT},name:function(){return yT},parse:function(){return bT},structure:function(){return kT}});var Q={};n.r(Q),n.d(Q,{generate:function(){return CT},name:function(){return TT},parse:function(){return ST},structure:function(){return wT}});var P={};n.r(P),n.d(P,{generate:function(){return QT},name:function(){return ET},parse:function(){return _T},structure:function(){return AT}});var R={};n.r(R),n.d(R,{generate:function(){return MT},name:function(){return PT},parse:function(){return NT},structure:function(){return DT},walkContext:function(){return RT}});var D={};n.r(D),n.d(D,{generate:function(){return $T},name:function(){return IT},parse:function(){return ZT},structure:function(){return FT},walkContext:function(){return LT}});var N={};n.r(N),n.d(N,{generate:function(){return WT},name:function(){return BT},parse:function(){return HT},structure:function(){return zT}});var M={};n.r(M),n.d(M,{generate:function(){return JT},name:function(){return qT},parse:function(){return GT},structure:function(){return XT}});var I={};n.r(I),n.d(I,{generate:function(){return rw},name:function(){return KT},parse:function(){return nw},structure:function(){return tw},walkContext:function(){return ew}});var L={};n.r(L),n.d(L,{generate:function(){return sw},name:function(){return iw},parse:function(){return aw},structure:function(){return ow}});var F={};n.r(F),n.d(F,{generate:function(){return fw},name:function(){return uw},parse:function(){return hw},structure:function(){return cw},walkContext:function(){return lw}});var Z={};n.r(Z),n.d(Z,{generate:function(){return vw},name:function(){return pw},parse:function(){return gw},structure:function(){return mw}});var $={};n.r($),n.d($,{generate:function(){return Tw},name:function(){return yw},parse:function(){return xw},structure:function(){return bw},walkContext:function(){return kw}});var j={};n.r(j),n.d(j,{generate:function(){return Aw},name:function(){return Sw},parse:function(){return Ew},structure:function(){return Cw}});var B={};n.r(B),n.d(B,{generate:function(){return Iw},name:function(){return Dw},parse:function(){return Mw},structure:function(){return Nw}});var z={};n.r(z),n.d(z,{generate:function(){return $w},name:function(){return Lw},parse:function(){return Zw},structure:function(){return Fw}});var H={};n.r(H),n.d(H,{generate:function(){return Hw},name:function(){return jw},parse:function(){return zw},structure:function(){return Bw}});var W={};n.r(W),n.d(W,{generate:function(){return Gw},name:function(){return Uw},parse:function(){return Xw},structure:function(){return qw}});var U={};n.r(U),n.d(U,{AnPlusB:function(){return a},Atrule:function(){return s},AtrulePrelude:function(){return u},AttributeSelector:function(){return l},Block:function(){return c},Brackets:function(){return h},CDC:function(){return f},CDO:function(){return d},ClassSelector:function(){return p},Combinator:function(){return m},Comment:function(){return g},Declaration:function(){return v},DeclarationList:function(){return O},Dimension:function(){return y},Function:function(){return k},Hash:function(){return b},IdSelector:function(){return T},Identifier:function(){return x},MediaFeature:function(){return w},MediaQuery:function(){return S},MediaQueryList:function(){return C},Nth:function(){return E},Number:function(){return A},Operator:function(){return _},Parentheses:function(){return Q},Percentage:function(){return P},PseudoClassSelector:function(){return R},PseudoElementSelector:function(){return D},Ratio:function(){return N},Raw:function(){return M},Rule:function(){return I},Selector:function(){return L},SelectorList:function(){return F},String:function(){return Z},StyleSheet:function(){return $},TypeSelector:function(){return j},UnicodeRange:function(){return B},Url:function(){return z},Value:function(){return H},WhiteSpace:function(){return W}});var q={};n.r(q),n.d(q,{AtrulePrelude:function(){return Yw},Selector:function(){return Kw},Value:function(){return tS}});var X={};function G(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.r(X),n.d(X,{AnPlusB:function(){return vb},Atrule:function(){return wb},AtrulePrelude:function(){return _b},AttributeSelector:function(){return Mb},Block:function(){return Hb},Brackets:function(){return Xb},CDC:function(){return Yb},CDO:function(){return nx},ClassSelector:function(){return ax},Combinator:function(){return cx},Comment:function(){return px},Declaration:function(){return xx},DeclarationList:function(){return _x},Dimension:function(){return Dx},Function:function(){return Fx},Hash:function(){return zx},IdSelector:function(){return Vx},Identifier:function(){return qx},MediaFeature:function(){return tT},MediaQuery:function(){return oT},MediaQueryList:function(){return lT},Nth:function(){return dT},Number:function(){return vT},Operator:function(){return bT},Parentheses:function(){return ST},Percentage:function(){return _T},PseudoClassSelector:function(){return NT},PseudoElementSelector:function(){return ZT},Ratio:function(){return HT},Raw:function(){return GT},Rule:function(){return nw},Selector:function(){return aw},SelectorList:function(){return hw},String:function(){return gw},StyleSheet:function(){return xw},TypeSelector:function(){return Ew},UnicodeRange:function(){return Mw},Url:function(){return Zw},Value:function(){return zw},WhiteSpace:function(){return Xw}});var J,V=n(8133),Y=n(805),K=n(726),ee=n(1026);function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(J||(J={}));var ne=function(e){return e};var re="beforeunload",ie="popstate";function oe(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,r=n.history;function i(){var e=ce(n.location.hash.substr(1)),t=e.pathname,i=void 0===t?"/":t,o=e.search,a=void 0===o?"":o,s=e.hash,u=void 0===s?"":s,l=r.state||{};return[l.idx,ne({pathname:i,search:a,hash:u,state:l.usr||null,key:l.key||"default"})]}var o=null;function a(){if(o)f.call(o),o=null;else{var e=J.Pop,t=i(),n=t[0],r=t[1];if(f.length){if(null!=n){var a=l-n;a&&(o={action:e,location:r,retry:function(){O(-1*a)}},O(a))}}else v(e)}}n.addEventListener(ie,a),n.addEventListener("hashchange",(function(){le(i()[1])!==le(c)&&a()}));var s=J.Pop,u=i(),l=u[0],c=u[1],h=se(),f=se();function d(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var r=n.location.href,i=r.indexOf("#");t=-1===i?r:r.slice(0,i)}return t}()+"#"+("string"===typeof e?e:le(e))}function p(e,t){return void 0===t&&(t=null),ne(te({pathname:c.pathname,hash:"",search:""},"string"===typeof e?ce(e):e,{state:t,key:ue()}))}function m(e,t){return[{usr:e.state,key:e.key,idx:t},d(e)]}function g(e,t,n){return!f.length||(f.call({action:e,location:t,retry:n}),!1)}function v(e){s=e;var t=i();l=t[0],c=t[1],h.call({action:s,location:c})}function O(e){r.go(e)}null==l&&(l=0,r.replaceState(te({},r.state,{idx:l}),""));var y={get action(){return s},get location(){return c},createHref:d,push:function e(t,i){var o=J.Push,a=p(t,i);if(g(o,a,(function(){e(t,i)}))){var s=m(a,l+1),u=s[0],c=s[1];try{r.pushState(u,"",c)}catch(h){n.location.assign(c)}v(o)}},replace:function e(t,n){var i=J.Replace,o=p(t,n);if(g(i,o,(function(){e(t,n)}))){var a=m(o,l),s=a[0],u=a[1];r.replaceState(s,"",u),v(i)}},go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(e){return h.push(e)},block:function(e){var t=f.push(e);return 1===f.length&&n.addEventListener(re,ae),function(){t(),f.length||n.removeEventListener(re,ae)}}};return y}function ae(e){e.preventDefault(),e.returnValue=""}function se(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function ue(){return Math.random().toString(36).substr(2,8)}function le(e){var t=e.pathname,n=void 0===t?"/":t,r=e.search,i=void 0===r?"":r,o=e.hash,a=void 0===o?"":o;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function ce(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var he=(0,V.createContext)(null);var fe=(0,V.createContext)(null);var de=(0,V.createContext)({outlet:null,matches:[]});function pe(e,t){if(!e)throw new Error(t)}function me(e,t,n){void 0===n&&(n="/");var r=Te(("string"===typeof t?ce(t):t).pathname||"/",n);if(null==r)return null;var i=ge(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var o=null,a=0;null==o&&a<i.length;++a)o=ke(i[a],r);return o}function ge(e,t,n,r){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=""),e.forEach((function(e,i){var o={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};o.relativePath.startsWith("/")&&(o.relativePath.startsWith(r)||pe(!1),o.relativePath=o.relativePath.slice(r.length));var a=we([r,o.relativePath]),s=n.concat(o);e.children&&e.children.length>0&&(!0===e.index&&pe(!1),ge(e.children,t,s,a)),(null!=e.path||e.index)&&t.push({path:a,score:ye(a,e.index),routesMeta:s})})),t}var ve=/^:\w+$/,Oe=function(e){return"*"===e};function ye(e,t){var n=e.split("/"),r=n.length;return n.some(Oe)&&(r+=-2),t&&(r+=2),n.filter((function(e){return!Oe(e)})).reduce((function(e,t){return e+(ve.test(t)?3:""===t?1:10)}),r)}function ke(e,t){for(var n=e.routesMeta,r={},i="/",o=[],a=0;a<n.length;++a){var s=n[a],u=a===n.length-1,l="/"===i?t:t.slice(i.length)||"/",c=be({path:s.relativePath,caseSensitive:s.caseSensitive,end:u},l);if(!c)return null;Object.assign(r,c.params);var h=s.route;o.push({params:r,pathname:we([i,c.pathname]),pathnameBase:Se(we([i,c.pathnameBase])),route:h}),"/"!==c.pathnameBase&&(i=we([i,c.pathnameBase]))}return o}function be(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var n=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);var r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(function(e,t){return r.push(t),"([^\\/]+)"}));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=n?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)";return[new RegExp(i,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),r=(0,ee.Z)(n,2),i=r[0],o=r[1],a=t.match(i);if(!a)return null;var s=a[0],u=s.replace(/(.)\/+$/,"$1"),l=a.slice(1),c=o.reduce((function(e,t,n){if("*"===t){var r=l[n]||"";u=s.slice(0,s.length-r.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return e}}(l[n]||""),e}),{});return{params:c,pathname:s,pathnameBase:u,pattern:e}}function xe(e,t,n){var r,i="string"===typeof e?ce(e):e,o=""===e||""===i.pathname?"/":i.pathname;if(null==o)r=n;else{var a=t.length-1;if(o.startsWith("..")){for(var s=o.split("/");".."===s[0];)s.shift(),a-=1;i.pathname=s.join("/")}r=a>=0?t[a]:"/"}var u=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?ce(e):e,r=n.pathname,i=n.search,o=void 0===i?"":i,a=n.hash,s=void 0===a?"":a,u=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:u,search:Ce(o),hash:Ee(s)}}(i,r);return o&&"/"!==o&&o.endsWith("/")&&!u.pathname.endsWith("/")&&(u.pathname+="/"),u}function Te(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var n=e.charAt(t.length);return n&&"/"!==n?null:e.slice(t.length)||"/"}var we=function(e){return e.join("/").replace(/\/\/+/g,"/")},Se=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},Ce=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Ee=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""};function Ae(e){_e()||pe(!1);var t=(0,V.useContext)(he),n=t.basename,r=t.navigator,i=De(e),o=i.hash,a=i.pathname,s=i.search,u=a;if("/"!==n){var l=function(e){return""===e||""===e.pathname?"/":"string"===typeof e?ce(e).pathname:e.pathname}(e),c=null!=l&&l.endsWith("/");u="/"===a?n+(c?"/":""):we([n,a])}return r.createHref({pathname:u,search:s,hash:o})}function _e(){return null!=(0,V.useContext)(fe)}function Qe(){return _e()||pe(!1),(0,V.useContext)(fe).location}function Pe(){_e()||pe(!1);var e=(0,V.useContext)(he),t=e.basename,n=e.navigator,r=(0,V.useContext)(de).matches,i=Qe().pathname,o=JSON.stringify(r.map((function(e){return e.pathnameBase}))),a=(0,V.useRef)(!1);(0,V.useEffect)((function(){a.current=!0}));var s=(0,V.useCallback)((function(e,r){if(void 0===r&&(r={}),a.current)if("number"!==typeof e){var s=xe(e,JSON.parse(o),i);"/"!==t&&(s.pathname=we([t,s.pathname])),(r.replace?n.replace:n.push)(s,r.state)}else n.go(e)}),[t,n,o,i]);return s}var Re=(0,V.createContext)(null);function De(e){var t=(0,V.useContext)(de).matches,n=Qe().pathname,r=JSON.stringify(t.map((function(e){return e.pathnameBase})));return(0,V.useMemo)((function(){return xe(e,JSON.parse(r),n)}),[e,r,n])}function Ne(e,t){return void 0===t&&(t=[]),null==e?null:e.reduceRight((function(n,r,i){return(0,V.createElement)(de.Provider,{children:void 0!==r.route.element?r.route.element:n,value:{outlet:n,matches:t.concat(e.slice(0,i+1))}})}),null)}function Me(e){return function(e){var t=(0,V.useContext)(de).outlet;return t?(0,V.createElement)(Re.Provider,{value:e},t):t}(e.context)}function Ie(e){pe(!1)}function Le(e){var t=e.basename,n=void 0===t?"/":t,r=e.children,i=void 0===r?null:r,o=e.location,a=e.navigationType,s=void 0===a?J.Pop:a,u=e.navigator,l=e.static,c=void 0!==l&&l;_e()&&pe(!1);var h=Se(n),f=(0,V.useMemo)((function(){return{basename:h,navigator:u,static:c}}),[h,u,c]);"string"===typeof o&&(o=ce(o));var d=o,p=d.pathname,m=void 0===p?"/":p,g=d.search,v=void 0===g?"":g,O=d.hash,y=void 0===O?"":O,k=d.state,b=void 0===k?null:k,x=d.key,T=void 0===x?"default":x,w=(0,V.useMemo)((function(){var e=Te(m,h);return null==e?null:{pathname:e,search:v,hash:y,state:b,key:T}}),[h,m,v,y,b,T]);return null==w?null:(0,V.createElement)(he.Provider,{value:f},(0,V.createElement)(fe.Provider,{children:i,value:{location:w,navigationType:s}}))}function Fe(e){var t=e.children,n=e.location;return function(e,t){_e()||pe(!1);var n,r=(0,V.useContext)(de).matches,i=r[r.length-1],o=i?i.params:{},a=(i&&i.pathname,i?i.pathnameBase:"/"),s=(i&&i.route,Qe());if(t){var u,l="string"===typeof t?ce(t):t;"/"===a||(null==(u=l.pathname)?void 0:u.startsWith(a))||pe(!1),n=l}else n=s;var c=n.pathname||"/",h=me(e,{pathname:"/"===a?c:c.slice(a.length)||"/"});return Ne(h&&h.map((function(e){return Object.assign({},e,{params:Object.assign({},o,e.params),pathname:we([a,e.pathname]),pathnameBase:"/"===e.pathnameBase?a:we([a,e.pathnameBase])})})),r)}(Ze(t),n)}function Ze(e){var t=[];return V.Children.forEach(e,(function(e){if((0,V.isValidElement)(e))if(e.type!==V.Fragment){e.type!==Ie&&pe(!1);var n={caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path};e.props.children&&(n.children=Ze(e.props.children)),t.push(n)}else t.push.apply(t,Ze(e.props.children))})),t}function $e(){return $e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$e.apply(this,arguments)}function je(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Be=["onClick","reloadDocument","replace","state","target","to"],ze=["aria-current","caseSensitive","className","end","style","to","children"];function He(e){var t=e.basename,n=e.children,r=e.window,i=(0,V.useRef)();null==i.current&&(i.current=oe({window:r}));var o=i.current,a=(0,V.useState)({action:o.action,location:o.location}),s=(0,ee.Z)(a,2),u=s[0],l=s[1];return(0,V.useLayoutEffect)((function(){return o.listen(l)}),[o]),(0,V.createElement)(Le,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:o})}var We=(0,V.forwardRef)((function(e,t){var n=e.onClick,r=e.reloadDocument,i=e.replace,o=void 0!==i&&i,a=e.state,s=e.target,u=e.to,l=je(e,Be),c=Ae(u),h=function(e,t){var n=void 0===t?{}:t,r=n.target,i=n.replace,o=n.state,a=Pe(),s=Qe(),u=De(e);return(0,V.useCallback)((function(t){if(0===t.button&&(!r||"_self"===r)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t)){t.preventDefault();var n=!!i||le(s)===le(u);a(e,{replace:n,state:o})}}),[s,a,u,i,o,r,e])}(u,{replace:o,state:a,target:s});return(0,V.createElement)("a",$e({},l,{href:c,onClick:function(e){n&&n(e),e.defaultPrevented||r||h(e)},ref:t,target:s}))}));var Ue=(0,V.forwardRef)((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,i=e.caseSensitive,o=void 0!==i&&i,a=e.className,s=void 0===a?"":a,u=e.end,l=void 0!==u&&u,c=e.style,h=e.to,f=e.children,d=je(e,ze),p=Qe(),m=De(h),g=p.pathname,v=m.pathname;o||(g=g.toLowerCase(),v=v.toLowerCase());var O,y=g===v||!l&&g.startsWith(v)&&"/"===g.charAt(v.length),k=y?r:void 0;O="function"===typeof s?s({isActive:y}):[s,y?"active":null].filter(Boolean).join(" ");var b="function"===typeof c?c({isActive:y}):c;return(0,V.createElement)(We,$e({},d,{"aria-current":k,className:O,ref:t,style:b,to:h}),"function"===typeof f?f({isActive:y}):f)}));function qe(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(Array.isArray(r)?r.map((function(e){return[n,e]})):[[n,r]])}),[]))}function Xe(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var Ge=n(9265),Je=["className","prefixCls","element","top","size","strokeWidth","smooth","hideProgress","children"],Ve={position:"sticky",bottom:15,right:15,visibility:"visible",opacity:0,transition:"visibility 0.3s linear 0s, opacity 0.3s linear 0s",cursor:"pointer",userSelect:"none"},Ye={display:"block",transform:"rotate(-90deg)"},Ke={transition:"stroke-dashoffset 0.3s linear 0s"},et={position:"absolute",top:0,display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:12},tt=document.documentElement;function nt(e){void 0===e&&(e={});var t=e,n=t.className,r=t.prefixCls,i=void 0===r?"w-back-to-up":r,o=t.element,a=void 0===o?tt:o,s=t.top,u=void 0===s?120:s,l=t.size,c=void 0===l?35:l,h=t.strokeWidth,f=void 0===h?3:h,d=t.smooth,p=void 0===d||d,m=t.hideProgress,g=void 0!==m&&m,v=t.children,O=Xe(e,Je),y=(0,V.useRef)(null),k=[n,i].filter(Boolean).join(" "),b=Object.assign({},Ve,{position:a===tt?"fixed":"sticky"},O.style,{width:c,height:c,opacity:0===u?1:0}),x=(0,V.useMemo)((function(){return c/2}),[c]),T=(0,V.useMemo)((function(){return c/2-f/2}),[c,f]),w=(0,V.useMemo)((function(){return Math.PI*T*2}),[T]),S=(0,V.useState)(w||0),C=(0,ee.Z)(S,2),E=C[0],A=C[1],_=function(e){var t=a||tt,n=t.clientHeight,r=t.scrollHeight,i=t.scrollTop;A(w-w*(i/(r-n))),y.current&&u>0&&(y.current.style.opacity=i>u?"1":"0")};(0,V.useEffect)((function(){var e=a===tt?document:a;return e&&e.addEventListener("scroll",_,{passive:!0}),function(){e&&e.removeEventListener("scroll",_)}}),[a]);return(0,Ge.jsxs)("div",te({className:k,ref:y},O,{onClick:function(e){a.scrollTo({top:0,behavior:p?"smooth":"auto"})},style:b,children:[!g&&(0,Ge.jsxs)("svg",{viewBox:"0 0 "+c+" "+c,width:c,height:c,focusable:"false",style:Ye,children:[(0,Ge.jsx)("circle",{fill:"rgb(0 0 0 / 75%)",stroke:"rgb(200 200 200 / 85%)",strokeWidth:f,r:T,cx:x,cy:x}),(0,Ge.jsx)("circle",{fill:"none",stroke:"rgb(0 0 0 / 50%)",strokeWidth:f,r:T,cx:x,cy:x,strokeDasharray:w,strokeDashoffset:E,style:Ke})]}),v&&(0,Ge.jsx)("div",{style:et,children:v})]}))}var rt=n(649),it=n(189),ot=n(4649),at={data:""},st=function(e){return"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||at},ut=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,lt=/\/\*[^]*?\*\/| +/g,ct=/\n+/g,ht=function e(t,n){var r="",i="",o="",a=function(a){var u=t[a];"@"==a[0]?"i"==a[1]?r=a+" "+u+";":i+="f"==a[1]?e(u,a):a+"{"+e(u,"k"==a[1]?"":n)+"}":"object"==typeof u?i+=e(u,n?n.replace(/([^,])+/g,(function(e){return a.replace(/(^:.*)|([^,])+/g,(function(t){return/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t}))})):a):null!=u&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=e.p?e.p(a,u):a+":"+u+";"),s=a};for(var s in t)a(s);return r+(n&&o?n+"{"+o+"}":o)+i},ft={},dt=function e(t){if("object"==typeof t){var n="";for(var r in t)n+=r+e(t[r]);return n}return t},pt=function(e,t,n,r,i){var o=dt(e),a=ft[o]||(ft[o]=function(e){for(var t=0,n=11;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n}(o));if(!ft[a]){var s=o!==e?e:function(e){for(var t,n,r=[{}];t=ut.exec(e.replace(lt,""));)t[4]?r.shift():t[3]?(n=t[3].replace(ct," ").trim(),r.unshift(r[0][n]=r[0][n]||{})):r[0][t[1]]=t[2].replace(ct," ").trim();return r[0]}(e);ft[a]=ht(i?(0,ot.Z)({},"@keyframes "+a,s):s,n?"":"."+a)}var u=n&&ft.g?ft.g:null;return n&&(ft.g=ft[a]),function(e,t,n,r){r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=n?e+t.data:t.data+e)}(ft[a],t,r,u),a},mt=function(e,t,n){return e.reduce((function(e,r,i){var o=t[i];if(o&&o.call){var a=o(n),s=a&&a.props&&a.props.className||/^go/.test(a)&&a;o=s?"."+s:a&&"object"==typeof a?a.props?"":ht(a,""):!1===a?"":a}return e+r+(null==o?"":o)}),"")};function gt(e){var t=this||{},n=e.call?e(t.p):e;return pt(n.unshift?n.raw?mt(n,[].slice.call(arguments,1),t.p):n.reduce((function(e,n){return Object.assign(e,n&&n.call?n(t.p):n)}),{}):n,st(t.target),t.g,t.o,t.k)}gt.bind({g:1});var vt,Ot,yt,kt,bt,xt,Tt,wt,St,Ct,Et,At,_t,Qt,Pt,Rt,Dt,Nt,Mt,It=gt.bind({k:1});function Lt(e,t){var n=this||{};return function(){var r=arguments;function i(o,a){var s=Object.assign({},o),u=s.className||i.className;n.p=Object.assign({theme:Ot&&Ot()},s),n.o=/ *go\d+/.test(u),s.className=gt.apply(n,r)+(u?" "+u:""),t&&(s.ref=a);var l=e;return e[0]&&(l=s.as||e,delete s.as),yt&&l[0]&&yt(s),vt(l,s)}return t?t(i):i}}var Ft=function(e,t){return function(e){return"function"==typeof e}(e)?e(t):e},Zt=function(){var e=0;return function(){return(++e).toString()}}(),$t=function(){var e;return function(){if(void 0===e&&typeof window<"u"){var t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}}(),jt=new Map,Bt=function(e){if(!jt.has(e)){var t=setTimeout((function(){jt.delete(e),Ut({type:4,toastId:e})}),1e3);jt.set(e,t)}},zt=function e(t,n){switch(n.type){case 0:return(0,it.Z)((0,it.Z)({},t),{},{toasts:[n.toast].concat((0,rt.Z)(t.toasts)).slice(0,20)});case 1:return n.toast.id&&function(e){var t=jt.get(e);t&&clearTimeout(t)}(n.toast.id),(0,it.Z)((0,it.Z)({},t),{},{toasts:t.toasts.map((function(e){return e.id===n.toast.id?(0,it.Z)((0,it.Z)({},e),n.toast):e}))});case 2:var r=n.toast;return t.toasts.find((function(e){return e.id===r.id}))?e(t,{type:1,toast:r}):e(t,{type:0,toast:r});case 3:var i=n.toastId;return i?Bt(i):t.toasts.forEach((function(e){Bt(e.id)})),(0,it.Z)((0,it.Z)({},t),{},{toasts:t.toasts.map((function(e){return e.id===i||void 0===i?(0,it.Z)((0,it.Z)({},e),{},{visible:!1}):e}))});case 4:return void 0===n.toastId?(0,it.Z)((0,it.Z)({},t),{},{toasts:[]}):(0,it.Z)((0,it.Z)({},t),{},{toasts:t.toasts.filter((function(e){return e.id!==n.toastId}))});case 5:return(0,it.Z)((0,it.Z)({},t),{},{pausedAt:n.time});case 6:var o=n.time-(t.pausedAt||0);return(0,it.Z)((0,it.Z)({},t),{},{pausedAt:void 0,toasts:t.toasts.map((function(e){return(0,it.Z)((0,it.Z)({},e),{},{pauseDuration:e.pauseDuration+o})}))})}},Ht=[],Wt={toasts:[],pausedAt:void 0},Ut=function(e){Wt=zt(Wt,e),Ht.forEach((function(e){e(Wt)}))},qt={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Xt=function(e){return function(t,n){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"blank",n=arguments.length>2?arguments[2]:void 0;return(0,it.Z)((0,it.Z)({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0},n),{},{id:(null==n?void 0:n.id)||Zt()})}(t,e,n);return Ut({type:2,toast:r}),r.id}},Gt=function(e,t){return Xt("blank")(e,t)};Gt.error=Xt("error"),Gt.success=Xt("success"),Gt.loading=Xt("loading"),Gt.custom=Xt("custom"),Gt.dismiss=function(e){Ut({type:3,toastId:e})},Gt.remove=function(e){return Ut({type:4,toastId:e})},Gt.promise=function(e,t,n){var r=Gt.loading(t.loading,(0,it.Z)((0,it.Z)({},n),null==n?void 0:n.loading));return e.then((function(e){return Gt.success(Ft(t.success,e),(0,it.Z)((0,it.Z)({id:r},n),null==n?void 0:n.success)),e})).catch((function(e){Gt.error(Ft(t.error,e),(0,it.Z)((0,it.Z)({id:r},n),null==n?void 0:n.error))})),e};var Jt=function(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,V.useState)(Wt),n=(0,ee.Z)(t,2),r=n[0],i=n[1];(0,V.useEffect)((function(){return Ht.push(i),function(){var e=Ht.indexOf(i);e>-1&&Ht.splice(e,1)}}),[r]);var o=r.toasts.map((function(t){var n,r;return(0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)({},e),e[t.type]),t),{},{duration:t.duration||(null==(n=e[t.type])?void 0:n.duration)||(null==e?void 0:e.duration)||qt[t.type],style:(0,it.Z)((0,it.Z)((0,it.Z)({},e.style),null==(r=e[t.type])?void 0:r.style),t.style)})}));return(0,it.Z)((0,it.Z)({},r),{},{toasts:o})}(e),n=t.toasts,r=t.pausedAt;(0,V.useEffect)((function(){if(!r){var e=Date.now(),t=n.map((function(t){if(t.duration!==1/0){var n=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(n<0))return setTimeout((function(){return Gt.dismiss(t.id)}),n);t.visible&&Gt.dismiss(t.id)}}));return function(){t.forEach((function(e){return e&&clearTimeout(e)}))}}}),[n,r]);var i=(0,V.useMemo)((function(){return{startPause:function(){Ut({type:5,time:Date.now()})},endPause:function(){r&&Ut({type:6,time:Date.now()})},updateHeight:function(e,t){return Ut({type:1,toast:{id:e,height:t}})},calculateOffset:function(e,t){var r,i=t||{},o=i.reverseOrder,a=void 0!==o&&o,s=i.gutter,u=void 0===s?8:s,l=i.defaultPosition,c=n.filter((function(t){return(t.position||l)===(e.position||l)&&t.height})),h=c.findIndex((function(t){return t.id===e.id})),f=c.filter((function(e,t){return t<h&&e.visible})).length;return(r=c.filter((function(e){return e.visible}))).slice.apply(r,(0,rt.Z)(a?[f+1]:[0,f])).reduce((function(e,t){return e+(t.height||0)+u}),0)}}}),[n,r]);return{toasts:n,handlers:i}},Vt=It(kt||(kt=G(["\nfrom {\n transform: scale(0) rotate(45deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n opacity: 1;\n}"]))),Yt=It(bt||(bt=G(["\nfrom {\n transform: scale(0);\n opacity: 0;\n}\nto {\n transform: scale(1);\n opacity: 1;\n}"]))),Kt=It(xt||(xt=G(["\nfrom {\n transform: scale(0) rotate(90deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(90deg);\n\topacity: 1;\n}"]))),en=Lt("div")(Tt||(Tt=G(["\n width: 20px;\n opacity: 0;\n height: 20px;\n border-radius: 10px;\n background: ",";\n position: relative;\n transform: rotate(45deg);\n\n animation: "," 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n forwards;\n animation-delay: 100ms;\n\n &:after,\n &:before {\n content: '';\n animation: "," 0.15s ease-out forwards;\n animation-delay: 150ms;\n position: absolute;\n border-radius: 3px;\n opacity: 0;\n background: ",";\n bottom: 9px;\n left: 4px;\n height: 2px;\n width: 12px;\n }\n\n &:before {\n animation: "," 0.15s ease-out forwards;\n animation-delay: 180ms;\n transform: rotate(90deg);\n }\n"])),(function(e){return e.primary||"#ff4b4b"}),Vt,Yt,(function(e){return e.secondary||"#fff"}),Kt),tn=It(wt||(wt=G(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"]))),nn=Lt("div")(St||(St=G(["\n width: 12px;\n height: 12px;\n box-sizing: border-box;\n border: 2px solid;\n border-radius: 100%;\n border-color: ",";\n border-right-color: ",";\n animation: "," 1s linear infinite;\n"])),(function(e){return e.secondary||"#e0e0e0"}),(function(e){return e.primary||"#616161"}),tn),rn=It(Ct||(Ct=G(["\nfrom {\n transform: scale(0) rotate(45deg);\n\topacity: 0;\n}\nto {\n transform: scale(1) rotate(45deg);\n\topacity: 1;\n}"]))),on=It(Et||(Et=G(["\n0% {\n\theight: 0;\n\twidth: 0;\n\topacity: 0;\n}\n40% {\n height: 0;\n\twidth: 6px;\n\topacity: 1;\n}\n100% {\n opacity: 1;\n height: 10px;\n}"]))),an=Lt("div")(At||(At=G(["\n width: 20px;\n opacity: 0;\n height: 20px;\n border-radius: 10px;\n background: ",";\n position: relative;\n transform: rotate(45deg);\n\n animation: "," 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n forwards;\n animation-delay: 100ms;\n &:after {\n content: '';\n box-sizing: border-box;\n animation: "," 0.2s ease-out forwards;\n opacity: 0;\n animation-delay: 200ms;\n position: absolute;\n border-right: 2px solid;\n border-bottom: 2px solid;\n border-color: ",";\n bottom: 6px;\n left: 6px;\n height: 10px;\n width: 6px;\n }\n"])),(function(e){return e.primary||"#61d345"}),rn,on,(function(e){return e.secondary||"#fff"})),sn=Lt("div")(_t||(_t=G(["\n position: absolute;\n"]))),un=Lt("div")(Qt||(Qt=G(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n min-width: 20px;\n min-height: 20px;\n"]))),ln=It(Pt||(Pt=G(["\nfrom {\n transform: scale(0.6);\n opacity: 0.4;\n}\nto {\n transform: scale(1);\n opacity: 1;\n}"]))),cn=Lt("div")(Rt||(Rt=G(["\n position: relative;\n transform: scale(0.6);\n opacity: 0.4;\n min-width: 20px;\n animation: "," 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)\n forwards;\n"])),ln),hn=function(e){var t=e.toast,n=t.icon,r=t.type,i=t.iconTheme;return void 0!==n?"string"==typeof n?V.createElement(cn,null,n):n:"blank"===r?null:V.createElement(un,null,V.createElement(nn,(0,it.Z)({},i)),"loading"!==r&&V.createElement(sn,null,"error"===r?V.createElement(en,(0,it.Z)({},i)):V.createElement(an,(0,it.Z)({},i))))},fn=function(e){return"\n0% {transform: translate3d(0,".concat(-200*e,"%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n")},dn=function(e){return"\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,".concat(-150*e,"%,-1px) scale(.6); opacity:0;}\n")},pn=Lt("div",V.forwardRef)(Dt||(Dt=G(["\n display: flex;\n align-items: center;\n background: #fff;\n color: #363636;\n line-height: 1.3;\n will-change: transform;\n box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);\n max-width: 350px;\n pointer-events: auto;\n padding: 8px 10px;\n border-radius: 8px;\n"]))),mn=Lt("div")(Nt||(Nt=G(["\n display: flex;\n justify-content: center;\n margin: 4px 10px;\n color: inherit;\n flex: 1 1 auto;\n white-space: pre-line;\n"]))),gn=V.memo((function(e){var t=e.toast,n=e.position,r=e.style,i=e.children,o=null!=t&&t.height?function(e,t){var n=e.includes("top")?1:-1,r=$t()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[fn(n),dn(n)],i=(0,ee.Z)(r,2),o=i[0],a=i[1];return{animation:t?"".concat(It(o)," 0.35s cubic-bezier(.21,1.02,.73,1) forwards"):"".concat(It(a)," 0.4s forwards cubic-bezier(.06,.71,.55,1)")}}(t.position||n||"top-center",t.visible):{opacity:0},a=V.createElement(hn,{toast:t}),s=V.createElement(mn,(0,it.Z)({},t.ariaProps),Ft(t.message,t));return V.createElement(pn,{className:t.className,style:(0,it.Z)((0,it.Z)((0,it.Z)({},o),r),t.style)},"function"==typeof i?i({icon:a,message:s}):V.createElement(V.Fragment,null,a,s))}));!function(e,t,n,r){ht.p=t,vt=e,Ot=n,yt=r}(V.createElement);var vn=gt(Mt||(Mt=G(["\n z-index: 9999;\n > * {\n pointer-events: auto;\n }\n"]))),On=function(e){var t=e.reverseOrder,n=e.position,r=void 0===n?"top-center":n,i=e.toastOptions,o=e.gutter,a=e.children,s=e.containerStyle,u=e.containerClassName,l=Jt(i),c=l.toasts,h=l.handlers;return V.createElement("div",{style:(0,it.Z)({position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none"},s),className:u,onMouseEnter:h.startPause,onMouseLeave:h.endPause},c.map((function(e){var n=e.position||r,i=function(e,t){var n=e.includes("top"),r=n?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return(0,it.Z)((0,it.Z)({left:0,right:0,display:"flex",position:"absolute",transition:$t()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:"translateY(".concat(t*(n?1:-1),"px)")},r),i)}(n,h.calculateOffset(e,{reverseOrder:t,gutter:o,defaultPosition:r})),s=e.height?void 0:function(e){return function(t){t&&setTimeout((function(){var n=t.getBoundingClientRect();e(n)}))}}((function(t){h.updateHeight(e.id,t.height)}));return V.createElement("div",{ref:s,className:e.visible?vn:"",key:e.id,style:i},"custom"===e.type?Ft(e.message,e):a?a(e):V.createElement(gn,{toast:e,position:n}))})))},yn=Gt,kn=n(2471),bn=n(7361),xn=n.n(bn);var Tn=function(e){function t(e,r,u,l,f){for(var d,p,m,g,k,x=0,T=0,w=0,S=0,C=0,R=0,N=m=d=0,I=0,L=0,F=0,Z=0,$=u.length,j=$-1,B="",z="",H="",W="";I<$;){if(p=u.charCodeAt(I),I===j&&0!==T+S+w+x&&(0!==T&&(p=47===T?10:47),S=w=x=0,$++,j++),0===T+S+w+x){if(I===j&&(0<L&&(B=B.replace(h,"")),0<B.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:B+=u.charAt(I)}p=59}switch(p){case 123:for(d=(B=B.trim()).charCodeAt(0),m=1,Z=++I;I<$;){switch(p=u.charCodeAt(I)){case 123:m++;break;case 125:m--;break;case 47:switch(p=u.charCodeAt(I+1)){case 42:case 47:e:{for(N=I+1;N<j;++N)switch(u.charCodeAt(N)){case 47:if(42===p&&42===u.charCodeAt(N-1)&&I+2!==N){I=N+1;break e}break;case 10:if(47===p){I=N+1;break e}}I=N}}break;case 91:p++;case 40:p++;case 34:case 39:for(;I++<j&&u.charCodeAt(I)!==p;);}if(0===m)break;I++}if(m=u.substring(Z,I),0===d&&(d=(B=B.replace(c,"").trim()).charCodeAt(0)),64===d){switch(0<L&&(B=B.replace(h,"")),p=B.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=P}if(Z=(m=t(r,L,m,p,f+1)).length,0<D&&(k=s(3,m,L=n(P,B,F),r,A,E,Z,p,f,l),B=L.join(""),void 0!==k&&0===(Z=(m=k.trim()).length)&&(p=0,m="")),0<Z)switch(p){case 115:B=B.replace(b,a);case 100:case 109:case 45:m=B+"{"+m+"}";break;case 107:m=(B=B.replace(v,"$1 $2"))+"{"+m+"}",m=1===Q||2===Q&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=B+m,112===l&&(z+=m,m="")}else m=""}else m=t(r,n(r,B,F),m,l,f+1);H+=m,m=F=L=N=d=0,B="",p=u.charCodeAt(++I);break;case 125:case 59:if(1<(Z=(B=(0<L?B.replace(h,""):B).trim()).length))switch(0===N&&(d=B.charCodeAt(0),45===d||96<d&&123>d)&&(Z=(B=B.replace(" ",":")).length),0<D&&void 0!==(k=s(1,B,r,e,A,E,z.length,l,f,l))&&0===(Z=(B=k.trim()).length)&&(B="\0\0"),d=B.charCodeAt(0),p=B.charCodeAt(1),d){case 0:break;case 64:if(105===p||99===p){W+=B+u.charAt(I);break}default:58!==B.charCodeAt(Z-1)&&(z+=i(B,d,p,B.charCodeAt(2)))}F=L=N=d=0,B="",p=u.charCodeAt(++I)}}switch(p){case 13:case 10:47===T?T=0:0===1+d&&107!==l&&0<B.length&&(L=1,B+="\0"),0<D*M&&s(0,B,r,e,A,E,z.length,l,f,l),E=1,A++;break;case 59:case 125:if(0===T+S+w+x){E++;break}default:switch(E++,g=u.charAt(I),p){case 9:case 32:if(0===S+x+T)switch(C){case 44:case 58:case 9:case 32:g="";break;default:32!==p&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===S+T+x&&(L=F=1,g="\f"+g);break;case 108:if(0===S+T+x+_&&0<N)switch(I-N){case 2:112===C&&58===u.charCodeAt(I-3)&&(_=C);case 8:111===R&&(_=R)}break;case 58:0===S+T+x&&(N=I);break;case 44:0===T+w+S+x&&(L=1,g+="\r");break;case 34:case 39:0===T&&(S=S===p?0:0===S?p:S);break;case 91:0===S+T+w&&x++;break;case 93:0===S+T+w&&x--;break;case 41:0===S+T+x&&w--;break;case 40:if(0===S+T+x){if(0===d)if(2*C+3*R===533);else d=1;w++}break;case 64:0===T+w+S+x+N+m&&(m=1);break;case 42:case 47:if(!(0<S+x+w))switch(T){case 0:switch(2*p+3*u.charCodeAt(I+1)){case 235:T=47;break;case 220:Z=I,T=42}break;case 42:47===p&&42===C&&Z+2!==I&&(33===u.charCodeAt(Z+2)&&(z+=u.substring(Z,I+1)),g="",T=0)}}0===T&&(B+=g)}R=C,C=p,I++}if(0<(Z=z.length)){if(L=r,0<D&&(void 0!==(k=s(2,z,L,e,A,E,Z,l,f,l))&&0===(z=k).length))return W+z+H;if(z=L.join(",")+"{"+z+"}",0!==Q*_){switch(2!==Q||o(z,2)||(_=0),_){case 111:z=z.replace(y,":-moz-$1")+z;break;case 112:z=z.replace(O,"::-webkit-input-$1")+z.replace(O,"::-moz-$1")+z.replace(O,":-ms-input-$1")+z}_=0}}return W+z+H}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var u=s=0;for(t=[];s<o;++s)for(var l=0;l<a;++l)t[u++]=r(e[l]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===Q||2===Q&&o(u,1)?"-webkit-"+u+u:u}if(0===Q||2===Q&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return d.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(k,"tb");break;case 232:u=a.replace(k,"tb-rl");break;case 220:u=a.replace(k,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(T,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(T,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(p,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),N(2!==t?r:r.replace(w,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,u,c){for(var h,f=0,d=t;f<D;++f)switch(h=R[f].call(l,e,d,n,r,i,o,a,s,u,c)){case void 0:case!1:case!0:case null:break;default:d=h}if(d!==t)return d}function u(e){return void 0!==(e=e.prefix)&&(N=null,e?"function"!==typeof e?Q=1:(Q=2,N=e):Q=0),u}function l(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<D){var i=s(-1,n,r,r,A,E,0,0,0,0);void 0!==i&&"string"===typeof i&&(n=i)}var o=t(P,r,n,0,0);return 0<D&&(void 0!==(i=s(-2,o,r,r,A,E,o.length,0,0,0))&&(o=i)),"",_=0,E=A=1,o}var c=/^\0+/g,h=/[\0\r\f]/g,f=/: */g,d=/zoo|gra/,p=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,O=/::(place)/g,y=/:(read-only)/g,k=/[svh]\w+-[tblr]{2}/,b=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,T=/-self|flex-/g,w=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,E=1,A=1,_=0,Q=1,P=[],R=[],D=0,N=null,M=0;return l.use=function e(t){switch(t){case void 0:case null:D=R.length=0;break;default:if("function"===typeof t)R[D++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else M=0|!!t}return e},l.set=u,void 0!==e&&u(e),l},wn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Sn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Cn=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return Sn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),En=n(4134),An=n.n(En);function _n(){return(_n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Qn=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},Pn=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,kn.typeOf)(e)},Rn=Object.freeze([]),Dn=Object.freeze({});function Nn(e){return"function"==typeof e}function Mn(e){return e.displayName||e.name||"Component"}function In(e){return e&&"string"==typeof e.styledComponentId}var Ln="undefined"!=typeof process&&({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_ATTR)||"data-styled",Fn="undefined"!=typeof window&&"HTMLElement"in window,Zn=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY)),$n={};function jn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Bn=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&jn(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,u=t.length;s<u;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),zn=new Map,Hn=new Map,Wn=1,Un=function(e){if(zn.has(e))return zn.get(e);for(;Hn.has(Wn);)Wn++;var t=Wn++;return zn.set(e,t),Hn.set(t,e),t},qn=function(e){return Hn.get(e)},Xn=function(e,t){t>=Wn&&(Wn=t+1),zn.set(e,t),Hn.set(t,e)},Gn="style["+Ln+'][data-styled-version="5.3.5"]',Jn=new RegExp("^"+Ln+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Vn=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},Yn=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(Jn);if(s){var u=0|parseInt(s[1],10),l=s[2];0!==u&&(Xn(l,u),Vn(e,l,s[3]),e.getTag().insertRules(u,r)),r.length=0}else r.push(a)}}},Kn=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},er=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(Ln))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(Ln,"active"),r.setAttribute("data-styled-version","5.3.5");var a=Kn();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},tr=function(){function e(e){var t=this.element=er(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}jn(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),nr=function(){function e(e){var t=this.element=er(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),rr=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),ir=Fn,or={isServer:!Fn,useCSSOMInjection:!Zn},ar=function(){function e(e,t,n){void 0===e&&(e=Dn),void 0===t&&(t={}),this.options=_n({},or,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Fn&&ir&&(ir=!1,function(e){for(var t=document.querySelectorAll(Gn),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute(Ln)&&(Yn(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return Un(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(_n({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new rr(i):r?new tr(i):new nr(i),new Bn(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(Un(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Un(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(Un(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=qn(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(a&&s&&a.size){var u=Ln+".g"+i+'[id="'+o+'"]',l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+=e+",")})),r+=""+s+u+'{content:"'+l+'"}/*!sc*/\n'}}}return r}(this)},e}(),sr=/(a)(d)/gi,ur=function(e){return String.fromCharCode(e+(e>25?39:97))};function lr(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ur(t%52)+n;return(ur(t%52)+n).replace(sr,"$1-$2")}var cr=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},hr=function(e){return cr(5381,e)};function fr(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Nn(n)&&!In(n))return!1}return!0}var dr=hr("5.3.5"),pr=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&fr(e),this.componentId=t,this.baseHash=cr(dr,t),this.baseStyle=n,ar.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=Rr(this.rules,e,t,n).join(""),a=lr(cr(this.baseHash,o)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,l=cr(this.baseHash,n.hash),c="",h=0;h<u;h++){var f=this.rules[h];if("string"==typeof f)c+=f;else if(f){var d=Rr(f,e,t,n),p=Array.isArray(d)?d.join(""):d;l=cr(l,p+h),c+=p}}if(c){var m=lr(l>>>0);if(!t.hasNameForId(r,m)){var g=n(c,"."+m,void 0,r);t.insertRules(r,m,g)}i.push(m)}}return i.join(" ")},e}(),mr=/^\s*\/\/.*$/gm,gr=[":","[",".","#"];function vr(e){var t,n,r,i,o=void 0===e?Dn:e,a=o.options,s=void 0===a?Dn:a,u=o.plugins,l=void 0===u?Rn:u,c=new Tn(s),h=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,u,l,c,h){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===h?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){h.push(e)})),d=function(e,r,o){return 0===r&&-1!==gr.indexOf(o[n.length])||o.match(i)?e:"."+t};function p(e,o,a,s){void 0===s&&(s="&");var u=e.replace(mr,""),l=o&&a?a+" "+o+" { "+u+" }":u;return t=s,n=o,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),c(a||!o?"":o,l)}return c.use([].concat(l,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,d))},f,function(e){if(-2===e){var t=h;return h=[],t}}])),p.hash=l.length?l.reduce((function(e,t){return t.name||jn(15),cr(e,t.name)}),5381).toString():"",p}var Or=V.createContext(),yr=(Or.Consumer,V.createContext()),kr=(yr.Consumer,new ar),br=vr();function xr(){return(0,V.useContext)(Or)||kr}function Tr(){return(0,V.useContext)(yr)||br}function wr(e){var t=(0,V.useState)(e.stylisPlugins),n=t[0],r=t[1],i=xr(),o=(0,V.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,V.useMemo)((function(){return vr({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,V.useEffect)((function(){xn()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),V.createElement(Or.Provider,{value:o},V.createElement(yr.Provider,{value:a},e.children))}var Sr=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=br);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return jn(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=br),this.name+e.hash},e}(),Cr=/([A-Z])/,Er=/([A-Z])/g,Ar=/^ms-/,_r=function(e){return"-"+e.toLowerCase()};function Qr(e){return Cr.test(e)?e.replace(Er,_r).replace(Ar,"-ms-"):e}var Pr=function(e){return null==e||!1===e||""===e};function Rr(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=Rr(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return Pr(e)?"":In(e)?"."+e.styledComponentId:Nn(e)?"function"!=typeof(u=e)||u.prototype&&u.prototype.isReactComponent||!t?e:Rr(e(t),t,n,r):e instanceof Sr?n?(e.inject(n,r),e.getName(r)):e:Pn(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!Pr(t[a])&&(Array.isArray(t[a])&&t[a].isCss||Nn(t[a])?o.push(Qr(a)+":",t[a],";"):Pn(t[a])?o.push.apply(o,e(t[a],a)):o.push(Qr(a)+": "+(r=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in wn?String(i).trim():i+"px")+";")));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString();var u}var Dr=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Nr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Nn(e)||Pn(e)?Dr(Rr(Qn(Rn,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Dr(Rr(Qn(e,n)))}new Set;var Mr=function(e,t,n){return void 0===n&&(n=Dn),e.theme!==n.theme&&e.theme||t||n.theme},Ir=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Lr=/(^-|-$)/g;function Fr(e){return e.replace(Ir,"-").replace(Lr,"")}var Zr=function(e){return lr(hr(e)>>>0)};function $r(e){return"string"==typeof e&&!0}var jr=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Br=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function zr(e,t,n){var r=e[n];jr(t)&&jr(r)?Hr(r,t):e[n]=t}function Hr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(jr(a))for(var s in a)Br(s)&&zr(e,a[s],s)}return e}var Wr=V.createContext();Wr.Consumer;var Ur={};function qr(e,t,n){var r=In(e),i=!$r(e),o=t.attrs,a=void 0===o?Rn:o,s=t.componentId,u=void 0===s?function(e,t){var n="string"!=typeof e?"sc":Fr(e);Ur[n]=(Ur[n]||0)+1;var r=n+"-"+Zr("5.3.5"+n+Ur[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):s,l=t.displayName,c=void 0===l?function(e){return $r(e)?"styled."+e:"Styled("+Mn(e)+")"}(e):l,h=t.displayName&&t.componentId?Fr(t.displayName)+"-"+t.componentId:t.componentId||u,f=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,d=t.shouldForwardProp;r&&e.shouldForwardProp&&(d=t.shouldForwardProp?function(n,r,i){return e.shouldForwardProp(n,r,i)&&t.shouldForwardProp(n,r,i)}:e.shouldForwardProp);var p,m=new pr(n,h,r?e.componentStyle:void 0),g=m.isStatic&&0===a.length,v=function(e,t){return function(e,t,n,r){var i=e.attrs,o=e.componentStyle,a=e.defaultProps,s=e.foldedComponentIds,u=e.shouldForwardProp,l=e.styledComponentId,c=e.target,h=function(e,t,n){void 0===e&&(e=Dn);var r=_n({},t,{theme:e}),i={};return n.forEach((function(e){var t,n,o,a=e;for(t in Nn(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]})),[r,i]}(Mr(t,(0,V.useContext)(Wr),a)||Dn,t,i),f=h[0],d=h[1],p=function(e,t,n,r){var i=xr(),o=Tr();return t?e.generateAndInjectStyles(Dn,i,o):e.generateAndInjectStyles(n,i,o)}(o,r,f),m=n,g=d.$as||t.$as||d.as||t.as||c,v=$r(g),O=d!==t?_n({},t,{},d):t,y={};for(var k in O)"$"!==k[0]&&"as"!==k&&("forwardedAs"===k?y.as=O[k]:(u?u(k,Cn,g):!v||Cn(k))&&(y[k]=O[k]));return t.style&&d.style!==t.style&&(y.style=_n({},t.style,{},d.style)),y.className=Array.prototype.concat(s,l,p!==l?p:null,t.className,d.className).filter(Boolean).join(" "),y.ref=m,(0,V.createElement)(g,y)}(p,e,t,g)};return v.displayName=c,(p=V.forwardRef(v)).attrs=f,p.componentStyle=m,p.displayName=c,p.shouldForwardProp=d,p.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Rn,p.styledComponentId=h,p.target=r?e.target:e,p.withComponent=function(e){var r=t.componentId,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["componentId"]),o=r&&r+"-"+($r(e)?e:Fr(Mn(e)));return qr(e,_n({},i,{attrs:f,componentId:o}),n)},Object.defineProperty(p,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Hr({},e.defaultProps,t):t}}),p.toString=function(){return"."+p.styledComponentId},i&&An()(p,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),p}var Xr=function(e){return function e(t,n,r){if(void 0===r&&(r=Dn),!(0,kn.isValidElementType)(n))return jn(1,String(n));var i=function(){return t(n,r,Nr.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,_n({},r,{},i))},i.attrs=function(i){return e(t,n,_n({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(qr,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Xr[e]=Xr(e)}));var Gr=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=fr(e),ar.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var i=r(Rr(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&ar.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();!function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=Kn();return"<style "+[n&&'nonce="'+n+'"',Ln+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?jn(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return jn(2);var n=((t={})[Ln]="",t["data-styled-version"]="5.3.5",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Kn();return r&&(n.nonce=r),[V.createElement("style",_n({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ar({isServer:!0}),this.sealed=!1}var t=e.prototype;t.collectStyles=function(e){return this.sealed?jn(2):V.createElement(wr,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return jn(3)}}();var Jr=Xr,Vr=n(2951),Yr=n(1976),Kr="undefined"===typeof window;function ei(){}function ti(e){return"number"===typeof e&&e>=0&&e!==1/0}function ni(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ri(e,t,n){return gi(e)?"function"===typeof t?(0,it.Z)((0,it.Z)({},n),{},{queryKey:e,queryFn:t}):(0,it.Z)((0,it.Z)({},t),{},{queryKey:e}):e}function ii(e,t,n){return gi(e)?[(0,it.Z)((0,it.Z)({},t),{},{queryKey:e}),n]:[e||{},t]}function oi(e,t){var n=e.type,r=void 0===n?"all":n,i=e.exact,o=e.fetchStatus,a=e.predicate,s=e.queryKey,u=e.stale;if(gi(s))if(i){if(t.queryHash!==si(s,t.options))return!1}else if(!li(t.queryKey,s))return!1;if("all"!==r){var l=t.isActive();if("active"===r&&!l)return!1;if("inactive"===r&&l)return!1}return("boolean"!==typeof u||t.isStale()===u)&&(("undefined"===typeof o||o===t.state.fetchStatus)&&!(a&&!a(t)))}function ai(e,t){var n=e.exact,r=e.fetching,i=e.predicate,o=e.mutationKey;if(gi(o)){if(!t.options.mutationKey)return!1;if(n){if(ui(t.options.mutationKey)!==ui(o))return!1}else if(!li(t.options.mutationKey,o))return!1}return("boolean"!==typeof r||"loading"===t.state.status===r)&&!(i&&!i(t))}function si(e,t){return((null==t?void 0:t.queryKeyHashFn)||ui)(e)}function ui(e){return JSON.stringify(e,(function(e,t){return pi(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function li(e,t){return ci(e,t)}function ci(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((function(n){return!ci(e[n],t[n])})))}function hi(e,t){if(e===t)return e;var n=di(e)&&di(t);if(n||pi(e)&&pi(t)){for(var r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{},s=0,u=0;u<o;u++){var l=n?u:i[u];a[l]=hi(e[l],t[l]),a[l]===e[l]&&s++}return r===o&&s===r?e:a}return t}function fi(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function di(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function pi(e){if(!mi(e))return!1;var t=e.constructor;if("undefined"===typeof t)return!0;var n=t.prototype;return!!mi(n)&&!!n.hasOwnProperty("isPrototypeOf")}function mi(e){return"[object Object]"===Object.prototype.toString.call(e)}function gi(e){return Array.isArray(e)}function vi(e){return new Promise((function(t){setTimeout(t,e)}))}function Oi(e){vi(0).then(e)}function yi(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?hi(e,t):t}var ki=n(7591),bi=n(9616),xi=n(3243),Ti=n(7597),wi=console;var Si=function(){var e=[],t=0,n=function(e){e()},r=function(e){e()},i=function(r){t?e.push(r):Oi((function(){n(r)}))},o=function(){var t=e;e=[],t.length&&Oi((function(){r((function(){t.forEach((function(e){n(e)}))}))}))};return{batch:function(e){var n;t++;try{n=e()}finally{--t||o()}return n},batchCalls:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];i((function(){e.apply(void 0,n)}))}},schedule:i,setNotifyFunction:function(e){n=e},setBatchNotifyFunction:function(e){r=e}}}(),Ci=function(){function e(){(0,Vr.Z)(this,e),this.listeners=[],this.subscribe=this.subscribe.bind(this)}return(0,Yr.Z)(e,[{key:"subscribe",value:function(e){var t=this;return this.listeners.push(e),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(t){return t!==e})),t.onUnsubscribe()}}},{key:"hasListeners",value:function(){return this.listeners.length>0}},{key:"onSubscribe",value:function(){}},{key:"onUnsubscribe",value:function(){}}]),e}(),Ei=new(function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(){var e;return(0,Vr.Z)(this,n),(e=t.call(this)).setup=function(e){if(!Kr&&window.addEventListener){var t=function(){return e()};return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),function(){window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}},e}return(0,Yr.Z)(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setFocused(e):n.onFocus()}))}},{key:"setFocused",value:function(e){this.focused=e,e&&this.onFocus()}},{key:"onFocus",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isFocused",value:function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}]),n}(Ci)),Ai=new(function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(){var e;return(0,Vr.Z)(this,n),(e=t.call(this)).setup=function(e){if(!Kr&&window.addEventListener){var t=function(){return e()};return window.addEventListener("online",t,!1),window.addEventListener("offline",t,!1),function(){window.removeEventListener("online",t),window.removeEventListener("offline",t)}}},e}return(0,Yr.Z)(n,[{key:"onSubscribe",value:function(){this.cleanup||this.setEventListener(this.setup)}},{key:"onUnsubscribe",value:function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}},{key:"setEventListener",value:function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"===typeof e?n.setOnline(e):n.onOnline()}))}},{key:"setOnline",value:function(e){this.online=e,e&&this.onOnline()}},{key:"onOnline",value:function(){this.listeners.forEach((function(e){e()}))}},{key:"isOnline",value:function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine}}]),n}(Ci));function _i(e){return Math.min(1e3*Math.pow(2,e),3e4)}function Qi(e){return"online"!==(null!=e?e:"online")||Ai.isOnline()}var Pi=(0,Yr.Z)((function e(t){(0,Vr.Z)(this,e),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}));function Ri(e){return e instanceof Pi}function Di(e){var t,n,r,i=!1,o=0,a=!1,s=new Promise((function(e,t){n=e,r=t})),u=function(){return!Ei.isFocused()||"always"!==e.networkMode&&!Ai.isOnline()},l=function(r){a||(a=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},c=function(n){a||(a=!0,null==e.onError||e.onError(n),null==t||t(),r(n))},h=function(){return new Promise((function(n){t=function(e){if(a||!u())return n(e)},null==e.onPause||e.onPause()})).then((function(){t=void 0,a||null==e.onContinue||e.onContinue()}))},f=function t(){if(!a){var n;try{n=e.fn()}catch(r){n=Promise.reject(r)}Promise.resolve(n).then(l).catch((function(n){var r,s;if(!a){var l=null!=(r=e.retry)?r:3,f=null!=(s=e.retryDelay)?s:_i,d="function"===typeof f?f(o,n):f,p=!0===l||"number"===typeof l&&o<l||"function"===typeof l&&l(o,n);!i&&p?(o++,null==e.onFail||e.onFail(o,n),vi(d).then((function(){if(u())return h()})).then((function(){i?c(n):t()}))):c(n)}}))}};return Qi(e.networkMode)?f():h().then(f),{promise:s,cancel:function(t){a||(c(new Pi(t)),null==e.abort||e.abort())},continue:function(){null==t||t()},cancelRetry:function(){i=!0},continueRetry:function(){i=!1}}}var Ni=function(){function e(){(0,Vr.Z)(this,e)}return(0,Yr.Z)(e,[{key:"destroy",value:function(){this.clearGcTimeout()}},{key:"scheduleGc",value:function(){var e=this;this.clearGcTimeout(),ti(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))}},{key:"updateCacheTime",value:function(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:Kr?1/0:3e5)}},{key:"clearGcTimeout",value:function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}]),e}(),Mi=function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(e){var r;return(0,Vr.Z)(this,n),(r=t.call(this)).abortSignalConsumed=!1,r.defaultOptions=e.defaultOptions,r.setOptions(e.options),r.observers=[],r.cache=e.cache,r.logger=e.logger||wi,r.queryKey=e.queryKey,r.queryHash=e.queryHash,r.initialState=e.state||function(e){var t="function"===typeof e.initialData?e.initialData():e.initialData,n="undefined"!==typeof e.initialData?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r="undefined"!==typeof t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(r.options),r.state=r.initialState,r.meta=e.meta,r}return(0,Yr.Z)(n,[{key:"setOptions",value:function(e){this.options=(0,it.Z)((0,it.Z)({},this.defaultOptions),e),this.meta=null==e?void 0:e.meta,this.updateCacheTime(this.options.cacheTime)}},{key:"optionalRemove",value:function(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}},{key:"setData",value:function(e,t){var n=yi(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}},{key:"setState",value:function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}},{key:"cancel",value:function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(ei).catch(ei):Promise.resolve()}},{key:"destroy",value:function(){(0,xi.Z)((0,Ti.Z)(n.prototype),"destroy",this).call(this),this.cancel({silent:!0})}},{key:"reset",value:function(){this.destroy(),this.setState(this.initialState)}},{key:"isActive",value:function(){return this.observers.some((function(e){return!1!==e.options.enabled}))}},{key:"isDisabled",value:function(){return this.getObserversCount()>0&&!this.isActive()}},{key:"isStale",value:function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))}},{key:"isStaleByTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||!this.state.dataUpdatedAt||!ni(this.state.dataUpdatedAt,e)}},{key:"onFocus",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"onOnline",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}},{key:"removeObserver",value:function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}},{key:"getObserversCount",value:function(){return this.observers.length}},{key:"invalidate",value:function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}},{key:"fetch",value:function(e,t){var n,r,i=this;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return null==(o=this.retryer)||o.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var a=this.observers.find((function(e){return e.options.queryFn}));a&&this.setOptions(a.options)}Array.isArray(this.options.queryKey);var s=function(){if("function"===typeof AbortController)return new AbortController}(),u={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=function(e){Object.defineProperty(e,"signal",{enumerable:!0,get:function(){if(s)return i.abortSignalConsumed=!0,s.signal}})};l(u);var c,h={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:function(){return i.options.queryFn?(i.abortSignalConsumed=!1,i.options.queryFn(u)):Promise.reject("Missing queryFn")},meta:this.meta};(l(h),null==(n=this.options.behavior)||n.onFetch(h),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=h.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=h.fetchOptions)?void 0:c.meta});var f=function(e){var t,n;(Ri(e)&&e.silent||i.dispatch({type:"error",error:e}),Ri(e))||(null==(t=(n=i.cache.config).onError)||t.call(n,e,i));i.isFetchingOptimistic||i.scheduleGc(),i.isFetchingOptimistic=!1};return this.retryer=Di({fn:h.fetchFn,abort:null==s?void 0:s.abort.bind(s),onSuccess:function(e){var t,n;"undefined"!==typeof e?(i.setData(e),null==(t=(n=i.cache.config).onSuccess)||t.call(n,e,i),i.isFetchingOptimistic||i.scheduleGc(),i.isFetchingOptimistic=!1):f(new Error("Query data cannot be undefined"))},onError:f,onFail:function(){i.dispatch({type:"failed"})},onPause:function(){i.dispatch({type:"pause"})},onContinue:function(){i.dispatch({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode}),this.promise=this.retryer.promise,this.promise}},{key:"dispatch",value:function(e){var t=this;this.state=function(n){var r,i;switch(e.type){case"failed":return(0,it.Z)((0,it.Z)({},n),{},{fetchFailureCount:n.fetchFailureCount+1});case"pause":return(0,it.Z)((0,it.Z)({},n),{},{fetchStatus:"paused"});case"continue":return(0,it.Z)((0,it.Z)({},n),{},{fetchStatus:"fetching"});case"fetch":return(0,it.Z)((0,it.Z)({},n),{},{fetchFailureCount:0,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:Qi(t.options.networkMode)?"fetching":"paused"},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,it.Z)((0,it.Z)({},n),{},{data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:null!=(i=e.dataUpdatedAt)?i:Date.now(),error:null,isInvalidated:!1,status:"success"},!e.manual&&{fetchStatus:"idle",fetchFailureCount:0});case"error":var o=e.error;return Ri(o)&&o.revert&&t.revertState?(0,it.Z)({},t.revertState):(0,it.Z)((0,it.Z)({},n),{},{error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchStatus:"idle",status:"error"});case"invalidate":return(0,it.Z)((0,it.Z)({},n),{},{isInvalidated:!0});case"setState":return(0,it.Z)((0,it.Z)({},n),e.state)}}(this.state),Si.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"updated",action:e})}))}}]),n}(Ni);var Ii=function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(e){var r;return(0,Vr.Z)(this,n),(r=t.call(this)).config=e||{},r.queries=[],r.queriesMap={},r}return(0,Yr.Z)(n,[{key:"build",value:function(e,t,n){var r,i=t.queryKey,o=null!=(r=t.queryHash)?r:si(i,t),a=this.get(o);return a||(a=new Mi({cache:this,logger:e.getLogger(),queryKey:i,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i),meta:t.meta}),this.add(a)),a}},{key:"add",value:function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}},{key:"remove",value:function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}},{key:"clear",value:function(){var e=this;Si.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))}},{key:"get",value:function(e){return this.queriesMap[e]}},{key:"getAll",value:function(){return this.queries}},{key:"find",value:function(e,t){var n=ii(e,t),r=(0,ee.Z)(n,1)[0];return"undefined"===typeof r.exact&&(r.exact=!0),this.queries.find((function(e){return oi(r,e)}))}},{key:"findAll",value:function(e,t){var n=ii(e,t),r=(0,ee.Z)(n,1)[0];return Object.keys(r).length>0?this.queries.filter((function(e){return oi(r,e)})):this.queries}},{key:"notify",value:function(e){var t=this;Si.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"onFocus",value:function(){var e=this;Si.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))}},{key:"onOnline",value:function(){var e=this;Si.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))}}]),n}(Ci),Li=n(3940);function Fi(){Fi=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(C){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,o=Object.create(i.prototype),a=new T(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return S()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(C){return{type:"throw",arg:C}}}e.wrap=u;var c={};function h(){}function f(){}function d(){}var p={};s(p,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(w([])));g&&g!==t&&n.call(g,i)&&(p=g);var v=d.prototype=h.prototype=Object.create(p);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function y(e,t){function r(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==(0,Li.Z)(h)&&n.call(h,"__await")?t.resolve(h.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(h).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,i){r(e,n,t,i)}))}return i=i?i.then(o,o):o()}}function k(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function w(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:S}}function S(){return{value:void 0,done:!0}}return f.prototype=d,s(v,"constructor",d),s(d,"constructor",f),f.displayName=s(d,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,s(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},O(y.prototype),s(y.prototype,o,(function(){return this})),e.AsyncIterator=y,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new y(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(v),s(v,a,"Generator"),s(v,i,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=w,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:w(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}function Zi(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,i)}var $i=function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(e){var r;return(0,Vr.Z)(this,n),(r=t.call(this)).options=(0,it.Z)((0,it.Z)({},e.defaultOptions),e.options),r.mutationId=e.mutationId,r.mutationCache=e.mutationCache,r.logger=e.logger||wi,r.observers=[],r.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},r.meta=e.meta,r.updateCacheTime(r.options.cacheTime),r.scheduleGc(),r}return(0,Yr.Z)(n,[{key:"setState",value:function(e){this.dispatch({type:"setState",state:e})}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}},{key:"removeObserver",value:function(e){this.observers=this.observers.filter((function(t){return t!==e})),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}},{key:"optionalRemove",value:function(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}},{key:"continue",value:function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}},{key:"execute",value:function(){var e,t=(e=Fi().mark((function e(){var t,n,r,i,o,a,s,u,l,c,h,f,d,p,m,g,v,O,y,k,b=this;return Fi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){var e;return b.retryer=Di({fn:function(){return b.options.mutationFn?b.options.mutationFn(b.state.variables):Promise.reject("No mutationFn found")},onFail:function(){b.dispatch({type:"failed"})},onPause:function(){b.dispatch({type:"pause"})},onContinue:function(){b.dispatch({type:"continue"})},retry:null!=(e=b.options.retry)?e:0,retryDelay:b.options.retryDelay,networkMode:b.options.networkMode}),b.retryer.promise},n="loading"===this.state.status,e.prev=2,n){e.next=10;break}return this.dispatch({type:"loading",variables:this.options.variables}),null==(l=(c=this.mutationCache.config).onMutate)||l.call(c,this.state.variables,this),e.next=8,null==(h=(f=this.options).onMutate)?void 0:h.call(f,this.state.variables);case 8:(d=e.sent)!==this.state.context&&this.dispatch({type:"loading",context:d,variables:this.state.variables});case 10:return e.next=12,t();case 12:return p=e.sent,null==(r=(i=this.mutationCache.config).onSuccess)||r.call(i,p,this.state.variables,this.state.context,this),e.next=16,null==(o=(a=this.options).onSuccess)?void 0:o.call(a,p,this.state.variables,this.state.context);case 16:return e.next=18,null==(s=(u=this.options).onSettled)?void 0:s.call(u,p,null,this.state.variables,this.state.context);case 18:return this.dispatch({type:"success",data:p}),e.abrupt("return",p);case 22:return e.prev=22,e.t0=e.catch(2),e.prev=24,null==(m=(g=this.mutationCache.config).onError)||m.call(g,e.t0,this.state.variables,this.state.context,this),e.next=29,null==(v=(O=this.options).onError)?void 0:v.call(O,e.t0,this.state.variables,this.state.context);case 29:return e.next=31,null==(y=(k=this.options).onSettled)?void 0:y.call(k,void 0,e.t0,this.state.variables,this.state.context);case 31:throw e.t0;case 32:return e.prev=32,this.dispatch({type:"error",error:e.t0}),e.finish(32);case 35:case"end":return e.stop()}}),e,this,[[2,22],[24,,32,35]])})),function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Zi(o,r,i,a,s,"next",e)}function s(e){Zi(o,r,i,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}()},{key:"dispatch",value:function(e){var t=this;this.state=function(n){switch(e.type){case"failed":return(0,it.Z)((0,it.Z)({},n),{},{failureCount:n.failureCount+1});case"pause":return(0,it.Z)((0,it.Z)({},n),{},{isPaused:!0});case"continue":return(0,it.Z)((0,it.Z)({},n),{},{isPaused:!1});case"loading":return(0,it.Z)((0,it.Z)({},n),{},{context:e.context,data:void 0,error:null,isPaused:!Qi(t.options.networkMode),status:"loading",variables:e.variables});case"success":return(0,it.Z)((0,it.Z)({},n),{},{data:e.data,error:null,status:"success",isPaused:!1});case"error":return(0,it.Z)((0,it.Z)({},n),{},{data:void 0,error:e.error,failureCount:n.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,it.Z)((0,it.Z)({},n),e.state)}}(this.state),Si.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify({mutation:t,type:"updated",action:e})}))}}]),n}(Ni);var ji=function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(e){var r;return(0,Vr.Z)(this,n),(r=t.call(this)).config=e||{},r.mutations=[],r.mutationId=0,r}return(0,Yr.Z)(n,[{key:"build",value:function(e,t,n){var r=new $i({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r}},{key:"add",value:function(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}},{key:"remove",value:function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),this.notify({type:"removed",mutation:e})}},{key:"clear",value:function(){var e=this;Si.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))}},{key:"getAll",value:function(){return this.mutations}},{key:"find",value:function(e){return"undefined"===typeof e.exact&&(e.exact=!0),this.mutations.find((function(t){return ai(e,t)}))}},{key:"findAll",value:function(e){return this.mutations.filter((function(t){return ai(e,t)}))}},{key:"notify",value:function(e){var t=this;Si.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"resumePausedMutations",value:function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return Si.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(ei)}))}),Promise.resolve())}))}}]),n}(Ci);function Bi(){return{onFetch:function(e){e.fetchFn=function(){var t,n,r,i,o,a,s,u=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,l=null==(r=e.fetchOptions)||null==(i=r.meta)?void 0:i.fetchMore,c=null==l?void 0:l.pageParam,h="forward"===(null==l?void 0:l.direction),f="backward"===(null==l?void 0:l.direction),d=(null==(o=e.state.data)?void 0:o.pages)||[],p=(null==(a=e.state.data)?void 0:a.pageParams)||[],m=p,g=!1,v=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},O=function(e,t,n,r){return m=r?[t].concat((0,rt.Z)(m)):[].concat((0,rt.Z)(m),[t]),r?[n].concat((0,rt.Z)(e)):[].concat((0,rt.Z)(e),[n])},y=function(t,n,r,i){if(g)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&t.length)return Promise.resolve(t);var o,a={queryKey:e.queryKey,pageParam:r,meta:e.meta};o=a,Object.defineProperty(o,"signal",{enumerable:!0,get:function(){var t,n;return null!=(t=e.signal)&&t.aborted?g=!0:null==(n=e.signal)||n.addEventListener("abort",(function(){g=!0})),e.signal}});var s=v(a),u=Promise.resolve(s).then((function(e){return O(t,r,e,i)}));return u};if(d.length)if(h){var k="undefined"!==typeof c,b=k?c:zi(e.options,d);s=y(d,k,b)}else if(f){var x="undefined"!==typeof c,T=x?c:Hi(e.options,d);s=y(d,x,T,!0)}else!function(){m=[];var t="undefined"===typeof e.options.getNextPageParam,n=!u||!d[0]||u(d[0],0,d);s=n?y([],t,p[0]):Promise.resolve(O([],p[0],d[0]));for(var r=function(n){s=s.then((function(r){if(!u||!d[n]||u(d[n],n,d)){var i=t?p[n]:zi(e.options,r);return y(r,t,i)}return Promise.resolve(O(r,p[n],d[n]))}))},i=1;i<d.length;i++)r(i)}();else s=y([]);return s.then((function(e){return{pages:e,pageParams:m}}))}}}}function zi(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function Hi(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var Wi=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,Vr.Z)(this,e),this.queryCache=t.queryCache||new Ii,this.mutationCache=t.mutationCache||new ji,this.logger=t.logger||wi,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}return(0,Yr.Z)(e,[{key:"mount",value:function(){var e=this;this.unsubscribeFocus=Ei.subscribe((function(){Ei.isFocused()&&(e.resumePausedMutations(),e.queryCache.onFocus())})),this.unsubscribeOnline=Ai.subscribe((function(){Ai.isOnline()&&(e.resumePausedMutations(),e.queryCache.onOnline())}))}},{key:"unmount",value:function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)}},{key:"isFetching",value:function(e,t){var n=ii(e,t),r=(0,ee.Z)(n,1)[0];return r.fetchStatus="fetching",this.queryCache.findAll(r).length}},{key:"isMutating",value:function(e){return this.mutationCache.findAll((0,it.Z)((0,it.Z)({},e),{},{fetching:!0})).length}},{key:"getQueryData",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}},{key:"getQueriesData",value:function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))}},{key:"setQueryData",value:function(e,t,n){var r=this.queryCache.find(e),i=function(e,t){return"function"===typeof e?e(t):e}(t,null==r?void 0:r.state.data);if("undefined"!==typeof i){var o=ri(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(i,(0,it.Z)((0,it.Z)({},n),{},{manual:!0}))}}},{key:"setQueriesData",value:function(e,t,n){var r=this;return Si.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var i=e.queryKey;return[i,r.setQueryData(i,t,n)]}))}))}},{key:"getQueryState",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}},{key:"removeQueries",value:function(e,t){var n=ii(e,t),r=(0,ee.Z)(n,1)[0],i=this.queryCache;Si.batch((function(){i.findAll(r).forEach((function(e){i.remove(e)}))}))}},{key:"resetQueries",value:function(e,t,n){var r=this,i=ii(e,t,n),o=(0,ee.Z)(i,2),a=o[0],s=o[1],u=this.queryCache,l=(0,it.Z)({type:"active"},a);return Si.batch((function(){return u.findAll(a).forEach((function(e){e.reset()})),r.refetchQueries(l,s)}))}},{key:"cancelQueries",value:function(e,t,n){var r=this,i=ii(e,t,n),o=(0,ee.Z)(i,2),a=o[0],s=o[1],u=void 0===s?{}:s;"undefined"===typeof u.revert&&(u.revert=!0);var l=Si.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(u)}))}));return Promise.all(l).then(ei).catch(ei)}},{key:"invalidateQueries",value:function(e,t,n){var r=this,i=ii(e,t,n),o=(0,ee.Z)(i,2),a=o[0],s=o[1];return Si.batch((function(){var e,t;if(r.queryCache.findAll(a).forEach((function(e){e.invalidate()})),"none"===a.refetchType)return Promise.resolve();var n=(0,it.Z)((0,it.Z)({},a),{},{type:null!=(e=null!=(t=a.refetchType)?t:a.type)?e:"active"});return r.refetchQueries(n,s)}))}},{key:"refetchQueries",value:function(e,t,n){var r=this,i=ii(e,t,n),o=(0,ee.Z)(i,2),a=o[0],s=o[1],u=Si.batch((function(){return r.queryCache.findAll(a).filter((function(e){return!e.isDisabled()})).map((function(e){var t;return e.fetch(void 0,(0,it.Z)((0,it.Z)({},s),{},{cancelRefetch:null==(t=null==s?void 0:s.cancelRefetch)||t,meta:{refetchPage:a.refetchPage}}))}))})),l=Promise.all(u).then(ei);return null!=s&&s.throwOnError||(l=l.catch(ei)),l}},{key:"fetchQuery",value:function(e,t,n){var r=ri(e,t,n),i=this.defaultQueryOptions(r);"undefined"===typeof i.retry&&(i.retry=!1);var o=this.queryCache.build(this,i);return o.isStaleByTime(i.staleTime)?o.fetch(i):Promise.resolve(o.state.data)}},{key:"prefetchQuery",value:function(e,t,n){return this.fetchQuery(e,t,n).then(ei).catch(ei)}},{key:"fetchInfiniteQuery",value:function(e,t,n){var r=ri(e,t,n);return r.behavior=Bi(),this.fetchQuery(r)}},{key:"prefetchInfiniteQuery",value:function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(ei).catch(ei)}},{key:"resumePausedMutations",value:function(){return this.mutationCache.resumePausedMutations()}},{key:"getQueryCache",value:function(){return this.queryCache}},{key:"getMutationCache",value:function(){return this.mutationCache}},{key:"getLogger",value:function(){return this.logger}},{key:"getDefaultOptions",value:function(){return this.defaultOptions}},{key:"setDefaultOptions",value:function(e){this.defaultOptions=e}},{key:"setQueryDefaults",value:function(e,t){var n=this.queryDefaults.find((function(t){return ui(e)===ui(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}},{key:"getQueryDefaults",value:function(e){if(e){var t=this.queryDefaults.find((function(t){return li(e,t.queryKey)}));return null==t?void 0:t.defaultOptions}}},{key:"setMutationDefaults",value:function(e,t){var n=this.mutationDefaults.find((function(t){return ui(e)===ui(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}},{key:"getMutationDefaults",value:function(e){if(e){var t=this.mutationDefaults.find((function(t){return li(e,t.mutationKey)}));return null==t?void 0:t.defaultOptions}}},{key:"defaultQueryOptions",value:function(e){if(null!=e&&e._defaulted)return e;var t=(0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)({},this.defaultOptions.queries),this.getQueryDefaults(null==e?void 0:e.queryKey)),e),{},{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=si(t.queryKey,t)),"undefined"===typeof t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),"undefined"===typeof t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}},{key:"defaultMutationOptions",value:function(e){return null!=e&&e._defaulted?e:(0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)({},this.defaultOptions.mutations),this.getMutationDefaults(null==e?void 0:e.mutationKey)),e),{},{_defaulted:!0})}},{key:"clear",value:function(){this.queryCache.clear(),this.mutationCache.clear()}}]),e}(),Ui=V.createContext(void 0),qi=V.createContext(!1);function Xi(e,t){return e||(t&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Ui),window.ReactQueryClientContext):Ui)}var Gi,Ji=function(e){var t=e.client,n=e.children,r=e.context,i=e.contextSharing,o=void 0!==i&&i;V.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=Xi(r,o);return V.createElement(qi.Provider,{value:!r&&o},V.createElement(a.Provider,{value:t},n))},Vi=(n(390),["title","titleId"]);function Yi(){return Yi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yi.apply(this,arguments)}function Ki(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function eo(e,t){var n=e.title,r=e.titleId,i=Ki(e,Vi);return V.createElement("svg",Yi({xmlns:"http://www.w3.org/2000/svg",fill:"#1aad1a",viewBox:"0 0 1024 1024",height:"1em",width:"1em",ref:t,"aria-labelledby":r},i),n?V.createElement("title",{id:r},n):null,Gi||(Gi=V.createElement("path",{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 0 1 9.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 0 0 6.4-2.6 9 9 0 0 0 2.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 0 1-36 35.9z"})))}var to,no=V.forwardRef(eo),ro=(n.p,["title","titleId"]);function io(){return io=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},io.apply(this,arguments)}function oo(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ao(e,t){var n=e.title,r=e.titleId,i=oo(e,ro);return V.createElement("svg",io({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024",height:"1em",width:"1em",ref:t,"aria-labelledby":r},i),n?V.createElement("title",{id:r},n):null,to||(to=V.createElement("path",{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"})))}var so,uo,lo,co,ho,fo,po,mo,go,vo=V.forwardRef(ao),Oo=(n.p,["title","titleId"]);function yo(){return yo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yo.apply(this,arguments)}function ko(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function bo(e,t){var n=e.title,r=e.titleId,i=ko(e,Oo);return V.createElement("svg",yo({xmlns:"http://www.w3.org/2000/svg",width:13,height:13,viewBox:"0 0 105 105",fill:"currentColor",ref:t,"aria-labelledby":r},i),n?V.createElement("title",{id:r},n):null,so||(so=V.createElement("circle",{cx:12.5,cy:12.5,r:12.5},V.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),uo||(uo=V.createElement("circle",{cx:12.5,cy:52.5,r:12.5,fillOpacity:.5},V.createElement("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),lo||(lo=V.createElement("circle",{cx:52.5,cy:12.5,r:12.5},V.createElement("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),co||(co=V.createElement("circle",{cx:52.5,cy:52.5,r:12.5},V.createElement("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),ho||(ho=V.createElement("circle",{cx:92.5,cy:12.5,r:12.5},V.createElement("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),fo||(fo=V.createElement("circle",{cx:92.5,cy:52.5,r:12.5},V.createElement("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),po||(po=V.createElement("circle",{cx:12.5,cy:92.5,r:12.5},V.createElement("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),mo||(mo=V.createElement("circle",{cx:52.5,cy:92.5,r:12.5},V.createElement("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))),go||(go=V.createElement("circle",{cx:92.5,cy:92.5,r:12.5},V.createElement("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}))))}var xo=V.forwardRef(bo),To=(n.p,n(5506)),wo=n(9973);function So(e){return new wo.ri(wo.il.define(e))}function Co(e){return n.e(4522).then(n.bind(n,4522)).then((function(t){return t.sql({dialect:t[e]})}))}var Eo=[wo.c6.of({name:"C",extensions:["c","h","ino"],load:function(){return n.e(2106).then(n.bind(n,2106)).then((function(e){return e.cpp()}))}}),wo.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:function(){return n.e(2106).then(n.bind(n,2106)).then((function(e){return e.cpp()}))}}),wo.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:function(){return Co("Cassandra")}}),wo.c6.of({name:"CSS",extensions:["css"],load:function(){return Promise.resolve().then(n.bind(n,4933)).then((function(e){return e.css()}))}}),wo.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:function(){return Promise.resolve().then(n.bind(n,3330)).then((function(e){return e.html()}))}}),wo.c6.of({name:"Java",extensions:["java"],load:function(){return n.e(5815).then(n.bind(n,5815)).then((function(e){return e.java()}))}}),wo.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:function(){return Promise.resolve().then(n.bind(n,4381)).then((function(e){return e.javascript()}))}}),wo.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:function(){return n.e(7537).then(n.bind(n,7537)).then((function(e){return e.json()}))}}),wo.c6.of({name:"JSX",extensions:["jsx"],load:function(){return Promise.resolve().then(n.bind(n,4381)).then((function(e){return e.javascript({jsx:!0})}))}}),wo.c6.of({name:"MariaDB SQL",load:function(){return Co("MariaSQL")}}),wo.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:function(){return Promise.resolve().then(n.bind(n,5506)).then((function(e){return e.markdown()}))}}),wo.c6.of({name:"MS SQL",load:function(){return Co("MSSQL")}}),wo.c6.of({name:"MySQL",load:function(){return Co("MySQL")}}),wo.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:function(){return n.e(4064).then(n.bind(n,4064)).then((function(e){return e.php()}))}}),wo.c6.of({name:"PLSQL",extensions:["pls"],load:function(){return Co("PLSQL")}}),wo.c6.of({name:"PostgreSQL",load:function(){return Co("PostgreSQL")}}),wo.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:function(){return n.e(377).then(n.bind(n,377)).then((function(e){return e.python()}))}}),wo.c6.of({name:"Rust",extensions:["rs"],load:function(){return n.e(1950).then(n.bind(n,1950)).then((function(e){return e.rust()}))}}),wo.c6.of({name:"SQL",extensions:["sql"],load:function(){return Co("StandardSQL")}}),wo.c6.of({name:"SQLite",load:function(){return Co("SQLite")}}),wo.c6.of({name:"TSX",extensions:["tsx"],load:function(){return Promise.resolve().then(n.bind(n,4381)).then((function(e){return e.javascript({jsx:!0,typescript:!0})}))}}),wo.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:function(){return Promise.resolve().then(n.bind(n,4381)).then((function(e){return e.javascript({typescript:!0})}))}}),wo.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:function(){return n.e(3235).then(n.bind(n,3235)).then((function(e){return e.wast()}))}}),wo.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:function(){return n.e(7859).then(n.bind(n,7859)).then((function(e){return e.xml()}))}}),wo.c6.of({name:"APL",extensions:["dyalog","apl"],load:function(){return n.e(5758).then(n.bind(n,5758)).then((function(e){return So(e.apl)}))}}),wo.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:function(){return n.e(7025).then(n.bind(n,7025)).then((function(e){return So(e.asciiArmor)}))}}),wo.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:function(){return n.e(6968).then(n.bind(n,6968)).then((function(e){return So(e.asn1({}))}))}}),wo.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:function(){return n.e(7826).then(n.bind(n,7826)).then((function(e){return So(e.asterisk)}))}}),wo.c6.of({name:"Brainfuck",extensions:["b","bf"],load:function(){return n.e(7136).then(n.bind(n,7136)).then((function(e){return So(e.brainfuck)}))}}),wo.c6.of({name:"Cobol",extensions:["cob","cpy"],load:function(){return n.e(285).then(n.bind(n,285)).then((function(e){return So(e.cobol)}))}}),wo.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return So(e.csharp)}))}}),wo.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:function(){return n.e(8158).then(n.bind(n,8158)).then((function(e){return So(e.clojure)}))}}),wo.c6.of({name:"ClojureScript",extensions:["cljs"],load:function(){return n.e(8158).then(n.bind(n,8158)).then((function(e){return So(e.clojure)}))}}),wo.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:function(){return n.e(8785).then(n.bind(n,8785)).then((function(e){return So(e.gss)}))}}),wo.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:function(){return n.e(617).then(n.bind(n,617)).then((function(e){return So(e.cmake)}))}}),wo.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:function(){return n.e(3378).then(n.bind(n,3378)).then((function(e){return So(e.coffeeScript)}))}}),wo.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:function(){return n.e(2369).then(n.bind(n,2369)).then((function(e){return So(e.commonLisp)}))}}),wo.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:function(){return n.e(7782).then(n.bind(n,7782)).then((function(e){return So(e.cypher)}))}}),wo.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:function(){return n.e(8110).then(n.bind(n,8110)).then((function(e){return So(e.cython)}))}}),wo.c6.of({name:"Crystal",extensions:["cr"],load:function(){return n.e(9707).then(n.bind(n,9707)).then((function(e){return So(e.crystal)}))}}),wo.c6.of({name:"D",extensions:["d"],load:function(){return n.e(6145).then(n.bind(n,6145)).then((function(e){return So(e.d)}))}}),wo.c6.of({name:"Dart",extensions:["dart"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return So(e.dart)}))}}),wo.c6.of({name:"diff",extensions:["diff","patch"],load:function(){return n.e(546).then(n.bind(n,546)).then((function(e){return So(e.diff)}))}}),wo.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:function(){return n.e(6601).then(n.bind(n,6601)).then((function(e){return So(e.dockerFile)}))}}),wo.c6.of({name:"DTD",extensions:["dtd"],load:function(){return n.e(9428).then(n.bind(n,9428)).then((function(e){return So(e.dtd)}))}}),wo.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:function(){return n.e(8556).then(n.bind(n,8556)).then((function(e){return So(e.dylan)}))}}),wo.c6.of({name:"EBNF",load:function(){return n.e(7791).then(n.bind(n,7791)).then((function(e){return So(e.ebnf)}))}}),wo.c6.of({name:"ECL",extensions:["ecl"],load:function(){return n.e(8879).then(n.bind(n,8879)).then((function(e){return So(e.ecl)}))}}),wo.c6.of({name:"edn",extensions:["edn"],load:function(){return n.e(8158).then(n.bind(n,8158)).then((function(e){return So(e.clojure)}))}}),wo.c6.of({name:"Eiffel",extensions:["e"],load:function(){return n.e(2307).then(n.bind(n,2307)).then((function(e){return So(e.eiffel)}))}}),wo.c6.of({name:"Elm",extensions:["elm"],load:function(){return n.e(8662).then(n.bind(n,8662)).then((function(e){return So(e.elm)}))}}),wo.c6.of({name:"Erlang",extensions:["erl"],load:function(){return n.e(70).then(n.bind(n,70)).then((function(e){return So(e.erlang)}))}}),wo.c6.of({name:"Esper",load:function(){return n.e(3455).then(n.bind(n,3455)).then((function(e){return So(e.esper)}))}}),wo.c6.of({name:"Factor",extensions:["factor"],load:function(){return n.e(4586).then(n.bind(n,4586)).then((function(e){return So(e.factor)}))}}),wo.c6.of({name:"FCL",load:function(){return n.e(4964).then(n.bind(n,4964)).then((function(e){return So(e.fcl)}))}}),wo.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:function(){return n.e(5194).then(n.bind(n,5194)).then((function(e){return So(e.forth)}))}}),wo.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:function(){return n.e(8935).then(n.bind(n,8935)).then((function(e){return So(e.fortran)}))}}),wo.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:function(){return n.e(6078).then(n.bind(n,6078)).then((function(e){return So(e.fSharp)}))}}),wo.c6.of({name:"Gas",extensions:["s"],load:function(){return n.e(5374).then(n.bind(n,5374)).then((function(e){return So(e.gas)}))}}),wo.c6.of({name:"Gherkin",extensions:["feature"],load:function(){return n.e(6900).then(n.bind(n,6900)).then((function(e){return So(e.gherkin)}))}}),wo.c6.of({name:"Go",extensions:["go"],load:function(){return n.e(8846).then(n.bind(n,8846)).then((function(e){return So(e.go)}))}}),wo.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:function(){return n.e(5905).then(n.bind(n,5905)).then((function(e){return So(e.groovy)}))}}),wo.c6.of({name:"Haskell",extensions:["hs"],load:function(){return n.e(624).then(n.bind(n,624)).then((function(e){return So(e.haskell)}))}}),wo.c6.of({name:"Haxe",extensions:["hx"],load:function(){return n.e(5740).then(n.bind(n,5740)).then((function(e){return So(e.haxe)}))}}),wo.c6.of({name:"HXML",extensions:["hxml"],load:function(){return n.e(5740).then(n.bind(n,5740)).then((function(e){return So(e.hxml)}))}}),wo.c6.of({name:"HTTP",load:function(){return n.e(4604).then(n.bind(n,4604)).then((function(e){return So(e.http)}))}}),wo.c6.of({name:"IDL",extensions:["pro"],load:function(){return n.e(8610).then(n.bind(n,8610)).then((function(e){return So(e.idl)}))}}),wo.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:function(){return n.e(88).then(n.bind(n,88)).then((function(e){return So(e.jsonld)}))}}),wo.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:function(){return n.e(5382).then(n.bind(n,5382)).then((function(e){return So(e.jinja2)}))}}),wo.c6.of({name:"Julia",extensions:["jl"],load:function(){return n.e(4684).then(n.bind(n,4684)).then((function(e){return So(e.julia)}))}}),wo.c6.of({name:"Kotlin",extensions:["kt"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return So(e.kotlin)}))}}),wo.c6.of({name:"LESS",extensions:["less"],load:function(){return n.e(8785).then(n.bind(n,8785)).then((function(e){return So(e.less)}))}}),wo.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:function(){return n.e(3582).then(n.bind(n,3582)).then((function(e){return So(e.liveScript)}))}}),wo.c6.of({name:"Lua",extensions:["lua"],load:function(){return n.e(7256).then(n.bind(n,7256)).then((function(e){return So(e.lua)}))}}),wo.c6.of({name:"mIRC",extensions:["mrc"],load:function(){return n.e(8140).then(n.bind(n,8140)).then((function(e){return So(e.mirc)}))}}),wo.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:function(){return n.e(58).then(n.bind(n,58)).then((function(e){return So(e.mathematica)}))}}),wo.c6.of({name:"Modelica",extensions:["mo"],load:function(){return n.e(5541).then(n.bind(n,5541)).then((function(e){return So(e.modelica)}))}}),wo.c6.of({name:"MUMPS",extensions:["mps"],load:function(){return n.e(3510).then(n.bind(n,3510)).then((function(e){return So(e.mumps)}))}}),wo.c6.of({name:"Mbox",extensions:["mbox"],load:function(){return n.e(9235).then(n.bind(n,9235)).then((function(e){return So(e.mbox)}))}}),wo.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:function(){return n.e(2321).then(n.bind(n,2321)).then((function(e){return So(e.nginx)}))}}),wo.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:function(){return n.e(6105).then(n.bind(n,6105)).then((function(e){return So(e.nsis)}))}}),wo.c6.of({name:"NTriples",extensions:["nt","nq"],load:function(){return n.e(2399).then(n.bind(n,2399)).then((function(e){return So(e.ntriples)}))}}),wo.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return So(e.objectiveC)}))}}),wo.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return So(e.objectiveCpp)}))}}),wo.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:function(){return n.e(6078).then(n.bind(n,6078)).then((function(e){return So(e.oCaml)}))}}),wo.c6.of({name:"Octave",extensions:["m"],load:function(){return n.e(8641).then(n.bind(n,8641)).then((function(e){return So(e.octave)}))}}),wo.c6.of({name:"Oz",extensions:["oz"],load:function(){return n.e(1527).then(n.bind(n,1527)).then((function(e){return So(e.oz)}))}}),wo.c6.of({name:"Pascal",extensions:["p","pas"],load:function(){return n.e(7483).then(n.bind(n,7483)).then((function(e){return So(e.pascal)}))}}),wo.c6.of({name:"Perl",extensions:["pl","pm"],load:function(){return n.e(7902).then(n.bind(n,7902)).then((function(e){return So(e.perl)}))}}),wo.c6.of({name:"Pig",extensions:["pig"],load:function(){return n.e(3030).then(n.bind(n,3030)).then((function(e){return So(e.pig)}))}}),wo.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:function(){return n.e(2281).then(n.bind(n,2281)).then((function(e){return So(e.powerShell)}))}}),wo.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:function(){return n.e(9158).then(n.bind(n,9158)).then((function(e){return So(e.properties)}))}}),wo.c6.of({name:"ProtoBuf",extensions:["proto"],load:function(){return n.e(9529).then(n.bind(n,9529)).then((function(e){return So(e.protobuf)}))}}),wo.c6.of({name:"Puppet",extensions:["pp"],load:function(){return n.e(8802).then(n.bind(n,8802)).then((function(e){return So(e.puppet)}))}}),wo.c6.of({name:"Q",extensions:["q"],load:function(){return n.e(732).then(n.bind(n,732)).then((function(e){return So(e.q)}))}}),wo.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:function(){return n.e(5651).then(n.bind(n,5651)).then((function(e){return So(e.r)}))}}),wo.c6.of({name:"RPM Changes",load:function(){return n.e(5799).then(n.bind(n,5799)).then((function(e){return So(e.rpmChanges)}))}}),wo.c6.of({name:"RPM Spec",extensions:["spec"],load:function(){return n.e(5799).then(n.bind(n,5799)).then((function(e){return So(e.rpmSpec)}))}}),wo.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:function(){return n.e(3467).then(n.bind(n,3467)).then((function(e){return So(e.ruby)}))}}),wo.c6.of({name:"SAS",extensions:["sas"],load:function(){return n.e(3850).then(n.bind(n,3850)).then((function(e){return So(e.sas)}))}}),wo.c6.of({name:"Sass",extensions:["sass"],load:function(){return n.e(4017).then(n.bind(n,4017)).then((function(e){return So(e.sass)}))}}),wo.c6.of({name:"Scala",extensions:["scala"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return So(e.scala)}))}}),wo.c6.of({name:"Scheme",extensions:["scm","ss"],load:function(){return n.e(4911).then(n.bind(n,4911)).then((function(e){return So(e.scheme)}))}}),wo.c6.of({name:"SCSS",extensions:["scss"],load:function(){return n.e(8785).then(n.bind(n,8785)).then((function(e){return So(e.sCSS)}))}}),wo.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:function(){return n.e(7627).then(n.bind(n,7627)).then((function(e){return So(e.shell)}))}}),wo.c6.of({name:"Sieve",extensions:["siv","sieve"],load:function(){return n.e(7234).then(n.bind(n,7234)).then((function(e){return So(e.sieve)}))}}),wo.c6.of({name:"Smalltalk",extensions:["st"],load:function(){return n.e(2340).then(n.bind(n,2340)).then((function(e){return So(e.smalltalk)}))}}),wo.c6.of({name:"Solr",load:function(){return n.e(2534).then(n.bind(n,2534)).then((function(e){return So(e.solr)}))}}),wo.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:function(){return n.e(6078).then(n.bind(n,6078)).then((function(e){return So(e.sml)}))}}),wo.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:function(){return n.e(2473).then(n.bind(n,2473)).then((function(e){return So(e.sparql)}))}}),wo.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:function(){return n.e(294).then(n.bind(n,294)).then((function(e){return So(e.spreadsheet)}))}}),wo.c6.of({name:"Squirrel",extensions:["nut"],load:function(){return n.e(7279).then(n.bind(n,7279)).then((function(e){return So(e.squirrel)}))}}),wo.c6.of({name:"Stylus",extensions:["styl"],load:function(){return n.e(1620).then(n.bind(n,1620)).then((function(e){return So(e.stylus)}))}}),wo.c6.of({name:"Swift",extensions:["swift"],load:function(){return n.e(9007).then(n.bind(n,9007)).then((function(e){return So(e.swift)}))}}),wo.c6.of({name:"sTeX",load:function(){return n.e(9084).then(n.bind(n,9084)).then((function(e){return So(e.stex)}))}}),wo.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:function(){return n.e(9084).then(n.bind(n,9084)).then((function(e){return So(e.stex)}))}}),wo.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:function(){return n.e(8066).then(n.bind(n,8066)).then((function(e){return So(e.verilog)}))}}),wo.c6.of({name:"Tcl",extensions:["tcl"],load:function(){return n.e(2410).then(n.bind(n,2410)).then((function(e){return So(e.tcl)}))}}),wo.c6.of({name:"Textile",extensions:["textile"],load:function(){return n.e(5537).then(n.bind(n,5537)).then((function(e){return So(e.textile)}))}}),wo.c6.of({name:"TiddlyWiki",load:function(){return n.e(1973).then(n.bind(n,1973)).then((function(e){return So(e.tiddlyWiki)}))}}),wo.c6.of({name:"Tiki wiki",load:function(){return n.e(468).then(n.bind(n,468)).then((function(e){return So(e.tiki)}))}}),wo.c6.of({name:"TOML",extensions:["toml"],load:function(){return n.e(9021).then(n.bind(n,9021)).then((function(e){return So(e.toml)}))}}),wo.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:function(){return n.e(7792).then(n.bind(n,7792)).then((function(e){return So(e.troff)}))}}),wo.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:function(){return n.e(4071).then(n.bind(n,4071)).then((function(e){return So(e.ttcn)}))}}),wo.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:function(){return n.e(903).then(n.bind(n,4494)).then((function(e){return So(e.ttcnCfg)}))}}),wo.c6.of({name:"Turtle",extensions:["ttl"],load:function(){return n.e(2804).then(n.bind(n,2804)).then((function(e){return So(e.turtle)}))}}),wo.c6.of({name:"Web IDL",extensions:["webidl"],load:function(){return n.e(606).then(n.bind(n,606)).then((function(e){return So(e.webIDL)}))}}),wo.c6.of({name:"VB.NET",extensions:["vb"],load:function(){return n.e(5798).then(n.bind(n,5798)).then((function(e){return So(e.vb)}))}}),wo.c6.of({name:"VBScript",extensions:["vbs"],load:function(){return n.e(3083).then(n.bind(n,3083)).then((function(e){return So(e.vbScript)}))}}),wo.c6.of({name:"Velocity",extensions:["vtl"],load:function(){return n.e(2489).then(n.bind(n,2489)).then((function(e){return So(e.velocity)}))}}),wo.c6.of({name:"Verilog",extensions:["v"],load:function(){return n.e(8066).then(n.bind(n,8066)).then((function(e){return So(e.verilog)}))}}),wo.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:function(){return n.e(1875).then(n.bind(n,1875)).then((function(e){return So(e.vhdl)}))}}),wo.c6.of({name:"XQuery",extensions:["xy","xquery"],load:function(){return n.e(9949).then(n.bind(n,9949)).then((function(e){return So(e.xQuery)}))}}),wo.c6.of({name:"Yacas",extensions:["ys"],load:function(){return n.e(2172).then(n.bind(n,2172)).then((function(e){return So(e.yacas)}))}}),wo.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:function(){return n.e(2082).then(n.bind(n,2082)).then((function(e){return So(e.yaml)}))}}),wo.c6.of({name:"Z80",extensions:["z80"],load:function(){return n.e(2275).then(n.bind(n,2275)).then((function(e){return So(e.z80)}))}}),wo.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:function(){return n.e(8831).then(n.bind(n,8831)).then((function(e){return So(e.mscgen)}))}}),wo.c6.of({name:"X\xf9",extensions:["xu"],load:function(){return n.e(8831).then(n.bind(n,8831)).then((function(e){return So(e.xu)}))}}),wo.c6.of({name:"MsGenny",extensions:["msgenny"],load:function(){return n.e(8831).then(n.bind(n,8831)).then((function(e){return So(e.msgenny)}))}})],Ao=n(1701),_o=n(7989),Qo=n(1514);function Po(e,t){return function(n){var r=n.state,i=n.dispatch;if(r.readOnly)return!1;var o=e(t,r);return!!o&&(i(r.update(o)),!0)}}var Ro=Po(Fo,0),Do=Po(Lo,0),No=Po((function(e,t){return Lo(e,t,function(e){var t,n=[],r=(0,K.Z)(e.selection.ranges);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=e.doc.lineAt(i.from),a=i.to<=o.to?o:e.doc.lineAt(i.to),s=n.length-1;s>=0&&n[s].to>o.from?n[s].to=a.to:n.push({from:o.from,to:a.to})}}catch(u){r.e(u)}finally{r.f()}return n}(t))}),0);function Mo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.selection.main.head,n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function Io(e,t,n,r){var i,o,a=t.open,s=t.close,u=e.sliceDoc(n-50,n),l=e.sliceDoc(r,r+50),c=/\s*$/.exec(u)[0].length,h=/^\s*/.exec(l)[0].length,f=u.length-c;if(u.slice(f-a.length,f)==a&&l.slice(h,h+s.length)==s)return{open:{pos:n-c,margin:c&&1},close:{pos:r+h,margin:h&&1}};r-n<=100?i=o=e.sliceDoc(n,r):(i=e.sliceDoc(n,n+50),o=e.sliceDoc(r-50,r));var d=/^\s*/.exec(i)[0].length,p=/\s*$/.exec(o)[0].length,m=o.length-p-s.length;return i.slice(d,d+a.length)==a&&o.slice(m,m+s.length)==s?{open:{pos:n+d+a.length,margin:/\s/.test(i.charAt(d+a.length))?1:0},close:{pos:r-p-s.length,margin:/\s/.test(o.charAt(m-1))?1:0}}:null}function Lo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.selection.ranges,r=n.map((function(e){return Mo(t,e.from).block}));if(!r.every((function(e){return e})))return null;var i=n.map((function(e,n){return Io(t,r[n],e.from,e.to)}));if(2!=e&&!i.every((function(e){return e})))return{changes:t.changes(n.map((function(e,t){return i[t]?[]:[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]})))};if(1!=e&&i.some((function(e){return e}))){for(var o,a=[],s=0;s<i.length;s++)if(o=i[s]){var u=r[s],l=o,c=l.open,h=l.close;a.push({from:c.pos-u.open.length,to:c.pos+c.margin},{from:h.pos-h.margin,to:h.pos+u.close.length})}return{changes:a}}return null}function Fo(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.selection.ranges,i=[],o=-1,a=(0,K.Z)(r);try{for(a.s();!(n=a.n()).done;){for(var s=n.value,u=s.from,l=s.to,c=i.length,h=1e9,f=u;f<=l;){var d=t.doc.lineAt(f);if(d.from>o&&(u==l||l>d.from)){o=d.from;var p=Mo(t,f).line;if(!p)continue;var m=/^\s*/.exec(d.text)[0].length,g=m==d.length,v=d.text.slice(m,m+p.length)==p?m:-1;m<d.text.length&&m<h&&(h=m),i.push({line:d,comment:v,token:p,indent:m,empty:g,single:!1})}f=d.to+1}if(h<1e9)for(var O=c;O<i.length;O++)i[O].indent<i[O].line.text.length&&(i[O].indent=h);i.length==c+1&&(i[c].single=!0)}}catch(F){a.e(F)}finally{a.f()}if(2!=e&&i.some((function(e){return e.comment<0&&(!e.empty||e.single)}))){var y,k=[],b=(0,K.Z)(i);try{for(b.s();!(y=b.n()).done;){var x=y.value,T=x.line,w=x.token,S=x.indent,C=x.empty,E=x.single;!E&&C||k.push({from:T.from+S,insert:w+" "})}}catch(F){b.e(F)}finally{b.f()}var A=t.changes(k);return{changes:A,selection:t.selection.map(A,1)}}if(1!=e&&i.some((function(e){return e.comment>=0}))){var _,Q=[],P=(0,K.Z)(i);try{for(P.s();!(_=P.n()).done;){var R=_.value,D=R.line,N=R.comment,M=R.token;if(N>=0){var I=D.from+N,L=I+M.length;" "==D.text[L-D.from]&&L++,Q.push({from:I,to:L})}}}catch(F){P.e(F)}finally{P.f()}return{changes:Q}}return null}var Zo=_o.q6.define(),$o=_o.q6.define(),jo=_o.r$.define(),Bo=_o.r$.define({combine:function(e){return(0,_o.BO)(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}});var zo=_o.QQ.define({create:function(){return ia.empty},update:function(e,t){var n=t.state.facet(Bo),r=t.annotation(Zo);if(r){var i=t.docChanged?_o.jT.single(function(e){var t=0;return e.iterChangedRanges((function(e,n){return t=n})),t}(t.changes)):void 0,o=Go.fromTransaction(t,i),a=r.side,s=0==a?e.undone:e.done;return s=o?Jo(s,s.length,n.minDepth,o):Ko(s,t.startState.selection),new ia(0==a?r.rest:s,0==a?s:r.rest)}var u=t.annotation($o);if("full"!=u&&"before"!=u||(e=e.isolate()),!1===t.annotation(_o.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);var l=Go.fromTransaction(t),c=t.annotation(_o.YW.time),h=t.annotation(_o.YW.userEvent);return l?e=e.addChanges(l,c,h,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,c,h,n.newGroupDelay)),"full"!=u&&"after"!=u||(e=e.isolate()),e},toJSON:function(e){return{done:e.done.map((function(e){return e.toJSON()})),undone:e.undone.map((function(e){return e.toJSON()}))}},fromJSON:function(e){return new ia(e.done.map(Go.fromJSON),e.undone.map(Go.fromJSON))}});function Ho(e,t){return function(n){var r=n.state,i=n.dispatch;if(!t&&r.readOnly)return!1;var o=r.field(zo,!1);if(!o)return!1;var a=o.pop(e,r,t);return!!a&&(i(a),!0)}}var Wo=Ho(0,!1),Uo=Ho(1,!1),qo=Ho(0,!0),Xo=Ho(1,!0);var Go=function(){function e(t,n,r,i,o){(0,Vr.Z)(this,e),this.changes=t,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=o}return(0,Yr.Z)(e,[{key:"setSelAfter",value:function(t){return new e(this.changes,this.effects,this.mapped,this.startSelection,t)}},{key:"toJSON",value:function(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map((function(e){return e.toJSON()}))}}}],[{key:"fromJSON",value:function(t){return new e(t.changes&&_o.as.fromJSON(t.changes),[],t.mapped&&_o.n0.fromJSON(t.mapped),t.startSelection&&_o.jT.fromJSON(t.startSelection),t.selectionsAfter.map(_o.jT.fromJSON))}},{key:"fromTransaction",value:function(t,n){var r,i=Yo,o=(0,K.Z)(t.startState.facet(jo));try{for(o.s();!(r=o.n()).done;){var a=(0,r.value)(t);a.length&&(i=i.concat(a))}}catch(s){o.e(s)}finally{o.f()}return!i.length&&t.changes.empty?null:new e(t.changes.invert(t.startState.doc),i,void 0,n||t.startState.selection,Yo)}},{key:"selection",value:function(t){return new e(void 0,Yo,void 0,void 0,t)}}]),e}();function Jo(e,t,n,r){var i=t+1>n+20?t-n-1:0,o=e.slice(i,t);return o.push(r),o}function Vo(e,t){return e.length?t.length?e.concat(t):e:t}var Yo=[];function Ko(e,t){if(e.length){var n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),Jo(e,e.length-1,1e9,n.setSelAfter(r)))}return[Go.selection([t])]}function ea(e){var t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function ta(e,t){if(!e.length)return e;for(var n=e.length,r=Yo;n;){var i=na(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){var o=e.slice(0,n);return o[n-1]=i,o}t=i.mapped,n--,r=i.selectionsAfter}return r.length?[Go.selection(r)]:Yo}function na(e,t,n){var r=Vo(e.selectionsAfter.length?e.selectionsAfter.map((function(e){return e.map(t)})):Yo,n);if(!e.changes)return Go.selection(r);var i=e.changes.map(t),o=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(o):o;return new Go(i,_o.Py.mapEffects(e.effects,t),a,e.startSelection.map(o),r)}var ra=/^(input\.type|delete)($|\.)/,ia=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;(0,Vr.Z)(this,e),this.done=t,this.undone=n,this.prevTime=r,this.prevUserEvent=i}return(0,Yr.Z)(e,[{key:"isolate",value:function(){return this.prevTime?new e(this.done,this.undone):this}},{key:"addChanges",value:function(t,n,r,i,o){var a=this.done,s=a[a.length-1];return a=s&&s.changes&&!s.changes.empty&&t.changes&&(!r||ra.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime<i&&function(e,t){var n=[],r=!1;return e.iterChangedRanges((function(e,t){return n.push(e,t)})),t.iterChangedRanges((function(e,t,i,o){for(var a=0;a<n.length;){var s=n[a++],u=n[a++];o>=s&&i<=u&&(r=!0)}})),r}(s.changes,t.changes)||"input.type.compose"==r)?Jo(a,a.length-1,o,new Go(t.changes.compose(s.changes),Vo(t.effects,s.effects),s.mapped,s.startSelection,Yo)):Jo(a,a.length,o,t),new e(a,Yo,n,r)}},{key:"addSelection",value:function(t,n,r,i){var o=this.done.length?this.done[this.done.length-1].selectionsAfter:Yo;return o.length>0&&n-this.prevTime<i&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&function(e,t){return e.ranges.length==t.ranges.length&&0===e.ranges.filter((function(e,n){return e.empty!=t.ranges[n].empty})).length}(o[o.length-1],t)?this:new e(Ko(this.done,t),this.undone,n,r)}},{key:"addMapping",value:function(t){return new e(ta(this.done,t),ta(this.undone,t),this.prevTime,this.prevUserEvent)}},{key:"pop",value:function(e,t,n){var r=0==e?this.done:this.undone;if(0==r.length)return null;var i=r[r.length-1];if(n&&i.selectionsAfter.length)return t.update({selection:i.selectionsAfter[i.selectionsAfter.length-1],annotations:Zo.of({side:e,rest:ea(r)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(i.changes){var o=1==r.length?Yo:r.slice(0,r.length-1);return i.mapped&&(o=ta(o,i.mapped)),t.update({changes:i.changes,selection:i.startSelection,effects:i.effects,annotations:Zo.of({side:e,rest:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}]),e}();ia.empty=new ia(Yo,Yo);var oa=[{key:"Mod-z",run:Wo,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Uo,preventDefault:!0},{linux:"Ctrl-Shift-z",run:Uo,preventDefault:!0},{key:"Mod-u",run:qo,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:Xo,preventDefault:!0}];function aa(e,t){return _o.jT.create(e.ranges.map(t),e.mainIndex)}function sa(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function ua(e,t){var n=e.state,r=e.dispatch,i=aa(n.selection,t);return!i.eq(n.selection)&&(r(sa(n,i)),!0)}function la(e,t){return _o.jT.cursor(t?e.to:e.from)}function ca(e,t){return ua(e,(function(n){return n.empty?e.moveByChar(n,t):la(n,t)}))}function ha(e){return e.textDirectionAt(e.state.selection.main.head)==Ao.Nm.LTR}var fa=function(e){return ca(e,!ha(e))},da=function(e){return ca(e,ha(e))};function pa(e,t){return ua(e,(function(n){return n.empty?e.moveByGroup(n,t):la(n,t)}))}function ma(e,t,n){if(t.type.prop(n))return!0;var r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function ga(e,t,n){for(var r=(0,wo.qz)(e).resolveInner(t.head),i=n?Qo.md.closedBy:Qo.md.openedBy,o=t.head;;){var a=n?r.childAfter(o):r.childBefore(o);if(!a)break;ma(e,a,i)?r=a:o=n?a.to:a.from}var s,u;return u=r.type.prop(i)&&(s=n?(0,wo.Um)(e,r.from,1):(0,wo.Um)(e,r.to,-1))&&s.matched?n?s.end.to:s.end.from:n?r.to:r.from,_o.jT.cursor(u,n?-1:1)}function va(e,t){return ua(e,(function(n){if(!n.empty)return la(n,t);var r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)}))}var Oa=function(e){return va(e,!1)},ya=function(e){return va(e,!0)};function ka(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function ba(e,t){var n=e.state,r=aa(n.selection,(function(n){return n.empty?e.moveVertically(n,t,ka(e)):la(n,t)}));if(r.eq(n.selection))return!1;var i,o=e.coordsAtPos(n.selection.main.head),a=e.scrollDOM.getBoundingClientRect();return o&&o.top>a.top&&o.bottom<a.bottom&&o.top-a.top<=e.scrollDOM.scrollHeight-e.scrollDOM.scrollTop-e.scrollDOM.clientHeight&&(i=Ao.tk.scrollIntoView(r.main.head,{y:"start",yMargin:o.top-a.top})),e.dispatch(sa(n,r),{effects:i}),!0}var xa=function(e){return ba(e,!1)},Ta=function(e){return ba(e,!0)};function wa(e,t,n){var r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){var o=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;o&&t.head!=r.from+o&&(i=_o.jT.cursor(r.from+o))}return i}function Sa(e,t,n){var r=!1,i=aa(e.selection,(function(t){var i=(0,wo.Um)(e,t.head,-1)||(0,wo.Um)(e,t.head,1)||t.head>0&&(0,wo.Um)(e,t.head-1,1)||t.head<e.doc.length&&(0,wo.Um)(e,t.head+1,-1);if(!i||!i.end)return t;r=!0;var o=i.start.from==t.head?i.end.to:i.end.from;return n?_o.jT.range(t.anchor,o):_o.jT.cursor(o)}));return!!r&&(t(sa(e,i)),!0)}function Ca(e,t){var n=aa(e.state.selection,(function(e){var n=t(e);return _o.jT.range(e.anchor,n.head,n.goalColumn)}));return!n.eq(e.state.selection)&&(e.dispatch(sa(e.state,n)),!0)}function Ea(e,t){return Ca(e,(function(n){return e.moveByChar(n,t)}))}var Aa=function(e){return Ea(e,!ha(e))},_a=function(e){return Ea(e,ha(e))};function Qa(e,t){return Ca(e,(function(n){return e.moveByGroup(n,t)}))}function Pa(e,t){return Ca(e,(function(n){return e.moveVertically(n,t)}))}var Ra=function(e){return Pa(e,!1)},Da=function(e){return Pa(e,!0)};function Na(e,t){return Ca(e,(function(n){return e.moveVertically(n,t,ka(e))}))}var Ma=function(e){return Na(e,!1)},Ia=function(e){return Na(e,!0)},La=function(e){var t=e.state;return(0,e.dispatch)(sa(t,{anchor:0})),!0},Fa=function(e){var t=e.state;return(0,e.dispatch)(sa(t,{anchor:t.doc.length})),!0},Za=function(e){var t=e.state;return(0,e.dispatch)(sa(t,{anchor:t.selection.main.anchor,head:0})),!0},$a=function(e){var t=e.state;return(0,e.dispatch)(sa(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0};function ja(e,t){var n=e.state,r=e.dispatch;if(n.readOnly)return!1;var i="delete.selection",o=n.changeByRange((function(e){var n=e.from,r=e.to;if(n==r){var o=t(n);o<n?i="delete.backward":o>n&&(i="delete.forward"),n=Math.min(n,o),r=Math.max(r,o)}return n==r?{range:e}:{changes:{from:n,to:r},range:_o.jT.cursor(n)}}));return!o.changes.empty&&(r(n.update(o,{scrollIntoView:!0,userEvent:i,effects:"delete.selection"==i?Ao.tk.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function Ba(e,t,n){if(e instanceof Ao.tk){var r,i=(0,K.Z)(e.state.facet(Ao.tk.atomicRanges).map((function(t){return t(e)})));try{for(i.s();!(r=i.n()).done;){r.value.between(t,t,(function(e,r){e<t&&r>t&&(t=n?r:e)}))}}catch(o){i.e(o)}finally{i.f()}}return t}var za=function(e,t){return ja(e,(function(n){var r,i,o=e.state,a=o.doc.lineAt(n);if(!t&&n>a.from&&n<a.from+200&&!/[^ \t]/.test(r=a.text.slice(0,n-a.from))){if("\t"==r[r.length-1])return n-1;for(var s=(0,_o.IS)(r,o.tabSize)%(0,wo.y1)(o)||(0,wo.y1)(o),u=0;u<s&&" "==r[r.length-1-u];u++)n--;i=n}else(i=(0,_o.cp)(a.text,n-a.from,t,t)+a.from)==n&&a.number!=(t?o.doc.lines:1)&&(i+=t?1:-1);return Ba(e,i,t)}))},Ha=function(e){return za(e,!1)},Wa=function(e){return za(e,!0)},Ua=function(e,t){return ja(e,(function(n){for(var r=n,i=e.state,o=i.doc.lineAt(r),a=i.charCategorizer(r),s=null;;){if(r==(t?o.to:o.from)){r==n&&o.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}var u=(0,_o.cp)(o.text,r-o.from,t)+o.from,l=o.text.slice(Math.min(r,u)-o.from,Math.max(r,u)-o.from),c=a(l);if(null!=s&&c!=s)break;" "==l&&r==n||(s=c),r=u}return Ba(e,r,t)}))},qa=function(e){return Ua(e,!1)},Xa=function(e){return ja(e,(function(t){var n=e.lineBlockAt(t).to;return Ba(e,t<n?n:Math.min(e.state.doc.length,t+1),!0)}))};function Ga(e){var t,n=[],r=-1,i=(0,K.Z)(e.selection.ranges);try{for(i.s();!(t=i.n()).done;){var o=t.value,a=e.doc.lineAt(o.from),s=e.doc.lineAt(o.to);if(o.empty||o.to!=s.from||(s=e.doc.lineAt(o.to-1)),r>=a.number){var u=n[n.length-1];u.to=s.to,u.ranges.push(o)}else n.push({from:a.from,to:s.to,ranges:[o]});r=s.number+1}}catch(l){i.e(l)}finally{i.f()}return n}function Ja(e,t,n){if(e.readOnly)return!1;var r,i=[],o=[],a=(0,K.Z)(Ga(e));try{for(a.s();!(r=a.n()).done;){var s=r.value;if(n?s.to!=e.doc.length:0!=s.from){var u=e.doc.lineAt(n?s.to+1:s.from-1),l=u.length+1;if(n){i.push({from:s.to,to:u.to},{from:s.from,insert:u.text+e.lineBreak});var c,h=(0,K.Z)(s.ranges);try{for(h.s();!(c=h.n()).done;){var f=c.value;o.push(_o.jT.range(Math.min(e.doc.length,f.anchor+l),Math.min(e.doc.length,f.head+l)))}}catch(g){h.e(g)}finally{h.f()}}else{i.push({from:u.from,to:s.from},{from:s.to,insert:e.lineBreak+u.text});var d,p=(0,K.Z)(s.ranges);try{for(p.s();!(d=p.n()).done;){var m=d.value;o.push(_o.jT.range(m.anchor-l,m.head-l))}}catch(g){p.e(g)}finally{p.f()}}}}}catch(g){a.e(g)}finally{a.f()}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:_o.jT.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0)}function Va(e,t,n){if(e.readOnly)return!1;var r,i=[],o=(0,K.Z)(Ga(e));try{for(o.s();!(r=o.n()).done;){var a=r.value;n?i.push({from:a.from,insert:e.doc.slice(a.from,a.to)+e.lineBreak}):i.push({from:a.to,insert:e.lineBreak+e.doc.slice(a.from,a.to)})}}catch(s){o.e(s)}finally{o.f()}return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}var Ya=es(!1),Ka=es(!0);function es(e){return function(t){var n=t.state,r=t.dispatch;if(n.readOnly)return!1;var i=n.changeByRange((function(t){var r=t.from,i=t.to,o=n.doc.lineAt(r),a=!e&&r==i&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};var n,r=(0,wo.qz)(e).resolveInner(t),i=r.childBefore(t),o=r.childAfter(t);return i&&o&&i.to<=t&&o.from>=t&&(n=i.type.prop(Qo.md.closedBy))&&n.indexOf(o.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(o.from).from?{from:i.to,to:o.from}:null}(n,r);e&&(r=i=(i<=o.to?o:n.doc.lineAt(i)).to);var s=new wo.Gn(n,{simulateBreak:r,simulateDoubleBreak:!!a}),u=(0,wo.K0)(s,r);for(null==u&&(u=/^\s*/.exec(n.doc.lineAt(r).text)[0].length);i<o.to&&/\s/.test(o.text[i-o.from]);)i++;a?(r=a.from,i=a.to):r>o.from&&r<o.from+100&&!/\S/.test(o.text.slice(0,r))&&(r=o.from);var l=["",(0,wo.SS)(n,u)];return a&&l.push((0,wo.SS)(n,s.lineIndent(o.from,-1))),{changes:{from:r,to:i,insert:_o.xv.of(l)},range:_o.jT.cursor(r+1+l[1].length)}}));return r(n.update(i,{scrollIntoView:!0,userEvent:"input"})),!0}}function ts(e,t){var n=-1;return e.changeByRange((function(r){for(var i=[],o=r.from;o<=r.to;){var a=e.doc.lineAt(o);a.number>n&&(r.empty||r.to>a.from)&&(t(a,i,r),n=a.number),o=a.to+1}var s=e.changes(i);return{changes:i,range:_o.jT.range(s.mapPos(r.anchor,1),s.mapPos(r.head,1))}}))}var ns=function(e){var t=e.state,n=e.dispatch;return!t.readOnly&&(n(t.update(ts(t,(function(e,n){n.push({from:e.from,insert:t.facet(wo.c)})})),{userEvent:"input.indent"})),!0)},rs=function(e){var t=e.state,n=e.dispatch;return!t.readOnly&&(n(t.update(ts(t,(function(e,n){var r=/^\s*/.exec(e.text)[0];if(r){for(var i=(0,_o.IS)(r,t.tabSize),o=0,a=(0,wo.SS)(t,Math.max(0,i-(0,wo.y1)(t)));o<r.length&&o<a.length&&r.charCodeAt(o)==a.charCodeAt(o);)o++;n.push({from:e.from+o,to:e.from+r.length,insert:a.slice(o)})}})),{userEvent:"delete.dedent"})),!0)},is=[{key:"ArrowLeft",run:fa,shift:Aa,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:function(e){return pa(e,!ha(e))},shift:function(e){return Qa(e,!ha(e))},preventDefault:!0},{mac:"Cmd-ArrowLeft",run:function(e){return ua(e,(function(t){return wa(e,t,!ha(e))}))},shift:function(e){return Ca(e,(function(t){return wa(e,t,!ha(e))}))},preventDefault:!0},{key:"ArrowRight",run:da,shift:_a,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:function(e){return pa(e,ha(e))},shift:function(e){return Qa(e,ha(e))},preventDefault:!0},{mac:"Cmd-ArrowRight",run:function(e){return ua(e,(function(t){return wa(e,t,ha(e))}))},shift:function(e){return Ca(e,(function(t){return wa(e,t,ha(e))}))},preventDefault:!0},{key:"ArrowUp",run:Oa,shift:Ra,preventDefault:!0},{mac:"Cmd-ArrowUp",run:La,shift:Za},{mac:"Ctrl-ArrowUp",run:xa,shift:Ma},{key:"ArrowDown",run:ya,shift:Da,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Fa,shift:$a},{mac:"Ctrl-ArrowDown",run:Ta,shift:Ia},{key:"PageUp",run:xa,shift:Ma},{key:"PageDown",run:Ta,shift:Ia},{key:"Home",run:function(e){return ua(e,(function(t){return wa(e,t,!1)}))},shift:function(e){return Ca(e,(function(t){return wa(e,t,!1)}))},preventDefault:!0},{key:"Mod-Home",run:La,shift:Za},{key:"End",run:function(e){return ua(e,(function(t){return wa(e,t,!0)}))},shift:function(e){return Ca(e,(function(t){return wa(e,t,!0)}))},preventDefault:!0},{key:"Mod-End",run:Fa,shift:$a},{key:"Enter",run:Ya},{key:"Mod-a",run:function(e){var t=e.state;return(0,e.dispatch)(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0}},{key:"Backspace",run:Ha,shift:Ha},{key:"Delete",run:Wa},{key:"Mod-Backspace",mac:"Alt-Backspace",run:qa},{key:"Mod-Delete",mac:"Alt-Delete",run:function(e){return Ua(e,!0)}},{mac:"Mod-Backspace",run:function(e){return ja(e,(function(t){var n=e.lineBlockAt(t).from;return Ba(e,t>n?n:Math.max(0,t-1),!1)}))}},{mac:"Mod-Delete",run:Xa}].concat([{key:"Ctrl-b",run:fa,shift:Aa,preventDefault:!0},{key:"Ctrl-f",run:da,shift:_a},{key:"Ctrl-p",run:Oa,shift:Ra},{key:"Ctrl-n",run:ya,shift:Da},{key:"Ctrl-a",run:function(e){return ua(e,(function(t){return _o.jT.cursor(e.lineBlockAt(t.head).from,1)}))},shift:function(e){return Ca(e,(function(t){return _o.jT.cursor(e.lineBlockAt(t.head).from)}))}},{key:"Ctrl-e",run:function(e){return ua(e,(function(t){return _o.jT.cursor(e.lineBlockAt(t.head).to,-1)}))},shift:function(e){return Ca(e,(function(t){return _o.jT.cursor(e.lineBlockAt(t.head).to)}))}},{key:"Ctrl-d",run:Wa},{key:"Ctrl-h",run:Ha},{key:"Ctrl-k",run:Xa},{key:"Ctrl-Alt-h",run:qa},{key:"Ctrl-o",run:function(e){var t=e.state,n=e.dispatch;if(t.readOnly)return!1;var r=t.changeByRange((function(e){return{changes:{from:e.from,to:e.to,insert:_o.xv.of(["",""])},range:_o.jT.cursor(e.from)}}));return n(t.update(r,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:function(e){var t=e.state,n=e.dispatch;if(t.readOnly)return!1;var r=t.changeByRange((function(e){if(!e.empty||0==e.from||e.from==t.doc.length)return{range:e};var n=e.from,r=t.doc.lineAt(n),i=n==r.from?n-1:(0,_o.cp)(r.text,n-r.from,!1)+r.from,o=n==r.to?n+1:(0,_o.cp)(r.text,n-r.from,!0)+r.from;return{changes:{from:i,to:o,insert:t.doc.slice(n,o).append(t.doc.slice(i,n))},range:_o.jT.cursor(o)}}));return!r.changes.empty&&(n(t.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:Ta}].map((function(e){return{mac:e.key,run:e.run,shift:e.shift}}))),os=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:function(e){return ua(e,(function(t){return ga(e.state,t,!ha(e))}))},shift:function(e){return Ca(e,(function(t){return ga(e.state,t,!ha(e))}))}},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:function(e){return ua(e,(function(t){return ga(e.state,t,ha(e))}))},shift:function(e){return Ca(e,(function(t){return ga(e.state,t,ha(e))}))}},{key:"Alt-ArrowUp",run:function(e){return Ja(e.state,e.dispatch,!1)}},{key:"Shift-Alt-ArrowUp",run:function(e){return Va(e.state,e.dispatch,!1)}},{key:"Alt-ArrowDown",run:function(e){return Ja(e.state,e.dispatch,!0)}},{key:"Shift-Alt-ArrowDown",run:function(e){return Va(e.state,e.dispatch,!0)}},{key:"Escape",run:function(e){var t=e.state,n=e.dispatch,r=t.selection,i=null;return r.ranges.length>1?i=_o.jT.create([r.main]):r.main.empty||(i=_o.jT.create([_o.jT.cursor(r.main.head)])),!!i&&(n(sa(t,i)),!0)}},{key:"Mod-Enter",run:Ka},{key:"Alt-l",mac:"Ctrl-l",run:function(e){var t=e.state,n=e.dispatch,r=Ga(t).map((function(e){var n=e.from,r=e.to;return _o.jT.range(n,Math.min(r+1,t.doc.length))}));return n(t.update({selection:_o.jT.create(r),userEvent:"select"})),!0}},{key:"Mod-i",run:function(e){var t=e.state,n=e.dispatch,r=aa(t.selection,(function(e){for(var n,r=(0,wo.qz)(t).resolveInner(e.head,1);!(r.from<e.from&&r.to>=e.to||r.to>e.to&&r.from<=e.from)&&(null===(n=r.parent)||void 0===n?void 0:n.parent);)r=r.parent;return _o.jT.range(r.to,r.from)}));return n(sa(t,r)),!0},preventDefault:!0},{key:"Mod-[",run:rs},{key:"Mod-]",run:ns},{key:"Mod-Alt-\\",run:function(e){var t=e.state,n=e.dispatch;if(t.readOnly)return!1;var r=Object.create(null),i=new wo.Gn(t,{overrideIndentation:function(e){var t=r[e];return null==t?-1:t}}),o=ts(t,(function(e,n,o){var a=(0,wo.K0)(i,e.from);if(null!=a){/\S/.test(e.text)||(a=0);var s=/^\s*/.exec(e.text)[0],u=(0,wo.SS)(t,a);(s!=u||o.from<e.from+s.length)&&(r[e.from]=a,n.push({from:e.from,to:e.from+s.length,insert:u}))}}));return o.changes.empty||n(t.update(o,{userEvent:"indent"})),!0}},{key:"Shift-Mod-k",run:function(e){if(e.state.readOnly)return!1;var t=e.state,n=t.changes(Ga(t).map((function(e){var n=e.from,r=e.to;return n>0?n--:r<t.doc.length&&r++,{from:n,to:r}}))),r=aa(t.selection,(function(t){return e.moveVertically(t,!0)})).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:function(e){return Sa(e.state,e.dispatch,!1)}},{key:"Mod-/",run:function(e){var t=Mo(e.state);return t.line?Ro(e):!!t.block&&No(e)}},{key:"Alt-A",run:Do}].concat(is),as={key:"Tab",run:ns,shift:rs};function ss(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];"string"==typeof i?e.setAttribute(r,i):null!=i&&(e[r]=i)}t++}for(;t<arguments.length;t++)us(e,arguments[t]);return e}function us(e,t){if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)e.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var n=0;n<t.length;n++)us(e,t[n])}}var ls="function"==typeof String.prototype.normalize?function(e){return e.normalize("NFKD")}:function(e){return e},cs=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length,o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;(0,Vr.Z)(this,e),this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(r,i),this.bufferStart=r,this.normalize=o?function(e){return o(ls(e))}:ls,this.query=this.normalize(n)}return(0,Yr.Z)(e,[{key:"peek",value:function(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return(0,_o.gm)(this.buffer,this.bufferPos)}},{key:"next",value:function(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}},{key:"nextOverlapping",value:function(){for(;;){var e=this.peek();if(e<0)return this.done=!0,this;var t=(0,_o.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,_o.nZ)(e);for(var r=this.normalize(t),i=0,o=n;;i++){var a=r.charCodeAt(i),s=this.match(a,o);if(s)return this.value=s,this;if(i==r.length-1)break;o==n&&i<t.length&&t.charCodeAt(i)==a&&o++}}}},{key:"match",value:function(e,t){for(var n=null,r=0;r<this.matches.length;r+=2){var i=this.matches[r],o=!1;this.query.charCodeAt(i)==e&&(i==this.query.length-1?n={from:this.matches[r+1],to:t+1}:(this.matches[r]++,o=!0)),o||(this.matches.splice(r,2),r-=2)}return this.query.charCodeAt(0)==e&&(1==this.query.length?n={from:t,to:t+1}:this.matches.push(1,t)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferPos)&&(n=null),n}}]),e}();"undefined"!=typeof Symbol&&(cs.prototype[Symbol.iterator]=function(){return this});var hs={from:-1,to:-1,match:/.*/.exec("")},fs="gm"+(null==/x/.unicode?"":"u"),ds=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t.length;if((0,Vr.Z)(this,e),this.text=t,this.to=o,this.curLine="",this.done=!1,this.value=hs,/\\[sWDnr]|\n|\r|\[\^/.test(n))return new gs(t,n,r,i,o);this.re=new RegExp(n,fs+((null===r||void 0===r?void 0:r.ignoreCase)?"i":"")),this.test=null===r||void 0===r?void 0:r.test,this.iter=t.iter();var a=t.lineAt(i);this.curLineStart=a.from,this.matchPos=vs(t,i),this.getLine(this.curLineStart)}return(0,Yr.Z)(e,[{key:"getLine",value:function(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}},{key:"nextLine",value:function(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}},{key:"next",value:function(){for(var e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;var t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){var n=this.curLineStart+t.index,r=n+t[0].length;if(this.matchPos=vs(this.text,r+(n==r?1:0)),n==this.curLine.length&&this.nextLine(),(n<r||n>this.value.to)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length<this.to))return this.done=!0,this;this.nextLine(),e=0}}}}]),e}(),ps=new WeakMap,ms=function(){function e(t,n){(0,Vr.Z)(this,e),this.from=t,this.text=n}return(0,Yr.Z)(e,[{key:"to",get:function(){return this.from+this.text.length}}],[{key:"get",value:function(t,n,r){var i=ps.get(t);if(!i||i.from>=r||i.to<=n){var o=new e(n,t.sliceString(n,r));return ps.set(t,o),o}if(i.from==n&&i.to==r)return i;var a=i.text,s=i.from;return s>n&&(a=t.sliceString(n,s)+a,s=n),i.to<r&&(a+=t.sliceString(i.to,r)),ps.set(t,new e(s,a)),new e(n,a.slice(n-s,r-s))}}]),e}(),gs=function(){function e(t,n,r,i,o){(0,Vr.Z)(this,e),this.text=t,this.to=o,this.done=!1,this.value=hs,this.matchPos=vs(t,i),this.re=new RegExp(n,fs+((null===r||void 0===r?void 0:r.ignoreCase)?"i":"")),this.test=null===r||void 0===r?void 0:r.test,this.flat=ms.get(t,i,this.chunkEnd(i+5e3))}return(0,Yr.Z)(e,[{key:"chunkEnd",value:function(e){return e>=this.to?this.to:this.text.lineAt(e).to}},{key:"next",value:function(){for(;;){var e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){var n=this.flat.from+t.index,r=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,r,t)))return this.value={from:n,to:r,match:t},this.matchPos=vs(this.text,r+(n==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=ms.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}]),e}();function vs(e,t){if(t>=e.length)return t;for(var n,r=e.lineAt(t);t<r.to&&(n=r.text.charCodeAt(t-r.from))>=56320&&n<57344;)t++;return t}function Os(e){var t=ss("input",{class:"cm-textfield",name:"line"});function n(){var n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(n){var r=e.state,i=r.doc.lineAt(r.selection.main.head),o=(0,ee.Z)(n,5),a=o[1],s=o[2],u=o[3],l=o[4],c=u?+u.slice(1):0,h=s?+s:i.number;if(s&&l){var f=h/100;a&&(f=f*("-"==a?-1:1)+i.number/r.doc.lines),h=Math.round(r.doc.lines*f)}else s&&a&&(h=h*("-"==a?-1:1)+i.number);var d=r.doc.line(Math.max(1,Math.min(r.doc.lines,h)));e.dispatch({effects:ys.of(!1),selection:_o.jT.cursor(d.from+Math.max(0,Math.min(c,d.length))),scrollIntoView:!0}),e.focus()}}return{dom:ss("form",{class:"cm-gotoLine",onkeydown:function(t){27==t.keyCode?(t.preventDefault(),e.dispatch({effects:ys.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),n())},onsubmit:function(e){e.preventDefault(),n()}},ss("label",e.state.phrase("Go to line"),": ",t)," ",ss("button",{class:"cm-button",type:"submit"},e.state.phrase("go")))}}"undefined"!=typeof Symbol&&(ds.prototype[Symbol.iterator]=gs.prototype[Symbol.iterator]=function(){return this});var ys=_o.Py.define(),ks=_o.QQ.define({create:function(){return!0},update:function(e,t){var n,r=(0,K.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.is(ys)&&(e=i.value)}}catch(o){r.e(o)}finally{r.f()}return e},provide:function(e){return Ao.mH.from(e,(function(e){return e?Os:null}))}}),bs=Ao.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),xs={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Ts=_o.r$.define({combine:function(e){return(0,_o.BO)(e,xs,{highlightWordAroundCursor:function(e,t){return e||t},minSelectionLength:Math.min,maxMatches:Math.min})}});var ws=Ao.p.mark({class:"cm-selectionMatch"}),Ss=Ao.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function Cs(e,t,n,r){return(0==n||e(t.sliceDoc(n-1,n))!=_o.D0.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=_o.D0.Word)}var Es=Ao.lg.fromClass(function(){function e(t){(0,Vr.Z)(this,e),this.decorations=this.getDeco(t)}return(0,Yr.Z)(e,[{key:"update",value:function(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}},{key:"getDeco",value:function(e){var t=e.state.facet(Ts),n=e.state,r=n.selection;if(r.ranges.length>1)return Ao.p.none;var i,o=r.main,a=null;if(o.empty){if(!t.highlightWordAroundCursor)return Ao.p.none;var s=n.wordAt(o.head);if(!s)return Ao.p.none;a=n.charCategorizer(o.head),i=n.sliceDoc(s.from,s.to)}else{var u=o.to-o.from;if(u<t.minSelectionLength||u>200)return Ao.p.none;if(t.wholeWords){if(i=n.sliceDoc(o.from,o.to),!Cs(a=n.charCategorizer(o.head),n,o.from,o.to)||!function(e,t,n,r){return e(t.sliceDoc(n,n+1))==_o.D0.Word&&e(t.sliceDoc(r-1,r))==_o.D0.Word}(a,n,o.from,o.to))return Ao.p.none}else if(!(i=n.sliceDoc(o.from,o.to).trim()))return Ao.p.none}var l,c=[],h=(0,K.Z)(e.visibleRanges);try{for(h.s();!(l=h.n()).done;)for(var f=l.value,d=new cs(n.doc,i,f.from,f.to);!d.next().done;){var p=d.value,m=p.from,g=p.to;if((!a||Cs(a,n,m,g))&&(o.empty&&m<=o.from&&g>=o.to?c.push(Ss.range(m,g)):(m>=o.to||g<=o.from)&&c.push(ws.range(m,g)),c.length>t.maxMatches))return Ao.p.none}}catch(v){h.e(v)}finally{h.f()}return Ao.p.set(c)}}]),e}(),{decorations:function(e){return e.decorations}}),As=Ao.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});var _s=_o.r$.define({combine:function(e){return(0,_o.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:function(e){return new nu(e)}})}});var Qs=function(){function e(t){(0,Vr.Z)(this,e),this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,fs),!0}catch(t){return!1}}(this.search)),this.unquoted=this.literal?this.search:this.search.replace(/\\([nrt\\])/g,(function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"})),this.wholeWord=!!t.wholeWord}return(0,Yr.Z)(e,[{key:"eq",value:function(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}},{key:"create",value:function(){return this.regexp?new Ls(this):new Ds(this)}},{key:"getCursor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=e.doc?e:_o.yy.create({doc:e});return null==n&&(n=r.doc.length),this.regexp?Ns(this,r,t,n):Rs(this,r,t,n)}}]),e}(),Ps=(0,Yr.Z)((function e(t){(0,Vr.Z)(this,e),this.spec=t}));function Rs(e,t,n,r){return new cs(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:function(e){return e.toLowerCase()},e.wholeWord?(i=t.doc,o=t.charCategorizer(t.selection.main.head),function(e,t,n,r){return(r>e||r+n.length<t)&&(r=Math.max(0,e-2),n=i.sliceString(r,Math.min(i.length,t+2))),o(Is(n,e-r))!=_o.D0.Word||o(Ms(n,t-r))!=_o.D0.Word||o(Ms(n,e-r))!=_o.D0.Word&&o(Is(n,t-r))!=_o.D0.Word}):void 0);var i,o}var Ds=function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(e){return(0,Vr.Z)(this,n),t.call(this,e)}return(0,Yr.Z)(n,[{key:"nextMatch",value:function(e,t,n){var r=Rs(this.spec,e,n,e.doc.length).nextOverlapping();return r.done&&(r=Rs(this.spec,e,0,t).nextOverlapping()),r.done?null:r.value}},{key:"prevMatchInRange",value:function(e,t,n){for(var r=n;;){for(var i=Math.max(t,r-1e4-this.spec.unquoted.length),o=Rs(this.spec,e,i,r),a=null;!o.nextOverlapping().done;)a=o.value;if(a)return a;if(i==t)return null;r-=1e4}}},{key:"prevMatch",value:function(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}},{key:"getReplacement",value:function(e){return this.spec.replace}},{key:"matchAll",value:function(e,t){for(var n=Rs(this.spec,e,0,e.doc.length),r=[];!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}},{key:"highlight",value:function(e,t,n,r){for(var i=Rs(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));!i.next().done;)r(i.value.from,i.value.to)}}]),n}(Ps);function Ns(e,t,n,r){return new ds(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(i=t.charCategorizer(t.selection.main.head),function(e,t,n){return!n[0].length||i(Is(n.input,n.index))!=_o.D0.Word||i(Ms(n.input,n.index+n[0].length))!=_o.D0.Word||i(Ms(n.input,n.index))!=_o.D0.Word&&i(Is(n.input,n.index+n[0].length))!=_o.D0.Word}):void 0},n,r);var i}function Ms(e,t){return e.slice((0,_o.cp)(e,t,!1),t)}function Is(e,t){return e.slice(t,(0,_o.cp)(e,t))}var Ls=function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(){return(0,Vr.Z)(this,n),t.apply(this,arguments)}return(0,Yr.Z)(n,[{key:"nextMatch",value:function(e,t,n){var r=Ns(this.spec,e,n,e.doc.length).next();return r.done&&(r=Ns(this.spec,e,0,t).next()),r.done?null:r.value}},{key:"prevMatchInRange",value:function(e,t,n){for(var r=1;;r++){for(var i=Math.max(t,n-1e4*r),o=Ns(this.spec,e,i,n),a=null;!o.next().done;)a=o.value;if(a&&(i==t||a.from>i+10))return a;if(i==t)return null}}},{key:"prevMatch",value:function(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}},{key:"getReplacement",value:function(e){return this.spec.replace.replace(/\$([$&\d+])/g,(function(t,n){return"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n<e.match.length?e.match[n]:t}))}},{key:"matchAll",value:function(e,t){for(var n=Ns(this.spec,e,0,e.doc.length),r=[];!n.next().done;){if(r.length>=t)return null;r.push(n.value)}return r}},{key:"highlight",value:function(e,t,n,r){for(var i=Ns(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));!i.next().done;)r(i.value.from,i.value.to)}}]),n}(Ps),Fs=_o.Py.define(),Zs=_o.Py.define(),$s=_o.QQ.define({create:function(e){return new js(Ys(e).create(),null)},update:function(e,t){var n,r=(0,K.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.is(Fs)?e=new js(i.value.create(),e.panel):i.is(Zs)&&(e=new js(e.query,i.value?Vs:null))}}catch(o){r.e(o)}finally{r.f()}return e},provide:function(e){return Ao.mH.from(e,(function(e){return e.panel}))}});var js=(0,Yr.Z)((function e(t,n){(0,Vr.Z)(this,e),this.query=t,this.panel=n})),Bs=Ao.p.mark({class:"cm-searchMatch"}),zs=Ao.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),Hs=Ao.lg.fromClass(function(){function e(t){(0,Vr.Z)(this,e),this.view=t,this.decorations=this.highlight(t.state.field($s))}return(0,Yr.Z)(e,[{key:"update",value:function(e){var t=e.state.field($s);(t!=e.startState.field($s)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}},{key:"highlight",value:function(e){var t=e.query;if(!e.panel||!t.spec.valid)return Ao.p.none;for(var n=this.view,r=new _o.f_,i=0,o=n.visibleRanges,a=o.length;i<a;i++){for(var s=o[i],u=s.from,l=s.to;i<a-1&&l>o[i+1].from-500;)l=o[++i].to;t.highlight(n.state,u,l,(function(e,t){var i=n.state.selection.ranges.some((function(n){return n.from==e&&n.to==t}));r.add(e,t,i?zs:Bs)}))}return r.finish()}}]),e}(),{decorations:function(e){return e.decorations}});function Ws(e){return function(t){var n=t.state.field($s,!1);return n&&n.query.spec.valid?e(t,n):Ks(t)}}var Us=Ws((function(e,t){var n=t.query,r=e.state.selection.main.to,i=n.nextMatch(e.state,r,r);return!!i&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:ou(e,i),userEvent:"select.search"}),!0)})),qs=Ws((function(e,t){var n=t.query,r=e.state,i=r.selection.main.from,o=n.prevMatch(r,i,i);return!!o&&(e.dispatch({selection:{anchor:o.from,head:o.to},scrollIntoView:!0,effects:ou(e,o),userEvent:"select.search"}),!0)})),Xs=Ws((function(e,t){var n=t.query.matchAll(e.state,1e3);return!(!n||!n.length)&&(e.dispatch({selection:_o.jT.create(n.map((function(e){return _o.jT.range(e.from,e.to)}))),userEvent:"select.search.matches"}),!0)})),Gs=Ws((function(e,t){var n=t.query,r=e.state,i=r.selection.main,o=i.from,a=i.to;if(r.readOnly)return!1;var s=n.nextMatch(r,o,o);if(!s)return!1;var u,l,c=[],h=[];if(s.from==o&&s.to==a&&(l=r.toText(n.getReplacement(s)),c.push({from:s.from,to:s.to,insert:l}),s=n.nextMatch(r,s.from,s.to),h.push(Ao.tk.announce.of(r.phrase("replaced match on line $",r.doc.lineAt(o).number)+"."))),s){var f=0==c.length||c[0].from>=s.to?0:s.to-s.from-l.length;u={anchor:s.from-f,head:s.to-f},h.push(ou(e,s))}return e.dispatch({changes:c,selection:u,scrollIntoView:!!u,effects:h,userEvent:"input.replace"}),!0})),Js=Ws((function(e,t){var n=t.query;if(e.state.readOnly)return!1;var r=n.matchAll(e.state,1e9).map((function(e){return{from:e.from,to:e.to,insert:n.getReplacement(e)}}));if(!r.length)return!1;var i=e.state.phrase("replaced $ matches",r.length)+".";return e.dispatch({changes:r,effects:Ao.tk.announce.of(i),userEvent:"input.replace.all"}),!0}));function Vs(e){return e.state.facet(_s).createPanel(e)}function Ys(e,t){var n,r,i,o,a=e.selection.main,s=a.empty||a.to>a.from+100?"":e.sliceDoc(a.from,a.to);if(t&&!s)return t;var u=e.facet(_s);return new Qs({search:(null!==(n=null===t||void 0===t?void 0:t.literal)&&void 0!==n?n:u.literal)?s:s.replace(/\n/g,"\\n"),caseSensitive:null!==(r=null===t||void 0===t?void 0:t.caseSensitive)&&void 0!==r?r:u.caseSensitive,literal:null!==(i=null===t||void 0===t?void 0:t.literal)&&void 0!==i?i:u.literal,wholeWord:null!==(o=null===t||void 0===t?void 0:t.wholeWord)&&void 0!==o?o:u.wholeWord})}var Ks=function(e){var t=e.state.field($s,!1);if(t&&t.panel){var n=(0,Ao.Sd)(e,Vs);if(!n)return!1;var r=n.dom.querySelector("[main-field]");if(r&&r!=e.root.activeElement){var i=Ys(e.state,t.query.spec);i.valid&&e.dispatch({effects:Fs.of(i)}),r.focus(),r.select()}}else e.dispatch({effects:[Zs.of(!0),t?Fs.of(Ys(e.state,t.query.spec)):_o.Py.appendConfig.of(su)]});return!0},eu=function(e){var t=e.state.field($s,!1);if(!t||!t.panel)return!1;var n=(0,Ao.Sd)(e,Vs);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:Zs.of(!1)}),!0},tu=[{key:"Mod-f",run:Ks,scope:"editor search-panel"},{key:"F3",run:Us,shift:qs,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Us,shift:qs,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:eu,scope:"editor search-panel"},{key:"Mod-Shift-l",run:function(e){var t=e.state,n=e.dispatch,r=t.selection;if(r.ranges.length>1||r.main.empty)return!1;for(var i=r.main,o=i.from,a=i.to,s=[],u=0,l=new cs(t.doc,t.sliceDoc(o,a));!l.next().done;){if(s.length>1e3)return!1;l.value.from==o&&(u=s.length),s.push(_o.jT.range(l.value.from,l.value.to))}return n(t.update({selection:_o.jT.create(s,u),userEvent:"select.search.matches"})),!0}},{key:"Alt-g",run:function(e){var t=(0,Ao.Sd)(e,Os);if(!t){var n=[ys.of(!0)];null==e.state.field(ks,!1)&&n.push(_o.Py.appendConfig.of([ks,bs])),e.dispatch({effects:n}),t=(0,Ao.Sd)(e,Os)}return t&&t.dom.querySelector("input").focus(),!0}},{key:"Mod-d",run:function(e){var t=e.state,n=e.dispatch,r=t.selection.ranges;if(r.some((function(e){return e.from===e.to})))return function(e){var t=e.state,n=e.dispatch,r=t.selection,i=_o.jT.create(r.ranges.map((function(e){return t.wordAt(e.head)||_o.jT.cursor(e.head)})),r.mainIndex);return!i.eq(r)&&(n(t.update({selection:i})),!0)}({state:t,dispatch:n});var i=t.sliceDoc(r[0].from,r[0].to);if(t.selection.ranges.some((function(e){return t.sliceDoc(e.from,e.to)!=i})))return!1;var o=function(e,t){for(var n=e.selection,r=n.main,i=n.ranges,o=e.wordAt(r.head),a=o&&o.from==r.from&&o.to==r.to,s=function(n,r){if(r.next(),!r.done){if(n&&i.some((function(e){return e.from==r.value.from})))return l=r,u=n,"continue";if(a){var o=e.wordAt(r.value.from);if(!o||o.from!=r.value.from||o.to!=r.value.to)return l=r,u=n,"continue"}return u=n,l=r,{v:r.value}}if(n)return l=r,u=n,{v:null};r=new cs(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),u=n=!0,l=r},u=!1,l=new cs(e.doc,t,i[i.length-1].to);;){var c=s(u,l);if("continue"!==c&&"object"===typeof c)return c.v}}(t,i);return!!o&&(n(t.update({selection:t.selection.addRange(_o.jT.range(o.from,o.to),!1),effects:Ao.tk.scrollIntoView(o.to)})),!0)},preventDefault:!0}],nu=function(){function e(t){var n=this;(0,Vr.Z)(this,e),this.view=t;var r=this.query=t.state.field($s).query.spec;function i(e,t,n){return ss("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=ss("input",{value:r.search,placeholder:ru(t,"Find"),"aria-label":ru(t,"Find"),class:"cm-textfield",name:"search","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=ss("input",{value:r.replace,placeholder:ru(t,"Replace"),"aria-label":ru(t,"Replace"),class:"cm-textfield",name:"replace",onchange:this.commit,onkeyup:this.commit}),this.caseField=ss("input",{type:"checkbox",name:"case",checked:r.caseSensitive,onchange:this.commit}),this.reField=ss("input",{type:"checkbox",name:"re",checked:r.regexp,onchange:this.commit}),this.wordField=ss("input",{type:"checkbox",name:"word",checked:r.wholeWord,onchange:this.commit}),this.dom=ss("div",{onkeydown:function(e){return n.keydown(e)},class:"cm-search"},[this.searchField,i("next",(function(){return Us(t)}),[ru(t,"next")]),i("prev",(function(){return qs(t)}),[ru(t,"previous")]),i("select",(function(){return Xs(t)}),[ru(t,"all")]),ss("label",null,[this.caseField,ru(t,"match case")]),ss("label",null,[this.reField,ru(t,"regexp")]),ss("label",null,[this.wordField,ru(t,"by word")])].concat((0,rt.Z)(t.state.readOnly?[]:[ss("br"),this.replaceField,i("replace",(function(){return Gs(t)}),[ru(t,"replace")]),i("replaceAll",(function(){return Js(t)}),[ru(t,"replace all")]),ss("button",{name:"close",onclick:function(){return eu(t)},"aria-label":ru(t,"close"),type:"button"},["\xd7"])])))}return(0,Yr.Z)(e,[{key:"commit",value:function(){var e=new Qs({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:Fs.of(e)}))}},{key:"keydown",value:function(e){(0,Ao.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?qs:Us)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),Gs(this.view))}},{key:"update",value:function(e){var t,n=(0,K.Z)(e.transactions);try{for(n.s();!(t=n.n()).done;){var r,i=t.value,o=(0,K.Z)(i.effects);try{for(o.s();!(r=o.n()).done;){var a=r.value;a.is(Fs)&&!a.value.eq(this.query)&&this.setQuery(a.value)}}catch(s){o.e(s)}finally{o.f()}}}catch(s){n.e(s)}finally{n.f()}}},{key:"setQuery",value:function(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}},{key:"mount",value:function(){this.searchField.select()}},{key:"pos",get:function(){return 80}},{key:"top",get:function(){return this.view.state.facet(_s).top}}]),e}();function ru(e,t){return e.state.phrase(t)}var iu=/[\s\.,:;?!]/;function ou(e,t){var n=t.from,r=t.to,i=e.state.doc.lineAt(n),o=e.state.doc.lineAt(r).to,a=Math.max(i.from,n-30),s=Math.min(o,r+30),u=e.state.sliceDoc(a,s);if(a!=i.from)for(var l=0;l<30;l++)if(!iu.test(u[l+1])&&iu.test(u[l])){u=u.slice(l);break}if(s!=o)for(var c=u.length-1;c>u.length-30;c--)if(!iu.test(u[c-1])&&iu.test(u[c])){u=u.slice(0,c);break}return Ao.tk.announce.of("".concat(e.state.phrase("current match"),". ").concat(u," ").concat(e.state.phrase("on line")," ").concat(i.number,"."))}var au=Ao.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),su=[$s,_o.Wl.lowest(Hs),au],uu=n(2027),lu=(0,Yr.Z)((function e(t,n,r){(0,Vr.Z)(this,e),this.from=t,this.to=n,this.diagnostic=r})),cu=function(){function e(t,n,r){(0,Vr.Z)(this,e),this.diagnostics=t,this.panel=n,this.selected=r}return(0,Yr.Z)(e,null,[{key:"init",value:function(t,n,r){var i=t,o=r.facet(wu).markerFilter;o&&(i=o(i));var a=Ao.p.set(i.map((function(e){return e.from==e.to||e.from==e.to-1&&r.doc.lineAt(e.from).to==e.from?Ao.p.widget({widget:new Eu(e),diagnostic:e}).range(e.from):Ao.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to)})),!0);return new e(a,n,hu(a))}}]),e}();function hu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=null;return e.between(n,1e9,(function(e,n,i){var o=i.spec;if(!t||o.diagnostic==t)return r=new lu(e,n,o.diagnostic),!1})),r}function fu(e,t){return!(!e.effects.some((function(e){return e.is(pu)}))&&!e.changes.touchesRange(t.pos))}function du(e,t){return e.field(vu,!1)?t:t.concat(_o.Py.appendConfig.of([vu,Ao.tk.decorations.compute([vu],(function(e){var t=e.field(vu),n=t.selected,r=t.panel;return n&&r&&n.from!=n.to?Ao.p.set([Ou.range(n.from,n.to)]):Ao.p.none})),(0,Ao.bF)(yu,{hideOn:fu}),Ru]))}var pu=_o.Py.define(),mu=_o.Py.define(),gu=_o.Py.define(),vu=_o.QQ.define({create:function(){return new cu(Ao.p.none,null,null)},update:function(e,t){if(t.docChanged){var n=e.diagnostics.map(t.changes),r=null;if(e.selected){var i=t.changes.mapPos(e.selected.from,1);r=hu(n,e.selected.diagnostic,i)||hu(n,null,i)}e=new cu(n,e.panel,r)}var o,a=(0,K.Z)(t.effects);try{for(a.s();!(o=a.n()).done;){var s=o.value;s.is(pu)?e=cu.init(s.value,e.panel,t.state):s.is(mu)?e=new cu(e.diagnostics,s.value?_u.open:null,e.selected):s.is(gu)&&(e=new cu(e.diagnostics,e.panel,s.value))}}catch(u){a.e(u)}finally{a.f()}return e},provide:function(e){return[Ao.mH.from(e,(function(e){return e.panel})),Ao.tk.decorations.from(e,(function(e){return e.diagnostics}))]}});var Ou=Ao.p.mark({class:"cm-lintRange cm-lintRange-active"});function yu(e,t,n){var r=e.state.field(vu).diagnostics,i=[],o=2e8,a=0;r.between(t-(n<0?1:0),t+(n>0?1:0),(function(e,r,s){var u=s.spec;t>=e&&t<=r&&(e==r||(t>e||n>0)&&(t<r||n<0))&&(i.push(u.diagnostic),o=Math.min(e,o),a=Math.max(r,a))}));var s=e.state.facet(wu).tooltipFilter;return s&&(i=s(i)),i.length?{pos:o,end:a,above:e.state.doc.lineAt(o).to<a,create:function(){return{dom:ku(e,i)}}}:null}function ku(e,t){return ss("ul",{class:"cm-tooltip-lint"},t.map((function(t){return Cu(e,t,!1)})))}var bu=function(e){var t=e.state.field(vu,!1);return!(!t||!t.panel)&&(e.dispatch({effects:mu.of(!1)}),!0)},xu=[{key:"Mod-Shift-m",run:function(e){var t=e.state.field(vu,!1);t&&t.panel||e.dispatch({effects:du(e.state,[mu.of(!0)])});var n=(0,Ao.Sd)(e,_u.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0}},{key:"F8",run:function(e){var t=e.state.field(vu,!1);if(!t)return!1;var n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return!(!r.value&&(!(r=t.diagnostics.iter(0)).value||r.from==n.from&&r.to==n.to))&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)}}],Tu=Ao.lg.fromClass(function(){function e(t){(0,Vr.Z)(this,e),this.view=t,this.timeout=-1,this.set=!0;var n=t.state.facet(wu).delay;this.lintTime=Date.now()+n,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,n)}return(0,Yr.Z)(e,[{key:"run",value:function(){var e=this,t=Date.now();if(t<this.lintTime-10)setTimeout(this.run,this.lintTime-t);else{this.set=!1;var n=this.view.state,r=n.facet(wu).sources;Promise.all(r.map((function(t){return Promise.resolve(t(e.view))}))).then((function(t){var r=t.reduce((function(e,t){return e.concat(t)}));e.view.state.doc==n.doc&&e.view.dispatch(function(e,t){return{effects:du(e,[pu.of(t)])}}(e.view.state,r))}),(function(t){(0,Ao.OO)(e.view.state,t)}))}}},{key:"update",value:function(e){var t=e.state.facet(wu);(e.docChanged||t!=e.startState.facet(wu))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}},{key:"force",value:function(){this.set&&(this.lintTime=Date.now(),this.run())}},{key:"destroy",value:function(){clearTimeout(this.timeout)}}]),e}()),wu=_o.r$.define({combine:function(e){return Object.assign({sources:e.map((function(e){return e.source}))},(0,_o.BO)(e.map((function(e){return e.config})),{delay:750,markerFilter:null,tooltipFilter:null}))},enables:Tu});function Su(e){var t=[];if(e){var n,r=(0,K.Z)(e);try{e:for(r.s();!(n=r.n()).done;){for(var i=n.value.name,o=function(e){var n=i[e];if(/[a-zA-Z]/.test(n)&&!t.some((function(e){return e.toLowerCase()==n.toLowerCase()})))return t.push(n),"continue|actions"},a=0;a<i.length;a++){if("continue|actions"===o(a))continue e}t.push("")}}catch(s){r.e(s)}finally{r.f()}}return t}function Cu(e,t,n){var r,i=n?Su(t.actions):[];return ss("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},ss("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(r=t.actions)||void 0===r?void 0:r.map((function(n,r){var o=function(r){r.preventDefault();var i=hu(e.state.field(vu).diagnostics,t);i&&n.apply(e,i.from,i.to)},a=n.name,s=i[r]?a.indexOf(i[r]):-1,u=s<0?a:[a.slice(0,s),ss("u",a.slice(s,s+1)),a.slice(s+1)];return ss("button",{type:"button",class:"cm-diagnosticAction",onclick:o,onmousedown:o,"aria-label":" Action: ".concat(a).concat(s<0?"":' (access key "'.concat(i[r],')"'),".")},u)})),t.source&&ss("div",{class:"cm-diagnosticSource"},t.source))}var Eu=function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(e){var r;return(0,Vr.Z)(this,n),(r=t.call(this)).diagnostic=e,r}return(0,Yr.Z)(n,[{key:"eq",value:function(e){return e.diagnostic==this.diagnostic}},{key:"toDOM",value:function(){return ss("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}]),n}(Ao.l9),Au=(0,Yr.Z)((function e(t,n){(0,Vr.Z)(this,e),this.diagnostic=n,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Cu(t,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")})),_u=function(){function e(t){var n=this;(0,Vr.Z)(this,e),this.view=t,this.items=[];this.list=ss("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:function(e){if(27==e.keyCode)bu(n.view),n.view.focus();else if(38==e.keyCode||33==e.keyCode)n.moveSelection((n.selectedIndex-1+n.items.length)%n.items.length);else if(40==e.keyCode||34==e.keyCode)n.moveSelection((n.selectedIndex+1)%n.items.length);else if(36==e.keyCode)n.moveSelection(0);else if(35==e.keyCode)n.moveSelection(n.items.length-1);else if(13==e.keyCode)n.view.focus();else{if(!(e.keyCode>=65&&e.keyCode<=90&&n.selectedIndex>=0))return;for(var r=n.items[n.selectedIndex].diagnostic,i=Su(r.actions),o=0;o<i.length;o++)if(i[o].toUpperCase().charCodeAt(0)==e.keyCode){var a=hu(n.view.state.field(vu).diagnostics,r);a&&r.actions[o].apply(t,a.from,a.to)}}e.preventDefault()},onclick:function(e){for(var t=0;t<n.items.length;t++)n.items[t].dom.contains(e.target)&&n.moveSelection(t)}}),this.dom=ss("div",{class:"cm-panel-lint"},this.list,ss("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:function(){return bu(n.view)}},"\xd7")),this.update()}return(0,Yr.Z)(e,[{key:"selectedIndex",get:function(){var e=this.view.state.field(vu).selected;if(!e)return-1;for(var t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}},{key:"update",value:function(){var e=this,t=this.view.state.field(vu),n=t.diagnostics,r=t.selected,i=0,o=!1,a=null;for(n.between(0,this.view.state.doc.length,(function(t,n,s){for(var u,l=s.spec,c=-1,h=i;h<e.items.length;h++)if(e.items[h].diagnostic==l.diagnostic){c=h;break}c<0?(u=new Au(e.view,l.diagnostic),e.items.splice(i,0,u),o=!0):(u=e.items[c],c>i&&(e.items.splice(i,c-i),o=!0)),r&&u.diagnostic==r.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),a=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),i++}));i<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)o=!0,this.items.pop();0==this.items.length&&(this.items.push(new Au(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),o=!0),a?(this.list.setAttribute("aria-activedescendant",a.id),this.view.requestMeasure({key:this,read:function(){return{sel:a.dom.getBoundingClientRect(),panel:e.list.getBoundingClientRect()}},write:function(t){var n=t.sel,r=t.panel;n.top<r.top?e.list.scrollTop-=r.top-n.top:n.bottom>r.bottom&&(e.list.scrollTop+=n.bottom-r.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),o&&this.sync()}},{key:"sync",value:function(){var e=this.list.firstChild;function t(){var t=e;e=t.nextSibling,t.remove()}var n,r=(0,K.Z)(this.items);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.dom.parentNode==this.list){for(;e!=i.dom;)t();e=i.dom.nextSibling}else this.list.insertBefore(i.dom,e)}}catch(o){r.e(o)}finally{r.f()}for(;e;)t()}},{key:"moveSelection",value:function(e){if(!(this.selectedIndex<0)){var t=hu(this.view.state.field(vu).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:gu.of(t)})}}}],[{key:"open",value:function(t){return new e(t)}}]),e}();function Qu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'viewBox="0 0 40 40"';return'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" '.concat(t,">").concat(encodeURIComponent(e),"</svg>')")}function Pu(e){return Qu('<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="'.concat(e,'" fill="none" stroke-width=".7"/>'),'width="6" height="3"')}var Ru=Ao.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Pu("#d11")},".cm-lintRange-warning":{backgroundImage:Pu("orange")},".cm-lintRange-info":{backgroundImage:Pu("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});Ao.SJ;var Du=_o.Py.define(),Nu=_o.QQ.define({create:function(){return null},update:function(e,t){return e&&t.docChanged&&(e=fu(t,e)?null:Object.assign(Object.assign({},e),{pos:t.changes.mapPos(e.pos)})),t.effects.reduce((function(e,t){return t.is(Du)?t.value:e}),e)},provide:function(e){return Ao.hJ.from(e)}}),Mu=_o.r$.define({combine:function(e){return(0,_o.BO)(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});var Iu=function(e){void 0===e&&(e={});var t=[];!1!==e.closeBracketsKeymap&&(t=t.concat(uu.GA)),!1!==e.defaultKeymap&&(t=t.concat(os)),!1!==e.searchKeymap&&(t=t.concat(tu)),!1!==e.historyKeymap&&(t=t.concat(oa)),!1!==e.foldKeymap&&(t=t.concat(wo.e7)),!1!==e.completionKeymap&&(t=t.concat(uu.B1)),!1!==e.lintKeymap&&(t=t.concat(xu));var n=[];return!1!==e.lineNumbers&&n.push((0,Ao.Eu)()),!1!==e.highlightActiveLineGutter&&n.push((0,Ao.HQ)()),!1!==e.highlightSpecialChars&&n.push((0,Ao.AE)()),!1!==e.history&&n.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[zo,Bo.of(e),Ao.tk.domEventHandlers({beforeinput:function(e,t){var n="historyUndo"==e.inputType?Wo:"historyRedo"==e.inputType?Uo:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&n.push((0,wo.mi)()),!1!==e.drawSelection&&n.push((0,Ao.Uw)()),!1!==e.dropCursor&&n.push((0,Ao.qr)()),!1!==e.allowMultipleSelections&&n.push(_o.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&n.push((0,wo.nY)()),!1!==e.syntaxHighlighting&&n.push((0,wo.nF)(wo.R_,{fallback:!0})),!1!==e.bracketMatching&&n.push((0,wo.n$)()),!1!==e.closeBrackets&&n.push((0,uu.vQ)()),!1!==e.autocompletion&&n.push((0,uu.ys)()),!1!==e.rectangularSelection&&n.push((0,Ao.Zs)()),!1!==e.crosshairCursor&&n.push((0,Ao.S2)()),!1!==e.highlightActiveLine&&n.push((0,Ao.ZO)()),!1!==e.highlightSelectionMatches&&n.push(function(e){var t=[As,Es];return e&&t.push(Ts.of(e)),t}()),n.concat([Ao.$f.of(t.flat())]).filter(Boolean)},Lu=n(2029),Fu="#e5c07b",Zu="#e06c75",$u="#56b6c2",ju="#ffffff",Bu="#abb2bf",zu="#7d8799",Hu="#61afef",Wu="#98c379",Uu="#d19a66",qu="#c678dd",Xu="#21252b",Gu="#2c313a",Ju="#282c34",Vu="#353a42",Yu="#3E4451",Ku="#528bff",el=Ao.tk.theme({"&":{color:Bu,backgroundColor:Ju},".cm-content":{caretColor:Ku},".cm-cursor, .cm-dropCursor":{borderLeftColor:Ku},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:Yu},".cm-panels":{backgroundColor:Xu,color:Bu},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{backgroundColor:Ju,color:zu,border:"none"},".cm-activeLineGutter":{backgroundColor:Gu},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:Vu},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Vu,borderBottomColor:Vu},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:Gu,color:Bu}}},{dark:!0}),tl=wo.Qf.define([{tag:Lu.pJ.keyword,color:qu},{tag:[Lu.pJ.name,Lu.pJ.deleted,Lu.pJ.character,Lu.pJ.propertyName,Lu.pJ.macroName],color:Zu},{tag:[Lu.pJ.function(Lu.pJ.variableName),Lu.pJ.labelName],color:Hu},{tag:[Lu.pJ.color,Lu.pJ.constant(Lu.pJ.name),Lu.pJ.standard(Lu.pJ.name)],color:Uu},{tag:[Lu.pJ.definition(Lu.pJ.name),Lu.pJ.separator],color:Bu},{tag:[Lu.pJ.typeName,Lu.pJ.className,Lu.pJ.number,Lu.pJ.changed,Lu.pJ.annotation,Lu.pJ.modifier,Lu.pJ.self,Lu.pJ.namespace],color:Fu},{tag:[Lu.pJ.operator,Lu.pJ.operatorKeyword,Lu.pJ.url,Lu.pJ.escape,Lu.pJ.regexp,Lu.pJ.link,Lu.pJ.special(Lu.pJ.string)],color:$u},{tag:[Lu.pJ.meta,Lu.pJ.comment],color:zu},{tag:Lu.pJ.strong,fontWeight:"bold"},{tag:Lu.pJ.emphasis,fontStyle:"italic"},{tag:Lu.pJ.strikethrough,textDecoration:"line-through"},{tag:Lu.pJ.link,color:zu,textDecoration:"underline"},{tag:Lu.pJ.heading,fontWeight:"bold",color:Zu},{tag:[Lu.pJ.atom,Lu.pJ.bool,Lu.pJ.special(Lu.pJ.variableName)],color:Uu},{tag:[Lu.pJ.processingInstruction,Lu.pJ.string,Lu.pJ.inserted],color:Wu},{tag:Lu.pJ.invalid,color:ju}]),nl=[el,(0,wo.nF)(tl)];function rl(e){var t=e.value,n=e.selection,r=e.onChange,i=e.onStatistics,o=e.onCreateEditor,a=e.onUpdate,s=e.extensions,u=void 0===s?[]:s,l=e.autoFocus,c=e.theme,h=void 0===c?"light":c,f=e.height,d=void 0===f?"":f,p=e.minHeight,m=void 0===p?"":p,g=e.maxHeight,v=void 0===g?"":g,O=e.placeholder,y=void 0===O?"":O,k=e.width,b=void 0===k?"":k,x=e.minWidth,T=void 0===x?"":x,w=e.maxWidth,S=void 0===w?"":w,C=e.editable,E=void 0===C||C,A=e.readOnly,_=void 0!==A&&A,Q=e.indentWithTab,P=void 0===Q||Q,R=e.basicSetup,D=void 0===R||R,N=e.root,M=e.initialState,I=(0,V.useState)(),L=(0,ee.Z)(I,2),F=L[0],Z=L[1],$=(0,V.useState)(),j=(0,ee.Z)($,2),B=j[0],z=j[1],H=(0,V.useState)(),W=(0,ee.Z)(H,2),U=W[0],q=W[1],X=Ao.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),G=Ao.tk.theme({"&":{height:d,minHeight:m,maxHeight:v,width:b,minWidth:T,maxWidth:S}}),J=Ao.tk.updateListener.of((function(e){if(e.docChanged&&"function"===typeof r){var t=e.state.doc.toString();r(t,e)}i&&i(function(e){return{line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map((function(t){return e.state.sliceDoc(t.from,t.to)})),selectedText:e.state.selection.ranges.some((function(e){return!e.empty}))}}(e))})),Y=[J,G];switch(P&&Y.unshift(Ao.$f.of([as])),D&&("boolean"===typeof D?Y.unshift(Iu()):Y.unshift(Iu(D))),y&&Y.unshift((0,Ao.W$)(y)),h){case"light":Y.push(X);break;case"dark":Y.push(nl);break;default:Y.push(h)}return!1===E&&Y.push(Ao.tk.editable.of(!1)),_&&Y.push(_o.yy.readOnly.of(!0)),a&&"function"===typeof a&&Y.push(Ao.tk.updateListener.of(a)),Y=Y.concat(u),(0,V.useEffect)((function(){if(F&&!U){var e={doc:t,selection:n,extensions:Y},r=M?_o.yy.fromJSON(M.json,e,M.fields):_o.yy.create(e);if(q(r),!B){var i=new Ao.tk({state:r,parent:F,root:N});z(i),o&&o(i,r)}}return function(){B&&(q(void 0),z(void 0))}}),[F,U]),(0,V.useEffect)((function(){return Z(e.container)}),[e.container]),(0,V.useEffect)((function(){return function(){B&&(B.destroy(),z(void 0))}}),[B]),(0,V.useEffect)((function(){l&&B&&B.focus()}),[l,B]),(0,V.useEffect)((function(){B&&B.dispatch({effects:_o.Py.reconfigure.of(Y)})}),[h,u,d,m,v,b,T,S,y,E,_,P,D,r,a]),(0,V.useEffect)((function(){var e=B?B.state.doc.toString():"";B&&t!==e&&B.dispatch({changes:{from:0,to:e.length,insert:t||""}})}),[t,B]),{state:U,setState:q,view:B,setView:z,container:F,setContainer:Z}}var il=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],ol=(0,V.forwardRef)((function(e,t){var n=e.className,r=e.value,i=void 0===r?"":r,o=e.selection,a=e.extensions,s=void 0===a?[]:a,u=e.onChange,l=e.onStatistics,c=e.onCreateEditor,h=e.onUpdate,f=e.autoFocus,d=e.theme,p=void 0===d?"light":d,m=e.height,g=e.minHeight,v=e.maxHeight,O=e.width,y=e.minWidth,k=e.maxWidth,b=e.basicSetup,x=e.placeholder,T=e.indentWithTab,w=e.editable,S=e.readOnly,C=e.root,E=e.initialState,A=Xe(e,il),_=(0,V.useRef)(null),Q=rl({container:_.current,root:C,value:i,autoFocus:f,theme:p,height:m,minHeight:g,maxHeight:v,width:O,minWidth:y,maxWidth:k,basicSetup:b,placeholder:x,indentWithTab:T,editable:w,readOnly:S,selection:o,onChange:u,onStatistics:l,onCreateEditor:c,onUpdate:h,extensions:s,initialState:E}),P=Q.state,R=Q.view,D=Q.container;Q.setContainer;if((0,V.useImperativeHandle)(t,(function(){return{editor:_.current,state:P,view:R}}),[_,D,P,R]),"string"!==typeof i)throw new Error("value must be typeof string but got "+typeof i);var N="string"===typeof p?"cm-theme-"+p:"cm-theme";return(0,Ge.jsx)("div",te({ref:_,className:N+(n?" "+n:"")},A))}));ol.displayName="CodeMirror";var al=ol,sl=n(6419),ul=n(6983);var ll=n(8119);function cl(e,t,n){return cl=(0,ll.Z)()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&(0,ul.Z)(i,n.prototype),i},cl.apply(null,arguments)}function hl(e){var t="function"===typeof Map?new Map:void 0;return hl=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;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 cl(e,arguments,(0,Ti.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,ul.Z)(r,e)},hl(e)}function fl(e){return e&&"object"===typeof e?"position"in e||"type"in e?pl(e.position):"start"in e||"end"in e?pl(e):"line"in e||"column"in e?dl(e):"":""}function dl(e){return ml(e&&e.line)+":"+ml(e&&e.column)}function pl(e){return dl(e&&e.start)+"-"+dl(e&&e.end)}function ml(e){return e&&"number"===typeof e?e:1}var gl=function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(e,r,i){var o;(0,Vr.Z)(this,n);var a=[null,null],s={start:{line:null,column:null},end:{line:null,column:null}};if(o=t.call(this),"string"===typeof r&&(i=r,r=void 0),"string"===typeof i){var u=i.indexOf(":");-1===u?a[1]=i:(a[0]=i.slice(0,u),a[1]=i.slice(u+1))}return r&&("type"in r||"position"in r?r.position&&(s=r.position):"start"in r||"end"in r?s=r:("line"in r||"column"in r)&&(s.start=r)),o.name=fl(r)||"1:1",o.message="object"===typeof e?e.message:e,o.stack="object"===typeof e?e.stack:"",o.reason=o.message,o.fatal,o.line=s.start.line,o.column=s.start.column,o.source=a[0],o.ruleId=a[1],o.position=s,o.actual,o.expected,o.file,o.url,o.note,o}return(0,Yr.Z)(n)}(hl(Error));gl.prototype.file="",gl.prototype.name="",gl.prototype.reason="",gl.prototype.message="",gl.prototype.stack="",gl.prototype.fatal=null,gl.prototype.column=null,gl.prototype.line=null,gl.prototype.source=null,gl.prototype.ruleId=null,gl.prototype.position=null;var vl={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');yl(e);var n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";var a=-1,s=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(i=o):(s=-1,i=a));r===i?i=a:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(yl(e),0===e.length)return".";var t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){yl(e);var t,n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){var s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===a||1===a&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(){for(var e,t=-1,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++t<r.length;)yl(r[t]),r[t]&&(e=void 0===e?r[t]:e+"/"+r[t]);return void 0===e?".":Ol(e)},sep:"/"};function Ol(e){yl(e);var t=47===e.charCodeAt(0),n=function(e,t){var n,r,i="",o=0,a=-1,s=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.charCodeAt(u);else{if(47===n)break;n=47}if(47===n){if(a===u-1||1===s);else if(a!==u-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=u,s=0;continue}}else if(i.length>0){i="",o=0,a=u,s=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,u):i=e.slice(a+1,u),o=u-a-1;a=u,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function yl(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var kl={cwd:function(){return"/"}};function bl(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function xl(e){if("string"===typeof e)e=new URL(e);else if(!bl(e)){var t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){var n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return function(e){if(""!==e.hostname){var t=new TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}var n=e.pathname,r=-1;for(;++r<n.length;)if(37===n.charCodeAt(r)&&50===n.charCodeAt(r+1)){var i=n.charCodeAt(r+2);if(70===i||102===i){var o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(n)}(e)}var Tl=["history","path","basename","stem","extname","dirname"],wl=function(){function e(t){var n;(0,Vr.Z)(this,e),n=t?"string"===typeof t||sl(t)?{value:t}:bl(t)?{path:t}:t:{},this.data={},this.messages=[],this.history=[],this.cwd=kl.cwd(),this.value,this.stored,this.result,this.map;for(var r,i=-1;++i<Tl.length;){var o=Tl[i];o in n&&void 0!==n[o]&&(this[o]="history"===o?(0,rt.Z)(n[o]):n[o])}for(r in n)Tl.includes(r)||(this[r]=n[r])}return(0,Yr.Z)(e,[{key:"path",get:function(){return this.history[this.history.length-1]},set:function(e){bl(e)&&(e=xl(e)),Cl(e,"path"),this.path!==e&&this.history.push(e)}},{key:"dirname",get:function(){return"string"===typeof this.path?vl.dirname(this.path):void 0},set:function(e){El(this.basename,"dirname"),this.path=vl.join(e||"",this.basename)}},{key:"basename",get:function(){return"string"===typeof this.path?vl.basename(this.path):void 0},set:function(e){Cl(e,"basename"),Sl(e,"basename"),this.path=vl.join(this.dirname||"",e)}},{key:"extname",get:function(){return"string"===typeof this.path?vl.extname(this.path):void 0},set:function(e){if(Sl(e,"extname"),El(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=vl.join(this.dirname,this.stem+(e||""))}},{key:"stem",get:function(){return"string"===typeof this.path?vl.basename(this.path,this.extname):void 0},set:function(e){Cl(e,"stem"),Sl(e,"stem"),this.path=vl.join(this.dirname||"",e+(this.extname||""))}},{key:"toString",value:function(e){return(this.value||"").toString(e)}},{key:"message",value:function(e,t,n){var r=new gl(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}},{key:"info",value:function(e,t,n){var r=this.message(e,t,n);return r.fatal=null,r}},{key:"fail",value:function(e,t,n){var r=this.message(e,t,n);throw r.fatal=!0,r}}]),e}();function Sl(e,t){if(e&&e.includes(vl.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+vl.sep+"`")}function Cl(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function El(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var Al=n(6470),_l=n(5181),Ql=n(4013),Pl=n(3764);function Rl(e){return(0,Al.Z)(e)||(0,_l.Z)(e)||(0,Ql.Z)(e)||(0,Pl.Z)()}function Dl(e){if(e)throw e}var Nl=n(5134);function Ml(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Il(e,t){var n;return function(){for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];var s,u=e.length>o.length;u&&o.push(r);try{s=e.apply(this,o)}catch(c){var l=c;if(u&&n)throw l;return r(l)}u||(s instanceof Promise?s.then(i,r):s instanceof Error?r(s):i(s))};function r(e){if(!n){n=!0;for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];t.apply(void 0,[e].concat(i))}}function i(e){r(null,e)}}var Ll=function e(){var t,n=function(){var e=[],t={run:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=-1,o=n.pop();if("function"!==typeof o)throw new TypeError("Expected function as last argument, not "+o);function a(t){var r=e[++i],s=-1;if(t)o(t);else{for(var u=arguments.length,l=new Array(u>1?u-1:0),c=1;c<u;c++)l[c-1]=arguments[c];for(;++s<n.length;)null!==l[s]&&void 0!==l[s]||(l[s]=n[s]);n=l,r?Il(r,a).apply(void 0,l):o.apply(void 0,[null].concat(l))}}a.apply(void 0,[null].concat((0,rt.Z)(n)))},use:function(n){if("function"!==typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),r=[],i={},o=-1;return a.data=function(e,n){if("string"===typeof e)return 2===arguments.length?(Bl("data",t),i[e]=n,a):Fl.call(i,e)&&i[e]||null;if(e)return Bl("data",t),i=e,a;return i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(t)return a;for(;++o<r.length;){var e=Rl(r[o]),i=e[0],s=e.slice(1);if(!1!==s[0]){!0===s[0]&&(s[0]=void 0);var u=i.call.apply(i,[a].concat((0,rt.Z)(s)));"function"===typeof u&&n.use(u)}}return t=!0,o=Number.POSITIVE_INFINITY,a},a.attachers=r,a.use=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];var u;if(Bl("use",t),null===e||void 0===e);else if("function"===typeof e)f.apply(void 0,[e].concat(o));else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?h(e):c(e)}u&&(i.settings=Object.assign(i.settings||{},u));return a;function l(e){if("function"===typeof e)f(e);else{if("object"!==typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){var t=Rl(e),n=t[0],r=t.slice(1);f.apply(void 0,[n].concat((0,rt.Z)(r)))}else c(e)}}function c(e){h(e.plugins),e.settings&&(u=Object.assign(u||{},e.settings))}function h(e){var t=-1;if(null===e||void 0===e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){l(e[t])}}}function f(e,t){for(var n,i=-1;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?(Ml(n[1])&&Ml(t)&&(t=Nl(!0,n[1],t)),n[1]=t):r.push(Array.prototype.slice.call(arguments))}},a.parse=function(e){a.freeze();var t=Wl(e),n=a.Parser;if($l("parse",n),Zl(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},a.stringify=function(e,t){a.freeze();var n=Wl(t),r=a.Compiler;if(jl("stringify",r),zl(e),Zl(r,"compile"))return new r(e,n).compile();return r(e,n)},a.run=function(e,t,r){zl(e),a.freeze(),r||"function"!==typeof t||(r=t,t=void 0);if(!r)return new Promise(i);function i(i,o){function a(t,n,a){n=n||e,t?o(t):i?i(n):r(null,n,a)}n.run(e,Wl(t),a)}i(null,r)},a.runSync=function(e,t){var n,r;return a.run(e,t,i),Hl("runSync","run",r),n;function i(e,t){Dl(e),n=t,r=!0}},a.process=function(e,t){if(a.freeze(),$l("process",a.Parser),jl("process",a.Compiler),!t)return new Promise(n);function n(n,r){var i=Wl(e);function o(e,i){e||!i?r(e):n?n(i):t(null,i)}a.run(a.parse(i),i,(function(e,t,n){if(!e&&t&&n){var r=a.stringify(t,n);void 0===r||null===r||(!function(e){return"string"===typeof e||sl(e)}(r)?n.result=r:n.value=r),o(e,n)}else o(e)}))}n(null,t)},a.processSync=function(e){var t;a.freeze(),$l("processSync",a.Parser),jl("processSync",a.Compiler);var n=Wl(e);return a.process(n,r),Hl("processSync","process",t),n;function r(e){t=!0,Dl(e)}},a;function a(){for(var t=e(),n=-1;++n<r.length;)t.use.apply(t,(0,rt.Z)(r[n]));return t.data(Nl(!0,{},i)),t}}().freeze(),Fl={}.hasOwnProperty;function Zl(e,t){return"function"===typeof e&&e.prototype&&(function(e){var t;for(t in e)if(Fl.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function $l(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function jl(e,t){if("function"!==typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Bl(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zl(e){if(!Ml(e)||"string"!==typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Hl(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Wl(e){return function(e){return Boolean(e&&"object"===typeof e&&"message"in e&&"messages"in e)}(e)?e:new wl(e)}function Ul(e,t){var n=(t||{}).includeImageAlt;return ql(e,void 0===n||n)}function ql(e,t){return e&&"object"===typeof e&&(e.value||(t?e.alt:"")||"children"in e&&Xl(e.children,t)||Array.isArray(e)&&Xl(e,t))||""}function Xl(e,t){for(var n=[],r=-1;++r<e.length;)n[r]=ql(e[r],t);return n.join("")}function Gl(e,t,n,r){var i,o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function Jl(e,t){return e.length>0?(Gl(e,e.length,0,t),e):t}var Vl={}.hasOwnProperty;function Yl(e){for(var t={},n=-1;++n<e.length;)Kl(t,e[n]);return t}function Kl(e,t){var n;for(n in t){var r=(Vl.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],o=void 0;for(o in i){Vl.call(r,o)||(r[o]=[]);var a=i[o];ec(r[o],Array.isArray(a)?a:a?[a]:[])}}}function ec(e,t){for(var n=-1,r=[];++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Gl(e,0,0,r)}var tc=dc(/[A-Za-z]/),nc=dc(/\d/),rc=dc(/[\dA-Fa-f]/),ic=dc(/[\dA-Za-z]/),oc=dc(/[!-/:-@[-`{-~]/),ac=dc(/[#-'*+\--9=?A-Z^-~]/);function sc(e){return null!==e&&(e<32||127===e)}function uc(e){return null!==e&&(e<0||32===e)}function lc(e){return null!==e&&e<-2}function cc(e){return-2===e||-1===e||32===e}var hc=dc(/\s/),fc=dc(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\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-\u2E4F\u2E52\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]/);function dc(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function pc(e,t,n,r){var i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){if(cc(r))return e.enter(n),a(r);return t(r)};function a(r){return cc(r)&&o++<i?(e.consume(r),a):(e.exit(n),t(r))}}var mc={tokenize:function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pc(e,n,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));return n;function r(n){var r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,i(n)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):lc(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};var gc={tokenize:function(e){var t,n,r,i=this,o=[],a=0;return s;function s(t){if(a<o.length){var n=o[a];return i.containerState=n[1],e.attempt(n[0].continuation,u,l)(t)}return l(t)}function u(e){if(a++,i.containerState._closeFlow){i.containerState._closeFlow=void 0,t&&O();for(var n,r=i.events.length,o=r;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}v(a);for(var u=r;u<i.events.length;)i.events[u][1].end=Object.assign({},n),u++;return Gl(i.events,o+1,0,i.events.slice(r)),i.events.length=u,l(e)}return s(e)}function l(n){if(a===o.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return p(n);i.interrupt=Boolean(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(vc,c,h)(n)}function c(e){return t&&O(),v(a),f(e)}function h(e){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,p(e)}function f(t){return i.containerState={},e.attempt(vc,d,p)(t)}function d(e){return a++,o.push([i.currentConstruct,i.containerState]),f(e)}function p(r){return null===r?(t&&O(),v(0),void e.consume(r)):(t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),m(r))}function m(t){return null===t?(g(e.exit("chunkFlow"),!0),v(0),void e.consume(t)):lc(t)?(e.consume(t),g(e.exit("chunkFlow")),a=0,i.interrupt=void 0,s):(e.consume(t),m)}function g(e,o){var s=i.sliceStream(e);if(o&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){for(var u=t.events.length;u--;)if(t.events[u][1].start.offset<r&&(!t.events[u][1].end||t.events[u][1].end.offset>r))return;for(var l,c,h=i.events.length,f=h;f--;)if("exit"===i.events[f][0]&&"chunkFlow"===i.events[f][1].type){if(l){c=i.events[f][1].end;break}l=!0}for(v(a),u=h;u<i.events.length;)i.events[u][1].end=Object.assign({},c),u++;Gl(i.events,f+1,0,i.events.slice(h)),i.events.length=u}}function v(t){for(var n=o.length;n-- >t;){var r=o[n];i.containerState=r[1],r[0].exit.call(i,e)}o.length=t}function O(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},vc={tokenize:function(e,t,n){return pc(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var Oc={tokenize:function(e,t,n){return pc(e,(function(e){return null===e||lc(e)?t(e):n(e)}),"linePrefix")},partial:!0};function yc(e){for(var t,n,r,i,o,a,s,u={},l=-1;++l<e.length;){for(;l in u;)l=u[l];if(t=e[l],l&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[l-1][1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(u,kc(e,l)),l=u[l],s=!0);else if(t[1]._container){for(r=l,n=void 0;r--&&("lineEnding"===(i=e[r])[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(n&&(e[n][1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);n&&(t[1].end=Object.assign({},e[n][1].start),(o=e.slice(n,l)).unshift(t),Gl(e,n,l-n+1,o))}}return!s}function kc(e,t){for(var n,r,i=e[t][1],o=e[t][2],a=t-1,s=[],u=i._tokenizer||o.parser[i.contentType](i.start),l=u.events,c=[],h={},f=-1,d=i,p=0,m=0,g=[m];d;){for(;e[++a][1]!==d;);s.push(a),d._tokenizer||(n=o.sliceStream(d),d.next||n.push(null),r&&u.defineSkip(d.start),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(n),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++f<l.length;)"exit"===l[f][0]&&"enter"===l[f-1][0]&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(m=f+1,g.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(u.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),f=g.length;f--;){var v=l.slice(g[f],g[f+1]),O=s.pop();c.unshift([O,O+v.length-1]),Gl(e,O,2,v)}for(f=-1;++f<c.length;)h[p+c[f][0]]=p+c[f][1],p+=c[f][1]-c[f][0]-1;return h}var bc={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):lc(t)?e.check(xc,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return yc(e),e}},xc={tokenize:function(e,t,n){var r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pc(e,i,"linePrefix")};function i(i){if(null===i||lc(i))return n(i);var o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0};var Tc={tokenize:function(e){var t=this,n=e.attempt(Oc,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,pc(e,e.attempt(this.parser.constructs.flow,r,e.attempt(bc,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};var wc={resolveAll:Ac()},Sc=Ec("string"),Cc=Ec("text");function Ec(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return u(e)?i(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return u(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function u(e){if(null===e)return!0;var t=r[e],i=-1;if(t)for(;++i<t.length;){var o=t[i];if(!o.previous||o.previous.call(n,n.previous))return!0}return!1}},resolveAll:Ac("text"===e?_c:void 0)}}function Ac(e){return function(t,n){var r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function _c(e,t){for(var n=0;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){for(var r=e[n-1][1],i=t.sliceStream(r),o=i.length,a=-1,s=0,u=void 0;o--;){var l=i[o];if("string"===typeof l){for(a=l.length;32===l.charCodeAt(a-1);)s++,a--;if(a)break;a=-1}else if(-2===l)u=!0,s++;else if(-1!==l){o++;break}}if(s){var c={type:n===e.length||u||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+o,_bufferIndex:o?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function Qc(e,t,n){for(var r=[],i=-1;++i<e.length;){var o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function Pc(e,t,n){var r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},o=[],a=[],s=[],u={consume:function(e){lc(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,O()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++));l.previous=e,!0},enter:function(e,t){var n=t||{};return n.type=e,n.start=f(),l.events.push(["enter",n,l]),s.push(n),n},exit:function(e){var t=s.pop();return t.end=f(),l.events.push(["exit",t,l]),t},attempt:g((function(e,t){v(e,t.from)})),check:g(m),interrupt:g(m,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:function(e,t){return function(e,t){var n,r=-1,i=[];for(;++r<e.length;){var o=e[r],a=void 0;if("string"===typeof o)a=o;else switch(o){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(o)}n=-2===o,i.push(a)}return i.join("")}(h(e),t)},now:f,defineSkip:function(e){i[e.line]=e.column,O()},write:function(e){if(a=Jl(a,e),d(),null!==a[a.length-1])return[];return v(t,0),l.events=Qc(o,l.events,l),l.events}},c=t.tokenize.call(l,u);return t.resolveAll&&o.push(t),l;function h(e){return function(e,t){var n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;r===o?n=[e[r].slice(i,a)]:(n=e.slice(r,o),i>-1&&(n[0]=n[0].slice(i)),a>0&&n.push(e[o].slice(0,a)));return n}(a,e)}function f(){return Object.assign({},r)}function d(){for(var e;r._index<a.length;){var t=a[r._index];if("string"===typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)p(t.charCodeAt(r._bufferIndex));else p(t)}}function p(e){void 0,e,c=c(e)}function m(e,t){t.restore()}function g(e,t){return function(n,i,o){var a,c,h,d;return Array.isArray(n)?p(n):"tokenize"in n?p([n]):function(e){return t;function t(t){var n=null!==t&&e[t],r=null!==t&&e.null;return p([].concat((0,rt.Z)(Array.isArray(n)?n:n?[n]:[]),(0,rt.Z)(Array.isArray(r)?r:r?[r]:[])))(t)}}(n);function p(e){return a=e,c=0,0===e.length?o:m(e[c])}function m(e){return function(n){d=function(){var e=f(),t=l.previous,n=l.currentConstruct,i=l.events.length,o=Array.from(s);return{restore:a,from:i};function a(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=o,O()}}(),h=e,e.partial||(l.currentConstruct=e);if(e.name&&l.parser.constructs.disable.null.includes(e.name))return v(n);return e.tokenize.call(t?Object.assign(Object.create(l),t):l,u,g,v)(n)}}function g(t){return!0,e(h,d),i}function v(e){return!0,d.restore(),++c<a.length?m(a[c]):o}}}function v(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&Gl(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function O(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}var Rc={name:"thematicBreak",tokenize:function(e,t,n){var r,i=0;return function(t){return e.enter("thematicBreak"),r=t,o(t)};function o(s){return s===r?(e.enter("thematicBreakSequence"),a(s)):cc(s)?pc(e,o,"whitespace")(s):i<3||null!==s&&!lc(s)?n(s):(e.exit("thematicBreak"),t(s))}function a(t){return t===r?(e.consume(t),i++,a):(e.exit("thematicBreakSequence"),o(t))}}};var Dc={name:"list",tokenize:function(e,t,n){var r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){var i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:nc(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(Rc,n,u)(t):u(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return nc(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):n(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Oc,r.interrupt?n:l,e.attempt(Nc,h,c))}function l(e){return r.containerState.initialBlankLine=!0,o++,h(e)}function c(t){return cc(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){var r=this;return r.containerState._closeFlow=void 0,e.check(Oc,i,o);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,pc(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){return r.containerState.furtherBlankLines||!cc(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Mc,t,a)(n))}function a(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,pc(e,e.attempt(Dc,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},Nc={tokenize:function(e,t,n){var r=this;return pc(e,(function(e){var i=r.events[r.events.length-1];return!cc(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Mc={tokenize:function(e,t,n){var r=this;return pc(e,(function(e){var i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};var Ic={name:"blockQuote",tokenize:function(e,t,n){var r=this;return function(t){if(62===t){var o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return cc(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return pc(e,e.attempt(Ic,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function Lc(e,t,n,r,i,o,a,s,u){var l=u||Number.POSITIVE_INFINITY,c=0;return function(t){if(60===t)return e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),h;if(null===t||41===t||sc(t))return n(t);return e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t)};function h(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),h(t)):null===t||60===t||lc(t)?n(t):(e.consume(t),92===t?d:f)}function d(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function p(i){return 40===i?++c>l?n(i):(e.consume(i),p):41===i?c--?(e.consume(i),p):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):null===i||uc(i)?c?n(i):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):sc(i)?n(i):(e.consume(i),92===i?m:p)}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function Fc(e,t,n,r,i,o){var a,s=this,u=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),l};function l(h){return null===h||91===h||93===h&&!a||94===h&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs||u>999?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):lc(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(t){return null===t||91===t||93===t||lc(t)||u++>999?(e.exit("chunkString"),l(t)):(e.consume(t),a=a||!cc(t),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function Zc(e,t,n,r,i,o){var a;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===a?(e.exit(o),s(a)):null===t?n(t):lc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pc(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===a||null===t||lc(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:l)}function c(t){return t===a||92===t?(e.consume(t),l):l(t)}}function $c(e,t){var n;return function r(i){if(lc(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(cc(i))return pc(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function jc(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Bc={name:"definition",tokenize:function(e,t,n){var r,i=this;return function(t){return e.enter("definition"),Fc.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return r=jc(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),$c(e,Lc(e,e.attempt(zc,pc(e,a,"whitespace"),pc(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function a(o){return null===o||lc(o)?(e.exit("definition"),i.parser.defined.includes(r)||i.parser.defined.push(r),t(o)):n(o)}}},zc={tokenize:function(e,t,n){return function(t){return uc(t)?$c(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?Zc(e,pc(e,i,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function i(e){return null===e||lc(e)?t(e):n(e)}},partial:!0};var Hc={name:"codeIndented",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("codeIndented"),pc(e,i,"linePrefix",5)(t)};function i(e){var t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):lc(t)?e.attempt(Wc,o,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||lc(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},Wc={tokenize:function(e,t,n){var r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):lc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):pc(e,o,"linePrefix",5)(t)}function o(e){var o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):lc(e)?i(e):n(e)}},partial:!0};var Uc={name:"headingAtx",tokenize:function(e,t,n){var r=this,i=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(t)};function o(s){return 35===s&&i++<6?(e.consume(s),o):null===s||uc(s)?(e.exit("atxHeadingSequence"),r.interrupt?t(s):a(s)):n(s)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||lc(n)?(e.exit("atxHeading"),t(n)):cc(n)?pc(e,a,"whitespace")(n):(e.enter("atxHeadingText"),u(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),a(t))}function u(t){return null===t||35===t||uc(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),u)}},resolve:function(e,t){var n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},Gl(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};var qc={name:"setextUnderline",tokenize:function(e,t,n){var r,i,o=this,a=o.events.length;for(;a--;)if("lineEnding"!==o.events[a][1].type&&"linePrefix"!==o.events[a][1].type&&"content"!==o.events[a][1].type){i="paragraph"===o.events[a][1].type;break}return function(t){if(!o.parser.lazy[o.now().line]&&(o.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),r=t,s(t);return n(t)};function s(t){return t===r?(e.consume(t),s):(e.exit("setextHeadingLineSequence"),pc(e,u,"lineSuffix")(t))}function u(r){return null===r||lc(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){var n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);var a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};var Xc=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Gc=["pre","script","style","textarea"],Jc={name:"htmlFlow",tokenize:function(e,t,n){var r,i,o,a,s,u=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),l};function l(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),d):63===a?(e.consume(a),r=3,u.interrupt?t:N):tc(a)?(e.consume(a),o=String.fromCharCode(a),i=!0,p):n(a)}function c(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,o="CDATA[",a=0,f):tc(i)?(e.consume(i),r=4,u.interrupt?t:N):n(i)}function h(r){return 45===r?(e.consume(r),u.interrupt?t:N):n(r)}function f(r){return r===o.charCodeAt(a++)?(e.consume(r),a===o.length?u.interrupt?t:C:f):n(r)}function d(t){return tc(t)?(e.consume(t),o=String.fromCharCode(t),p):n(t)}function p(a){return null===a||47===a||62===a||uc(a)?47!==a&&i&&Gc.includes(o.toLowerCase())?(r=1,u.interrupt?t(a):C(a)):Xc.includes(o.toLowerCase())?(r=6,47===a?(e.consume(a),m):u.interrupt?t(a):C(a)):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(a):i?v(a):g(a)):45===a||ic(a)?(e.consume(a),o+=String.fromCharCode(a),p):n(a)}function m(r){return 62===r?(e.consume(r),u.interrupt?t:C):n(r)}function g(t){return cc(t)?(e.consume(t),g):w(t)}function v(t){return 47===t?(e.consume(t),w):58===t||95===t||tc(t)?(e.consume(t),O):cc(t)?(e.consume(t),v):w(t)}function O(t){return 45===t||46===t||58===t||95===t||ic(t)?(e.consume(t),O):y(t)}function y(t){return 61===t?(e.consume(t),k):cc(t)?(e.consume(t),y):v(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,b):cc(t)?(e.consume(t),k):(s=null,x(t))}function b(t){return null===t||lc(t)?n(t):t===s?(e.consume(t),T):(e.consume(t),b)}function x(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||uc(t)?y(t):(e.consume(t),x)}function T(e){return 47===e||62===e||cc(e)?v(e):n(e)}function w(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return cc(t)?(e.consume(t),S):null===t||lc(t)?C(t):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),Q):60===t&&1===r?(e.consume(t),P):62===t&&4===r?(e.consume(t),M):63===t&&3===r?(e.consume(t),N):93===t&&5===r?(e.consume(t),D):!lc(t)||6!==r&&7!==r?null===t||lc(t)?E(t):(e.consume(t),C):e.check(Vc,M,E)(t)}function E(t){return e.exit("htmlFlowData"),A(t)}function A(t){return null===t?I(t):lc(t)?e.attempt({tokenize:_,partial:!0},A,I)(t):(e.enter("htmlFlowData"),C(t))}function _(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return u.parser.lazy[u.now().line]?n(e):t(e)}}function Q(t){return 45===t?(e.consume(t),N):C(t)}function P(t){return 47===t?(e.consume(t),o="",R):C(t)}function R(t){return 62===t&&Gc.includes(o.toLowerCase())?(e.consume(t),M):tc(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),R):C(t)}function D(t){return 93===t?(e.consume(t),N):C(t)}function N(t){return 62===t?(e.consume(t),M):45===t&&2===r?(e.consume(t),N):C(t)}function M(t){return null===t||lc(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),M)}function I(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Vc={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(Oc,t,n)}},partial:!0};var Yc={name:"codeFenced",tokenize:function(e,t,n){var r,i=this,o={tokenize:function(e,t,n){var i=0;return pc(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),a(t)}function a(t){return t===r?(e.consume(t),i++,a):i<l?n(t):(e.exit("codeFencedFenceSequence"),pc(e,s,"whitespace")(t))}function s(r){return null===r||lc(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},a={tokenize:function(e,t,n){var r=this;return i;function i(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},s=this.events[this.events.length-1],u=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),r=t,c(t)};function c(t){return t===r?(e.consume(t),l++,c):(e.exit("codeFencedFenceSequence"),l<3?n(t):pc(e,h,"whitespace")(t))}function h(t){return null===t||lc(t)?m(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||uc(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),pc(e,d,"whitespace")(t)):96===t&&t===r?n(t):(e.consume(t),f)}function d(t){return null===t||lc(t)?m(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||lc(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(t)):96===t&&t===r?n(t):(e.consume(t),p)}function m(n){return e.exit("codeFencedFence"),i.interrupt?t(n):g(n)}function g(t){return null===t?O(t):lc(t)?e.attempt(a,e.attempt(o,O,u?pc(e,g,"linePrefix",u+1):g),O)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||lc(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function O(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var Kc=n(7347),eh={name:"characterReference",tokenize:function(e,t,n){var r,i,o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),r=31,i=ic,l(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=rc,l):(e.enter("characterReferenceValue"),r=7,i=nc,l(t))}function l(s){var u;return 59===s&&a?(u=e.exit("characterReferenceValue"),i!==ic||(0,Kc.T)(o.sliceSerialize(u))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)):i(s)&&a++<r?(e.consume(s),l):n(s)}}};var th={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return oc(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};var nh={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),pc(e,t,"linePrefix")}}};var rh={name:"labelEnd",tokenize:function(e,t,n){var r,i,o=this,a=o.events.length;for(;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){if(!r)return n(t);return r._inactive?u(t):(i=o.parser.defined.includes(jc(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(n){return 40===n?e.attempt(ih,t,i?t:u)(n):91===n?e.attempt(oh,t,i?e.attempt(ah,t,u):u)(n):i?t(n):u(n)}function u(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){var n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);var u={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},c={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=Jl(o=[["enter",u,t],["enter",l,t]],e.slice(r+1,r+s+3)),o=Jl(o,[["enter",c,t]]),o=Jl(o,Qc(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=Jl(o,[["exit",c,t],e[i-2],e[i-1],["exit",l,t]]),o=Jl(o,e.slice(i+1)),o=Jl(o,[["exit",u,t]]),Gl(e,r,e.length,o),e},resolveAll:function(e){var t,n=-1;for(;++n<e.length;)"labelImage"!==(t=e[n][1]).type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},ih={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),$c(e,r)};function r(t){return 41===t?a(t):Lc(e,i,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return uc(t)?$c(e,o)(t):a(t)}function o(t){return 34===t||39===t||40===t?Zc(e,$c(e,a),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):a(t)}function a(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},oh={tokenize:function(e,t,n){var r=this;return function(t){return Fc.call(r,e,i,n,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(jc(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},ah={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};var sh={name:"labelStartImage",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:rh.resolveAll};function uh(e){return null===e||uc(e)||hc(e)?1:fc(e)?2:void 0}var lh={name:"attention",tokenize:function(e,t){var n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=uh(i);return function(t){return e.enter("attentionSequence"),n=t,a(t)};function a(s){if(s===n)return e.consume(s),a;var u=e.exit("attentionSequence"),l=uh(s),c=!l||2===l&&o||r.includes(s),h=!o||2===o&&l||r.includes(i);return u._open=Boolean(42===n?c:c&&(o||!h)),u._close=Boolean(42===n?h:h&&(l||!c)),t(s)}},resolveAll:function(e,t){var n,r,i,o,a,s,u,l,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close)for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;var h=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);ch(h,-s),ch(f,s),o={type:s>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},a.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Jl(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Jl(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=Jl(u,Qc(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=Jl(u,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(l=2,u=Jl(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):l=0,Gl(e,n-1,c-n+3,u),c=n+u.length-l-2;break}c=-1;for(;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function ch(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var hh={name:"autolink",tokenize:function(e,t,n){var r=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return tc(t)?(e.consume(t),o):ac(t)?u(t):n(t)}function o(e){return 43===e||45===e||46===e||ic(e)?a(e):u(e)}function a(t){return 58===t?(e.consume(t),s):(43===t||45===t||46===t||ic(t))&&r++<32?(e.consume(t),a):u(t)}function s(t){return 62===t?(e.exit("autolinkProtocol"),f(t)):null===t||32===t||60===t||sc(t)?n(t):(e.consume(t),s)}function u(t){return 64===t?(e.consume(t),r=0,l):ac(t)?(e.consume(t),u):n(t)}function l(e){return ic(e)?c(e):n(e)}function c(t){return 46===t?(e.consume(t),r=0,l):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",f(t)):h(t)}function h(t){return(45===t||ic(t))&&r++<63?(e.consume(t),45===t?h:c):n(t)}function f(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};var fh={name:"htmlText",tokenize:function(e,t,n){var r,i,o,a,s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),u};function u(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),x):63===t?(e.consume(t),k):tc(t)?(e.consume(t),S):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i="CDATA[",o=0,m):tc(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),h):n(t)}function h(t){return null===t||62===t?n(t):45===t?(e.consume(t),f):d(t)}function f(e){return null===e||62===e?n(e):d(e)}function d(t){return null===t?n(t):45===t?(e.consume(t),p):lc(t)?(a=d,D(t)):(e.consume(t),d)}function p(t){return 45===t?(e.consume(t),M):d(t)}function m(t){return t===i.charCodeAt(o++)?(e.consume(t),o===i.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),v):lc(t)?(a=g,D(t)):(e.consume(t),g)}function v(t){return 93===t?(e.consume(t),O):g(t)}function O(t){return 62===t?M(t):93===t?(e.consume(t),O):g(t)}function y(t){return null===t||62===t?M(t):lc(t)?(a=y,D(t)):(e.consume(t),y)}function k(t){return null===t?n(t):63===t?(e.consume(t),b):lc(t)?(a=k,D(t)):(e.consume(t),k)}function b(e){return 62===e?M(e):k(e)}function x(t){return tc(t)?(e.consume(t),T):n(t)}function T(t){return 45===t||ic(t)?(e.consume(t),T):w(t)}function w(t){return lc(t)?(a=w,D(t)):cc(t)?(e.consume(t),w):M(t)}function S(t){return 45===t||ic(t)?(e.consume(t),S):47===t||62===t||uc(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),M):58===t||95===t||tc(t)?(e.consume(t),E):lc(t)?(a=C,D(t)):cc(t)?(e.consume(t),C):M(t)}function E(t){return 45===t||46===t||58===t||95===t||ic(t)?(e.consume(t),E):A(t)}function A(t){return 61===t?(e.consume(t),_):lc(t)?(a=A,D(t)):cc(t)?(e.consume(t),A):C(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,Q):lc(t)?(a=_,D(t)):cc(t)?(e.consume(t),_):(e.consume(t),r=void 0,R)}function Q(t){return t===r?(e.consume(t),P):null===t?n(t):lc(t)?(a=Q,D(t)):(e.consume(t),Q)}function P(e){return 62===e||47===e||uc(e)?C(e):n(e)}function R(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||uc(t)?C(t):(e.consume(t),R)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pc(e,N,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function N(t){return e.enter("htmlTextData"),a(t)}function M(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};var dh={name:"labelStartLink",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:rh.resolveAll};var ph={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return lc(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}};var mh,gh,vh,Oh,yh,kh={name:"codeText",tokenize:function(e,t,n){var r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),o++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):96===t?(i=e.enter("codeTextSequence"),r=0,l(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):lc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||lc(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),u)}function l(n){return 96===n?(e.consume(n),r++,l):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",u(n))}},resolve:function(e){var t,n,r=e.length-4,i=3;if(("lineEnding"===e[i][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}t=i-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};var bh=(mh={},(0,ot.Z)(mh,42,Dc),(0,ot.Z)(mh,43,Dc),(0,ot.Z)(mh,45,Dc),(0,ot.Z)(mh,48,Dc),(0,ot.Z)(mh,49,Dc),(0,ot.Z)(mh,50,Dc),(0,ot.Z)(mh,51,Dc),(0,ot.Z)(mh,52,Dc),(0,ot.Z)(mh,53,Dc),(0,ot.Z)(mh,54,Dc),(0,ot.Z)(mh,55,Dc),(0,ot.Z)(mh,56,Dc),(0,ot.Z)(mh,57,Dc),(0,ot.Z)(mh,62,Ic),mh),xh=(0,ot.Z)({},91,Bc),Th=(gh={},(0,ot.Z)(gh,-2,Hc),(0,ot.Z)(gh,-1,Hc),(0,ot.Z)(gh,32,Hc),gh),wh=(vh={},(0,ot.Z)(vh,35,Uc),(0,ot.Z)(vh,42,Rc),(0,ot.Z)(vh,45,[qc,Rc]),(0,ot.Z)(vh,60,Jc),(0,ot.Z)(vh,61,qc),(0,ot.Z)(vh,95,Rc),(0,ot.Z)(vh,96,Yc),(0,ot.Z)(vh,126,Yc),vh),Sh=(Oh={},(0,ot.Z)(Oh,38,eh),(0,ot.Z)(Oh,92,th),Oh),Ch=(yh={},(0,ot.Z)(yh,-5,nh),(0,ot.Z)(yh,-4,nh),(0,ot.Z)(yh,-3,nh),(0,ot.Z)(yh,33,sh),(0,ot.Z)(yh,38,eh),(0,ot.Z)(yh,42,lh),(0,ot.Z)(yh,60,[hh,fh]),(0,ot.Z)(yh,91,dh),(0,ot.Z)(yh,92,[ph,th]),(0,ot.Z)(yh,93,rh),(0,ot.Z)(yh,95,lh),(0,ot.Z)(yh,96,kh),yh),Eh={null:[lh,wc]},Ah={null:[42,95]},_h={null:[]};var Qh=/[\0\t\n\r]/g;function Ph(e,t){var n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}var Rh=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Dh(e){return e.replace(Rh,Nh)}function Nh(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){var r=n.charCodeAt(1),i=120===r||88===r;return Ph(n.slice(i?2:1),i?16:10)}return(0,Kc.T)(n)||e}var Mh={}.hasOwnProperty,Ih=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Lh({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(re),autolinkProtocol:A,autolinkEmail:A,atxHeading:u(K),blockQuote:u(X),characterEscape:A,characterReference:A,codeFenced:u(G),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(G,l),codeText:u(J,l),codeTextData:A,data:A,codeFlowValue:A,definition:u(V),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(Y),hardBreakEscape:u(ee),hardBreakTrailing:u(ee),htmlFlow:u(te,l),htmlFlowData:A,htmlText:u(te,l),htmlTextData:A,image:u(ne),label:l,link:u(re),listItem:u(oe),listItemValue:m,listOrdered:u(ie,p),listUnordered:u(ie),paragraph:u(ae),reference:B,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(K),strong:u(se),thematicBreak:u(le)},exit:{atxHeading:h(),atxHeadingSequence:w,autolink:h(),autolinkEmail:q,autolinkProtocol:U,blockQuote:h(),characterEscapeValue:_,characterReferenceMarkerHexadecimal:H,characterReferenceMarkerNumeric:H,characterReferenceValue:W,codeFenced:h(y),codeFencedFence:O,codeFencedFenceInfo:g,codeFencedFenceMeta:v,codeFlowValue:_,codeIndented:h(k),codeText:h(N),codeTextData:_,data:_,definition:h(),definitionDestinationString:T,definitionLabelString:b,definitionTitleString:x,emphasis:h(),hardBreakEscape:h(P),hardBreakTrailing:h(P),htmlFlow:h(R),htmlFlowData:_,htmlText:h(D),htmlTextData:_,image:h(I),label:F,labelText:L,lineEnding:Q,link:h(M),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:z,resourceDestinationString:Z,resourceTitleString:$,resource:j,setextHeading:h(E),setextHeadingLineSequence:C,setextHeadingText:S,strong:h(),thematicBreak:h()}},e.mdastExtensions||[]),n={};return r;function r(e){for(var n={type:"root",children:[]},r=[],u=[],h={stack:[n],tokenStack:r,config:t,enter:c,exit:f,buffer:l,resume:d,setData:o,getData:a},p=-1;++p<e.length;){if("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)if("enter"===e[p][0])u.push(p);else p=i(e,u.pop(),p)}for(p=-1;++p<e.length;){var m=t[e[p][0]];Mh.call(m,e[p][1].type)&&m[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},h),e[p][1])}if(r.length>0){var g=r[r.length-1];(g[1]||Zh).call(h,void 0,g[0])}for(n.position={start:s(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:s(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)n=t.transforms[p](n)||n;return n}function i(e,t,n){for(var r,i,o,a,s=t-1,u=-1,l=!1;++s<=n;){var c=e[s];if("listUnordered"===c[1].type||"listOrdered"===c[1].type||"blockQuote"===c[1].type?("enter"===c[0]?u++:u--,a=void 0):"lineEndingBlank"===c[1].type?"enter"===c[0]&&(!r||a||u||o||(o=s),a=void 0):"linePrefix"===c[1].type||"listItemValue"===c[1].type||"listItemMarker"===c[1].type||"listItemPrefix"===c[1].type||"listItemPrefixWhitespace"===c[1].type||(a=void 0),!u&&"enter"===c[0]&&"listItemPrefix"===c[1].type||-1===u&&"exit"===c[0]&&("listUnordered"===c[1].type||"listOrdered"===c[1].type)){if(r){var h=s;for(i=void 0;h--;){var f=e[h];if("lineEnding"===f[1].type||"lineEndingBlank"===f[1].type){if("exit"===f[0])continue;i&&(e[i][1].type="lineEndingBlank",l=!0),f[1].type="lineEnding",i=h}else if("linePrefix"!==f[1].type&&"blockQuotePrefix"!==f[1].type&&"blockQuotePrefixWhitespace"!==f[1].type&&"blockQuoteMarker"!==f[1].type&&"listItemIndent"!==f[1].type)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:c[1].end),e.splice(i||s,0,["exit",r,c[2]]),s++,n++}"listItemPrefix"===c[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},c[1].start)},e.splice(s,0,["enter",r,c[2]]),s++,n++,o=void 0,a=!0)}}return e[t][1]._spread=l,n}function o(e,t){n[e]=t}function a(e){return n[e]}function s(e){return{line:e.line,column:e.column,offset:e.offset}}function u(e,t){return n;function n(n){c.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:s(t.start)},e}function h(e){return t;function t(t){e&&e.call(this,t),f.call(this,t)}}function f(e,t){var n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+fl({start:e.start,end:e.end})+"): it\u2019s not open");return r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Zh).call(this,e,r[0])),n.position.end=s(e.end),n}function d(){return Ul(this.stack.pop())}function p(){o("expectingFirstListItemValue",!0)}function m(e){a("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue"))}function g(){var e=this.resume();this.stack[this.stack.length-1].lang=e}function v(){var e=this.resume();this.stack[this.stack.length-1].meta=e}function O(){a("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function y(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function k(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function b(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=jc(this.sliceSerialize(e)).toLowerCase()}function x(){var e=this.resume();this.stack[this.stack.length-1].title=e}function T(){var e=this.resume();this.stack[this.stack.length-1].url=e}function w(e){var t=this.stack[this.stack.length-1];if(!t.depth){var n=this.sliceSerialize(e).length;t.depth=n}}function S(){o("setextHeadingSlurpLineEnding",!0)}function C(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function E(){o("setextHeadingSlurpLineEnding")}function A(e){var t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type||((n=ue()).position={start:s(e.start)},t.children.push(n)),this.stack.push(n)}function _(e){var t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=s(e.end)}function Q(e){var n=this.stack[this.stack.length-1];if(a("atHardBreak"))return n.children[n.children.length-1].position.end=s(e.end),void o("atHardBreak");!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(A.call(this,e),_.call(this,e))}function P(){o("atHardBreak",!0)}function R(){var e=this.resume();this.stack[this.stack.length-1].value=e}function D(){var e=this.resume();this.stack[this.stack.length-1].value=e}function N(){var e=this.resume();this.stack[this.stack.length-1].value=e}function M(){var e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),o("referenceType")}function I(){var e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),o("referenceType")}function L(e){var t=this.stack[this.stack.length-2],n=this.sliceSerialize(e);t.label=Dh(n),t.identifier=jc(n).toLowerCase()}function F(){var e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];o("inReference",!0),"link"===n.type?n.children=e.children:n.alt=t}function Z(){var e=this.resume();this.stack[this.stack.length-1].url=e}function $(){var e=this.resume();this.stack[this.stack.length-1].title=e}function j(){o("inReference")}function B(){o("referenceType","collapsed")}function z(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=jc(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")}function H(e){o("characterReferenceType",e.type)}function W(e){var t,n=this.sliceSerialize(e),r=a("characterReferenceType");r?(t=Ph(n,"characterReferenceMarkerNumeric"===r?10:16),o("characterReferenceType")):t=(0,Kc.T)(n);var i=this.stack.pop();i.value+=t,i.position.end=s(e.end)}function U(e){_.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function q(e){_.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function X(){return{type:"blockquote",children:[]}}function G(){return{type:"code",lang:null,meta:null,value:""}}function J(){return{type:"inlineCode",value:""}}function V(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Y(){return{type:"emphasis",children:[]}}function K(){return{type:"heading",depth:void 0,children:[]}}function ee(){return{type:"break"}}function te(){return{type:"html",value:""}}function ne(){return{type:"image",title:null,url:"",alt:null}}function re(){return{type:"link",title:null,url:"",children:[]}}function ie(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function oe(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ae(){return{type:"paragraph",children:[]}}function se(){return{type:"strong",children:[]}}function ue(){return{type:"text",value:""}}function le(){return{type:"thematicBreak"}}}(n)(function(e){for(;!yc(e););return e}(function(){var e={defined:[],lazy:{},constructs:Yl([r].concat((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).extensions||[])),content:t(mc),document:t(gc),flow:t(Tc),string:t(Sc),text:t(Cc)};return e;function t(t){return function(n){return Pc(e,t,n)}}}(n).document().write(function(){var e,t=1,n="",r=!0;return function(i,o,a){var s,u,l,c,h,f=[];for(i=n+i.toString(o),l=0,n="",r&&(65279===i.charCodeAt(0)&&l++,r=void 0);l<i.length;){if(Qh.lastIndex=l,c=(s=Qh.exec(i))&&void 0!==s.index?s.index:i.length,h=i.charCodeAt(c),!s){n=i.slice(l);break}if(10===h&&l===c&&e)f.push(-3),e=void 0;else switch(e&&(f.push(-5),e=void 0),l<c&&(f.push(i.slice(l,c)),t+=c-l),h){case 0:f.push(65533),t++;break;case 9:for(u=4*Math.ceil(t/4),f.push(-2);t++<u;)f.push(-1);break;case 10:f.push(-4),t=1;break;default:e=!0,t=1}l=c+1}return a&&(e&&f.push(-5),n&&f.push(n),f.push(null)),f}}()(e,t,!0))))};function Lh(e,t){for(var n=-1;++n<t.length;){var r=t[n];Array.isArray(r)?Lh(e,r):Fh(e,r)}return e}function Fh(e,t){var n;for(n in t)if(Mh.call(t,n)){var r="canContainEols"===n||"transforms"===n,i=(Mh.call(e,n)?e[n]:void 0)||(e[n]=r?[]:{}),o=t[n];o&&(r?e[n]=[].concat((0,rt.Z)(i),(0,rt.Z)(o)):Object.assign(i,o))}}function Zh(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+fl({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+fl({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+fl({start:t.start,end:t.end})+") is still open")}var $h=function(e){var t=this;Object.assign(this,{Parser:function(n){var r=t.data("settings");return Ih(n,Object.assign({},r,e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}})},jh=function(e,t,n){var r={type:String(e)};return void 0!==n&&null!==n||"string"!==typeof t&&!Array.isArray(t)?Object.assign(r,t):n=t,Array.isArray(n)?r.children=n:void 0!==n&&null!==n&&(r.value=String(n)),r},Bh=function(e){if(void 0===e||null===e)return Wh;if("string"===typeof e)return function(e){return Hh(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?zh(e):function(e){return Hh(t);function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"===typeof e)return Hh(e);throw new Error("Expected function, string, or object as test")};function zh(e){for(var t=[],n=-1;++n<e.length;)t[n]=Bh(e[n]);return Hh((function(){for(var e=-1,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++e<t.length;){var o;if((o=t[e]).call.apply(o,[this].concat(r)))return!0}return!1}))}function Hh(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Boolean(e.call.apply(e,[this].concat(n)))}}function Wh(){return!0}var Uh="skip",qh=!1,Xh=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null);var i=Bh(t),o=r?-1:1;!function e(a,s,u){var l,c="object"===typeof a&&null!==a?a:{};"string"===typeof c.type&&(l="string"===typeof c.tagName?c.tagName:"string"===typeof c.name?c.name:void 0,Object.defineProperty(h,"name",{value:"node ("+c.type+(l?"<"+l+">":"")+")"}));return h;function h(){var l,c,h,f=[];if((!t||i(a,s,u[u.length-1]||null))&&(f=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(n(a,u)),f[0]===qh))return f;if(a.children&&f[0]!==Uh)for(c=(r?a.children.length:-1)+o,h=u.concat(a);c>-1&&c<a.children.length;){if(l=e(a.children[c],c,h)(),l[0]===qh)return l;c="number"===typeof l[1]?l[1]:c+o}return f}}(e,null,[])()};var Gh=function(e,t,n,r){"function"===typeof t&&"function"!==typeof n&&(r=n,n=t,t=null),Xh(e,t,(function(e,t){var r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)},Jh=Yh("start"),Vh=Yh("end");function Yh(e){return function(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}var Kh={}.hasOwnProperty;function ef(e){return String(e||"").toUpperCase()}var tf={}.hasOwnProperty;function nf(e,t){var n=t.data||{};return"value"in t&&!(tf.call(n,"hName")||tf.call(n,"hProperties")||tf.call(n,"hChildren"))?e.augment(t,jh("text",t.value)):e(t,"div",af(e,t))}function rf(e,t,n){var r,i=t&&t.type;if(!i)throw new Error("Expected node, got `"+t+"`");return("function"===typeof(r=tf.call(e.handlers,i)?e.handlers[i]:e.passThrough&&e.passThrough.includes(i)?of:e.unknownHandler)?r:nf)(e,t,n)}function of(e,t){return"children"in t?(0,it.Z)((0,it.Z)({},t),{},{children:af(e,t)}):t}function af(e,t){var n=[];if("children"in t)for(var r=t.children,i=-1;++i<r.length;){var o=rf(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){var a=o.children[0];a&&"text"===a.type&&(a.value=a.value.replace(/^\s+/,""))}Array.isArray(o)?n.push.apply(n,(0,rt.Z)(o)):n.push(o)}}return n}var sf={'"':"quot","&":"amp","<":"lt",">":"gt"};function uf(e,t){var n=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+sf[e]+";"}))}(function(e){var t=[],n=-1,r=0,i=0;for(;++n<e.length;){var o=e.charCodeAt(n),a="";if(37===o&&ic(e.charCodeAt(n+1))&&ic(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){var s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="\ufffd"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}(e||""));if(!t)return n;var r=n.indexOf(":"),i=n.indexOf("?"),o=n.indexOf("#"),a=n.indexOf("/");return r<0||a>-1&&r>a||i>-1&&r>i||o>-1&&r>o||t.test(n.slice(0,r))?n:""}function lf(e,t){var n=[],r=-1;for(t&&n.push(jh("text","\n"));++r<e.length;)r&&n.push(jh("text","\n")),n.push(e[r]);return t&&e.length>0&&n.push(jh("text","\n")),n}function cf(e,t){var n,r=String(t.identifier),i=uf(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);-1===o?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,n=e.footnoteOrder.length):(e.footnoteCounts[r]++,n=o+1);var a=e.footnoteCounts[r];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+i,id:e.clobberPrefix+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[jh("text",String(n))])])}var hf=n(9582);function ff(e,t){var n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return jh("text","!["+t.alt+r);var i=af(e,t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift(jh("text","["));var a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push(jh("text",r)),i}function df(e){var t=e.spread;return void 0===t||null===t?e.children.length>1:t}function pf(e,t,n){var r=0,i=e.length;if(t)for(var o=e.codePointAt(r);9===o||32===o;)r++,o=e.codePointAt(r);if(n)for(var a=e.codePointAt(i-1);9===a||32===a;)i--,a=e.codePointAt(i-1);return i>r?e.slice(r,i):""}var mf={blockquote:function(e,t){return e(t,"blockquote",lf(af(e,t),!0))},break:function(e,t){return[e(t,"br"),jh("text","\n")]},code:function(e,t){var n=t.value?t.value+"\n":"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};r&&(i.className=["language-"+r]);var o=e(t,"code",i,[jh("text",n)]);return t.meta&&(o.data={meta:t.meta}),e(t.position,"pre",[o])},delete:function(e,t){return e(t,"del",af(e,t))},emphasis:function(e,t){return e(t,"em",af(e,t))},footnoteReference:cf,footnote:function(e,t){for(var n=e.footnoteById,r=1;r in n;)r++;var i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},cf(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,af(e,t))},html:function(e,t){return e.dangerous?e.augment(t,jh("raw",t.value)):null},imageReference:function(e,t){var n=e.definition(t.identifier);if(!n)return ff(e,t);var r={src:hf(n.url||""),alt:t.alt};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"img",r)},image:function(e,t){var n={src:hf(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)},inlineCode:function(e,t){return e(t,"code",[jh("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){var n=e.definition(t.identifier);if(!n)return ff(e,t);var r={href:hf(n.url||"")};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"a",r,af(e,t))},link:function(e,t){var n={href:hf(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,af(e,t))},listItem:function(e,t,n){var r,i=af(e,t),o=n?function(e){var t=e.spread,n=e.children,r=-1;for(;!t&&++r<n.length;)t=df(n[r]);return Boolean(t)}(n):df(t),a={},s=[];"boolean"===typeof t.checked&&(i[0]&&"element"===i[0].type&&"p"===i[0].tagName?r=i[0]:(r=e(null,"p",[]),i.unshift(r)),r.children.length>0&&r.children.unshift(jh("text"," ")),r.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),a.className=["task-list-item"]);for(var u=-1;++u<i.length;){var l=i[u];(o||0!==u||"element"!==l.type||"p"!==l.tagName)&&s.push(jh("text","\n")),"element"!==l.type||"p"!==l.tagName||o?s.push(l):s.push.apply(s,(0,rt.Z)(l.children))}var c=i[i.length-1];return!c||!o&&"tagName"in c&&"p"===c.tagName||s.push(jh("text","\n")),e(t,"li",a,s)},list:function(e,t){var n={},r=t.ordered?"ol":"ul",i=af(e,t),o=-1;for("number"===typeof t.start&&1!==t.start&&(n.start=t.start);++o<i.length;){var a=i[o];if("element"===a.type&&"li"===a.tagName&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,r,n,lf(i,!0))},paragraph:function(e,t){return e(t,"p",af(e,t))},root:function(e,t){return e.augment(t,jh("root",lf(af(e,t))))},strong:function(e,t){return e(t,"strong",af(e,t))},table:function(e,t){for(var n=t.children,r=-1,i=t.align||[],o=[];++r<n.length;){for(var a=n[r].children,s=0===r?"th":"td",u=[],l=-1,c=t.align?i.length:a.length;++l<c;){var h=a[l];u.push(e(h,s,{align:i[l]},h?af(e,h):[]))}o[r]=e(n[r],"tr",lf(u,!0))}return e(t,"table",lf([e(o[0].position,"thead",lf([o[0]],!0))].concat(o[1]?e({start:Jh(o[1]),end:Vh(o[o.length-1])},"tbody",lf(o.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,jh("text",function(e){for(var t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];r;)o.push(pf(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(pf(t.slice(i),i>0,!1)),o.join("")}(String(t.value))))},thematicBreak:function(e,t){return e(t,"hr")},toml:gf,yaml:gf,definition:gf,footnoteDefinition:gf};function gf(){return null}var vf={}.hasOwnProperty;function Of(e,t){var n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.definition=function(e){var t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Gh(e,"definition",(function(e){var n=ef(e.identifier);n&&!Kh.call(t,n)&&(t[n]=e)})),function(e){var n=ef(e);return n&&Kh.call(t,n)?t[n]:null}}(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.augment=o,a.handlers=(0,it.Z)((0,it.Z)({},mf),n.handlers),a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,Gh(e,"footnoteDefinition",(function(e){var t=String(e.identifier).toUpperCase();vf.call(i,t)||(i[t]=e)})),a;function o(e,t){if(e&&"data"in e&&e.data){var n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=(0,it.Z)((0,it.Z)({},t.properties),n.hProperties)),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){var r="type"in e?e:{position:e};(i=r)&&i.position&&i.position.start&&i.position.start.line&&i.position.start.column&&i.position.end&&i.position.end.line&&i.position.end.column&&(t.position={start:Jh(r),end:Vh(r)})}var i;return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function yf(e,t){var n=Of(e,t),r=rf(n,e,null),i=function(e){for(var t=-1,n=[];++t<e.footnoteOrder.length;){var r=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(r){for(var i=af(e,r),o=String(r.identifier),a=uf(o.toLowerCase()),s=0,u=[];++s<=e.footnoteCounts[o];){var l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};s>1&&l.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(l)}var c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){var h,f=c.children[c.children.length-1];f&&"text"===f.type?f.value+=" ":c.children.push({type:"text",value:" "}),(h=c.children).push.apply(h,u)}else i.push.apply(i,u);var d={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:lf(i,!0)};r.position&&(d.position=r.position),n.push(d)}}return 0===n.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:(0,it.Z)((0,it.Z)({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{},{id:"footnote-label"}),children:[jh("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:lf(n,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push(jh("text","\n"),i),Array.isArray(r)?{type:"root",children:r}:r}var kf=function(e,t){return e&&"run"in e?function(e,t){return function(n,r,i){e.run(yf(n,t),r,(function(e){i(e)}))}}(e,t):function(e){return function(t){return yf(t,e)}}(e||t)};var bf=n(1512),xf=n(1165);function Tf(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return function(t){Gh(t,"element",(function(t,n,r){var i,o=r;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"===typeof n&&(i=!e.allowElement(t,n,o)),i&&"number"===typeof n){var a;if(e.unwrapDisallowed&&t.children)(a=o.children).splice.apply(a,[n,1].concat((0,rt.Z)(t.children)));else o.children.splice(n,1);return n}}))}}var wf=["http","https","mailto","tel"];var Sf=n(2268);function Cf(e){var t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}var Ef=n(8231),Af={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},_f=n(1361),Qf=n(194),Pf=n(5011),Rf={}.hasOwnProperty,Df=new Set(["table","thead","tbody","tfoot","tr"]);function Nf(e,t){for(var n,r=[],i=-1;++i<t.children.length;)"element"===(n=t.children[i]).type?r.push(Mf(e,n,i,t)):"text"===n.type?"element"===t.type&&Df.has(t.tagName)&&Cf(n)||r.push(n.value):"raw"!==n.type||e.options.skipHtml||r.push(n.value);return r}function Mf(e,t,n,r){var i,o=e.options,a=e.schema,s=t.tagName,u={},l=a;if("html"===a.space&&"svg"===s&&(l=xf.YP,e.schema=l),t.properties)for(i in t.properties)Rf.call(t.properties,i)&&Lf(u,i,t.properties[i],e);"ol"!==s&&"ul"!==s||e.listDepth++;var c=Nf(e,t);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=a;var h,f=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},d=o.components&&Rf.call(o.components,s)?o.components[s]:s,p="string"===typeof d||d===V.Fragment;if(!Sf.isValidElementType(d))throw new TypeError("Component for name `".concat(s,"` not defined or is not renderable"));if(u.key=[s,f.start.line,f.start.column,n].join("-"),"a"===s&&o.linkTarget&&(u.target="function"===typeof o.linkTarget?o.linkTarget(String(u.href||""),t.children,"string"===typeof u.title?u.title:null):o.linkTarget),"a"===s&&o.transformLinkUri&&(u.href=o.transformLinkUri(String(u.href||""),t.children,"string"===typeof u.title?u.title:null)),p||"code"!==s||"element"!==r.type||"pre"===r.tagName||(u.inline=!0),p||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(u.level=Number.parseInt(s.charAt(1),10)),"img"===s&&o.transformImageUri&&(u.src=o.transformImageUri(String(u.src||""),String(u.alt||""),"string"===typeof u.title?u.title:null)),!p&&"li"===s&&"element"===r.type){var m=function(e){var t=-1;for(;++t<e.children.length;){var n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);u.checked=m&&m.properties?Boolean(m.properties.checked):null,u.index=If(r,t),u.ordered="ol"===r.tagName}return p||"ol"!==s&&"ul"!==s||(u.ordered="ol"===s,u.depth=e.listDepth),"td"!==s&&"th"!==s||(u.align&&(u.style||(u.style={}),u.style.textAlign=u.align,delete u.align),p||(u.isHeader="th"===s)),p||"tr"!==s||"element"!==r.type||(u.isHeader=Boolean("thead"===r.tagName)),o.sourcePos&&(u["data-sourcepos"]=[(h=f).start.line,":",h.start.column,"-",h.end.line,":",h.end.column].map((function(e){return String(e)})).join("")),!p&&o.rawSourcePos&&(u.sourcePosition=t.position),!p&&o.includeElementIndex&&(u.index=If(r,t),u.siblingCount=If(r)),p||(u.node=t),c.length>0?V.createElement(d,u,c):V.createElement(d,u)}function If(e,t){for(var n=-1,r=0;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function Lf(e,t,n,r){var i=(0,Ef.s)(r.schema,t),o=n;null!==o&&void 0!==o&&o===o&&(Array.isArray(o)&&(o=i.commaSeparated?(0,Qf.P)(o):(0,_f.P)(o)),"style"===i.property&&"string"===typeof o&&(o=function(e){var t={};try{Pf(e,n)}catch(r){}return t;function n(e,n){var r="-ms-"===e.slice(0,4)?"ms-".concat(e.slice(4)):e;t[r.replace(/-([a-z])/g,Ff)]=n}}(o)),i.space&&i.property?e[Rf.call(Af,i.property)?Af[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function Ff(e,t){return t.toUpperCase()}var Zf={}.hasOwnProperty,$f={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function jf(e){for(var t in $f)if(Zf.call($f,t)&&Zf.call(e,t)){var n=$f[t];console.warn("[react-markdown] Warning: please ".concat(n.to?"use `".concat(n.to,"` instead of"):"remove"," `").concat(t,"` (see <").concat("https://github.com/remarkjs/react-markdown/blob/main/changelog.md","#").concat(n.id,"> for more info)")),delete $f[t]}var r=Ll().use($h).use(e.remarkPlugins||[]).use(kf,(0,it.Z)((0,it.Z)({},e.remarkRehypeOptions),{},{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(Tf,e),i=new wl;"string"===typeof e.children?i.value=e.children:void 0!==e.children&&null!==e.children&&console.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));var o=r.runSync(r.parse(i),i);if("root"!==o.type)throw new TypeError("Expected a `root` node");var a=V.createElement(V.Fragment,{},Nf({options:e,schema:xf.dy,listDepth:0},o));return e.className&&(a=V.createElement("div",{className:e.className},a)),a}jf.defaultProps={transformLinkUri:function(e){var t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;var r=t.indexOf(":");if(-1===r)return t;for(var i=-1;++i<wf.length;){var o=wf[i];if(r===o.length&&t.slice(0,o.length).toLowerCase()===o)return t}return-1!==(i=t.indexOf("?"))&&r>i||-1!==(i=t.indexOf("#"))&&r>i?t:"javascript:void(0)"}},jf.propTypes={children:bf.string,className:bf.string,allowElement:bf.func,allowedElements:bf.arrayOf(bf.string),disallowedElements:bf.arrayOf(bf.string),unwrapDisallowed:bf.bool,remarkPlugins:bf.arrayOf(bf.oneOfType([bf.object,bf.func,bf.arrayOf(bf.oneOfType([bf.bool,bf.string,bf.object,bf.func,bf.arrayOf(bf.any)]))])),rehypePlugins:bf.arrayOf(bf.oneOfType([bf.object,bf.func,bf.arrayOf(bf.oneOfType([bf.bool,bf.string,bf.object,bf.func,bf.arrayOf(bf.any)]))])),sourcePos:bf.bool,rawSourcePos:bf.bool,skipHtml:bf.bool,includeElementIndex:bf.bool,transformLinkUri:bf.oneOfType([bf.func,bf.bool]),linkTarget:bf.oneOfType([bf.func,bf.string]),transformImageUri:bf.func,components:bf.object};for(var Bf={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return 87===t||119===t?(e.consume(t),i):n(t)}function i(t){return 87===t||119===t?(e.consume(t),o):n(t)}function o(t){return 46===t?(e.consume(t),a):n(t)}function a(e){return null===e||lc(e)?n(e):t(e)}},partial:!0},zf={tokenize:function(e,t,n){var r,i;return o;function o(t){return 38===t?e.check(Uf,s,a)(t):46===t||95===t?e.check(Wf,s,a)(t):null===t||sc(t)||hc(t)||45!==t&&fc(t)?s(t):(e.consume(t),o)}function a(t){return 46===t?(i=r,r=void 0,e.consume(t),o):(95===t&&(r=!0),e.consume(t),o)}function s(e){return i||r?n(e):t(e)}},partial:!0},Hf={tokenize:function(e,t){var n=0;return r;function r(a){return 38===a?e.check(Uf,t,i)(a):(40===a&&n++,41===a?e.check(Wf,o,i)(a):ed(a)?t(a):Kf(a)?e.check(Wf,t,i)(a):(e.consume(a),r))}function i(t){return e.consume(t),r}function o(e){return--n<0?t(e):i(e)}},partial:!0},Wf={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(i){return Kf(i)?(e.consume(i),r):ed(i)?t(i):n(i)}},partial:!0},Uf={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return tc(t)?(e.consume(t),r):59===t?(e.consume(t),i):n(t)}function i(e){return ed(e)?t(e):n(e)}},partial:!0},qf={tokenize:function(e,t,n){var r=this;return function(t){if(87!==t&&119!==t||!nd(r.previous)||od(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Bf,e.attempt(zf,e.attempt(Hf,i),n),n)(t)};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:nd},Xf={tokenize:function(e,t,n){var r=this;return function(t){if(72!==t&&104!==t||!rd(r.previous)||od(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i};function i(t){return 84===t||116===t?(e.consume(t),o):n(t)}function o(t){return 84===t||116===t?(e.consume(t),a):n(t)}function a(t){return 80===t||112===t?(e.consume(t),s):n(t)}function s(t){return 83===t||115===t?(e.consume(t),u):u(t)}function u(t){return 58===t?(e.consume(t),l):n(t)}function l(t){return 47===t?(e.consume(t),c):n(t)}function c(t){return 47===t?(e.consume(t),h):n(t)}function h(t){return null===t||sc(t)||hc(t)||fc(t)?n(t):e.attempt(zf,e.attempt(Hf,f),n)(t)}function f(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:rd},Gf={tokenize:function(e,t,n){var r,i,o=this;return function(t){if(!td(t)||!id(o.previous)||od(o.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)};function a(t){return td(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(Wf,h,u)(t):45===t||95===t?e.check(Wf,n,l)(t):ic(t)?(!i&&nc(t)&&(i=!0),e.consume(t),s):h(t)}function u(t){return e.consume(t),r=!0,i=void 0,s}function l(t){return e.consume(t),c}function c(t){return 46===t?e.check(Wf,n,u)(t):s(t)}function h(o){return r&&!i?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):n(o)}},previous:id},Jf={},Vf={text:Jf},Yf=48;Yf<123;)Jf[Yf]=Gf,58===++Yf?Yf=65:91===Yf&&(Yf=97);function Kf(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function ed(e){return null===e||60===e||uc(e)}function td(e){return 43===e||45===e||46===e||95===e||ic(e)}function nd(e){return null===e||40===e||42===e||95===e||126===e||uc(e)}function rd(e){return null===e||!tc(e)}function id(e){return 47!==e&&rd(e)}function od(e){for(var t=e.length,n=!1;t--;){var r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Jf[43]=Gf,Jf[45]=Gf,Jf[46]=Gf,Jf[95]=Gf,Jf[72]=[Gf,Xf],Jf[104]=[Gf,Xf],Jf[87]=[Gf,qf],Jf[119]=[Gf,qf];var ad={tokenize:function(e,t,n){var r=this;return pc(e,(function(e){var i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function sd(){var e;return{document:(0,ot.Z)({},91,{tokenize:hd,continuation:{tokenize:fd},exit:dd}),text:(e={},(0,ot.Z)(e,91,{tokenize:cd}),(0,ot.Z)(e,93,{add:"after",tokenize:ud,resolveTo:ld}),e)}}function ud(e,t,n){for(var r,i=this,o=i.events.length,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);o--;){var s=i.events[o][1];if("labelImage"===s.type){r=s;break}if("gfmFootnoteCall"===s.type||"labelLink"===s.type||"label"===s.type||"image"===s.type||"link"===s.type)break}return function(o){if(!r||!r._balanced)return n(o);var s=jc(i.sliceSerialize({start:r.end,end:i.now()}));if(94!==s.charCodeAt(0)||!a.includes(s.slice(1)))return n(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function ld(e,t){for(var n=e.length;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";var r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;var o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice.apply(e,[n,e.length-n+1].concat(s)),e}function cd(e,t,n){var r,i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(s){var c;return null===s||91===s||a++>999?n(s):93===s?r?(e.exit("chunkString"),c=e.exit("gfmFootnoteCallString"),o.includes(jc(i.sliceSerialize(c)))?function(n){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(n),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(s):n(s)):n(s):(e.consume(s),uc(s)||(r=!0),92===s?l:u)}function l(t){return 91===t||92===t||93===t?(e.consume(t),a++,u):u(t)}}function hd(e,t,n){var r,i,o=this,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),u};function u(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):n(t)}function l(t){var a;return null===t||91===t||s>999?n(t):93===t?i?(a=e.exit("gfmFootnoteDefinitionLabelString"),r=jc(o.sliceSerialize(a)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f):n(t):lc(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s++,l):(e.enter("chunkString").contentType="string",c(t))}function c(t){return null===t||lc(t)||91===t||93===t||s>999?(e.exit("chunkString"),l(t)):(uc(t)||(i=!0),s++,e.consume(t),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function f(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),pc(e,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return a.includes(r)||a.push(r),t(e)}}function fd(e,t,n){return e.check(Oc,t,e.attempt(ad,t,n))}function dd(e){e.exit("gfmFootnoteDefinition")}function pd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.singleTilde,n={tokenize:i,resolveAll:r};return null!==t&&void 0!==t||(t=!0),{text:(0,ot.Z)({},126,n),insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){for(var n=-1;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close)for(var r=n;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";var i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]];Gl(a,a.length,0,Qc(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),Gl(a,a.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),Gl(e,r-1,n-r+3,a),n=r+a.length-2;break}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}function i(e,n,r){var i=this.previous,o=this.events,a=0;return function(t){if(126===i&&"characterEscape"!==o[o.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(o){var u=uh(i);if(126===o)return a>1?r(o):(e.consume(o),a++,s);if(a<2&&!t)return r(o);var l=e.exit("strikethroughSequenceTemporary"),c=uh(o);return l._open=!c||2===c&&Boolean(u),l._close=!u||2===u&&Boolean(c),n(o)}}}var md={flow:{null:{tokenize:function(e,t,n){var r,i,o=this,a=[],s=0;return function(t){if(e.enter("table")._align=a,e.enter("tableHead"),e.enter("tableRow"),124===t)return u(t);return s++,e.enter("temporaryTableCellContent"),h(t)};function u(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l}function l(t){return null===t||lc(t)?function(t){if(null===t)return n(t);e.exit("tableRow"),e.exit("tableHead");var r=o.interrupt;return o.interrupt=!0,e.attempt({tokenize:A,partial:!0},(function(t){return o.interrupt=r,e.enter("tableDelimiterRow"),d(t)}),(function(e){return o.interrupt=r,n(e)}))(t)}(t):cc(t)?(e.enter("whitespace"),e.consume(t),c):(r&&(r=void 0,s++),124===t?u(t):(e.enter("temporaryTableCellContent"),h(t)))}function c(t){return cc(t)?(e.consume(t),c):(e.exit("whitespace"),l(t))}function h(t){return null===t||124===t||uc(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?f:h)}function f(t){return 92===t||124===t?(e.consume(t),h):h(t)}function d(t){return null===t||lc(t)?O(t):cc(t)?(e.enter("whitespace"),e.consume(t),p):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),i=!0,a.push("none"),m):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),a.push("left"),g):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function p(t){return cc(t)?(e.consume(t),p):(e.exit("whitespace"),d(t))}function m(t){return 45===t?(e.consume(t),m):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),a[a.length-1]="left"===a[a.length-1]?"center":"right",v):d(t))}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),i=!0,m):n(t)}function v(t){return null===t||lc(t)?O(t):cc(t)?(e.enter("whitespace"),e.consume(t),p):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function O(t){return e.exit("tableDelimiterRow"),i&&s===a.length?null===t?y(t):e.check(gd,y,e.attempt({tokenize:A,partial:!0},pc(e,k,"linePrefix",4),y))(t):n(t)}function y(n){return e.exit("table"),t(n)}function k(t){return e.enter("tableBody"),b(t)}function b(t){return e.enter("tableRow"),124===t?x(t):(e.enter("temporaryTableCellContent"),S(t))}function x(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),T}function T(t){return null===t||lc(t)?function(t){if(e.exit("tableRow"),null===t)return E(t);return e.check(gd,E,e.attempt({tokenize:A,partial:!0},pc(e,b,"linePrefix",4),E))(t)}(t):cc(t)?(e.enter("whitespace"),e.consume(t),w):124===t?x(t):(e.enter("temporaryTableCellContent"),S(t))}function w(t){return cc(t)?(e.consume(t),w):(e.exit("whitespace"),T(t))}function S(t){return null===t||124===t||uc(t)?(e.exit("temporaryTableCellContent"),T(t)):(e.consume(t),92===t?C:S)}function C(t){return 92===t||124===t?(e.consume(t),S):S(t)}function E(t){return e.exit("tableBody"),y(t)}function A(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),pc(e,r,"linePrefix")};function r(r){if(o.parser.lazy[o.now().line]||null===r||lc(r))return n(r);var i=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(r):(o._gfmTableDynamicInterruptHack=!0,e.check(o.parser.constructs.flow,(function(e){return o._gfmTableDynamicInterruptHack=!1,n(e)}),(function(e){return o._gfmTableDynamicInterruptHack=!1,t(e)}))(r))}}},resolve:function(e,t){var n,r,i,o,a,s,u,l=-1;for(;++l<e.length;){var c=e[l][1];if(i&&("temporaryTableCellContent"===c.type&&(o=o||l,a=l),("tableCellDivider"===c.type||"tableRow"===c.type)&&a)){var h={type:"tableContent",start:e[o][1].start,end:e[a][1].end},f={type:"chunkText",start:h.start,end:h.end,contentType:"text"};e.splice(o,a-o+1,["enter",h,t],["enter",f,t],["exit",f,t],["exit",h,t]),l-=a-o-3,o=void 0,a=void 0}if("exit"===e[l][0]&&void 0!==s&&s+(u?0:1)<l&&("tableCellDivider"===c.type||"tableRow"===c.type&&(s+3<l||"whitespace"!==e[s][1].type))){var d={type:r?"tableDelimiter":n?"tableHeader":"tableData",start:e[s][1].start,end:e[l][1].end};e.splice(l+("tableCellDivider"===c.type?1:0),0,["exit",d,t]),e.splice(s,0,["enter",d,t]),s=(l+=2)+1,u=!0}"tableRow"===c.type&&(i="enter"===e[l][0])&&(s=l+1,u=!1),"tableDelimiterRow"===c.type&&(r="enter"===e[l][0])&&(s=l+1,u=!1),"tableHead"===c.type&&(n="enter"===e[l][0])}return e}}}},gd={tokenize:function(e,t,n){var r=0;return function(t){return e.enter("check"),e.consume(t),i};function i(o){return-1===o||32===o?(e.consume(o),4===++r?t:i):null===o||uc(o)?t(o):n(o)}},partial:!0};var vd={tokenize:function(e,t,n){var r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return uc(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(r){return 93===r?(e.enter("taskListCheckMarker"),e.consume(r),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:yd},t,n)):n(r)}}},Od={text:(0,ot.Z)({},91,vd)};function yd(e,t,n){var r=this;return pc(e,(function(e){var i=r.events[r.events.length-1];return(i&&"whitespace"===i[1].type||lc(e))&&null!==e?t(e):n(e)}),"whitespace")}function kd(e){return Yl([Vf,sd(),pd(e),md,Od])}function bd(e,t){var n=String(e);if("string"!==typeof t)throw new TypeError("Expected character");for(var r=0,i=n.indexOf(t);-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}var xd={}.hasOwnProperty,Td=function(e,t,n,r){var i,o;"string"===typeof t||t instanceof RegExp?(o=[[t,n]],i=r):(o=t,i=n),i||(i={});for(var a=Bh(i.ignore||[]),s=function(e){var t=[];if("object"!==typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e))for(var n=-1;++n<e.length;)t.push([wd(e[n][0]),Sd(e[n][1])]);else{var r;for(r in e)xd.call(e,r)&&t.push([wd(r),Sd(e[r])])}return t}(o),u=-1;++u<s.length;)Xh(e,"text",l);return e;function l(e,t){for(var n,r=-1;++r<t.length;){var i=t[r];if(a(i,n?n.children.indexOf(i):void 0,n))return;n=i}if(n)return function(e,t){var n,r=t[t.length-1],i=s[u][0],o=s[u][1],a=0,l=r.children.indexOf(e),c=!1,h=[];i.lastIndex=0;var f=i.exec(e.value);for(;f;){n=f.index;var d={index:f.index,input:f.input,stack:[].concat((0,rt.Z)(t),[e])},p=o.apply(void 0,(0,rt.Z)(f).concat([d]));if("string"===typeof p&&(p=p.length>0?{type:"text",value:p}:void 0),!1!==p){var m;if(a!==n&&h.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(p))(m=h).push.apply(m,(0,rt.Z)(p));else p&&h.push(p);a=n+f[0].length,c=!0}if(!i.global)break;f=i.exec(e.value)}if(c){var g;a<e.value.length&&h.push({type:"text",value:e.value.slice(a)}),(g=r.children).splice.apply(g,[l,1].concat((0,rt.Z)(h)))}else h=[e];return l+h.length}(e,t)}};function wd(e){return"string"===typeof e?new RegExp(function(e){if("string"!==typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Sd(e){return"function"===typeof e?e:function(){return e}}var Cd="phrasing",Ed=["autolink","link","image","label"],Ad={transforms:[function(e){Td(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Pd],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Rd]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:Qd,literalAutolinkHttp:Qd,literalAutolinkWww:Qd},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},_d={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Cd,notInConstruct:Ed},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Cd,notInConstruct:Ed},{character:":",before:"[ps]",after:"\\/",inConstruct:Cd,notInConstruct:Ed}]};function Qd(e){this.config.enter.autolinkProtocol.call(this,e)}function Pd(e,t,n,r,i){var o="";if(!Dd(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){var t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;var a=function(e){var t,n,r,i,o=/[!"&'),.:;<>?\]}]+$/.exec(e);if(o)for(e=e.slice(0,o.index),t=(i=o[0]).indexOf(")"),n=bd(e,"("),r=bd(e,")");-1!==t&&n>r;)e+=i.slice(0,t+1),t=(i=i.slice(t+1)).indexOf(")"),r++;return[e,i]}(n+r);if(!a[0])return!1;var s={type:"link",title:null,url:o+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Rd(e,t,n,r){return!(!Dd(r,!0)||/[_-\d]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Dd(e,t){var n=e.input.charCodeAt(e.index-1);return(0===e.index||hc(n)||fc(n))&&(!t||47!==n)}function Nd(e){return e.label||!e.identifier?e.label||"":Dh(e.identifier)}function Md(e){var t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(/\r?\n|\r/g),n=t[t.length-1];return i+=t.length-1,o=1===t.length?o+n.length:1+n.length+r,e},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function Id(e,t,n){var r=t.indexStack,i=e.children||[],o=Md(n),a=[],s=-1;for(r.push(-1);++s<i.length;){var u=i[s];r[r.length-1]=s,a.push(o.move(t.handle(u,e,t,(0,it.Z)({before:"\n",after:"\n"},o.current())))),"list"!==u.type&&(t.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move(l(u,i[s+1])))}return r.pop(),a.join("");function l(n,r){for(var i=t.join.length;i--;){var o=t.join[i](n,r,e,t);if(!0===o||1===o)break;if("number"===typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}}var Ld=/\r?\n|\r/g;function Fd(e,t){for(var n,r=[],i=0,o=0;n=Ld.exec(e);)a(e.slice(i,n.index)),r.push(n[0]),i=n.index+n[0].length,o++;return a(e.slice(i)),r.join("");function a(e){r.push(t(e,o,!e))}}function Zd(e){if(!e._compiled){var t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function $d(e,t){return jd(e,t.inConstruct,!0)&&!jd(e,t.notInConstruct,!1)}function jd(e,t,n){if(!t)return n;"string"===typeof t&&(t=[t]);for(var r=-1;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Bd(e,t,n){for(var r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],a={},s=-1;++s<e.unsafe.length;){var u=e.unsafe[s];if($d(e.stack,u))for(var l=Zd(u),c=void 0;c=l.exec(r);){var h="before"in u||Boolean(u.atBreak),f="after"in u,d=c.index+(h?c[1].length:0);i.includes(d)?(a[d].before&&!h&&(a[d].before=!1),a[d].after&&!f&&(a[d].after=!1)):(i.push(d),a[d]={before:h,after:f})}}i.sort(zd);var p=n.before?n.before.length:0,m=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){var g=i[s];g<p||g>=m||(g+1<m&&i[s+1]===g+1&&a[g].after&&!a[g+1].before&&!a[g+1].after||i[s-1]===g-1&&a[g].before&&!a[g-1].before&&!a[g-1].after||(p!==g&&o.push(Hd(r.slice(p,g),"\\")),p=g,!/[!-/:-@[-`{-~]/.test(r.charAt(g))||n.encode&&n.encode.includes(r.charAt(g))?(o.push("&#x"+r.charCodeAt(g).toString(16).toUpperCase()+";"),p++):o.push("\\")))}return o.push(Hd(r.slice(p,m),n.after)),o.join("")}function zd(e,t){return e-t}function Hd(e,t){for(var n,r=/\\(?=[!-/:-@[-`{-~])/g,i=[],o=[],a=e+t,s=-1,u=0;n=r.exec(a);)i.push(n.index);for(;++s<i.length;)u!==i[s]&&o.push(e.slice(u,i[s])),o.push("\\"),u=i[s];return o.push(e.slice(u)),o.join("")}function Wd(){return e.peek=function(){return"["},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:function(e,t,n,r){var i=Md(r),o=i.move("[^"),a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(Bd(n,Nd(e),(0,it.Z)((0,it.Z)({},i.current()),{},{before:o,after:"]"}))),s(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(Fd(Id(e,n,i.current()),(function(e,t,n){if(t)return(n?"":" ")+e;return e}))),a(),o},footnoteReference:e}};function e(e,t,n,r){var i=Md(r),o=i.move("[^"),a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(Bd(n,Nd(e),(0,it.Z)((0,it.Z)({},i.current()),{},{before:o,after:"]"}))),s(),a(),o+=i.move("]")}}function Ud(e,t,n){var r=t.indexStack,i=e.children||[],o=[],a=-1,s=n.before;r.push(-1);for(var u=Md(n);++a<i.length;){var l=i[a],c=void 0;if(r[r.length-1]=a,a+1<i.length){var h=t.handle.handlers[i[a+1].type];h&&h.peek&&(h=h.peek),c=h?h(i[a+1],e,t,(0,it.Z)({before:"",after:""},u.current())).charAt(0):""}else c=n.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===l.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",(u=Md(n)).move(o.join(""))),o.push(u.move(t.handle(l,e,t,(0,it.Z)((0,it.Z)({},u.current()),{},{before:s,after:c})))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}var qd={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},Xd={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:Gd}};function Gd(e,t,n,r){var i=Md(r),o=n.enter("emphasis"),a=i.move("~~");return a+=Ud(e,n,(0,it.Z)((0,it.Z)({},i.current()),{},{before:a,after:"~"})),a+=i.move("~~"),o(),a}function Jd(e,t,n){for(var r=e.value||"",i="`",o=-1;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){var a=n.unsafe[o],s=Zd(a),u=void 0;if(a.atBreak)for(;u=s.exec(r);){var l=u.index;10===r.charCodeAt(l)&&13===r.charCodeAt(l-1)&&l--,r=r.slice(0,l)+" "+r.slice(u.index+1)}}return i+r+i}function Vd(e){return null===e||void 0===e?"":String(e)}function Yd(e){return e.length}function Kd(e){var t="string"===typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Gd.peek=function(){return"~"},Jd.peek=function(){return"`"};var ep={enter:{table:function(e){var t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.setData("inTable",!0)},tableData:np,tableHeader:np,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,rp));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:tp,tableHeader:tp,tableRow:tp}};function tp(e){this.exit(e)}function np(e){this.enter({type:"tableCell",children:[]},e)}function rp(e,t){return"|"===t?t:e}function ip(e){var t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){var r=e.children,i=-1,o=[],a=t.enter("table");for(;++i<r.length;)o[i]=u(r[i],t,n);return a(),o}(e,n,r),e.align)},tableRow:function(e,t,n,r){var i=s([u(e,n,r)]);return i.slice(0,i.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){var r=Jd(e,0,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r}}};function a(e,t,n,r){var i=n.enter("tableCell"),a=n.enter("phrasing"),s=Ud(e,n,(0,it.Z)((0,it.Z)({},r),{},{before:o,after:o}));return a(),i(),s}function s(e,t){return function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t.align||[]).concat(),r=t.stringLength||Yd,i=[],o=[],a=[],s=[],u=0,l=-1;++l<e.length;){var c=[],h=[],f=-1;for(e[l].length>u&&(u=e[l].length);++f<e[l].length;){var d=Vd(e[l][f]);if(!1!==t.alignDelimiters){var p=r(d);h[f]=p,(void 0===s[f]||p>s[f])&&(s[f]=p)}c.push(d)}o[l]=c,a[l]=h}var m=-1;if("object"===typeof n&&"length"in n)for(;++m<u;)i[m]=Kd(n[m]);else for(var g=Kd(n);++m<u;)i[m]=g;m=-1;for(var v=[],O=[];++m<u;){var y=i[m],k="",b="";99===y?(k=":",b=":"):108===y?k=":":114===y&&(b=":");var x=!1===t.alignDelimiters?1:Math.max(1,s[m]-k.length-b.length),T=k+"-".repeat(x)+b;!1!==t.alignDelimiters&&((x=k.length+x+b.length)>s[m]&&(s[m]=x),O[m]=x),v[m]=T}o.splice(1,0,v),a.splice(1,0,O),l=-1;for(var w=[];++l<o.length;){var S=o[l],C=a[l];m=-1;for(var E=[];++m<u;){var A=S[m]||"",_="",Q="";if(!1!==t.alignDelimiters){var P=s[m]-(C[m]||0),R=i[m];114===R?_=" ".repeat(P):99===R?P%2?(_=" ".repeat(P/2+.5),Q=" ".repeat(P/2-.5)):Q=_=" ".repeat(P/2):Q=" ".repeat(P)}!1===t.delimiterStart||m||E.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===A||!1===t.delimiterStart&&!m||E.push(" "),!1!==t.alignDelimiters&&E.push(_),E.push(A),!1!==t.alignDelimiters&&E.push(Q),!1!==t.padding&&E.push(" "),!1===t.delimiterEnd&&m===u-1||E.push("|")}w.push(!1===t.delimiterEnd?E.join("").replace(/ +$/,""):E.join(""))}return w.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){for(var r=e.children,i=-1,o=[],s=t.enter("tableRow");++i<r.length;)o[i]=a(r[i],0,t,n);return s(),o}}function op(e,t,n,r){var i=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),o=n.bulletCurrent||function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(o=("number"===typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);var a=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));var s=Md(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);var u=n.enter("listItem"),l=Fd(Id(e,n,s.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(a))+e;return(n?o:o+" ".repeat(a-o.length))+e}));return u(),l}var ap={exit:{taskListCheckValueChecked:up,taskListCheckValueUnchecked:up,paragraph:function(e){var t,n=this.stack[this.stack.length-2],r=this.stack[this.stack.length-1],i=n.children,o=r.children[0],a=-1;if(n&&"listItem"===n.type&&"boolean"===typeof n.checked&&o&&"text"===o.type){for(;++a<i.length;){var s=i[a];if("paragraph"===s.type){t=s;break}}t===r&&(o.value=o.value.slice(1),0===o.value.length?r.children.shift():r.position&&o.position&&"number"===typeof o.position.start.offset&&(o.position.start.column++,o.position.start.offset++,r.position.start=Object.assign({},o.position.start)))}this.exit(e)}}},sp={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){var i=e.children[0],o="boolean"===typeof e.checked&&i&&"paragraph"===i.type,a="["+(e.checked?"x":" ")+"] ",s=Md(r);o&&s.move(a);var u=op(e,t,n,(0,it.Z)((0,it.Z)({},r),s.current()));o&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return u}}};function up(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function lp(){return[Ad,{enter:{gfmFootnoteDefinition:function(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)},gfmFootnoteDefinitionLabelString:function(){this.buffer()},gfmFootnoteCall:function(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)},gfmFootnoteCallString:function(){this.buffer()}},exit:{gfmFootnoteDefinition:function(e){this.exit(e)},gfmFootnoteDefinitionLabelString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=jc(this.sliceSerialize(e)).toLowerCase()},gfmFootnoteCall:function(e){this.exit(e)},gfmFootnoteCallString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=jc(this.sliceSerialize(e)).toLowerCase()}}},qd,ep,ap]}function cp(e){return{extensions:[_d,Wd(),Xd,ip(e),sp]}}function hp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",kd(e)),n("fromMarkdownExtensions",lp()),n("toMarkdownExtensions",cp(e))}var fp=n(7959),dp={}.hasOwnProperty;function pp(e,t){var n=t&&e&&"object"===typeof e&&"element"===e.type&&e.properties&&dp.call(e.properties,t)&&e.properties[t];return null!==n&&void 0!==n&&!1!==n}function mp(e){var t=e&&"element"===e.type&&e.tagName.toLowerCase()||"",n=2===t.length&&104===t.charCodeAt(0)?t.charCodeAt(1):0;return n>48&&n<55?n-48:null}function gp(e){return"children"in e?Op(e):"value"in e?e.value:""}function vp(e){return"text"===e.type?e.value:"children"in e?Op(e):""}function Op(e){for(var t=-1,n=[];++t<e.children.length;)n[t]=vp(e.children[t]);return n.join("")}var yp=new fp;function kp(){return function(e){yp.reset(),Gh(e,"element",(function(e){mp(e)&&e.properties&&!pp(e,"id")&&(e.properties.id=yp.slug(gp(e)))}))}}var bp=function(e,t,n,r,i){var o=xp(t);if(void 0!==n&&null!==n&&("number"!==typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index for child node");if(void 0!==r&&null!==r&&(!r.type||!r.children))throw new Error("Expected parent node");if(!e||!e.type||"string"!==typeof e.type)return!1;if((void 0===r||null===r)!==(void 0===n||null===n))throw new Error("Expected both parent and index");return o.call(i,e,n,r)},xp=function(e){if(void 0===e||null===e)return Sp;if("string"===typeof e)return function(e){return t;function t(t){return Sp(t)&&t.tagName===e}}(e);if("object"===typeof e)return Tp(e);if("function"===typeof e)return wp(e);throw new Error("Expected function, string, or array as test")};function Tp(e){for(var t=[],n=-1;++n<e.length;)t[n]=xp(e[n]);return wp((function(){for(var e=-1,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(;++e<t.length;){var o;if((o=t[e]).call.apply(o,[this].concat(r)))return!0}return!1}))}function wp(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Sp(t)&&Boolean(e.call.apply(e,[this,t].concat(r)))}}function Sp(e){return Boolean(e&&"object"===typeof e&&"element"===e.type&&"string"===typeof e.tagName)}var Cp={type:"element",tagName:"span",properties:{className:["icon","icon-link"]},children:[]};function Ep(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties,r=t.behaviour||t.behavior||"prepend",i=t.content||Cp,o=t.group,a=xp(t.test);return"wrap"===r?e=l:"before"===r||"after"===r?e=u:(n||(n={ariaHidden:"true",tabIndex:-1}),e=s),function(t){Gh(t,"element",(function(t,n,r){if(mp(t)&&pp(t,"id")&&a(t,n,r))return e(t,n,r)}))};function s(e){return e.children["prepend"===r?"unshift":"push"](f(e,Nl(!0,{},n),c(i,e))),[Uh]}function u(e,t,a){var s;if("number"===typeof t&&a){var u=f(e,Nl(!0,{},n),c(i,e)),l="before"===r?[u,e]:[e,u];if(o){var d=h(o,e);d&&!Array.isArray(d)&&"element"===d.type&&(d.children=l,l=[d])}return(s=a.children).splice.apply(s,[t,1].concat((0,rt.Z)(l))),[Uh,t+l.length]}}function l(e){return e.children=[f(e,Nl(!0,{},n),e.children)],[Uh]}function c(e,t){var n=h(e,t);return Array.isArray(n)?n:[n]}function h(e,t){return"function"===typeof e?e(t):Nl(!0,Array.isArray(e)?[]:{},e)}function f(e,t,n){return{type:"element",tagName:"a",properties:Object.assign({},t,{href:"#"+(e.properties||{}).id}),children:n}}}var Ap=n(810),_p=(0,n(1762).v)(xf.YP,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),Qp=n(7611);var Pp={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Rp={}.hasOwnProperty,Dp={"#document":Mp,"#document-fragment":Mp,"#text":function(e,t){return{type:"text",value:t.value}},"#comment":function(e,t){return{type:"comment",value:t.data}},"#documentType":function(){return{type:"doctype"}}};function Np(e,t){var n,r=e.schema,i=Rp.call(Dp,t.nodeName)?Dp[t.nodeName]:Ip;"tagName"in t&&(e.schema=t.namespaceURI===Pp.svg?xf.YP:xf.dy),"childNodes"in t&&(n=function(e,t){var n=-1,r=[];for(;++n<t.length;)r[n]=Np(e,t[n]);return r}(e,t.childNodes));var o=i(e,t,n);if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){var a=function(e,t,n){var r=Lp(n);if("element"===t.type){var i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){var o,a={};for(o in n.attrs)Rp.call(n.attrs,o)&&(a[(0,Ef.s)(e.schema,o).property]=Lp(n.attrs[o]));t.data={position:{opening:Lp(n.startTag),closing:n.endTag?Lp(n.endTag):null,properties:a}}}}return r}(e,o,t.sourceCodeLocation);a&&(e.location=!0,o.position=a)}return e.schema=r,o}function Mp(e,t,n){var r={type:"root",children:n,data:{quirksMode:"quirks"===t.mode||"limited-quirks"===t.mode}};if(e.file&&e.location){var i=String(e.file),o=function(e){for(var t=String(e),n=[],r=/\r?\n|\r/g;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:function(e){var t=-1;if(e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(n[t-1]||0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){var t,r=e&&e.line,i=e&&e.column;return"number"!==typeof r||"number"!==typeof i||Number.isNaN(r)||Number.isNaN(i)||!(r-1 in n)||(t=(n[r-2]||0)+i-1||0),t>-1&&t<n[n.length-1]?t:-1}}}(i);r.position={start:o.toPoint(0),end:o.toPoint(i.length)}}return r}function Ip(e,t,n){for(var r="svg"===e.schema.space?_p:Qp.h,i=-1,o={};++i<t.attrs.length;){var a=t.attrs[i];o[(a.prefix?a.prefix+":":"")+a.name]=a.value}var s=r(t.tagName,o,n);if("template"===s.tagName&&"content"in t){var u=t.sourceCodeLocation,l=u&&u.startTag&&Lp(u.startTag),c=u&&u.endTag&&Lp(u.endTag),h=Np(e,t.content);l&&c&&e.file&&(h.position={start:l.end,end:c.start}),s.content=h}return s}function Lp(e){var t=Fp({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Fp({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:null}function Fp(e){return e.line&&e.column?e:null}function Zp(e){return"messages"in e}var $p=Pp,jp=Af,Bp={}.hasOwnProperty,zp=Bh("root"),Hp=Bh("element"),Wp=Bh("text");function Up(e,t,n){if("function"!==typeof e)throw new TypeError("h is not a function");var r,i,o=function(e){var t=e("div",{});return Boolean(t&&("_owner"in t||"_store"in t)&&(void 0===t.key||null===t.key))}(e),a=function(e){var t=e("div",{});return Boolean(t&&t.context&&t.context._isVue)}(e),s=function(e){return"VirtualNode"===e("div",{}).type}(e);if("string"===typeof n||"boolean"===typeof n?(r=n,n={}):(n||(n={}),r=n.prefix),zp(t))i=1===t.children.length&&Hp(t.children[0])?t.children[0]:{type:"element",tagName:"div",properties:{},children:t.children};else{if(!Hp(t))throw new Error("Expected root or element, not `"+(t&&t.type||t)+"`");i=t}return qp(e,i,{schema:"svg"===n.space?xf.YP:xf.dy,prefix:void 0===r||null===r?o||a||s?"h-":null:"string"===typeof r?r:r?"h-":null,key:0,react:o,vue:a,vdom:s,hyperscript:Gp(e)})}function qp(e,t,n){var r,i=n.schema,o=i,a=t.tagName,s={},u=[],l=-1;for(r in"html"===i.space&&"svg"===a.toLowerCase()&&(o=xf.YP,n.schema=o),t.properties)t.properties&&Bp.call(t.properties,r)&&Xp(s,r,t.properties[r],n,a);if(n.vdom&&("html"===o.space?a=a.toUpperCase():o.space&&(s.namespace=$p[o.space])),n.prefix&&(n.key++,s.key=n.prefix+n.key),t.children)for(;++l<t.children.length;){var c=t.children[l];Hp(c)?u.push(qp(e,c,n)):Wp(c)&&u.push(c.value)}return n.schema=i,u.length>0?e.call(t,a,s,u):e.call(t,a,s)}function Xp(e,t,n,r,i){var o,a=(0,Ef.s)(r.schema,t);void 0===n||null===n||"number"===typeof n&&Number.isNaN(n)||!1===n&&(r.vue||r.vdom||r.hyperscript)||!n&&a.boolean&&(r.vue||r.vdom||r.hyperscript)||(Array.isArray(n)&&(n=a.commaSeparated?(0,Qf.P)(n):(0,_f.P)(n)),a.boolean&&r.hyperscript&&(n=""),"style"===a.property&&"string"===typeof n&&(r.react||r.vue||r.vdom)&&(n=function(e,t){var n={};try{Pf(e,(function(e,t){"-ms-"===e.slice(0,4)&&(e="ms-"+e.slice(4)),n[e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))]=t}))}catch(r){throw r.message=t+"[style]"+r.message.slice("undefined".length),r}return n}(n,i)),r.vue?"style"!==a.property&&(o="attrs"):a.mustUseProperty||(r.vdom?"style"!==a.property&&(o="attributes"):r.hyperscript&&(o="attrs")),o?e[o]=Object.assign(e[o]||{},(0,ot.Z)({},a.attribute,n)):a.space&&r.react?e[jp[a.property]||a.property]=n:e[a.attribute]=n)}function Gp(e){return"context"in e&&"cleanup"in e}var Jp={}.hasOwnProperty;function Vp(e,t){var n=t||{};function r(t){var n=r.invalid,i=r.handlers;if(t&&Jp.call(t,e)&&(n=Jp.call(i,t[e])?i[t[e]]:r.unknown),n)return n.apply(this,arguments)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Yp={}.hasOwnProperty,Kp=Vp("type",{handlers:{root:function(e,t){var n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=em(e.children,n,t),tm(e,n)},element:function(e,t){var n=t.space;return Up((function(n,r){var i,o,a,s,u,l=[];for(a in r)Yp.call(r,a)&&!1!==r[a]&&((i=(0,Ef.s)(t,a)).boolean&&!r[a]||(o={name:a,value:!0===r[a]?"":String(r[a])},i.space&&"html"!==i.space&&"svg"!==i.space&&((s=a.indexOf(":"))<0?o.prefix="":(o.name=a.slice(s+1),o.prefix=a.slice(0,s)),o.namespace=Pp[i.space]),l.push(o)));"html"===t.space&&"svg"===e.tagName&&(t=xf.YP);(u=tm(e,{nodeName:n,tagName:n,attrs:l,namespaceURI:Pp[t.space],childNodes:[],parentNode:void 0})).childNodes=em(e.children,u,t),"template"===n&&(u.content=function(e,t){var n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=em(e.children,n,t),tm(e,n)}(e.content,t));return u}),Object.assign({},e,{children:[]}),{space:n})},text:function(e){return tm(e,{nodeName:"#text",value:e.value,parentNode:void 0})},comment:function(e){return tm(e,{nodeName:"#comment",data:e.value,parentNode:void 0})},doctype:function(e){return tm(e,{nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0})}}});function em(e,t,n){var r,i=-1,o=[];if(e)for(;++i<e.length;)(r=Kp(e[i],n)).parentNode=t,o.push(r);return o}function tm(e,t){var n=e.position;return n&&n.start&&n.end&&(t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset}),t}var nm=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],rm="END_TAG_TOKEN",im={sourceCodeLocationInfo:!0,scriptingEnabled:!1},om=function e(t,n,r){var i,o,a,s,u,l=-1,c=new Ap(im),h=Vp("type",{handlers:{root:function(e){d(e.children)},element:function(e){g(),c._processToken(am(e),Pp.html),d(e.children),nm.includes(e.tagName)||(g(),c._processToken(function(e){var t=Object.assign(lm(e));return t.startTag=Object.assign({},t),{type:rm,tagName:e.tagName,attrs:[],location:t}}(e)))},text:function(e){g(),c._processToken({type:"CHARACTER_TOKEN",chars:e.value,location:lm(e)})},comment:p,doctype:function(e){g(),c._processToken({type:"DOCTYPE_TOKEN",name:"html",forceQuirks:!1,publicId:"",systemId:"",location:lm(e)})},raw:function(e){var t=Jh(e),n=t.line||1,r=t.column||1,i=t.offset||0;if(!a)throw new Error("Expected `preprocessor`");if(!o)throw new Error("Expected `tokenizer`");if(!s)throw new Error("Expected `posTracker`");if(!u)throw new Error("Expected `locationTracker`");a.html=void 0,a.pos=-1,a.lastGapPos=-1,a.lastCharPos=-1,a.gapStack=[],a.skipNextNewLine=!1,a.lastChunkWritten=!1,a.endOfChunkHit=!1,s.isEol=!1,s.lineStartPos=1-r,s.droppedBufferSize=i,s.offset=0,s.col=1,s.line=n,u.currentAttrLocation=void 0,u.ctLoc=lm(e),o.write(e.value),c._runParsingLoop(null),("NAMED_CHARACTER_REFERENCE_STATE"===o.state||"NUMERIC_CHARACTER_REFERENCE_END_STATE"===o.state)&&(a.lastChunkWritten=!0,o[o.state](o._consume()))}},unknown:um});if(function(e){return Boolean(e&&!("message"in e&&"messages"in e))}(n)&&(r=n,n=void 0),r&&r.passThrough)for(;++l<r.passThrough.length;)h.handlers[r.passThrough[l]]=m;var f=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Zp(r)?(n=r,t={}):(n=r.file,t=r),Np({schema:"svg"===t.space?xf.YP:xf.dy,file:n,verbose:t.verbose,location:!1},e)}(function(e){var t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(t)?function(){var e=c.treeAdapter.createDocument();if(c._bootstrap(e,void 0),!(o=c.tokenizer))throw new Error("Expected `tokenizer`");return a=o.preprocessor,u=o.__mixins[0],s=u.posTracker,h(t),g(),e}():function(){var e={nodeName:"template",tagName:"template",attrs:[],namespaceURI:Pp.html,childNodes:[]},n={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:Pp.html,childNodes:[]},r={nodeName:"#document-fragment",childNodes:[]};if(c._bootstrap(n,e),c._pushTmplInsertionMode("IN_TEMPLATE_MODE"),c._initTokenizerForFragmentParsing(),c._insertFakeRootElement(),c._resetInsertionMode(),c._findFormInFragmentContext(),!(o=c.tokenizer))throw new Error("Expected `tokenizer`");return a=o.preprocessor,u=o.__mixins[0],s=u.posTracker,h(t),g(),c._adoptNodes(n.childNodes[0],r),r}(),n);return i&&Gh(f,"comment",(function(e,t,n){var r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t})),"root"!==t.type&&"root"===f.type&&1===f.children.length?f.children[0]:f;function d(e){var t=-1;if(e)for(;++t<e.length;)h(e[t])}function p(e){g(),c._processToken({type:"COMMENT_TOKEN",data:e.value,location:lm(e)})}function m(t){i=!0,p({type:"comment",value:{stitch:"children"in t?(0,it.Z)((0,it.Z)({},t),{},{children:e({type:"root",children:t.children},n,r).children}):(0,it.Z)({},t)}})}function g(){if(!o)throw new Error("Expected `tokenizer`");if(!s)throw new Error("Expected `posTracker`");var e=o.currentCharacterToken;e&&(e.location.endLine=s.line,e.location.endCol=s.col+1,e.location.endOffset=s.offset+1,c._processToken(e)),o.tokenQueue=[],o.state="DATA_STATE",o.returnState="",o.charRefCode=-1,o.tempBuff=[],o.lastStartTagName="",o.consumedAfterSnapshot=-1,o.active=!1,o.currentCharacterToken=void 0,o.currentToken=void 0,o.currentAttr=void 0}};function am(e){var t=Object.assign(lm(e));return t.startTag=Object.assign({},t),{type:"START_TAG_TOKEN",tagName:e.tagName,selfClosing:!1,attrs:sm(e),location:t}}function sm(e){return function(e,t){return Kp(e,"svg"===t?xf.YP:xf.dy)}({tagName:e.tagName,type:"element",properties:e.properties,children:[]}).attrs}function um(e){throw new Error("Cannot compile `"+e.type+"` node")}function lm(e){var t=Jh(e),n=Vh(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function cm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,n){return om(t,n,e)}}var hm=function e(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=n;i<t.length;)if(i++,r){var o=t[i];if(o&&o.value&&""!==o.value.replace(/(\n|\s)/g,"")||t[i]&&"element"===t[i].type)return o.tagName===r?o:void 0}else{var a=t[i];if(!a||"text"!==a.type&&"comment"!==a.type||"text"===a.type&&""!==a.value.replace(/(\n|\s)/g,""))return;if("comment"===a.type){if(!/^rehype:/.test(a.value))return;var s=e(t,i,"pre");if(s)return;return a}}},fm=function(e){var t=e.value,n=((void 0===t?"":t).replace(/^rehype:/,"").match(/([^?=&]+)(=([^&]*))/g)||[]).reduce((function(e,t){return e[t.slice(0,t.indexOf("="))]=t.slice(t.indexOf("=")+1),e}),{});return Object.keys(n).forEach((function(e){"true"===n[e]&&(n[e]=!0),"false"===n[e]&&(n[e]=!1),"string"!==typeof n[e]||/^0/.test(n[e])||isNaN(+n[e])||(n[e]=+n[e])})),n},dm=function(e,t,n){return"string"===n?(0,it.Z)((0,it.Z)({},e),{},{"data-config":JSON.stringify((0,it.Z)((0,it.Z)({},t),{},{rehyp:!0}))}):"attr"===n?(0,it.Z)((0,it.Z)({},e),t):(0,it.Z)((0,it.Z)({},e),{},{"data-config":(0,it.Z)((0,it.Z)({},t),{},{rehyp:!0})})},pm={properties:"data"},mm=function(e){var t=(0,it.Z)((0,it.Z)({},pm),e);return function(e){Gh(e,"element",(function(e,n,r){if("pre"===e.tagName&&e&&Array.isArray(e.children)&&r&&Array.isArray(r.children)&&r.children.length>1){var i=e.children[0];if(i&&"code"===i.tagName&&"number"===typeof n){var o=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;t>-1;){if(!e[--t])return;if(e[t]&&e[t].value&&""!==e[t].value.replace(/(\n|\s)/g,"")||"text"!==e[t].type){if(!/^rehype:/.test(e[t].value)||"comment"!==e[t].type)return;return e[t]}}}(r.children,n);if(o){var a=fm(o);Object.keys(a).length>0&&(e.properties=(0,it.Z)((0,it.Z)({},e.properties),{"data-type":"rehyp"}),i.properties=dm(i.properties,a,t.properties))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(e.tagName)&&r&&Array.isArray(r.children)&&"number"===typeof n){var s=hm(r.children,n);if(s){var u=fm(s);Object.keys(u).length>0&&(e.properties=dm(e.properties,u,t.properties))}}}))}},gm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.openDelimiter,n=void 0===t?"rehype:ignore:start":t,r=e.closeDelimiter,i=void 0===r?"rehype:ignore:end":r;return function(e){Gh(e,(function(e,t,r){if("element"===e.type||"root"===e.type){var o=!1;e.children=e.children.filter((function(e){return"comment"===e.type&&e.value.trim()===n?(o=!0,!1):"comment"===e.type&&e.value.trim()===i?(o=!1,!1):!o}))}}))}},vm={}.hasOwnProperty,Om=n(7278),ym=n(4571),km=n(1060);function bm(){bm=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,i){var o=new RegExp(e,r);return t.set(o,i||t.get(e)),Tm(o,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce((function(t,n){return t[n]=e[r[n]],t}),Object.create(null))}return xm(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);return n&&(n.groups=r(n,this)),n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var o=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,(function(e,t){return"$"+o[t]})))}if("function"==typeof i){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,a)),i.apply(this,e)}))}return e[Symbol.replace].call(this,n,i)},bm.apply(this,arguments)}function xm(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tm(e,t)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Tm(e,t)}function wm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sm(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return wm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wm(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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 Cm=function(e){return function(t){return void 0===t&&(t={}),function(e){Gh(e,"element",n)};function n(n,r,i){if(i&&"pre"===i.tagName&&"code"===n.tagName){var o=n.data&&n.data.meta?n.data.meta:"";n.properties.className?"boolean"==typeof n.properties.className?n.properties.className=[]:Array.isArray(n.properties.className)||(n.properties.className=[n.properties.className]):n.properties.className=[],n.properties.className.push("code-highlight");var a,s,u=function(e){for(var t,n=Sm(e.properties.className);!(t=n()).done;){var r=t.value;if("language-"===r.slice(0,9))return r.slice(9).toLowerCase()}return null}(n);if(u)try{var l;l=null!=u&&u.includes("diff-")?u.split("-")[1]:u,a=e.highlight(gp(n),l),i.properties.className=(i.properties.className||[]).concat("language-"+l)}catch(v){if(!t.ignoreMissing||!/Unknown language/.test(v.message))throw v;a=n}else a=n;a.children=(s=1,function e(t){return t.reduce((function(t,n){if("text"===n.type){var r=n.value,i=(r.match(/\n/g)||"").length;if(0===i)n.position={start:{line:s,column:1},end:{line:s,column:1}},t.push(n);else for(var o,a=r.split("\n"),u=Sm(a.entries());!(o=u()).done;){var l=o.value,c=l[0],h=l[1];t.push({type:"text",value:c===a.length-1?h:h+"\n",position:{start:{line:s+c,column:1},end:{line:s+c,column:1}}})}return s+=i,t}if(Object.prototype.hasOwnProperty.call(n,"children")){var f=s;return n.children=e(n.children),t.push(n),n.position={start:{line:f,column:1},end:{line:s,column:1}},t}return t.push(n),t}),[])})(a.children),a.position=a.children.length>0?{start:{line:a.children[0].position.start.line,column:0},end:{line:a.children[a.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var c,h=function(e){var t=/{([\d,-]+)}/,n=e.split(",").map((function(e){return e.trim()})).join();if(t.test(n)){var r=t.exec(n)[1],i=Om(r);return function(e){return i.includes(e+1)}}return function(){return!1}}(o),f=function(e){var t=bm(/showLineNumbers=([0-9]+)/i,{lines:1});if(t.test(e)){var n=t.exec(e);return Number(n.groups.lines)}return 1}(o),d=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]={type:"element",tagName:"span",properties:{className:[]},children:[]};return t}(a.position.end.line),p=["showlinenumbers=false",'showlinenumbers="false"',"showlinenumbers={false}"],m=function(){var e=c.value,n=e[0],r=e[1];r.properties.className=["code-line"];var i=function(e,t,n){var r=Bh(n||t),i=void 0===t.cascade||null===t.cascade||t.cascade;return function e(t,n,o){var a,s,u,l=[];if(!r(t,n,o))return null;if(t.children){for(a=-1;++a<t.children.length;)(s=e(t.children[a],a,t))&&l.push(s);if(i&&t.children.length>0&&0===l.length)return null}var c={};for(u in t)vm.call(t,u)&&(c[u]="children"===u?l:t[u]);return c}(e)}(a,(function(e){return e.position.start.line<=n+1&&e.position.end.line>=n+1}));r.children=i.children,!o.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||p.some((function(e){return o.toLowerCase().includes(e)}))||(r.properties.line=[(n+f).toString()],r.properties.className.push("line-number")),h(n)&&r.properties.className.push("highlight-line"),("diff"===u||null!=u&&u.includes("diff-"))&&"-"===gp(r).substring(0,1)?r.properties.className.push("deleted"):("diff"===u||null!=u&&u.includes("diff-"))&&"+"===gp(r).substring(0,1)&&r.properties.className.push("inserted")},g=Sm(d.entries());!(c=g()).done;)m();d.length>0&&""===gp(d[d.length-1]).trim()&&d.pop(),n.children=d}}}},Em=(Cm(ym.$),Cm(km.$)),Am="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",_m=new RegExp("^[^"+Am+"]*["+"\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]"),Qm=new RegExp("^[^\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc]*["+Am+"]");var Pm=xp();function Rm(e,t){var n,r,i=e.schema,o=e.language,a=e.direction,s=e.editableOrEditingHost;if(Pm(t)&&t.properties){var u=t.properties.xmlLang||t.properties.lang,l=t.properties.type||"text",c=Nm(t);void 0!==u&&null!==u&&(e.language=String(u),r=!0),i&&"html"===i.space?("true"===t.properties.contentEditable&&(e.editableOrEditingHost=!0,r=!0),bp(t,"svg")&&(e.schema=xf.YP,r=!0),"rtl"===c?n=c:"ltr"===c||"auto"!==c&&bp(t,"html")||"auto"!==c&&bp(t,"input")&&"tel"===l?n="ltr":("auto"===c||bp(t,"bdi"))&&(bp(t,"textarea")?n=Dm(gp(t)):!bp(t,"input")||"email"!==l&&"search"!==l&&"tel"!==l&&"text"!==l?Gh(t,(function(e){if("text"===e.type)return(n=Dm(e.value))?qh:null;if(e!==t&&(bp(e,["bdi","script","style","textare"])||Nm(e)))return Uh})):n=t.properties.value?Dm(t.properties.value):"ltr"),n&&(e.direction=n,r=!0)):e.editableOrEditingHost&&(e.editableOrEditingHost=!1,r=!0)}return r?function(){e.schema=i,e.language=o,e.direction=a,e.editableOrEditingHost=s}:Mm}function Dm(e){var t=function(e){var t=String(e||"");return _m.test(t)?"rtl":Qm.test(t)?"ltr":"neutral"}(e);return"neutral"===t?void 0:t}function Nm(e){var t=Pm(e)&&e.properties&&"string"===typeof e.properties.dir?e.properties.dir.toLowerCase():void 0;return"auto"===t||"ltr"===t||"rtl"===t?t:void 0}function Mm(){}var Im={}.hasOwnProperty,Lm=Vp("nestingOperator",{unknown:function(e){throw new Error("Unexpected nesting `"+e.nestingOperator+"`")},invalid:function(e,t,n,r,i){if(r||null===n)throw new Error("topScan is supposed to be called from the root node");if(!i.iterator)throw new Error("Expected `iterator`");i.iterator(e,t,n,r,i),i.shallow||Zm(e,t,n,r,i)},handlers:{null:Zm,">":$m,"+":function(e,t,n,r,i){if(!r||null===n)return;jm(e,r,i,n+1,!0)},"~":function(e,t,n,r,i){if(!r||null===n)return;jm(e,r,i,n+1)}}});function Fm(e,t,n,r,i){Lm(e,t,n,r,i)}function Zm(e,t,n,r,i){var o=i.iterator;i.iterator=function e(t,n,r,i,a){if(!o)throw new Error("Expected `iterator`");if(a.iterator=o,o(t,n,r,i,a),a.iterator=e,a.one&&a.found)return;$m(t,n,r,i,a)},$m(e,t,n,r,i)}function $m(e,t,n,r,i){(function(e){return Array.isArray(e.children)})(t)&&0!==t.children.length&&jm(e,t,i)}function jm(e,t,n,r,i){var o=n.index?function(e,t){var r=s,i=Im.call(l,e.tagName)?l[e.tagName]:0;p(e.tagName),c.push((function(){n.elementIndex=r,n.typeIndex=i,n.elementCount=s,n.typeCount=l[e.tagName],d(e,t)}))}:d,a=t.children,s=0,u=-1,l={},c=[];if(void 0!==r&&null!==r||(r=0),!(r>=a.length)){if(n.index)for(;++u<r;){var h=a[u];Pm(h)&&p(h.tagName)}for(u=r-1;++u<a.length;){var f=a[u];if(Pm(f)){if(o(f,u),n.one&&n.found)return;if(i)break}}if(n.index)for(u=-1;++u<c.length;)if(c[u](),n.one&&n.found)return}function d(r,i){var o=Rm(n,r);if(!n.iterator)throw new Error("Expected `iterator`");n.iterator(e,r,i,t,n),o()}function p(e){Im.call(l,e)||(l[e]=0),s++,l[e]++}}function Bm(e,t){return function(n,r){for(var i=Hm(n,"tag"),o=Hm(null===r||void 0===r?"*":r,"range"),a=[],s=-1;++s<o.length;){var u=o[s].toLowerCase();if(t||"*"!==u){for(var l=-1,c=[];++l<i.length;)if(e(i[l].toLowerCase(),u)){if(!t)return i[l];a.push(i[l])}else c.push(i[l]);i=c}}return t?a:void 0}}Bm((function(e,t){return"*"===t||e===t||e.includes(t+"-")}),!0);var zm=Bm((function(e,t){var n=e.split("-"),r=t.split("-"),i=0,o=0;if("*"!==r[o]&&n[i]!==r[o])return!1;for(i++,o++;o<r.length;)if("*"!==r[o]){if(!n[i])return!1;if(n[i]!==r[o]){if(1===n[i].length)return!1;i++}else i++,o++}else o++;return!0}),!0);Bm((function(e,t){for(var n=t;;){if("*"===n||e===n)return!0;var r=n.lastIndexOf("-");if(r<0)return!1;"-"===n.charAt(r-2)&&(r-=2),n=n.slice(0,r)}}),!1);function Hm(e,t){var n=e&&"string"===typeof e?[e]:e;if(!n||"object"!==typeof n||!("length"in n))throw new Error("Invalid "+t+" `"+n+"`, expected non-empty string");return n}var Wm=Vp("name",{unknown:function(e){if(e.name)throw new Error("Unknown pseudo-selector `"+e.name+"`");throw new Error("Unexpected pseudo-element or empty pseudo-class")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{any:qm,"any-link":function(e,t){return bp(t,["a","area","link"])&&pp(t,"href")},blank:function(e,t){return!Vm(t,(function(e){return"element"===e.type||"text"===e.type&&!Cf(e)}))},checked:function(e,t){if(bp(t,["input","menuitem"]))return Boolean(t.properties&&("checkbox"===t.properties.type||"radio"===t.properties.type)&&pp(t,"checked"));if(bp(t,"option"))return pp(t,"selected");return!1},dir:function(e,t,n,r,i){return i.direction===e.value},disabled:Xm,empty:function(e,t){return!Vm(t,(function(e){return"element"===e.type||"text"===e.type}))},enabled:function(e,t){return!Xm(e,t)},"first-child":function(e,t,n,r,i){return Ym(i,e),0===i.elementIndex},"first-of-type":function(e,t,n,r,i){return Ym(i,e),0===i.typeIndex},has:function(e,t,n,r,i){var o=i.shallow,a=i.one,s=i.scopeElements,u=function(e){var t="ruleSet"===e.type?{type:"selectors",selectors:[e]}:e,n=-1;for(;++n<t.selectors.length;){var r=t.selectors[n].rule;r.nestingOperator=null,r.pseudos&&1===r.pseudos.length&&"scope"===r.pseudos[0].name||(t.selectors[n]={type:"ruleSet",rule:{type:"rule",rule:r,pseudos:[{name:"scope"}]}})}return t}(e.value);i.shallow=!1,i.one=!0,i.scopeElements=[t];var l=rg(u,t,i).length>0;return i.shallow=o,i.one=a,i.scopeElements=s,l},lang:function(e,t,n,r,i){return""!==i.language&&void 0!==i.language&&null!==i.language&&zm(i.language,(0,Qf.Q)(e.value)).length>0},"last-child":function(e,t,n,r,i){return Ym(i,e),Boolean(i.elementCount&&i.elementIndex===i.elementCount-1)},"last-of-type":function(e,t,n,r,i){return Ym(i,e),"number"===typeof i.typeIndex&&"number"===typeof i.typeCount&&i.typeIndex===i.typeCount-1},matches:qm,not:function(e,t,n,r,i){return!qm(e,t,n,r,i)},"nth-child":function(e,t,n,r,i){return Ym(i,e),"number"===typeof i.elementIndex&&e.value(i.elementIndex)},"nth-last-child":function(e,t,n,r,i){return Ym(i,e),Boolean("number"===typeof i.elementCount&&"number"===typeof i.elementIndex&&e.value(i.elementCount-i.elementIndex-1))},"nth-of-type":function(e,t,n,r,i){return Ym(i,e),"number"===typeof i.typeIndex&&e.value(i.typeIndex)},"nth-last-of-type":function(e,t,n,r,i){return Ym(i,e),"number"===typeof i.typeCount&&"number"===typeof i.typeIndex&&e.value(i.typeCount-1-i.typeIndex)},"only-child":function(e,t,n,r,i){return Ym(i,e),1===i.elementCount},"only-of-type":function(e,t,n,r,i){return Ym(i,e),1===i.typeCount},optional:function(e,t){return!Gm(e,t)},"read-only":function(e,t,n,r,i){return!Jm(e,t,n,r,i)},"read-write":Jm,required:Gm,root:function(e,t,n,r,i){return Boolean((!r||"root"===r.type)&&i.schema&&("html"===i.schema.space||"svg"===i.schema.space)&&bp(t,["html","svg"]))},scope:function(e,t,n,r,i){return Boolean(bp(t)&&i.scopeElements&&i.scopeElements.includes(t))}}});function Um(e,t,n,r,i){for(var o=e.pseudos,a=-1;++a<o.length;)if(!Wm(o[a],t,n,r,i))return!1;return!0}function qm(e,t,n,r,i){var o=i.shallow,a=i.one;i.shallow=!0,i.one=!0;var s=rg(e.value,t,i)[0]===t;return i.shallow=o,i.one=a,s}function Xm(e,t){return bp(t,["button","input","select","textarea","optgroup","option","menuitem","fieldset"])&&pp(t,"disabled")}function Gm(e,t){return bp(t,["input","textarea","select"])&&pp(t,"required")}function Jm(e,t,n,r,i){return bp(t,["input","textarea"])?!pp(t,"readOnly")&&!pp(t,"disabled"):Boolean(i.editableOrEditingHost)}function Vm(e,t){for(var n=e.children,r=-1;++r<n.length;)if(t(n[r]))return!0;return!1}function Ym(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}Um.needsIndex=["first-child","first-of-type","last-child","last-of-type","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];var Km=Vp("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:function(e,t,n){return pp(t,n.property)},handlers:{"=":function(e,t,n){return Boolean(pp(t,n.property)&&t.properties&&eg(t.properties[n.property],n)===e.value)},"~=":function(e,t,n){var r=t.properties&&t.properties[n.property];return!n.commaSeparated&&r&&"object"===typeof r&&e.value&&r.includes(e.value)||pp(t,n.property)&&eg(r,n)===e.value},"|=":function(e,t,n){var r=eg(t.properties&&t.properties[n.property],n);return Boolean(pp(t,n.property)&&e.value&&(r===e.value||r.slice(0,e.value.length)===e.value&&"-"===r.charAt(e.value.length)))},"^=":function(e,t,n){return Boolean(pp(t,n.property)&&t.properties&&e.value&&eg(t.properties[n.property],n).slice(0,e.value.length)===e.value)},"$=":function(e,t,n){return Boolean(pp(t,n.property)&&t.properties&&e.value&&eg(t.properties[n.property],n).slice(-e.value.length)===e.value)},"*=":function(e,t,n){return Boolean(pp(t,n.property)&&t.properties&&e.value&&eg(t.properties[n.property],n).includes(e.value))}}});function eg(e,t){return"boolean"===typeof e?t.attribute:Array.isArray(e)?(t.commaSeparated?Qf.P:_f.P)(e):String(e)}function tg(e,t,n,r,i){return Boolean(Pm(t)&&i.schema&&(!e.tagName||function(e,t){return"*"===e.tagName||e.tagName===t.tagName}(e,t))&&(!e.classNames||function(e,t){var n=t.properties.className||[],r=-1;if(e.classNames)for(;++r<e.classNames.length;)if(!n.includes(e.classNames[r]))return!1;return!0}(e,t))&&(!e.id||function(e,t){return Boolean(t.properties&&t.properties.id===e.id)}(e,t))&&(!e.attrs||function(e,t,n){for(var r=e.attrs,i=-1;++i<r.length;)if(!Km(r[i],t,(0,Ef.s)(n,r[i].name)))return!1;return!0}(e,t,i.schema))&&(!e.pseudos||Um(e,t,n,r,i)))}var ng=Vp("type",{unknown:function(e){throw new Error("Unknown type `"+e.type+"`")},invalid:function(){throw new Error("Invalid type")},handlers:{selectors:function(e,t,n){var r=new ag(n.one),i=-1;for(;++i<e.selectors.length;)r.collectAll(ig(e.selectors[i],t,n));return r.result},ruleSet:ig,rule:og}});function rg(e,t,n){return e&&t?ng(e,t,n):[]}function ig(e,t,n){return og(e.rule,t,n)}function og(e,t,n){var r=new ag(n.one);if(n.shallow&&e.rule)throw new Error("Expected selector without nesting");return Fm(e,t,0,null,i(e,{schema:"svg"===n.space?xf.YP:xf.dy,language:void 0,direction:"ltr",editableOrEditingHost:!1,scopeElements:"root"===t.type?t.children:[t],iterator:function(e,t,n,o,a){var s=Rm(a,t);tg(e,t,n,o,a)&&(e.rule?Fm(e.rule,t,n,o,i(e.rule,a)):(r.collect(t),a.found=!0));s()},one:n.one,shallow:n.shallow})),r.result;function i(e,t){for(var n=e.pseudos||[],r=-1;++r<n.length;)if(Um.needsIndex.includes(n[r].name)){t.index=!0;break}return t}}var ag=function(){function e(t){(0,Vr.Z)(this,e),this.result=[],this.one=t,this.found=!1}return(0,Yr.Z)(e,[{key:"collectAll",value:function(e){for(var t=-1;++t<e.length;)this.collect(e[t])}},{key:"collect",value:function(e){if(this.one){if(this.found)return;this.found=!0}this.result.includes(e)||this.result.push(e)}}]),e}(),sg=n(861),ug=new Set([9,10,12,13,32]),lg="0".charCodeAt(0),cg="9".charCodeAt(0);var hg=n(1692);function fg(e){return function(e){var t=e[0],n=e[1]-1;if(n<0&&t<=0)return hg.falseFunc;if(-1===t)return function(e){return e<=n};if(0===t)return function(e){return e===n};if(1===t)return n<0?hg.trueFunc:function(e){return e>=n};var r=Math.abs(t),i=(n%r+r)%r;return t>1?function(e){return e>=n&&e%r===i}:function(e){return e<=n&&e%r===i}}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];var t=0,n=0,r=o(),i=a();if(t<e.length&&"n"===e.charAt(t)&&(t++,n=r*(null!==i&&void 0!==i?i:1),s(),t<e.length?(r=o(),s(),i=a()):r=i=0),null===i||t<e.length)throw new Error("n-th rule couldn't be parsed ('".concat(e,"')"));return[n,r*i];function o(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function a(){for(var n=t,r=0;t<e.length&&e.charCodeAt(t)>=lg&&e.charCodeAt(t)<=cg;)r=10*r+(e.charCodeAt(t)-lg),t++;return t===n?null:r}function s(){for(;t<e.length&&ug.has(e.charCodeAt(t));)t++}}(e))}var dg=fg.default||fg,pg=new Set(["nth-child","nth-last-child","nth-of-type","nth-last-of-type"]),mg=new sg.N,gg=Vp("type",{handlers:{selectors:function(e){var t=-1;for(;++t<e.selectors.length;)gg(e.selectors[t]);return e},ruleSet:function(e){return vg(e.rule)},rule:vg}});function vg(e){for(var t=e.pseudos||[],n=-1;++n<t.length;){var r=t[n];pg.has(r.name)&&(r.value=dg(r.value),r.valueType="function")}return gg(e.rule),e}function Og(e,t,n){return rg(function(e){if("string"!==typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return gg(mg.parse(e))}(e),t,{space:n})}mg.registerAttrEqualityMods("~","|","^","$","*"),mg.registerSelectorPseudos("any","matches","not","has"),mg.registerNestingOperators(">","+","~");var yg=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.forEach((function(t){"text"===t.type?n+=t.value:"element"===t.type&&t.children&&Array.isArray(t.children)&&(n+=e(t.children))})),n},kg=function(e){var t=e||{},n=t.selector,r=t.rewrite;return function(e){if(r&&"function"===typeof r)if(n&&"string"===typeof n){var t=Og(n,e);t&&t.length>0&&Gh(e,t,(function(e,t,n){r(e,t,n)}))}else Gh(e,(function(e,t,n){r(e,t,n)}))}},bg={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]},xg=n(8497),Tg=n.n(xg);var wg=function(e){return void 0===e&&(e={}),function(e){Gh(e,(function(e){"element"===e.type&&"code"===e.tagName&&e.data&&e.data.meta&&(e.properties=te({},e.properties,{"data-meta":String(e.data.meta)}))}))}},Sg=["prefixCls","className","source","style","disableCopy","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","warpperElement"],Cg=V.forwardRef((function(e,t){var n=e.prefixCls,r=void 0===n?"wmde-markdown wmde-markdown-color":n,i=e.className,o=e.source,a=e.style,s=e.disableCopy,u=void 0!==s&&s,l=e.onScroll,c=e.onMouseOver,h=e.pluginsFilter,f=e.rehypeRewrite,d=e.warpperElement,p=void 0===d?{}:d,m=Xe(e,Sg),g=V.createRef();(0,V.useImperativeHandle)(t,(function(){return te({},e,{mdp:g})}),[g,e]);var v=(r||"")+" "+(i||""),O=[wg,[Em,{ignoreMissing:!0}],cm,kp,Ep,gm,[kg,{rewrite:function(e,t,n){if("element"===e.type&&n&&"root"===n.type&&/h(1|2|3|4|5|6)/.test(e.tagName)){var r=e.children&&e.children[0];r&&r.properties&&"true"===r.properties.ariaHidden&&(r.properties=te({class:"anchor"},r.properties),r.children=[bg])}if("element"===e.type&&"pre"===e.tagName&&!u){var i=yg(e.children);e.children.push((void 0===(o=i)&&(o=""),{type:"element",tagName:"div",properties:{onClick:function(e){var t=e.currentTarget||e.target;t.classList.add("active"),Tg()(t.dataset.code,(function(){setTimeout((function(){t.classList.remove("active")}),2e3)}))},"data-code":o,class:"copied"},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}))}var o;f&&f(e,t,n)}}],[mm,{properties:"attr"}]].concat((0,rt.Z)(m.rehypePlugins||[])),y={allowElement:function(e,t,n){return m.allowElement?m.allowElement(e,t,n):/^[A-Za-z0-9]+$/.test(e.tagName)}},k=[].concat((0,rt.Z)(m.remarkPlugins||[]),[hp]);return(0,Ge.jsx)("div",te({ref:g,onScroll:l,onMouseOver:c},p,{className:v,style:a,children:(0,Ge.jsx)(jf,te({},m,y,{rehypePlugins:h?h("rehype",O):O,remarkPlugins:h?h("remark",k):k,children:o||""}))}))})),Eg={name:"bold",keyCommand:"bold",button:{"aria-label":"Add bold text"},icon:(0,Ge.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 384 512",children:(0,Ge.jsx)("path",{fill:"currentColor",d:"M304.793 243.891c33.639-18.537 53.657-54.16 53.657-95.693 0-48.236-26.25-87.626-68.626-104.179C265.138 34.01 240.849 32 209.661 32H24c-8.837 0-16 7.163-16 16v33.049c0 8.837 7.163 16 16 16h33.113v318.53H24c-8.837 0-16 7.163-16 16V464c0 8.837 7.163 16 16 16h195.69c24.203 0 44.834-1.289 66.866-7.584C337.52 457.193 376 410.647 376 350.014c0-52.168-26.573-91.684-71.207-106.123zM142.217 100.809h67.444c16.294 0 27.536 2.019 37.525 6.717 15.828 8.479 24.906 26.502 24.906 49.446 0 35.029-20.32 56.79-53.029 56.79h-76.846V100.809zm112.642 305.475c-10.14 4.056-22.677 4.907-31.409 4.907h-81.233V281.943h84.367c39.645 0 63.057 25.38 63.057 63.057.001 28.425-13.66 52.483-34.782 61.284z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&n.dispatch(n.state.changeByRange((function(e){return{changes:[{from:e.from,insert:"**"},{from:e.to,insert:"**"}],range:_o.jT.range(e.from+2,e.to+2)}})))}},Ag={name:"italic",keyCommand:"italic",button:{"aria-label":"Add italic text"},icon:(0,Ge.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 320 512",children:(0,Ge.jsx)("path",{fill:"currentColor",d:"M204.758 416h-33.849l62.092-320h40.725a16 16 0 0 0 15.704-12.937l6.242-32C297.599 41.184 290.034 32 279.968 32H120.235a16 16 0 0 0-15.704 12.937l-6.242 32C96.362 86.816 103.927 96 113.993 96h33.846l-62.09 320H46.278a16 16 0 0 0-15.704 12.935l-6.245 32C22.402 470.815 29.967 480 40.034 480h158.479a16 16 0 0 0 15.704-12.935l6.245-32c1.927-9.88-5.638-19.065-15.704-19.065z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&n.dispatch(n.state.changeByRange((function(e){return{changes:[{from:e.from,insert:"*"},{from:e.to,insert:"*"}],range:_o.jT.range(e.from+1,e.to+1)}})))}},_g={name:"header",keyCommand:"header",button:{"aria-label":"Add header text"},icon:(0,Ge.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"13",width:"13",children:(0,Ge.jsx)("path",{d:"M448 448c0 17.69-14.33 32-32 32h-96c-17.67 0-32-14.31-32-32s14.33-32 32-32h16V272H112v144h16c17.67 0 32 14.31 32 32s-14.33 32-32 32H32c-17.67 0-32-14.31-32-32s14.33-32 32-32h16V96H32C14.33 96 0 81.69 0 64s14.33-32 32-32h96c17.67 0 32 14.31 32 32s-14.33 32-32 32h-16v112h224V96h-16c-17.67 0-32-14.31-32-32s14.33-32 32-32h96c17.67 0 32 14.31 32 32s-14.33 32-32 32h-16v320h16c17.7 0 32 14.3 32 32z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="#",o=r.text.match(/^#+/);if(o&&o[0]){var a=o[0];a.length<6&&(i=a+"#")}i.length>6&&(i="#");var s=r.text.replace(/^#+/,"");n.dispatch({changes:{from:r.from,to:r.to,insert:i+" "+s},selection:{anchor:r.from+i.length+1}})}}},Qg={name:"strike",keyCommand:"strike",button:{"aria-label":"Add strike text"},icon:(0,Ge.jsx)("svg",{fill:"currentColor",viewBox:"0 0 512 512",height:"14",width:"14",children:(0,Ge.jsx)("path",{d:"M332.2 319.9c17.22 12.17 22.33 26.51 18.61 48.21-3.031 17.59-10.88 29.34-24.72 36.99-35.44 19.75-108.5 11.96-186-19.68-16.34-6.686-35.03 1.156-41.72 17.53s1.188 35.05 17.53 41.71c31.75 12.93 95.69 35.37 157.6 35.37 29.62 0 58.81-5.156 83.72-18.96 30.81-17.09 50.44-45.46 56.72-82.11 3.998-23.27 2.168-42.58-3.488-59.05H332.2zm155.8-80-176.5-.03c-15.85-5.614-31.83-10.34-46.7-14.62-85.47-24.62-110.9-39.05-103.7-81.33 2.5-14.53 10.16-25.96 22.72-34.03 20.47-13.15 64.06-23.84 155.4.343 17.09 4.53 34.59-5.654 39.13-22.74 4.531-17.09-5.656-34.59-22.75-39.12-91.31-24.18-160.7-21.62-206.3 7.654C121.8 73.72 103.6 101.1 98.09 133.1c-8.83 51.4 9.81 84.2 39.11 106.8H24c-13.25 0-24 10.75-24 23.1 0 13.25 10.75 23.1 24 23.1h464c13.25 0 24-10.75 24-23.1 0-12.3-10.7-23.1-24-23.1z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&n.dispatch(n.state.changeByRange((function(e){return{changes:[{from:e.from,insert:"~~"},{from:e.to,insert:"~~"}],range:_o.jT.range(e.from+2,e.to+2)}})))}},Pg={name:"underline",keyCommand:"underline",button:{"aria-label":"Add underline text"},icon:(0,Ge.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"13",width:"13",children:(0,Ge.jsx)("path",{d:"M416 448H32c-17.69 0-32 14.31-32 32s14.31 32 32 32h384c17.69 0 32-14.31 32-32s-14.3-32-32-32zM48 64.01h16v160c0 88.22 71.78 159.1 160 159.1s160-71.78 160-159.1v-160h16c17.69 0 32-14.32 32-32S417.69.91 400 .91l-96-.005c-17.69 0-32 14.32-32 32s14.31 32 32 32h16v160c0 52.94-43.06 95.1-96 95.1S128 276.1 128 224V64h16c17.69 0 32-14.31 32-32S161.69 0 144 0L48 .005c-17.69 0-32 14.31-32 31.1S30.31 64.01 48 64.01z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&n.dispatch(n.state.changeByRange((function(e){return{changes:[{from:e.from,insert:"<u>"},{from:e.to,insert:"</u>"}],range:_o.jT.range(e.from+3,e.to+3)}})))}},Rg={name:"olist",keyCommand:"olist",button:{"aria-label":"Add olist text"},icon:(0,Ge.jsx)("svg",{viewBox:"0 0 576 512",height:"14",width:"14",children:(0,Ge.jsx)("path",{fill:"currentColor",d:"M55.1 56.04c0-13.26 11.64-24 24-24h32c14.2 0 24 10.74 24 24V176h16c14.2 0 24 10.8 24 24 0 13.3-9.8 24-24 24h-80c-12.36 0-24-10.7-24-24 0-13.2 11.64-24 24-24h16V80.04h-8c-12.36 0-24-10.75-24-24zm63.6 285.16c-6.6-7.4-18.3-6.9-24.05 1.2l-11.12 15.5c-7.7 10.8-22.69 13.3-33.48 5.6-10.79-7.7-13.28-22.7-5.58-33.4l11.12-15.6c23.74-33.3 72.31-35.7 99.21-4.9 21.3 23.5 20.8 60.9-1.1 84.7L118.8 432H152c13.3 0 24 10.7 24 24s-10.7 24-24 24H64c-9.53 0-18.16-5.6-21.98-14.4-3.83-8.7-2.12-18.9 4.34-25.9l72.04-78c5.3-5.8 5.4-14.6.3-20.5zM512 64c17.7 0 32 14.33 32 32 0 17.7-14.3 32-32 32H256c-17.7 0-32-14.3-32-32 0-17.67 14.3-32 32-32h256zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32s14.3-32 32-32h256zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32s14.3-32 32-32h256z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="- ",o=r.text.match(/^-/);o&&o[0]&&(i=""),n.dispatch({changes:{from:r.from,to:r.to,insert:""+i+r.text},selection:{anchor:n.state.selection.main.from+i.length}})}}},Dg={name:"ulist",keyCommand:"ulist",button:{"aria-label":"Add ulist text"},icon:(0,Ge.jsx)("svg",{viewBox:"0 0 512 512",height:"14",width:"14",children:(0,Ge.jsx)("path",{fill:"currentColor",d:"M88 48c13.3 0 24 10.75 24 24v48c0 13.3-10.7 24-24 24H40c-13.25 0-24-10.7-24-24V72c0-13.25 10.75-24 24-24h48zm392 16c17.7 0 32 14.33 32 32 0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32 0-17.67 14.3-32 32-32h288zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32h288zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32h288zM16 232c0-13.3 10.75-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H40c-13.25 0-24-10.7-24-24v-48zm72 136c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H40c-13.25 0-24-10.7-24-24v-48c0-13.3 10.75-24 24-24h48z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="1. ",o=r.text.match(/^\1\./);o&&o[0]&&(i=""),n.dispatch({changes:{from:r.from,to:r.to,insert:""+i+r.text},selection:{anchor:n.state.selection.main.from+i.length}})}}},Ng={name:"quote",keyCommand:"quote",button:{"aria-label":"Add quote text"},icon:(0,Ge.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"15",width:"15",children:(0,Ge.jsx)("path",{d:"M96 96c-53.02 0-96 42.1-96 96s42.98 96 96 96c11.28 0 21.95-2.305 32-5.879V288c0 35.3-28.7 64-64 64-17.67 0-32 14.33-32 32s14.33 32 32 32c70.58 0 128-57.42 128-128v-96c0-53.9-43-96-96-96zm352 96c0-53.02-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96c11.28 0 21.95-2.305 32-5.879V288c0 35.3-28.7 64-64 64-17.67 0-32 14.33-32 32s14.33 32 32 32c70.58 0 128-57.42 128-128v-96z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="> ",o=r.text.match(/^>\s/);o&&o[0]&&(i=""),n.dispatch({changes:{from:r.from,to:r.to,insert:""+i+r.text},selection:{anchor:n.state.selection.main.from+i.length}})}}},Mg={name:"link",keyCommand:"link",button:{"aria-label":"Add link text"},icon:(0,Ge.jsx)("svg",{fill:"currentColor",viewBox:"0 0 640 512",height:"16",width:"16",children:(0,Ge.jsx)("path",{d:"M172.5 131.1c55.6-55.59 148-55.59 203.6 0 50 50 57.4 129.7 16.3 187.2l-1.1 1.6c-10.3 14.3-30.3 17.7-44.6 7.4-14.4-10.3-17.8-30.3-7.5-44.6l1.1-1.6c22.9-32.1 19.3-76-8.6-103.9-31.4-31.4-82.5-31.4-114 0L105.5 289.5c-31.51 30.6-31.51 82.5 0 114 27.8 27.9 71.8 31.5 103.8 8.6l1.6-2c14.4-9.4 34.4-6.1 44.6 8.3 10.3 14.4 7 34.4-7.4 44.7l-1.6 1.1c-58.4 41.1-136.3 34.5-186.29-15.4-56.469-56.5-56.469-148.1 0-204.5L172.5 131.1zm295 248.9c-56.5 56.5-148 56.5-204.5 0-50-50-56.5-128.8-15.4-186.3l1.1-1.6c9.4-14.3 29.4-17.7 44.6-7.4 14.4 9.4 17.8 29.4 7.5 44.6l-1.1 1.6c-22.9 31.2-19.3 76 8.6 103.9 31.4 31.4 82.5 31.4 114 0l112.2-112.3c31.5-31.5 31.5-83.4 0-114-27.8-27.87-71.8-31.51-103.8-8.6l-1.6 1.1c-14.4 10.3-34.4 6.1-44.6-7.42-10.3-14.38-7-34.37 7.4-44.64l1.6-1.12C451 6.731 529.8 13.25 579.8 63.24c56.5 56.46 56.5 148.06 0 204.46L467.5 380z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n&&t&&n){var r=n.state.selection.main,i=n.state.sliceDoc(n.state.selection.main.from,n.state.selection.main.to);n.dispatch({changes:{from:r.from,to:r.to,insert:"["+i+"]()"},selection:_o.jT.range(r.from+3+i.length,r.to+3)})}}},Ig={name:"todo",keyCommand:"todo",button:{"aria-label":"Add todo List"},icon:(0,Ge.jsx)("svg",{fill:"currentColor",viewBox:"0 0 512 512",height:"14",width:"14",children:(0,Ge.jsx)("path",{d:"M152.1 38.16c9.8 8.87 10.6 24.04 1.7 33.9L81.84 152.1c-4.41 4.8-10.63 7.7-17.21 7-6.58 1.1-12.94-1.5-17.6-7l-40.001-40c-9.372-8.5-9.372-23.7 0-33.07 9.371-9.37 24.571-9.37 33.941 0l22.11 22.07 55.12-61.16c8.8-9.85 24-10.65 33.9-1.78zm0 160.04c9.8 8.8 10.6 24 1.7 33.9l-71.96 80c-4.41 4.8-10.63 7.7-17.21 7-6.58 1.1-12.94-1.5-17.6-7l-40.001-40c-9.372-8.5-9.372-23.7 0-33.1 9.371-9.3 24.571-9.3 33.941 0l22.11 22.1 55.12-61.2c8.8-9.8 24-10.6 33.9-1.7zM224 96c0-17.67 14.3-32 32-32h224c17.7 0 32 14.33 32 32 0 17.7-14.3 32-32 32H256c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32h224c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32zm-64 160c0-17.7 14.3-32 32-32h288c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32zM0 416c0-26.5 21.49-48 48-48s48 21.5 48 48-21.49 48-48 48-48-21.5-48-48z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.doc.lineAt(n.state.selection.main.from),i="- [ ] ",o=r.text.match(/^-\s\[\s\]\s/);o&&o[0]&&(i=""),n.dispatch({changes:{from:r.from,to:r.to,insert:""+i+r.text},selection:{anchor:n.state.selection.main.from+i.length}})}}},Lg={name:"image",keyCommand:"image",button:{"aria-label":"Add image text"},icon:(0,Ge.jsx)("svg",{fill:"currentColor",viewBox:"0 0 16 16",height:"14",width:"14",children:(0,Ge.jsx)("path",{fillRule:"evenodd",d:"M1.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h.94a.76.76 0 0 1 .03-.03l6.077-6.078a1.75 1.75 0 0 1 2.412-.06L14.5 10.31V2.75a.25.25 0 0 0-.25-.25H1.75zm12.5 11H4.81l5.048-5.047a.25.25 0 0 1 .344-.009l4.298 3.889v.917a.25.25 0 0 1-.25.25zm1.75-.25V2.75A1.75 1.75 0 0 0 14.25 1H1.75A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25zM5.5 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zM7 6a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"})}),execute:function(e){var t=e.state,n=e.view;if(t&&n){var r=n.state.selection.main,i=n.state.sliceDoc(n.state.selection.main.from,n.state.selection.main.to);n.dispatch({changes:{from:r.from,to:r.to,insert:""},selection:_o.jT.range(r.from+4,r.to+4)})}}},Fg={name:"redo",keyCommand:"redo",button:{"aria-label":"redo text"},icon:(0,Ge.jsx)("svg",{viewBox:"0 0 512 512",height:"14",width:"14",children:(0,Ge.jsx)("path",{fill:"currentColor",d:"M58.79,439.13A16,16,0,0,1,48,424c0-73.1,14.68-131.56,43.65-173.77,35-51,90.21-78.46,164.35-81.87V88a16,16,0,0,1,27.05-11.57l176,168a16,16,0,0,1,0,23.14l-176,168A16,16,0,0,1,256,424V344.23c-45,1.36-79,8.65-106.07,22.64-29.25,15.12-50.46,37.71-73.32,67a16,16,0,0,1-17.82,5.28Z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&Uo(n)}},Zg={name:"undo",keyCommand:"undo",button:{"aria-label":"undo text"},icon:(0,Ge.jsx)("svg",{viewBox:"0 0 512 512",height:"14",width:"14",children:(0,Ge.jsx)("path",{fill:"currentColor",d:"M448,440a16,16,0,0,1-12.61-6.15c-22.86-29.27-44.07-51.86-73.32-67C335,352.88,301,345.59,256,344.23V424A16,16,0,0,1,229,435.57l-176-168a16,16,0,0,1,0-23.14l176-168A16,16,0,0,1,256,88v80.36c74.14,3.41,129.38,30.91,164.35,81.87C449.32,292.44,464,350.9,464,424a16,16,0,0,1-16,16Z"})}),execute:function(e){var t=e.state,n=e.view;t&&n&&Wo(n)}},$g=function(e){var t=e.editorProps,n=(0,V.useRef)(0),r=(0,V.useState)(!1),i=(0,ee.Z)(r,2),o=i[0],a=i[1];return(0,V.useEffect)((function(){if(t.containerEditor&&t.containerEditor.current&&t.containerEditor.current.parentElement){var e=t.containerEditor.current.parentElement;new ResizeObserver((function(e){var r,i=(0,K.Z)(e);try{for(i.s();!(r=i.n()).done;){var a,s,u,l=r.value;n.current||(n.current=l.target.clientHeight),null!=(a=t.editor)&&null!=(s=a.current)&&null!=(u=s.view)&&u.dom&&(o?t.editor.current.view.dom.style.height=l.target.clientHeight+"px":t.editor.current.view.dom.removeAttribute("style"))}}catch(c){i.e(c)}finally{i.f()}})).observe(e)}}),[t.containerEditor,t.editor,o]),(0,V.useEffect)((function(){if(document&&t&&t.container&&t.container.current&&t.editor){var e=t.container.current;document.body.style.overflow=o?"hidden":"initial",e&&o?(e.style.zIndex="999",e.style.position="fixed",e.style.top="0px",e.style.bottom="0px",e.style.left="0px",e.style.right="0px"):e&&(e.style.position="initial",e.style.top="initial",e.style.bottom="initial",e.style.left="initial",e.style.right="initial")}}),[o,t]),(0,Ge.jsx)("button",{onClick:function(){return a(!o)},type:"button",className:o?"active":"",children:e.command.icon})},jg={name:"fullscreen",keyCommand:"fullscreen",button:function(e,t,n){return(0,Ge.jsx)($g,{command:e,editorProps:te({},t,n)})},icon:(0,Ge.jsx)("svg",{fill:"currentColor",viewBox:"0 0 448 512",height:"15",width:"15",children:(0,Ge.jsx)("path",{d:"M128 32H32C14.31 32 0 46.31 0 64v96c0 17.69 14.31 32 32 32s32-14.31 32-32V96h64c17.69 0 32-14.31 32-32s-14.3-32-32-32zm288 0h-96c-17.69 0-32 14.31-32 32s14.31 32 32 32h64v64c0 17.69 14.31 32 32 32s32-14.31 32-32V64c0-17.69-14.3-32-32-32zM128 416H64v-64c0-17.69-14.31-32-32-32S0 334.31 0 352v96c0 17.69 14.31 32 32 32h96c17.69 0 32-14.31 32-32s-14.3-32-32-32zm288-96c-17.69 0-32 14.31-32 32v64h-64c-17.69 0-32 14.31-32 32s14.31 32 32 32h96c17.69 0 32-14.31 32-32v-96c0-17.7-14.3-32-32-32z"})})},Bg=function(e){var t=e.editorProps,n=t.containerEditor,r=t.preview,i=t.previewWidth,o=void 0===i?"50%":i,a=(0,V.useState)(e.editorProps.visible),s=(0,ee.Z)(a,2),u=s[0],l=s[1];return(0,V.useEffect)((function(){return l(e.editorProps.visible)}),[e.editorProps.visible]),(0,V.useEffect)((function(){if(r.current){var e=r.current;r&&(e.style.borderBottomRightRadius="3px"),e&&u?(e.style.width=o,e.style.overflow="auto","100%"!==o&&(e.style.borderLeft="1px solid var(--color-border-muted)"),e.style.padding="20px",n.current&&(n.current.style.width="calc(100% - "+o+")")):e&&(e.style.width="0%",e.style.overflow="hidden",e.style.borderLeft="0px",e.style.padding="0",n.current&&(n.current.style.width="100%"))}}),[u,n,r,o]),(0,Ge.jsx)("button",{onClick:function(){return l(!u)},type:"button",className:u?"active":"",children:e.command.icon})},zg={name:"preview",keyCommand:"preview",button:function(e,t,n){return(0,Ge.jsx)(Bg,{command:e,editorProps:te({},t,n)})},icon:(0,Ge.jsx)("svg",{fill:"currentColor",viewBox:"0 0 576 512",height:"16",width:"16",children:(0,Ge.jsx)("path",{d:"M279.6 160.4c2.8-.3 5.6-.4 8.4-.4 53 0 96 42.1 96 96 0 53-43 96-96 96-53.9 0-96-43-96-96 0-2.8.1-5.6.4-8.4 9.3 4.5 20.1 8.4 31.6 8.4 35.3 0 64-28.7 64-64 0-11.5-3.9-22.3-8.4-31.6zm201-47.8c46.8 43.4 78.1 94.5 92.9 131.1 3.3 7.9 3.3 16.7 0 24.6-14.8 35.7-46.1 86.8-92.9 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.58-80.6C48.62 355.1 17.34 304 2.461 268.3a31.967 31.967 0 0 1 0-24.6C17.34 207.1 48.62 156 95.42 112.6 142.5 68.84 207.2 32 288 32c80.8 0 145.5 36.84 192.6 80.6zM288 112c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144z"})})},Hg={undo:Zg,redo:Fg,bold:Eg,italic:Ag,header:_g,strike:Qg,underline:Pg,quote:Ng,olist:Rg,ulist:Dg,todo:Ig,link:Mg,image:Lg,fullscreen:jg,preview:zg},Wg=function(){return Object.keys(Hg).filter((function(e){return!/^(fullscreen|preview)/.test(e)})).map((function(e){return Hg[e]}))},Ug=function(){return[zg,jg]},qg=["prefixCls","className","onClick","toolbars","editor","mode","preview","container","containerEditor","editorProps"];function Xg(e){var t=e.prefixCls,n=void 0===t?"md-editor":t,r=e.className,i=e.toolbars,o=void 0===i?[]:i,a=e.editor,s=e.mode,u=e.preview,l=e.container,c=e.containerEditor,h=e.editorProps,f=void 0===h?{}:h,d=Xe(e,qg);if(!o||0===o.length)return null;return(0,Ge.jsx)("div",te({className:n+"-toolbar "+(r||"")+" "+(s?n+"-toolbar-mode":"")},d,{children:(0,rt.Z)(o).map((function(e,t){var n={type:"button"},r="string"===typeof e?Hg[e]:e;if(!r)return null;if(n.children=r.icon,n.onClick=function(){var e;(e=r.execute)&&a&&a&&e(a.current)},r.button&&"object"===typeof r.button){var i=r.button;Object.keys(i).forEach((function(e){n[e]=i[e]}))}else if("function"===typeof r.button)return V.cloneElement(r.button(r,f,{preview:u,container:l,containerEditor:c,editor:a,editorProps:f}),{key:t});return(0,V.createElement)("button",te({},n,{key:t}))}))}))}var Gg=function(e){var t=e.theme,n=e.settings,r=e.styles,i={"&":{backgroundColor:n.background,color:n.foreground},".cm-gutters":{}};n.gutterBackground&&(i[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(i[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(i[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(i[".cm-content"]={caretColor:n.caret},i[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret}),n.lineHighlight&&(i[".cm-activeLine"]={backgroundColor:n.lineHighlight},i[".cm-activeLineGutter"]={backgroundColor:n.lineHighlight}),n.selection&&(i["&.cm-focused .cm-selectionBackground .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, ::selection"]={backgroundColor:n.selection}),n.selectionMatch&&(i["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var o=Ao.tk.theme(i,{dark:"dark"===t}),a=wo.Qf.define(r);return[o,(0,wo.nF)(a)]},Jg=Gg({theme:"light",settings:{background:"var(--color-canvas-subtle)",foreground:"var(--color-fg-default)",caret:"var(--color-fg-default)",selection:"var(--color-border-default)",selectionMatch:"var(--color-border-muted)",lineHighlight:"var(--color-neutral-muted)",gutterBackground:"var(--color-canvas-subtle)",gutterForeground:"var(--color-fg-muted)",gutterBorder:"var(--color-border-muted)"},styles:[{tag:Lu.pJ.comment,color:"var(--color-prettylights-syntax-comment)"},{tag:Lu.pJ.variableName,color:"var(--color-prettylights-syntax-variable)"},{tag:[Lu.pJ.string,Lu.pJ.special(Lu.pJ.brace)],color:"var(--color-prettylights-syntax-entity)"},{tag:Lu.pJ.number,color:"var(--color-prettylights-syntax-variable)"},{tag:[Lu.pJ.bool,Lu.pJ.null],color:"var(--color-prettylights-syntax-entity)"},{tag:Lu.pJ.keyword,color:"var(--color-prettylights-syntax-keyword)",fontWeight:"bold"},{tag:Lu.pJ.string,color:"var(--color-prettylights-syntax-string)"},{tag:Lu.pJ.operator,color:"var(--color-accent-emphasis)"},{tag:Lu.pJ.deleted,color:"var(--color-prettylights-syntax-markup-deleted-bg)"},{tag:Lu.pJ.deleted,color:"red"},{tag:Lu.pJ.className,color:"var(--color-prettylights-syntax-variable)"},{tag:Lu.pJ.definition(Lu.pJ.typeName),color:"var(--color-prettylights-syntax-entity)"},{tag:Lu.pJ.typeName,color:"var(--color-prettylights-syntax-entity)"},{tag:Lu.pJ.list,color:"var(--color-prettylights-syntax-markup-list)"},{tag:Lu.pJ.heading,color:"var(--color-prettylights-syntax-markup-heading)",fontWeight:"bold"},{tag:Lu.pJ.regexp,color:"var(--color-prettylights-syntax-string-regexp)"},{tag:Lu.pJ.literal,color:"var(--color-prettylights-syntax-markup-italic)"},{tag:Lu.pJ.link,color:"var(--color-prettylights-syntax-constant-other-reference-link)",textDecoration:"underline"},{tag:Lu.pJ.angleBracket,color:"var(--color-fg-default)"},{tag:Lu.pJ.tagName,color:"var(--color-prettylights-syntax-entity-tag)"},{tag:Lu.pJ.attributeName,color:"var(--color-prettylights-syntax-constant)"}]}),Vg=["prefixCls","className","onChange","toolbars","toolbarsMode","visible","renderPreview","visibleEditor","hideToolbar","previewProps","extensions","previewWidth","reExtensions"],Yg=Ao.tk.theme({"&.cm-editor, & .cm-scroller":{borderBottomRightRadius:"3px",borderBottomLeftRadius:"3px"}}),Kg=V.forwardRef(tv);Kg.Markdown=Cg;var ev=Kg;function tv(e,t){var n=e.prefixCls,r=void 0===n?"md-editor":n,i=e.className,o=e.onChange,a=e.toolbars,s=void 0===a?Wg():a,u=e.toolbarsMode,l=void 0===u?Ug():u,c=e.visible,h=void 0===c||c,f=e.renderPreview,d=e.visibleEditor,p=void 0===d||d,m=e.hideToolbar,g=void 0===m||m,v=e.previewProps,O=void 0===v?{}:v,y=e.extensions,k=void 0===y?[]:y,b=e.previewWidth,x=void 0===b?"50%":b,T=e.reExtensions,w=Xe(e,Vg),S=(0,V.useState)(e.value||""),C=(0,ee.Z)(S,2),E=C[0],A=C[1],_=(0,V.useRef)(null),Q=(0,V.useRef)(null),P=(0,V.useRef)(null),R=(0,V.useRef)(null);(0,V.useImperativeHandle)(t,(function(){return{editor:_,preview:R}}),[_]);var D={preview:R,editor:_,container:Q,containerEditor:P,editorProps:te({},e,{previewWidth:x})},N="number"===typeof w.height?w.height+"px":w.height,M=T||[(0,To.markdown)({base:To.markdownLanguage,codeLanguages:Eo}),Yg].concat((0,rt.Z)(k)),I=r+"-preview",L=[r,"wmde-markdown-var",i].filter(Boolean).join(" ");O.source=E;return(0,Ge.jsxs)("div",{className:L,ref:Q,children:[g&&(0,Ge.jsxs)("div",{className:r+"-toolbar-warp",children:[(0,Ge.jsx)(Xg,te({},D,{toolbars:s})),(0,Ge.jsx)(Xg,te({},D,{toolbars:l,mode:!0}))]}),(0,Ge.jsxs)("div",{className:r+"-content",style:{height:w.height},children:[(0,Ge.jsx)("div",{className:r+"-content-editor",ref:P,children:p&&(0,Ge.jsx)(al,te({theme:Jg},w,{extensions:M,height:N,ref:_,onChange:function(e,t){A(e),o&&o(e,t)}}))}),(0,Ge.jsx)("div",{className:I,ref:R,children:f?f(O,!!h):(0,Ge.jsx)(Cg,te({},O,{"data-visible":!!h}))})]})]})}var nv,rv,iv,ov,av,sv,uv,lv=Gg({theme:"dark",settings:{background:"#0f0f0f",foreground:"#defdef",caret:"#00FF00",selection:"#515151",selectionMatch:"#515151",gutterBackground:"#555",gutterForeground:"#FFFFFF",lineHighlight:"#314151"},styles:[{tag:Lu.pJ.keyword,color:"darkgoldenrod",fontWeight:"bold"},{tag:Lu.pJ.atom,color:"#77F"},{tag:Lu.pJ.comment,color:"#7a7b7c",fontStyle:"italic"},{tag:Lu.pJ.number,color:"violet"},{tag:Lu.pJ.definition(Lu.pJ.variableName),color:"#fffabc"},{tag:Lu.pJ.variableName,color:"#abcdef"},{tag:Lu.pJ.function(Lu.pJ.variableName),color:"#fffabc"},{tag:Lu.pJ.typeName,color:"#FFDD44"},{tag:Lu.pJ.tagName,color:"#def"},{tag:Lu.pJ.string,color:"#2b4"},{tag:Lu.pJ.meta,color:"#C9F"},{tag:Lu.pJ.bracket,color:"#8a8a8a"},{tag:Lu.pJ.attributeName,color:"#DDFF00"},{tag:Lu.pJ.heading,color:"aquamarine",fontWeight:"bold"},{tag:Lu.pJ.link,color:"blueviolet",fontWeight:"bold"}]}),cv=Gg({theme:"dark",settings:{background:"#282b2e",foreground:"#a9b7c6",caret:"#00FF00",selection:"#343739",selectionMatch:"#343739",lineHighlight:"#343739"},styles:[{tag:[Lu.pJ.keyword,Lu.pJ.deleted,Lu.pJ.className],color:"#cc7832"},{tag:[Lu.pJ.number,Lu.pJ.literal,Lu.pJ.derefOperator],color:"#6897bb"},{tag:[Lu.pJ.link,Lu.pJ.variableName],color:"#629755"},{tag:[Lu.pJ.comment,Lu.pJ.quote],color:"grey"},{tag:[Lu.pJ.meta,Lu.pJ.documentMeta],color:"#bbb529"},{tag:[Lu.pJ.string,Lu.pJ.propertyName,Lu.pJ.attributeValue],color:"#6a8759"},{tag:[Lu.pJ.heading,Lu.pJ.typeName],color:"#ffc66d"},{tag:[Lu.pJ.attributeName],color:"#a9b7c6"},{tag:[Lu.pJ.emphasis],fontStyle:"italic"}]}),hv=Gg({theme:"dark",settings:{background:"#272C35",foreground:"#9d9b97",caret:"#797977",selection:"#ffffff30",selectionMatch:"#2B323D",gutterBackground:"#272C35",gutterForeground:"#465063",lineHighlight:"#2B323D"},styles:[{tag:[Lu.pJ.function(Lu.pJ.variableName),Lu.pJ.function(Lu.pJ.propertyName),Lu.pJ.url,Lu.pJ.processingInstruction],color:"hsl(207, 82%, 66%)"},{tag:[Lu.pJ.tagName,Lu.pJ.heading],color:"#e06c75"},{tag:Lu.pJ.comment,color:"#54636D"},{tag:[Lu.pJ.propertyName],color:"hsl(220, 14%, 71%)"},{tag:[Lu.pJ.attributeName,Lu.pJ.number],color:"hsl( 29, 54%, 61%)"},{tag:Lu.pJ.className,color:"hsl( 39, 67%, 69%)"},{tag:Lu.pJ.keyword,color:"hsl(286, 60%, 67%)"},{tag:[Lu.pJ.string,Lu.pJ.regexp,Lu.pJ.special(Lu.pJ.propertyName)],color:"#98c379"}]}),fv=Gg({theme:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",lineHighlight:"#00000012"},styles:[{tag:[Lu.pJ.meta,Lu.pJ.comment],color:"#804000"},{tag:[Lu.pJ.keyword,Lu.pJ.strong],color:"#0000FF"},{tag:[Lu.pJ.number],color:"#FF0080"},{tag:[Lu.pJ.string],color:"#FF0080"},{tag:[Lu.pJ.variableName],color:"#006600"},{tag:[Lu.pJ.escape],color:"#33CC33"},{tag:[Lu.pJ.tagName],color:"#1C02FF"},{tag:[Lu.pJ.heading],color:"#0C07FF"},{tag:[Lu.pJ.quote],color:"#000000"},{tag:[Lu.pJ.list],color:"#B90690"},{tag:[Lu.pJ.documentMeta],color:"#888888"},{tag:[Lu.pJ.function(Lu.pJ.variableName)],color:"#0000A2"},{tag:[Lu.pJ.definition(Lu.pJ.typeName),Lu.pJ.typeName],color:"#6D79DE"}]}),dv=Gg({theme:"dark",settings:{background:"#28211c",foreground:"#9d9b97",caret:"#797977",selection:"#36312e",selectionMatch:"#4f382b",gutterBackground:"#28211c",gutterForeground:"#666666",lineHighlight:"rgba(255, 255, 255, 0.1)"},styles:[{tag:[Lu.pJ.atom,Lu.pJ.number,Lu.pJ.link,Lu.pJ.bool],color:"#9b859d"},{tag:Lu.pJ.comment,color:"#937121"},{tag:[Lu.pJ.keyword,Lu.pJ.tagName],color:"#cf6a4c"},{tag:Lu.pJ.string,color:"#f9ee98"},{tag:Lu.pJ.bracket,color:"#9d9b97"},{tag:[Lu.pJ.variableName],color:"#5ea6ea"},{tag:Lu.pJ.definition(Lu.pJ.variableName),color:"#cf7d34"},{tag:[Lu.pJ.function(Lu.pJ.variableName),Lu.pJ.className],color:"#cf7d34"},{tag:[Lu.pJ.propertyName,Lu.pJ.attributeName],color:"#54be0d"}]}),pv=Gg({theme:"dark",settings:{background:"#2B2B2B",foreground:"#f8f8f2",caret:"#FFFFFF",selection:"rgba(255, 255, 255, 0.1)",selectionMatch:"rgba(255, 255, 255, 0.2)",gutterBackground:"rgba(255, 255, 255, 0.1)",gutterForeground:"#999",lineHighlight:"rgba(255, 255, 255, 0.1)"},styles:[{tag:[Lu.pJ.atom,Lu.pJ.number],color:"#bd93f9"},{tag:[Lu.pJ.comment],color:"#61A151"},{tag:[Lu.pJ.string],color:"#6A8759"},{tag:[Lu.pJ.variableName,Lu.pJ.operator],color:"#A9B7C6"},{tag:[Lu.pJ.meta,Lu.pJ.className],color:"#A9B7C6"},{tag:[Lu.pJ.propertyName],color:"#FFC66D"},{tag:[Lu.pJ.keyword],color:"#CC7832"},{tag:[Lu.pJ.tagName],color:"#ff79c6"},{tag:[Lu.pJ.typeName],color:"#ffb86c"}]}),mv=Gg({theme:"dark",settings:{background:"#282a36",foreground:"#f8f8f2",caret:"#f8f8f0",selection:"rgba(255, 255, 255, 0.1)",selectionMatch:"rgba(255, 255, 255, 0.2)",gutterBackground:"#282a36",gutterForeground:"#6D8A88",lineHighlight:"rgba(255, 255, 255, 0.1)"},styles:[{tag:Lu.pJ.comment,color:"#6272a4"},{tag:Lu.pJ.string,color:"#f1fa8c"},{tag:Lu.pJ.atom,color:"#bd93f9"},{tag:Lu.pJ.meta,color:"#f8f8f2"},{tag:[Lu.pJ.keyword,Lu.pJ.operator,Lu.pJ.tagName],color:"#ff79c6"},{tag:[Lu.pJ.function(Lu.pJ.propertyName),Lu.pJ.propertyName],color:"#66d9ef"},{tag:[Lu.pJ.definition(Lu.pJ.variableName),Lu.pJ.function(Lu.pJ.variableName),Lu.pJ.className,Lu.pJ.attributeName],color:"#50fa7b"},{tag:Lu.pJ.atom,color:"#bd93f9"}]}),gv=Gg({theme:"light",settings:{background:"#faf8f5",foreground:"#b29762",caret:"#93abdc",selection:"#e3dcce",selectionMatch:"#e3dcce",gutterBackground:"#faf8f5",gutterForeground:"#cdc4b1",lineHighlight:"#EFEFEF"},styles:[{tag:[Lu.pJ.comment,Lu.pJ.bracket],color:"#b6ad9a"},{tag:[Lu.pJ.atom,Lu.pJ.number,Lu.pJ.keyword,Lu.pJ.link,Lu.pJ.attributeName,Lu.pJ.quote],color:"#063289"},{tag:[Lu.pJ.emphasis,Lu.pJ.heading,Lu.pJ.tagName,Lu.pJ.propertyName,Lu.pJ.variableName],color:"#2d2006"},{tag:[Lu.pJ.typeName,Lu.pJ.url,Lu.pJ.string],color:"#896724"},{tag:[Lu.pJ.operator,Lu.pJ.string],color:"#1659df"},{tag:[Lu.pJ.propertyName],color:"#b29762"},{tag:[Lu.pJ.unit,Lu.pJ.punctuation],color:"#063289"}]}),vv=Gg({theme:"dark",settings:{background:"#2a2734",foreground:"#6c6783",caret:"#ffad5c",selection:"rgba(255, 255, 255, 0.1)",gutterBackground:"#2a2734",gutterForeground:"#545167",lineHighlight:"#36334280"},styles:[{tag:[Lu.pJ.comment,Lu.pJ.bracket],color:"#6c6783"},{tag:[Lu.pJ.atom,Lu.pJ.number,Lu.pJ.keyword,Lu.pJ.link,Lu.pJ.attributeName,Lu.pJ.quote],color:"#ffcc99"},{tag:[Lu.pJ.emphasis,Lu.pJ.heading,Lu.pJ.tagName,Lu.pJ.propertyName,Lu.pJ.className,Lu.pJ.variableName],color:"#eeebff"},{tag:[Lu.pJ.typeName,Lu.pJ.url],color:"#7a63ee"},{tag:Lu.pJ.operator,color:"#ffad5c"},{tag:Lu.pJ.string,color:"#ffb870"},{tag:[Lu.pJ.propertyName],color:"#9a86fd"},{tag:[Lu.pJ.unit,Lu.pJ.punctuation],color:"#e09142"}]}),Ov=Gg({theme:"light",settings:{background:"#fff",foreground:"#000",caret:"#FFFFFF",selection:"#d7d4f0",selectionMatch:"#d7d4f0",gutterBackground:"#f7f7f7",gutterForeground:"#999",lineHighlight:"#e8f2ff"},styles:[{tag:[Lu.pJ.comment],color:"#3F7F5F"},{tag:[Lu.pJ.documentMeta],color:"#FF1717"},{tag:Lu.pJ.keyword,color:"#7F0055",fontWeight:"bold"},{tag:Lu.pJ.atom,color:"#00f"},{tag:Lu.pJ.number,color:"#164"},{tag:Lu.pJ.propertyName,color:"#164"},{tag:[Lu.pJ.variableName,Lu.pJ.definition(Lu.pJ.variableName)],color:"#0000C0"},{tag:Lu.pJ.function(Lu.pJ.variableName),color:"#0000C0"},{tag:Lu.pJ.string,color:"#2A00FF"},{tag:Lu.pJ.operator,color:"black"},{tag:Lu.pJ.tagName,color:"#170"},{tag:Lu.pJ.attributeName,color:"#00c"},{tag:Lu.pJ.link,color:"#219"}]}),yv=Gg({theme:"light",settings:{background:"#fff",foreground:"#24292e",selection:"#BBDFFF",selectionMatch:"#BBDFFF",gutterBackground:"#fff",gutterForeground:"#6e7781"},styles:[{tag:[Lu.pJ.comment,Lu.pJ.bracket],color:"#6a737d"},{tag:[Lu.pJ.className,Lu.pJ.propertyName],color:"#6f42c1"},{tag:[Lu.pJ.variableName,Lu.pJ.attributeName,Lu.pJ.number,Lu.pJ.operator],color:"#005cc5"},{tag:[Lu.pJ.keyword,Lu.pJ.typeName,Lu.pJ.typeOperator,Lu.pJ.typeName],color:"#d73a49"},{tag:[Lu.pJ.string,Lu.pJ.meta,Lu.pJ.regexp],color:"#032f62"},{tag:[Lu.pJ.name,Lu.pJ.quote],color:"#22863a"},{tag:[Lu.pJ.heading],color:"#24292e",fontWeight:"bold"},{tag:[Lu.pJ.emphasis],color:"#24292e",fontStyle:"italic"},{tag:[Lu.pJ.deleted],color:"#b31d28",backgroundColor:"ffeef0"}]}),kv=Gg({theme:"dark",settings:{background:"#0d1117",foreground:"#c9d1d9",caret:"#c9d1d9",selection:"#003d73",selectionMatch:"#003d73",lineHighlight:"#36334280"},styles:[{tag:[Lu.pJ.comment,Lu.pJ.bracket],color:"#8b949e"},{tag:[Lu.pJ.className,Lu.pJ.propertyName],color:"#d2a8ff"},{tag:[Lu.pJ.variableName,Lu.pJ.attributeName,Lu.pJ.number,Lu.pJ.operator],color:"#79c0ff"},{tag:[Lu.pJ.keyword,Lu.pJ.typeName,Lu.pJ.typeOperator,Lu.pJ.typeName],color:"#ff7b72"},{tag:[Lu.pJ.string,Lu.pJ.meta,Lu.pJ.regexp],color:"#a5d6ff"},{tag:[Lu.pJ.name,Lu.pJ.quote],color:"#7ee787"},{tag:[Lu.pJ.heading],color:"#d2a8ff",fontWeight:"bold"},{tag:[Lu.pJ.emphasis],color:"#d2a8ff",fontStyle:"italic"},{tag:[Lu.pJ.deleted],color:"#ffdcd7",backgroundColor:"ffeef0"}]}),bv=Gg({theme:"dark",settings:{background:"#272822",foreground:"#FFFFFF",caret:"#FFFFFF",selection:"#49483E",selectionMatch:"#49483E",gutterBackground:"#272822",gutterForeground:"#FFFFFF70",lineHighlight:"#00000059"},styles:[{tag:[Lu.pJ.comment,Lu.pJ.documentMeta],color:"#8292a2"},{tag:[Lu.pJ.number,Lu.pJ.bool,Lu.pJ.null,Lu.pJ.atom],color:"#ae81ff"},{tag:[Lu.pJ.attributeValue,Lu.pJ.className,Lu.pJ.name],color:"#e6db74"},{tag:[Lu.pJ.propertyName,Lu.pJ.attributeName],color:"#a6e22e"},{tag:[Lu.pJ.variableName],color:"#9effff"},{tag:[Lu.pJ.squareBracket],color:"#bababa"},{tag:[Lu.pJ.string,Lu.pJ.special(Lu.pJ.brace)],color:"#e6db74"},{tag:[Lu.pJ.regexp,Lu.pJ.className,Lu.pJ.typeName,Lu.pJ.definition(Lu.pJ.typeName)],color:"#66d9ef"},{tag:[Lu.pJ.definition(Lu.pJ.variableName),Lu.pJ.definition(Lu.pJ.propertyName),Lu.pJ.function(Lu.pJ.variableName)],color:"#fd971f"},{tag:[Lu.pJ.keyword,Lu.pJ.definitionKeyword,Lu.pJ.modifier,Lu.pJ.tagName,Lu.pJ.angleBracket],color:"#f92672"}]}),xv=Gg({theme:"dark",settings:{background:"#303841",foreground:"#FFFFFF",caret:"#FBAC52",selection:"#4C5964",selectionMatch:"#3A546E",gutterBackground:"#303841",gutterForeground:"#FFFFFF70",lineHighlight:"#00000059"},styles:[{tag:[Lu.pJ.meta,Lu.pJ.comment],color:"#A2A9B5"},{tag:[Lu.pJ.attributeName,Lu.pJ.keyword],color:"#B78FBA"},{tag:Lu.pJ.function(Lu.pJ.variableName),color:"#5AB0B0"},{tag:[Lu.pJ.string,Lu.pJ.regexp,Lu.pJ.attributeValue],color:"#99C592"},{tag:Lu.pJ.operator,color:"#f47954"},{tag:[Lu.pJ.propertyName,Lu.pJ.typeName],color:"#629ccd"},{tag:[Lu.pJ.tagName,Lu.pJ.modifier],color:"#E35F63"},{tag:[Lu.pJ.number,Lu.pJ.definition(Lu.pJ.tagName),Lu.pJ.className,Lu.pJ.definition(Lu.pJ.variableName)],color:"#fbac52"},{tag:[Lu.pJ.atom,Lu.pJ.bool,Lu.pJ.special(Lu.pJ.variableName)],color:"#E35F63"}]}),Tv=Gg({theme:"light",settings:{background:"#fff",foreground:"#3D3D3D",selection:"#BBDFFF",selectionMatch:"#BBDFFF",gutterBackground:"#fff",gutterForeground:"#AFAFAF",lineHighlight:"#EDF4FF"},styles:[{tag:[Lu.pJ.comment,Lu.pJ.quote],color:"#707F8D"},{tag:[Lu.pJ.typeName,Lu.pJ.typeOperator],color:"#aa0d91"},{tag:[Lu.pJ.keyword],color:"#aa0d91",fontWeight:"bold"},{tag:[Lu.pJ.string,Lu.pJ.meta],color:"#D23423"},{tag:[Lu.pJ.name],color:"#032f62"},{tag:[Lu.pJ.typeName],color:"#522BB2"},{tag:[Lu.pJ.variableName],color:"#23575C"},{tag:[Lu.pJ.definition(Lu.pJ.variableName)],color:"#327A9E"},{tag:[Lu.pJ.regexp,Lu.pJ.link],color:"#0e0eff"}]}),wv=Gg({theme:"dark",settings:{background:"#292A30",foreground:"#CECFD0",caret:"#fff",selection:"#727377",selectionMatch:"#727377",lineHighlight:"#2F3239"},styles:[{tag:[Lu.pJ.comment,Lu.pJ.quote],color:"#7F8C98"},{tag:[Lu.pJ.keyword],color:"#FF7AB2",fontWeight:"bold"},{tag:[Lu.pJ.string,Lu.pJ.meta],color:"#FF8170"},{tag:[Lu.pJ.typeName],color:"#DABAFF"},{tag:[Lu.pJ.definition(Lu.pJ.variableName)],color:"#6BDFFF"},{tag:[Lu.pJ.name],color:"#6BAA9F"},{tag:[Lu.pJ.variableName],color:"#ACF2E4"},{tag:[Lu.pJ.regexp,Lu.pJ.link],color:"#FF8170"}]}),Sv='<div align="center">\n <h1 align="center">\u5fae\u4fe1\u516c\u4f17\u53f7 Markdown \u7f16\u8f91\u5668</h1>\n</div>\n\n[](https://jaywcjlove.github.io/wxmp)\n\n\u5fae\u4fe1\u516c\u4f17\u53f7\u6587\u7ae0 Markdown \u5728\u7ebf\u7f16\u8f91\u5668\uff0c\u4f7f\u7528 markdown \u8bed\u6cd5\u521b\u5efa\u4e00\u7bc7\u7b80\u4ecb\u7f8e\u89c2\u5927\u65b9\u7684\u5fae\u4fe1\u516c\u4f17\u53f7\u56fe\u6587\u3002\u7531\u4e8e\u53d1\u7248\u672c\u9ebb\u70e6\uff0c\u548c\u4e00\u4e9b\u529f\u80fd\u65e0\u6cd5\u6269\u5c55\u505c\u6ede\u5f00\u53d1\u4e86\uff0c\u672a\u6765\u4e0d\u518d\u5f00\u53d1 Chrome \u7684\u63d2\u4ef6(\u6682\u5b58\u5728 chrome \u5206\u652f)\uff0c\u901a\u8fc7 web \u7248\u672c\u5b9a\u5236\u66f4\u4e30\u5bcc\u7684\u529f\u80fd\u3002\n\n[[](https://jaywcjlove.github.io/wxmp)](https://github.com/jaywcjlove/wxmp/releases)\n\n## \u529f\u80fd\u7279\u6027\n\n\u5f00\u53d1\u8ba1\u5212\u548c\u4e00\u4e9b\u529f\u80fd\u4ecb\u7ecd\uff0c\u6709\u9700\u6c42\u53ef\u4ee5\u5728 issue \u4e2d\u63d0\uff0c\u4f7f\u5f97\u5de5\u5177\u53d8\u5f97\u66f4\u52a0\u5b8c\u5584\u3002\u4e0b\u9762\u793a\u4f8b\u7528\u4e8e web \u5e94\u7528\u4e2d\u6548\u679c\u5c55\u793a\u3002\n\n- [x] \u652f\u6301 Markdown \u6240\u6709\u57fa\u7840\u8bed\u6cd5\n- [x] \u652f\u6301\u81ea\u5b9a\u4e49 CSS \u6837\u5f0f\n- [x] \u652f\u6301\u4e3b\u9898\u9009\u62e9 & \u7f16\u8f91\u9884\u89c8\u3002\n- [x] \u652f\u6301\u660e\u6697\u4e24\u79cd\u4e3b\u9898\u9884\u89c8\u3002\n- [ ] \u652f\u6301\u4ee3\u7801\u5757\u4e3b\u9898\u6837\u5f0f\u9009\u62e9\u3002\n- [x] \u652f\u6301\u8272\u76d8\u53d6\u8272\uff0c\u5feb\u901f\u66ff\u6362\u6587\u7ae0\u6574\u4f53\u8272\u8c03\n- [x] \u652f\u6301 URL \u53c2\u6570\u52a0\u8f7d Markdown \u5185\u5bb9\u3002\n- [x] \u652f\u6301 URL \u53c2\u6570\u9009\u62e9\u9884\u89c8\u4e3b\u9898\u3002\n- [x] CI \u81ea\u52a8\u751f\u6210 Electron \u684c\u9762\u5e94\u7528\u3002\n- [ ] ~~\u652f\u6301\u5168\u5c40\u5b57\u53f7\u5927\u5c0f\u9009\u62e9\u3002~~\n\n### \u652f\u6301\u4ee3\u7801\u5757\u6837\u5f0f\n\n\u4e0b\u9762\u662f `jsx` \u4ee3\u7801\u5757\u5c55\u793a\u793a\u4f8b\uff0c\u5e76\u9ad8\u4eae\u4ee3\u7801\uff0c\u7528\u4e8e web \u5e94\u7528\u4e2d\u6548\u679c\u5c55\u793a\u3002\n\n```jsx\nfunction Demo() {\n return <div className="demo">Hello World!</div>\n}\n```\n\n\u4e0b\u9762\u662f `css` \u4ee3\u7801\u5757\u5c55\u793a\u793a\u4f8b\uff0c\u5e76\u9ad8\u4eae\u4ee3\u7801\uff0c\u7528\u4e8e web \u5e94\u7528\u4e2d\u6548\u679c\u5c55\u793a\u3002\n\n```css\nli {\n font-size: 16px;\n margin: 0;\n line-height: 26px;\n color: rgb(30 41 59);\n font-family:-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif;\n}\n```\n\n### \u652f\u6301\u5185\u8054\u4ee3\u7801\n\n> \u7528\u4e8e web \u5e94\u7528\u4e2d\u6548\u679c\u5c55\u793a\u3002\n\nInline Code `{code: 0}`\n\n### \u652f\u6301\u8868\u683c\n\n\u8868\u683c\u65e0\u6cd5\u4f7f\u7528\u81ea\u5b9a\u4e49\u6837\u5f0f\uff0c\u6682\u65f6\u6ca1\u627e\u5230\u89e3\u51b3\u9014\u5f84\n\n| Header 1 | Header 2 |\n| --- | --- |\n| Key 1 | Value 1 |\n| Key 2 | Value 2 |\n| Key 3 | Value 3 |\n\n### \u652f\u6301 GFM \u811a\u6ce8\n\n\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684 Markdown[^1] \u8bed\u6cd5\u7684\u811a\u6ce8[^2]\u3002 \u9875\u9762\u6700\u540e\u6709\u4e00\u4e9b\u989d\u5916\u7684\u6587\u5b57\u63cf\u8ff0\u3002\u6ce8\u610f\u8fd9\u4e0d\u662f\u5b8c\u6574\u7684\u6ce8\u811a[^3]\u7279\u6027\u3002\n\n[^1]: GitHub \u98ce\u683c\u7684 Markdown \u89c4\u8303 https://github.github.com/gfm/\n[^2]: \u811a\u6ce8 https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/\n[^3]: \u5fae\u4fe1\u6587\u7ae0\u4e0d\u652f\u6301\u951a\u70b9\u8df3\u8f6c\u548c\u6253\u5f00\u7b2c\u4e09\u65b9 URL \u8d85\u94fe\u63a5\uff0c\u6240\u4ee5\u4e0d\u652f\u6301\u5b8c\u6574\u7684\u6ce8\u811a\u7279\u6027\u3002\n\n### \u652f\u6301\u6ce8\u91ca\n\n```html\n<ruby>\n \u6c49 <rt>Han</rt>\n</ruby>\n```\n\n\u6c49\u5b57\u6ce8\u97f3\u6548\u679c\uff1a\n<ruby>\n \u6c49 <rt>Han</rt>\n \u5b57 <rt>zi</rt>\n \u62fc <rt>pin</rt>\n \u97f3 <rt>yin</rt>\n \u6ce8 <rt>zhu</rt>\n \u97f3 <rt>yin</rt>\n</ruby>\n\n### \u652f\u6301\u81ea\u5b9a\u4e49\u6837\u5f0f\n\x3c!--rehype:style=color: red;--\x3e\n\n\u5728 Markdown \u4e2d HTML \u6ce8\u91ca\u4e5f\u53ef\u4ee5\u7528\u5728 markdown \u4e2d\uff0c\u5229\u7528\u8fd9\u4e00\u7279\u70b9\uff0c\u4e3a\u4e00\u4e9b\u5185\u5bb9\u81ea\u5b9a\u4e00\u6837\u5f0f\u3002\u4f7f\u7528 HTML \u6ce8\u91ca `\x3c!--rehype:xxx--\x3e`\x3c!--rehype:style=color: red;background: #ff000033;--\x3e \u8ba9 Markdown \u652f\u6301\u6837\u5f0f\u81ea\u5b9a\u4e49\u3002\n\n```markdown\n## \u5b9a\u4e49\u6807\u9898\u6837\u5f0f\n\x3c!--rehype:style=display: flex; height: 230px; align-items: center; justify-content: center; font-size: 38px;--\x3e\n\n\u652f\u6301\u5bf9\u67d0\u4e9b\u6587\u5b57\u53d8\u66f4\u6837\u5f0f\uff0c\u5982_\u6587\u5b57\u989c\u8272_\x3c!--rehype:style=color: red;--\x3e\uff0c\u6587\u5b57\u989c\u8272\u5c06\u88ab\u8bbe\u7f6e\u4e3a\u7ea2\u8272(red)\u3002\n```\n\n\u26a0\ufe0f \u6ce8\u610f\uff1a\u8fd9\u4e00\u7279\u6027\u53ef\u80fd\u9002\u7528\u4e8e\u6709\u4e00\u5b9a css \u524d\u7aef\u57fa\u7840\u77e5\u8bc6\u7684\u7528\u6237\uff0c\u4e0d\u8fc7\u5b83\u4e5f\u975e\u5e38\u7b80\u5355\uff0c\u4f7f\u7528 `\x3c!--rehype:style=` \u5f00\u59cb\uff0c`--\x3e` \u7ed3\u675f\uff0c\u4e2d\u95f4\u5305\u88f9 css \u6837\u5f0f\uff0c\u5982 `color: red;` \u8bbe\u7f6e\u6587\u5b57\u7ea2\u8272\u3002\n\n\n### \u6807\u8bb0\u5ffd\u7565\u5185\u5bb9\n\n\u6b64\u7279\u6027\u5229\u7528 HTML \u6ce8\u91ca\u5728 markdown \u4e2d\u88ab\u5ffd\u7565\u7684\u7279\u6027\uff0c\u6807\u8bb0\u9700\u8981\u5ffd\u7565\u7684\u5185\u5bb9\uff0c\u6807\u8bb0\u5f00\u59cb `\x3c!--rehype:ignore:start--\x3e`\uff0c\u6807\u8bb0\u7ed3\u675f `\x3c!--rehype:ignore:end--\x3e`\uff0c\u88ab\u6807\u8bb0\u7684\u5185\u5bb9\u5728\u5fae\u4fe1 Markdown \u7f16\u8f91\u5668\u9884\u89c8\u4e2d\u4e0d\u663e\u793a\u3002\u5728\u5176\u5b83\u9884\u89c8\u5de5\u5177\u4e2d\u5c55\u793a\u5185\u5bb9\uff0c\u6bd4\u5982 GitHub \u4e2d\u80fd\u5c55\u793a\u3002\n\n```markdown\n# \u6ce8\u91ca\u5ffd\u7565\n\n\x3c!--rehype:ignore:start--\x3e\u5185\u5bb9\u5728\u5fae\u4fe1 Markdown \u7f16\u8f91\u5668\u9884\u89c8\u4e2d\u4e0d\u663e\u793a\u3002\u5728\u5176\u5b83\u9884\u89c8\u5de5\u5177\u4e2d\u5c55\u793a\u5185\u5bb9\u3002\x3c!--rehype:ignore:end--\x3e\n```\n\n### \u652f\u6301 URL \u53c2\u6570\u52a0\u8f7d Markdown \u5185\u5bb9\n\n```\nhttps://<URL>?md=<Markdown \u8d44\u6e90 URL>\n```\n\n\u52a0\u8f7d Markdown \u5185\u5bb9\u7684\u793a\u4f8b URL\uff1a\n\n```\nhttps://jaywcjlove.github.io/wxmp/#/?theme=underscore&md=https://raw.githubusercontent.com/jaywcjlove/c-tutorial/master/README.md\n\nMarkdown URL \u5730\u5740: https://raw.githubusercontent.com/jaywcjlove/c-tutorial/master/README.md\n```\n\n## \u4e3b\u9898\u5b9a\u5236\n\n\u5728\u76ee\u5f55 `website/src/themes` \u4e2d\u5b58\u653e\u9ed8\u8ba4\u4e3b\u9898\uff0c\u5728 `website/src/store/context.tsx` \u4e2d\u914d\u7f6e\u4e3b\u9898\uff0c\u4e3b\u9898\u4f7f\u7528 `css` \u5b9a\u4e49\u6837\u5f0f\uff0c\u4e0d\u652f\u6301\u590d\u6742\u7684\u9009\u62e9\u5668\u3002\u63d0\u4f9b\u5728\u7ebf\u4e3b\u9898\u7f16\u8f91\u5668\uff0c\u6b22\u8fce\u4fee\u6539\u5e76 `PR` \u8fdb\u4ed3\u5e93\u4f9b\u5927\u5bb6\u4f7f\u7528\u3002\n\n```css\n/* 1~6 \u6807\u9898\u6837\u5f0f\u5b9a\u4e49 */\nh1 {} h2 {} h3 {} h4 {} h5 {} h6 {}\na { color: red; } /* \u8d85\u94fe\u63a5\u6837\u5f0f\u5b9a\u4e49 */\nstrong {} /* \u52a0\u7c97\u6837\u5f0f\u5b9a\u4e49 */\ndel {} /* \u5220\u9664\u7ebf\u6837\u5f0f\u5b9a\u4e49 */\nem {} /* \u4e0b\u5212\u7ebf\u6837\u5f0f\u5b9a\u4e49 */\nu {} /* \u4e0b\u5212\u7ebf\u6837\u5f0f\u5b9a\u4e49 */\np {} /* \u6bb5\u843d\u6837\u5f0f\u5b9a\u4e49 */\nul {} /* \u65e0\u5e8f\u5217\u8868\u6837\u5f0f\u5b9a\u4e49 */\nol {} /* \u6709\u5e8f\u5217\u8868\u6837\u5f0f\u5b9a\u4e49 */\nli {} /* \u5217\u8868\u6761\u76ee\u6837\u5f0f\u5b9a\u4e49 */\nblockquote {} /* \u5757\u7ea7\u5f15\u7528\u6837\u5f0f\u5b9a\u4e49 */\ntable {}\ntd {}\nth {}\npre {} /* \u6837\u5f0f\u5b9a\u4e49 */\n.code-highlight {} /* \u4ee3\u7801\u5757\u6837\u5f0f\u5b9a\u4e49 */\n.code-line {} /* \u4ee3\u7801\u5757\u884c\u6837\u5f0f\u5b9a\u4e49 */\n.code-spans {} /* \u4ee3\u7801\u5757\u884c\u6837\u5f0f\u5b9a\u4e49 */\n\nsup {} /* GFM \u811a\u6ce8\u6837\u5f0f\u5b9a\u4e49 */\n.footnotes-title {} /* GFM \u811a\u6ce8\uff0c\u53c2\u8003\u6807\u9898\u6837\u5f0f\u5b9a\u4e49 */\n.footnotes-list {} /* GFM \u811a\u6ce8\uff0c\u53c2\u8003\u5217\u8868\u6837\u5f0f\u5b9a\u4e49 */\n\n.image-warpper {} /* \u56fe\u7247\u7236\u8282\u70b9\u6837\u5f0f\u5b9a\u4e49 */\n.image {} /* \u56fe\u7247\u6837\u5f0f\u5b9a\u4e49 */\n\n/* \u90e8\u5206\u4ee3\u7801\u9ad8\u4eae\u6837\u5f0f */\n.comment {}\n.property {}\n.function {}\n.keyword {}\n.punctuation {}\n.unit {}\n.tag {}\n.color {}\n.selector {}\n.quote {}\n.number {}\n.attr-name {}\n.attr-value {}\n```\n\n## \u90e8\u7f72\n\n[](https://hub.docker.com/r/wcjiang/wxmp) [](https://hub.docker.com/r/wcjiang/wxmp) [](https://hub.docker.com/r/wcjiang/wxmp)\n\n\u8f7b\u677e\u901a\u8fc7 docker \u90e8\u7f72\u300a\u5fae\u4fe1\u516c\u4f17\u53f7 Markdown \u7f16\u8f91\u5668\u300b\u7f51\u7ad9\u5e94\u7528\u3002\n\n```bash\ndocker pull wcjiang/wxmp\n# Or\ndocker pull ghcr.io/jaywcjlove/wxmp:latest\n```\n\n```bash\ndocker run --name wxmp --rm -d -p 8113:3000 wcjiang/wxmp:latest\n# Or\ndocker run --name wxmp -itd -p 8113:3000 wcjiang/wxmp:latest\n# Or\ndocker run --name wxmp -itd -p 8113:3000 ghcr.io/jaywcjlove/wxmp:latest\n```\n\n\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u4ee5\u4e0b URL\n\n```\nhttp://localhost:96611/\n```\n\n## \u8d21\u732e\u8005\n\n\u4e00\u5982\u65e2\u5f80\uff0c\u611f\u8c22\u6211\u4eec\u51fa\u8272\u7684\u8d21\u732e\u8005\uff01\n\n<a href="https://github.com/jaywcjlove/wxmp/graphs/contributors">\n <img src="https://jaywcjlove.github.io/wxmp/CONTRIBUTORS.svg" />\n</a>\n\n\u4e0a\u56fe\u8d21\u732e\u8005\u5217\u8868\uff0c\u7531 [action-contributors](https://github.com/jaywcjlove/github-action-contributors)[^4] \u81ea\u52a8\u751f\u6210\u8d21\u732e\u8005\u56fe\u7247\u3002\n\n\n[^4]: Action Contributors https://github.com/jaywcjlove/github-action-contributors\n\n## License\n\n\u6839\u636e MIT \u8bb8\u53ef\u8bc1\u83b7\u5f97\u8bb8\u53ef\u3002\n',Cv=Sv,Ev={default:{label:"\u9ed8\u8ba4\u4e3b\u9898",value:Jg},abcdef:{label:"Abcdef Theme",value:lv},androidstudio:{label:"Android Studio Theme",value:cv},atomone:{label:"Atomone Theme",value:hv},bbedit:{label:"Bbedit Theme",value:fv},bespin:{label:"Bespin Theme",value:dv},darcula:{label:"Darcula Theme",value:pv},dracula:{label:"Dracula Theme",value:mv},duotoneLight:{label:"Duotone Light Theme",value:gv},duotoneDark:{label:"Duotone Dark Theme",value:vv},eclipse:{label:"Eclipse Theme",value:Ov},githubLight:{label:"Github Light Theme",value:yv},githubDark:{label:"Github Dark Theme",value:kv},okaidia:{label:"Okaidia Theme",value:bv},sublime:{label:"Sublime Theme",value:xv},xcodeLight:{label:"Xcode Light Theme",value:Tv},xcodeDark:{label:"Xcode Dark Theme",value:wv}},Av={default:{label:"\u7fe1\u7fe0\u7eff",value:"a {\n color: #009874;\n text-decoration: none;\n font-size: 14px;\n}\n\nh1 {\n display: table;\n text-align: center;\n color: #3f3f3f;\n line-height: 1.75;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 16px;\n font-weight: bold;\n margin: 2em auto 1em;\n padding: 0 1em;\n border-bottom: 3px solid #009874;\n margin-top: 0;\n}\n\nh2 {\n display: table;\n text-align: center;\n color: #fff;\n line-height: 1.75;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 16px;\n font-weight: bold;\n margin: 4em auto 2em;\n padding: 0 0.3em;\n border-radius: 0.3em;\n background: #009874;\n}\n\nh3 {\n text-align: left;\n color: #3f3f3f;\n line-height: 1.2;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 2em 8px 0.75em 0;\n padding-left: 8px;\n border-left: 5px solid #009874;\n}\n\nul {\n padding-left: 1.2em;\n}\n\nol {\n padding-left: 1.2em;\n}\n\nli {\n margin: 0;\n line-height: 1.5em;\n font-size: 14px;\n line-height: 1.5em;\n}\n\np {\n font-size: 14px;\n line-height: 1.5em;\n padding: 0.5em 0 !important;\n margin-bottom: 0 !important;\n margin-top: 0 !important;\n}\n\nblockquote {\n text-align: left;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n border-left: none;\n padding: 0.5em 1em;\n border-radius: 4px;\n background: rgba(27, 31, 35, 0.05);\n margin: 1em 0;\n}\n\npre {\n display: block;\n overflow-x: auto;\n padding: 1em;\n color: rgb(51, 51, 51);\n background: rgb(248, 248, 248);\n font-style: normal;\n font-variant-ligatures: normal;\n font-variant-caps: normal;\n font-weight: 400;\n letter-spacing: normal;\n orphans: 2;\n text-indent: 0px;\n text-transform: none;\n widows: 2;\n word-spacing: 0px;\n text-decoration-style: initial;\n text-decoration-color: initial;\n text-align: left;\n line-height: 1.5;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n border-radius: 0.3em;\n margin: 0.9rem 0;\n white-space: pre;\n}\n\ntable {\n width: 100% !important;\n border-collapse: collapse;\n line-height: 1.35;\n font-size: 14px;\n}\n\ntd {\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\nth {\n background: rgb(0 0 0 / 5%);\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\n.code-highlight {\n text-align: left;\n line-height: 1.75;\n font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;\n font-size: 14px;\n margin: 0px;\n white-space: nowrap;\n}\n\n.code-line {\n display: block;\n line-height: 1.3;\n}\n\n.code-spans {\n text-align: left;\n line-height: 1;\n white-space: initial;\n color: #333;\n background: rgba(27, 31, 35, 0.05);\n padding: 0.1em 0.3em;\n border-radius: 0.3em;\n font-weight: bold;\n font-size: 1em;\n top: -0.1em;\n position: relative;\n}\n\n.footnotes-title {\n display: table;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 3em 0 0.6em 0;\n padding-left: 0.2em;\n}\n\n.footnotes-list {\n font-size: 10px;\n font-style: italic;\n line-height: 1.2;\n margin: 0.4rem 0;\n}\n\nfigure {\n margin: 0;\n}\n\n.image-warpper {\n text-align: center;\n margin-bottom: 0rem;\n visibility: visible;\n}\n\n.image {\n display: initial;\n max-width: 100%;\n}\n\n.comment {\n color: #6a737d;\n}\n.property {\n color: #6f42c1;\n}\n.function {\n color: #6f42c1;\n}\n.keyword {\n color: #d73a49;\n}\n.punctuation {\n color: #0550ae;\n}\n.unit {\n color: #0550ae;\n}\n.tag {\n color: #22863a;\n}\n.selector {\n color: #22863a;\n}\n.quote {\n color: #22863a;\n}\n.number {\n color: #005cc5;\n}\n.attr-name {\n color: #005cc5;\n}\n.attr-value {\n color: #005cc5;\n}\n",color:"#009874"},simple:{label:"\u7b80\u6d01\u84dd",value:"a {\n color: #0f4c81;\n text-decoration: none;\n font-size: 14px;\n}\n\nh1 {\n display: table;\n text-align: center;\n color: #3f3f3f;\n line-height: 1.75;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 16px;\n font-weight: bold;\n margin: 2em auto 1em;\n padding: 0 1em;\n border-bottom: 3px solid #0f4c81;\n margin-top: 0;\n}\n\nh2 {\n display: table;\n text-align: center;\n color: #fff;\n line-height: 1.75;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 16px;\n font-weight: bold;\n margin: 4em auto 2em;\n padding: 0 0.3em;\n border-radius: 0.3rem;\n background: #0f4c81;\n}\n\nh3 {\n text-align: left;\n color: #3f3f3f;\n line-height: 1.2;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 2em 8px 0.75em 0;\n padding-left: 8px;\n border-left: 5px solid #0f4c81;\n}\n\nul {\n padding-left: 1.2em;\n}\n\nol {\n padding-left: 1.2em;\n}\n\nli {\n margin: 0;\n line-height: 1.5em;\n font-size: 14px;\n line-height: 1.5em;\n}\n\np {\n font-size: 14px;\n line-height: 1.5em;\n padding: 0.5em 0 !important;\n margin-bottom: 0 !important;\n margin-top: 0 !important;\n}\n\nblockquote {\n text-align: left;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n border-left: none;\n padding: 0.5em 1em;\n border-radius: 4px;\n background: rgba(27, 31, 35, 0.05);\n margin: 1em 0;\n}\n\npre {\n display: block;\n overflow-x: auto;\n padding: 1em;\n color: rgb(51, 51, 51);\n background: rgb(248, 248, 248);\n font-style: normal;\n font-variant-ligatures: normal;\n font-variant-caps: normal;\n font-weight: 400;\n letter-spacing: normal;\n orphans: 2;\n text-indent: 0px;\n text-transform: none;\n widows: 2;\n word-spacing: 0px;\n text-decoration-style: initial;\n text-decoration-color: initial;\n text-align: left;\n line-height: 1.5;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n border-radius: 0.3em;\n margin: 0.9rem 0;\n white-space: pre;\n}\n\ntable {\n width: 100% !important;\n border-collapse: collapse;\n line-height: 1.35;\n font-size: 14px;\n}\n\ntd {\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\nth {\n background: rgb(0 0 0 / 5%);\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\n.code-highlight {\n text-align: left;\n line-height: 1.75;\n font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;\n font-size: 14px;\n margin: 0px;\n white-space: nowrap;\n}\n\n.code-line {\n display: block;\n line-height: 1.3;\n}\n\n.code-spans {\n text-align: left;\n line-height: 1;\n white-space: initial;\n color: #0f4c81;\n background: rgba(27, 31, 35, 0.05);\n padding: 0.1em 0.3em;\n border-radius: 0.3em;\n font-weight: bold;\n font-size: 14px;\n top: -0.1em;\n position: relative;\n}\n\n.footnotes-title {\n display: table;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 3em 0 0.6em 0;\n padding-left: 0.2em;\n}\n\n.footnotes-list {\n font-size: 10px;\n font-style: italic;\n line-height: 1.2;\n margin: 0.4rem 0;\n}\n\nfigure {\n margin: 0;\n}\n\n.image-warpper {\n text-align: center;\n margin-bottom: 0rem;\n visibility: visible;\n}\n\n.image {\n display: initial;\n max-width: 100%;\n}\n\n.comment {\n color: #6a737d;\n}\n.property {\n color: #6f42c1;\n}\n.function {\n color: #6f42c1;\n}\n.keyword {\n color: #d73a49;\n}\n.punctuation {\n color: #0550ae;\n}\n.unit {\n color: #0550ae;\n}\n.tag {\n color: #22863a;\n}\n.selector {\n color: #22863a;\n}\n.quote {\n color: #22863a;\n}\n.number {\n color: #005cc5;\n}\n.attr-name {\n color: #005cc5;\n}\n.attr-value {\n color: #005cc5;\n}\n",color:"#0f4c81"},underscore:{label:"\u4e0b\u5212\u7ebf\u9ec4",value:"a {\n color: #ffb11b;\n text-decoration: none;\n font-size: 14px;\n}\n\nh1 {\n display: table;\n text-align: center;\n color: #3f3f3f;\n line-height: 1.15;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 16px;\n font-weight: bold;\n margin: 2em auto 1em;\n padding: 0 1em 0.3em 1em;\n margin-top: 0;\n box-shadow: inset 0 -0.9rem 0 0 #ffb11b;\n}\n\nh2 {\n display: table;\n line-height: 1.35;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 16px;\n font-weight: bold;\n padding: 0 0.3em;\n margin: 2em 0 1em 0;\n box-shadow: inset 0 -0.7rem 0 0 #ffb11b;\n}\n\nh3 {\n text-align: left;\n color: #3f3f3f;\n line-height: 1.2;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 1.1em;\n font-weight: bold;\n margin: 2em 8px 0.75em 0;\n padding-left: 8px;\n border-left: 5px solid #ffb11b;\n}\n\nul {\n padding-left: 1.2em;\n}\n\nol {\n padding-left: 1.2em;\n}\n\nli {\n margin: 0;\n line-height: 1.5em;\n font-size: 14px;\n}\n\np {\n font-size: 14px;\n line-height: 1.5em;\n padding: 0.5em 0 !important;\n margin-bottom: 0 !important;\n margin-top: 0 !important;\n}\n\nblockquote {\n text-align: left;\n line-height: 1.5em;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-style: normal;\n border-left: none;\n padding: 0.5em 1em;\n border-radius: 4px;\n background: rgba(27, 31, 35, 0.05);\n margin: 1em 0;\n}\n\npre {\n display: block;\n overflow-x: auto;\n padding: 1em;\n color: rgb(51, 51, 51);\n background: rgb(248, 248, 248);\n font-style: normal;\n font-variant-ligatures: normal;\n font-variant-caps: normal;\n font-weight: 400;\n letter-spacing: normal;\n orphans: 2;\n text-indent: 0px;\n text-transform: none;\n widows: 2;\n word-spacing: 0px;\n text-decoration-style: initial;\n text-decoration-color: initial;\n text-align: left;\n line-height: 1.5;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n border-radius: 0.3em;\n margin: 0.9rem 0;\n white-space: pre;\n}\n\ntable {\n width: 100% !important;\n border-collapse: collapse;\n line-height: 1.35;\n font-size: 14px;\n}\n\ntd {\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\nth {\n background: rgb(0 0 0 / 5%);\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\n.code-highlight {\n text-align: left;\n line-height: 1.75;\n font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;\n font-size: 14px;\n margin: 0px;\n white-space: nowrap;\n}\n\n.code-line {\n display: block;\n line-height: 1.3;\n}\n\n.code-spans {\n text-align: left;\n line-height: 1;\n white-space: initial;\n color: #333;\n background: rgba(27, 31, 35, 0.05);\n padding: 0.1em 0.3em;\n border-radius: 0.3em;\n font-weight: bold;\n font-size: 14px;\n top: -0.1em;\n position: relative;\n}\n\n.footnotes-title {\n display: table;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 3em 0 0.6em 0;\n padding-left: 0.2em;\n}\n\n.footnotes-list {\n font-size: 10px;\n font-style: italic;\n line-height: 1.2;\n margin: 0.4rem 0;\n}\n\nfigure {\n margin: 0;\n}\n\n.image-warpper {\n text-align: center;\n margin-bottom: 0rem;\n visibility: visible;\n}\n\n.image {\n display: initial;\n max-width: 100%;\n}\n\n.comment {\n color: #6a737d;\n}\n.property {\n color: #6f42c1;\n}\n.function {\n color: #6f42c1;\n}\n.keyword {\n color: #d73a49;\n}\n.punctuation {\n color: #0550ae;\n}\n.unit {\n color: #0550ae;\n}\n.tag {\n color: #22863a;\n}\n.selector {\n color: #22863a;\n}\n.quote {\n color: #22863a;\n}\n.number {\n color: #005cc5;\n}\n.attr-name {\n color: #005cc5;\n}\n.attr-value {\n color: #005cc5;\n}\n",color:"#ffb11b"},base:{label:"\u7b80\u6d01",value:"a {\n color: inherit;\n text-decoration: none;\n}\n\nh1 {\n color: inherit;\n font-size: 16px;\n font-weight: bold;\n}\n\nh2 {\n color: inherit;\n margin: 2.5rem 0 1rem 0;\n font-size: 16px;\n font-weight: bold;\n}\n\nh3 {\n color: inherit;\n margin: 1em 0 1em 0;\n font-weight: bold;\n font-size: 14px;\n}\n\nh4 {\n color: inherit;\n margin: 0.6em 0 0.6em 0;\n font-weight: bold;\n font-size: 12px;\n}\n\np {\n color: initial;\n font-size: 14px;\n line-height: 1.5em;\n}\n\nul {\n padding-left: 1.2em;\n}\n\nol {\n padding-left: 1.2em;\n}\n\nli {\n margin: 0;\n font-size: 14px;\n line-height: 1.5em;\n}\n\nblockquote {\n font-style: normal;\n border-left: none;\n margin: 1em 0;\n line-height: 1.5em;\n}\n\npre {\n display: block;\n overflow-x: auto;\n padding: 1em;\n color: rgb(51, 51, 51);\n background: rgb(248, 248, 248);\n font-size: 14px;\n font-weight: 400;\n letter-spacing: normal;\n word-spacing: 0px;\n border-radius: 5px;\n margin: 0.9rem 0;\n white-space: pre;\n}\n\ntable {\n width: 100% !important;\n border-collapse: collapse;\n line-height: 1.35;\n font-size: 14px;\n}\n\ntd {\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\nth {\n background: rgb(0 0 0 / 5%);\n border: 1px solid #ddd;\n padding: 0.25em 0.5em;\n}\n\n.code-highlight {\n text-align: left;\n font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;\n font-size: 14px;\n margin: 0px;\n white-space: nowrap;\n}\n\n.code-line {\n display: block;\n line-height: 1.3;\n}\n\n.code-spans {\n text-align: left;\n line-height: 1;\n white-space: initial;\n background: rgba(27, 31, 35, 0.05);\n padding: 0.1em 0.3em;\n border-radius: 0.3em;\n font-weight: bold;\n font-size: 1em;\n top: -0.1em;\n position: relative;\n}\n\n.footnotes-title {\n display: table;\n font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',\n 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\n font-size: 14px;\n font-weight: bold;\n margin: 3rem 0 0.6rem 0;\n padding-left: 0.2rem;\n}\n\n.footnotes-list {\n font-size: 10px;\n font-style: italic;\n line-height: 1.2;\n margin: 0.4rem 0;\n}\n\nfigure {\n margin: 0;\n}\n\n.image-warpper {\n text-align: center;\n margin-bottom: 0rem;\n visibility: visible;\n}\n\n.image {\n display: initial;\n max-width: 100%;\n}\n\n.comment {\n color: #6a737d;\n}\n.property {\n color: #6f42c1;\n}\n.function {\n color: #6f42c1;\n}\n.keyword {\n color: #d73a49;\n}\n.punctuation {\n color: #0550ae;\n}\n.unit {\n color: #0550ae;\n}\n.tag {\n color: #22863a;\n}\n.selector {\n color: #22863a;\n}\n.quote {\n color: #22863a;\n}\n.number {\n color: #005cc5;\n}\n.attr-name {\n color: #005cc5;\n}\n.attr-value {\n color: #005cc5;\n}\n",color:""}},_v={underscore:[{select:"a",name:"color",value:"{{color}}"},{select:"h1",name:"box-shadow",value:"inset 0 -0.9rem 0 0 {{color}}"},{select:"h2",name:"box-shadow",value:"inset 0 -0.7rem 0 0 {{color}}"},{select:"h3",name:"border-left",value:"5px solid {{color}}"}],default:[{select:"a",name:"color",value:"{{color}}"},{select:"h1",name:"border-bottom",value:"3px solid {{color}}"},{select:"h2",name:"background",value:"{{color}}"},{select:"h3",name:"border-left",value:"5px solid {{color}}"}],simple:[{select:"a",name:"color",value:"{{color}}"},{select:"h1",name:"border-bottom",value:"3px solid {{color}}"},{select:"h2",name:"background",value:"{{color}}"},{select:"h3",name:"border-left",value:"5px solid {{color}}"},{select:".code-spans",name:"color",value:"{{color}}"}],base:[]},Qv=(Object.keys(Av).map((function(e){return Av[e].color})),V.createContext({preColor:"",setPreColor:function(){},isLoading:!0,setIsLoading:function(){},markdown:Sv,setMarkdown:function(){},css:Av.underscore.value,setCss:function(){},previewTheme:"underscore",setPreviewTheme:function(){},theme:"default",setTheme:function(){}})),Pv=Jr.div(nv||(nv=G([""]))),Rv=Jr.div(rv||(rv=G(["\n position: relative;\n height: 2.8rem;\n"]))),Dv=Jr.header(iv||(iv=G(["\n -webkit-app-region: drag;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n background: var(--color-canvas-default);\n border-bottom: 1px solid var(--color-border-muted);\n padding: 0.5rem 0.6rem 0.5rem 0.8rem;\n position: fixed;\n width: 100%;\n z-index: 9;\n"]))),Nv=Jr.article(ov||(ov=G(["\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 0.6rem;\n"]))),Mv=Jr(no)(av||(av=G(["\n max-width: 3.6rem;\n"]))),Iv=Jr.h1(sv||(sv=G(["\n font-size: 1rem;\n margin: 0;\n display: flex;\n align-items: center;\n user-select: none;\n sup {\n color: var(--color-fg-subtle);\n margin-left: 0.4rem;\n background-color: var(--color-border-muted);\n border-radius: 0.1rem;\n padding: 0 0.2rem 0 0.1rem;\n font-weight: normal;\n font-size: 0.7rem;\n letter-spacing: -0.1rem;\n }\n"]))),Lv=Jr.section(uv||(uv=G(["\n display: flex;\n align-items: center;\n gap: 0.5rem;\n dark-mode {\n font-size: 1.05rem;\n display: block;\n line-height: 12px;\n margin-left: 0.6rem;\n }\n a svg {\n display: block;\n }\n a {\n text-decoration: none;\n color: var(--color-theme-text);\n padding: 0.1rem 0.3rem;\n transition: all 0.3s;\n font-size: 0.9rem;\n border-radius: 0.2rem;\n &.active {\n background-color: var(--color-accent-fg);\n box-shadow: inset 0 -0.3rem 0 var(--color-accent-fg);\n color: #fff;\n }\n &:hover:not(.active):not(:last-child) {\n background-color: var(--color-accent-fg);\n color: #fff;\n border-radius: 0.2rem;\n }\n }\n"])));function Fv(){var e=(0,V.useContext)(Qv).isLoading;return(0,Ge.jsxs)(Pv,{className:"wmde-markdown-color",children:[(0,Ge.jsx)(Rv,{children:(0,Ge.jsxs)(Dv,{className:"header",children:[(0,Ge.jsxs)(Nv,{className:"logo",children:[(0,Ge.jsx)(Mv,{width:28,height:28}),(0,Ge.jsxs)(Iv,{children:["\u5fae\u4fe1\u516c\u4f17\u53f7\u6392\u7248\u7f16\u8f91\u5668",(0,Ge.jsxs)("sup",{children:[" v","2.3.0"," "]})]}),e&&(0,Ge.jsx)(xo,{})]}),(0,Ge.jsxs)(Lv,{children:[(0,Ge.jsx)(Ue,{to:"/",children:"\u9996\u9875"}),(0,Ge.jsx)(Ue,{to:"/editor/theme",children:"\u7f16\u8f91\u4e3b\u9898"}),(0,Ge.jsx)(Ue,{to:"/doc",children:"\u6587\u6863"}),(0,Ge.jsx)("dark-mode",{permanent:!0,dark:"Dark",light:"Light"}),(0,Ge.jsx)("a",{href:"https://github.com/jaywcjlove/wxmp",target:"__blank",children:(0,Ge.jsx)(vo,{width:23,height:23})})]})]})}),(0,Ge.jsx)(Me,{})]})}var Zv=10,$v=11,jv=12,Bv=13,zv=15,Hv=16,Wv=17,Uv=18,qv=19,Xv=20,Gv=21,Jv=22,Vv=23,Yv=24,Kv=25;function eO(e){return e>=48&&e<=57}function tO(e){return eO(e)||e>=65&&e<=70||e>=97&&e<=102}function nO(e){return e>=65&&e<=90}function rO(e){return function(e){return nO(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function iO(e){return rO(e)||eO(e)||45===e}function oO(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function aO(e){return 10===e||13===e||12===e}function sO(e){return aO(e)||32===e||9===e}function uO(e,t){return 92===e&&(!aO(t)&&0!==t)}function lO(e,t,n){return 45===e?rO(t)||45===t||uO(t,n):!!rO(e)||92===e&&uO(e,t)}function cO(e,t,n){return 43===e||45===e?eO(t)?2:46===t&&eO(n)?3:0:46===e?eO(t)?2:0:eO(e)?1:0}function hO(e){return 65279===e||65534===e?1:0}for(var fO=new Array(128),dO=130,pO=0;pO<fO.length;pO++)fO[pO]=(sO(pO)?dO:eO(pO)&&131)||rO(pO)&&132||oO(pO)&&133||pO||128;function mO(e){return e<128?fO[e]:132}function gO(e,t){return t<e.length?e.charCodeAt(t):0}function vO(e,t,n){return 13===n&&10===gO(e,t+1)?2:1}function OO(e,t,n){var r=e.charCodeAt(t);return nO(r)&&(r|=32),r===n}function yO(e,t,n,r){if(n-t!==r.length)return!1;if(t<0||n>e.length)return!1;for(var i=t;i<n;i++){var o=r.charCodeAt(i-t),a=e.charCodeAt(i);if(nO(a)&&(a|=32),a!==o)return!1}return!0}function kO(e,t){for(;t<e.length&&sO(e.charCodeAt(t));t++);return t}function bO(e,t){for(;t<e.length&&eO(e.charCodeAt(t));t++);return t}function xO(e,t){if(tO(gO(e,(t+=2)-1))){for(var n=Math.min(e.length,t+5);t<n&&tO(gO(e,t));t++);var r=gO(e,t);sO(r)&&(t+=vO(e,t,r))}return t}function TO(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(!iO(n)){if(!uO(n,gO(e,t+1)))break;t=xO(e,t)-1}}return t}function wO(e,t){var n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeAt(t+=1)),eO(n)&&(t=bO(e,t+1),n=e.charCodeAt(t)),46===n&&eO(e.charCodeAt(t+1))&&(t=bO(e,t+=2)),OO(e,t,101)){var r=0;45!==(n=e.charCodeAt(t+1))&&43!==n||(r=1,n=e.charCodeAt(t+2)),eO(n)&&(t=bO(e,t+1+r+1))}return t}function SO(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(41===n){t++;break}uO(n,gO(e,t+1))&&(t=xO(e,t))}return t}function CO(e){if(1===e.length&&!tO(e.charCodeAt(0)))return e[0];var t=parseInt(e,16);return(0===t||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var EO=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"];function AO(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return null===e||e.length<t?new Uint32Array(Math.max(t+1024,16384)):e}function _O(e){for(var t=e.source,n=t.length,r=t.length>0?hO(t.charCodeAt(0)):0,i=AO(e.lines,n),o=AO(e.columns,n),a=e.startLine,s=e.startColumn,u=r;u<n;u++){var l=t.charCodeAt(u);i[u]=a,o[u]=s++,10!==l&&13!==l&&12!==l||(13===l&&u+1<n&&10===t.charCodeAt(u+1)&&(i[++u]=a,o[u]=s),a++,s=1)}i[n]=a,o[n]=s,e.lines=i,e.columns=o,e.computed=!0}var QO=function(){function e(){(0,Vr.Z)(this,e),this.lines=null,this.columns=null,this.computed=!1}return(0,Yr.Z)(e,[{key:"setSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;this.source=e,this.startOffset=t,this.startLine=n,this.startColumn=r,this.computed=!1}},{key:"getLocation",value:function(e,t){return this.computed||_O(this),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}},{key:"getLocationRange",value:function(e,t,n){return this.computed||_O(this),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}}]),e}(),PO=16777215,RO=24,DO=new Map([[2,Jv],[Gv,Jv],[qv,Xv],[Vv,Yv]]),NO=function(){function e(t,n){(0,Vr.Z)(this,e),this.setSource(t,n)}return(0,Yr.Z)(e,[{key:"reset",value:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}},{key:"setSource",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=(e=String(e||"")).length,r=AO(this.offsetAndType,e.length+1),i=AO(this.balance,e.length+1),o=0,a=0,s=0,u=-1;for(this.offsetAndType=null,this.balance=null,t(e,(function(e,t,l){switch(e){default:i[o]=n;break;case a:var c=s&PO;for(s=i[c],a=s>>RO,i[o]=c,i[c++]=o;c<o;c++)i[c]===n&&(i[c]=o);break;case Gv:case 2:case qv:case Vv:i[o]=s,a=DO.get(e),s=a<<RO|o}r[o++]=e<<RO|l,-1===u&&(u=t)})),r[o]=0|n,i[o]=n,i[n]=n;0!==s;){var l=s&PO;s=i[l],i[l]=n}this.source=e,this.firstCharOffset=-1===u?0:u,this.tokenCount=o,this.offsetAndType=r,this.balance=i,this.reset(),this.next()}},{key:"lookupType",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e]>>RO:0}},{key:"lookupOffset",value:function(e){return(e+=this.tokenIndex)<this.tokenCount?this.offsetAndType[e-1]&PO:this.source.length}},{key:"lookupValue",value:function(e,t){return(e+=this.tokenIndex)<this.tokenCount&&yO(this.source,this.offsetAndType[e-1]&PO,this.offsetAndType[e]&PO,t)}},{key:"getTokenStart",value:function(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&PO:this.offsetAndType[this.tokenCount]&PO:this.firstCharOffset}},{key:"substrToCursor",value:function(e){return this.source.substring(e,this.tokenStart)}},{key:"isBalanceEdge",value:function(e){return this.balance[this.tokenIndex]<e}},{key:"isDelim",value:function(e,t){return t?9===this.lookupType(t)&&this.source.charCodeAt(this.lookupOffset(t))===e:9===this.tokenType&&this.source.charCodeAt(this.tokenStart)===e}},{key:"skip",value:function(e){var t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.offsetAndType[t-1]&PO,t=this.offsetAndType[t],this.tokenType=t>>RO,this.tokenEnd=t&PO):(this.tokenIndex=this.tokenCount,this.next())}},{key:"next",value:function(){var e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>RO,this.tokenEnd=e&PO):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}},{key:"skipSC",value:function(){for(;this.tokenType===Bv||this.tokenType===Kv;)this.next()}},{key:"skipUntilBalanced",value:function(e,t){var n,r,i=e;e:for(;i<this.tokenCount&&!((n=this.balance[i])<e);i++)switch(r=i>0?this.offsetAndType[i-1]&PO:this.firstCharOffset,t(this.source.charCodeAt(r))){case 1:break e;case 2:i++;break e;default:this.balance[n]===i&&(i=n)}this.skip(i-this.tokenIndex)}},{key:"forEachToken",value:function(e){for(var t=0,n=this.firstCharOffset;t<this.tokenCount;t++){var r=n,i=this.offsetAndType[t],o=i&PO;n=o,e(i>>RO,r,o,t)}}},{key:"dump",value:function(){var e=this,t=new Array(this.tokenCount);return this.forEachToken((function(n,r,i,o){t[o]={idx:o,type:EO[n],chunk:e.source.substring(r,i),balance:e.balance[o]}})),t}}]),e}();function MO(e,t){function n(t){return t<s?e.charCodeAt(t):0}function r(){return lO(n(l=wO(e,l)),n(l+1),n(l+2))?(a=jv,void(l=TO(e,l))):37===n(l)?(a=$v,void l++):void(a=Zv)}function i(){var t=l;return l=TO(e,l),yO(e,t,l,"url")&&40===n(l)?34===n(l=kO(e,l+1))||39===n(l)?(a=2,void(l=t+4)):void function(){for(a=7,l=kO(e,l);l<e.length;l++){var t=e.charCodeAt(l);switch(mO(t)){case 41:return void l++;case dO:return 41===n(l=kO(e,l))||l>=e.length?void(l<e.length&&l++):(l=SO(e,l),void(a=8));case 34:case 39:case 40:case 133:return l=SO(e,l),void(a=8);case 92:if(uO(t,n(l+1))){l=xO(e,l)-1;break}return l=SO(e,l),void(a=8)}}}():40===n(l)?(a=2,void l++):void(a=1)}function o(t){for(t||(t=n(l++)),a=5;l<e.length;l++){var r=e.charCodeAt(l);switch(mO(r)){case t:return void l++;case dO:if(aO(r))return l+=vO(e,l,r),void(a=6);break;case 92:if(l===e.length-1)break;var i=n(l+1);aO(i)?l+=vO(e,l+1,i):uO(r,i)&&(l=xO(e,l)-1)}}}for(var a,s=(e=String(e||"")).length,u=hO(n(0)),l=u;l<s;){var c=e.charCodeAt(l);switch(mO(c)){case dO:a=Bv,l=kO(e,l+1);break;case 34:o();break;case 35:iO(n(l+1))||uO(n(l+1),n(l+2))?(a=4,l=TO(e,l+1)):(a=9,l++);break;case 39:o();break;case 40:a=Gv,l++;break;case 41:a=Jv,l++;break;case 43:cO(c,n(l+1),n(l+2))?r():(a=9,l++);break;case 44:a=Uv,l++;break;case 45:cO(c,n(l+1),n(l+2))?r():45===n(l+1)&&62===n(l+2)?(a=zv,l+=3):lO(c,n(l+1),n(l+2))?i():(a=9,l++);break;case 46:cO(c,n(l+1),n(l+2))?r():(a=9,l++);break;case 47:42===n(l+1)?(a=Kv,l=-1===(l=e.indexOf("*/",l+2))?e.length:l+2):(a=9,l++);break;case 58:a=Hv,l++;break;case 59:a=Wv,l++;break;case 60:33===n(l+1)&&45===n(l+2)&&45===n(l+3)?(a=14,l+=4):(a=9,l++);break;case 64:lO(n(l+1),n(l+2),n(l+3))?(a=3,l=TO(e,l+1)):(a=9,l++);break;case 91:a=qv,l++;break;case 92:uO(c,n(l+1))?i():(a=9,l++);break;case 93:a=Xv,l++;break;case 123:a=Vv,l++;break;case 125:a=Yv,l++;break;case 131:r();break;case 132:i();break;default:a=9,l++}t(a,u,u=l)}}var IO=null,LO=function(e){function t(){(0,Vr.Z)(this,t),this.head=null,this.tail=null,this.cursor=null}return(0,Yr.Z)(t,[{key:"createItem",value:function(e){return t.createItem(e)}},{key:"allocateCursor",value:function(e,t){var n;return null!==IO?(n=IO,IO=IO.cursor,n.prev=e,n.next=t,n.cursor=this.cursor):n={prev:e,next:t,cursor:this.cursor},this.cursor=n,n}},{key:"releaseCursor",value:function(){var e=this.cursor;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=IO,IO=e}},{key:"updateCursors",value:function(e,t,n,r){for(var i=this.cursor;null!==i;)i.prev===e&&(i.prev=t),i.next===n&&(i.next=r),i=i.cursor}},{key:e,value:Fi().mark((function e(){var t;return Fi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.head;case 1:if(null===t){e.next=7;break}return e.next=4,t.data;case 4:t=t.next,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))},{key:"size",get:function(){for(var e=0,t=this.head;null!==t;t=t.next)e++;return e}},{key:"isEmpty",get:function(){return null===this.head}},{key:"first",get:function(){return this.head&&this.head.data}},{key:"last",get:function(){return this.tail&&this.tail.data}},{key:"fromArray",value:function(e){var n=null;this.head=null;var r,i=(0,K.Z)(e);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=t.createItem(o);null!==n?n.next=a:this.head=a,a.prev=n,n=a}}catch(s){i.e(s)}finally{i.f()}return this.tail=n,this}},{key:"toArray",value:function(){return(0,rt.Z)(this)}},{key:"toJSON",value:function(){return(0,rt.Z)(this)}},{key:"forEach",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=this.allocateCursor(null,this.head);null!==n.next;){var r=n.next;n.next=r.next,e.call(t,r.data,r,this)}this.releaseCursor()}},{key:"forEachRight",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=this.allocateCursor(this.tail,null);null!==n.prev;){var r=n.prev;n.prev=r.prev,e.call(t,r.data,r,this)}this.releaseCursor()}},{key:"reduce",value:function(e,t){for(var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this,i=this.allocateCursor(null,this.head),o=t;null!==i.next;)n=i.next,i.next=n.next,o=e.call(r,o,n.data,n,this);return this.releaseCursor(),o}},{key:"reduceRight",value:function(e,t){for(var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this,i=this.allocateCursor(this.tail,null),o=t;null!==i.prev;)n=i.prev,i.prev=n.prev,o=e.call(r,o,n.data,n,this);return this.releaseCursor(),o}},{key:"some",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=this.head;null!==n;n=n.next)if(e.call(t,n.data,n,this))return!0;return!1}},{key:"map",value:function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=new t,i=this.head;null!==i;i=i.next)r.appendData(e.call(n,i.data,i,this));return r}},{key:"filter",value:function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=new t,i=this.head;null!==i;i=i.next)e.call(n,i.data,i,this)&&r.appendData(i.data);return r}},{key:"nextUntil",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;if(null!==e){for(var r=this.allocateCursor(null,e);null!==r.next;){var i=r.next;if(r.next=i.next,t.call(n,i.data,i,this))break}this.releaseCursor()}}},{key:"prevUntil",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;if(null!==e){for(var r=this.allocateCursor(e,null);null!==r.prev;){var i=r.prev;if(r.prev=i.prev,t.call(n,i.data,i,this))break}this.releaseCursor()}}},{key:"clear",value:function(){this.head=null,this.tail=null}},{key:"copy",value:function(){var e,n=new t,r=(0,K.Z)(this);try{for(r.s();!(e=r.n()).done;){var i=e.value;n.appendData(i)}}catch(o){r.e(o)}finally{r.f()}return n}},{key:"prepend",value:function(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}},{key:"prependData",value:function(e){return this.prepend(t.createItem(e))}},{key:"append",value:function(e){return this.insert(e)}},{key:"appendData",value:function(e){return this.insert(t.createItem(e))}},{key:"insert",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}},{key:"insertData",value:function(e,n){return this.insert(t.createItem(e),n)}},{key:"remove",value:function(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}},{key:"push",value:function(e){this.insert(t.createItem(e))}},{key:"pop",value:function(){return null!==this.tail?this.remove(this.tail):null}},{key:"unshift",value:function(e){this.prepend(t.createItem(e))}},{key:"shift",value:function(){return null!==this.head?this.remove(this.head):null}},{key:"prependList",value:function(e){return this.insertList(e,this.head)}},{key:"appendList",value:function(e){return this.insertList(e)}},{key:"insertList",value:function(e,t){return null===e.head||(void 0!==t&&null!==t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null),this}},{key:"replace",value:function(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)}}],[{key:"createItem",value:function(e){return{prev:null,next:null,data:e}}}]),t}(Symbol.iterator);function FO(e,t){var n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,"".concat(e,": ").concat(t,"\n"))}})}var ZO=" ";function $O(e,t){var n=e.source,r=e.line,i=e.column;function o(e,t){return a.slice(e,t).map((function(t,n){return String(e+n+1).padStart(l)+" |"+t})).join("\n")}var a=n.split(/\r\n?|\n|\f/),s=Math.max(1,r-t)-1,u=Math.min(r+t,a.length+1),l=Math.max(4,String(u).length)+1,c=0;(i+=(ZO.length-1)*(a[r-1].substr(0,i-1).match(/\t/g)||[]).length)>100&&(c=i-60+3,i=58);for(var h=s;h<=u;h++)h>=0&&h<a.length&&(a[h]=a[h].replace(/\t/g,ZO),a[h]=(c>0&&a[h].length>c?"\u2026":"")+a[h].substr(c,98)+(a[h].length>c+100-1?"\u2026":""));return[o(s,r),new Array(i+l+2).join("-")+"^",o(r,u)].filter(Boolean).join("\n")}function jO(e,t,n,r,i){return Object.assign(FO("SyntaxError",e),{source:t,offset:n,line:r,column:i,sourceFragment:function(e){return $O({source:t,line:r,column:i},isNaN(e)?0:e)},get formattedMessage(){return"Parse error: ".concat(e,"\n")+$O({source:t,line:r,column:i},2)}})}function BO(e){for(var t=this.createList(),n=!1,r={recognizer:e};!this.eof;){switch(this.tokenType){case Kv:this.next();continue;case Bv:n=!0,this.next();continue}var i=e.getNode.call(this,r);if(void 0===i)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,r),n=!1),t.push(i)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var zO=function(){};function HO(e){return function(){return this[e]()}}function WO(e){var t=Object.create(null);for(var n in e){var r=e[n],i=r.parse||r;i&&(t[n]=i)}return t}function UO(e){var t="",n="<unknown>",r=!1,i=zO,o=!1,a=new QO,s=Object.assign(new NO,function(e){var t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:WO(e.atrule),pseudo:WO(e.pseudo),node:WO(e.node)};for(var n in e.parseContext)switch(typeof e.parseContext[n]){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=HO(e.parseContext[n])}return(0,it.Z)((0,it.Z)({config:t},t),t.node)}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:BO,consumeUntilBalanceEnd:function(){return 0},consumeUntilLeftCurlyBracket:function(e){return 123===e?1:0},consumeUntilLeftCurlyBracketOrSemicolon:function(e){return 123===e||59===e?1:0},consumeUntilExclamationMarkOrSemicolon:function(e){return 33===e||59===e?1:0},consumeUntilSemicolonIncluded:function(e){return 59===e?2:0},createList:function(){return new LO},createSingleNodeList:function(e){return(new LO).appendData(e)},getFirstListNode:function(e){return e&&e.first},getLastListNode:function(e){return e&&e.last},parseWithFallback:function(e,t){var n=this.tokenIndex;try{return e.call(this)}catch(at){if(o)throw at;var r=t.call(this,n);return o=!0,i(at,r),o=!1,r}},lookupNonWSType:function(e){var t;do{if((t=this.lookupType(e++))!==Bv)return t}while(0!==t);return 0},charCodeAt:function(e){return e>=0&&e<t.length?t.charCodeAt(e):0},substring:function(e,n){return t.substring(e,n)},substrToCursor:function(e){return this.source.substring(e,this.tokenStart)},cmpChar:function(e,n){return OO(t,e,n)},cmpStr:function(e,n,r){return yO(t,e,n,r)},consume:function(e){var t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName:function(){var e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),e},consumeNumber:function(e){var n=t.substring(this.tokenStart,wO(t,this.tokenStart));return this.eat(e),n},eat:function(e){if(this.tokenType!==e){var t=EO[e].slice(0,-6).replace(/-/g," ").replace(/^./,(function(e){return e.toUpperCase()})),n="".concat(/[[\](){}]/.test(t)?'"'.concat(t,'"'):t," is expected"),r=this.tokenStart;switch(e){case 1:2===this.tokenType||7===this.tokenType?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case 4:this.isDelim(35)&&(this.next(),r++,n="Name is expected");break;case $v:this.tokenType===Zv&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent:function(e){1===this.tokenType&&!1!==this.lookupValue(0,e)||this.error('Identifier "'.concat(e,'" is expected')),this.next()},eatDelim:function(e){this.isDelim(e)||this.error('Delim "'.concat(String.fromCharCode(e),'" is expected')),this.next()},getLocation:function(e,t){return r?a.getLocationRange(e,t,n):null},getLocationFromList:function(e){if(r){var t=this.getFirstListNode(e),i=this.getLastListNode(e);return a.getLocationRange(null!==t?t.loc.start.offset-a.startOffset:this.tokenStart,null!==i?i.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error:function(e,n){var r="undefined"!==typeof n&&n<t.length?a.getLocation(n):this.eof?a.getLocation(function(e,t){for(;t>=0&&sO(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):a.getLocation(this.tokenStart);throw new jO(e||"Unexpected input",t,r.offset,r.line,r.column)}});return Object.assign((function(e,u){t=e,u=u||{},s.setSource(t,MO),a.setSource(t,u.offset,u.line,u.column),n=u.filename||"<unknown>",r=Boolean(u.positions),i="function"===typeof u.onParseError?u.onParseError:zO,o=!1,s.parseAtrulePrelude=!("parseAtrulePrelude"in u)||Boolean(u.parseAtrulePrelude),s.parseRulePrelude=!("parseRulePrelude"in u)||Boolean(u.parseRulePrelude),s.parseValue=!("parseValue"in u)||Boolean(u.parseValue),s.parseCustomProperty="parseCustomProperty"in u&&Boolean(u.parseCustomProperty);var l=u,c=l.context,h=void 0===c?"default":c,f=l.onComment;if(h in s.context===!1)throw new Error("Unknown context `"+h+"`");"function"===typeof f&&s.forEachToken((function(e,n,r){if(e===Kv){var i=s.getLocation(n,r),o=yO(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);f(o,i)}}));var d=s.context[h].call(s,u);return s.eof||s.error(),d}),{SyntaxError:jO,config:s.config})}var qO=n(865),XO=new Set(["Atrule","Selector","Declaration"]);var GO=function(e,t){if(9===e&&(e=t),"string"===typeof e){var n=e.charCodeAt(0);return n>127?32768:n<<8}return e},JO=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,Zv],[1,$v],[1,jv],[1,zv],[1,Gv],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,Zv],[3,$v],[3,jv],[3,zv],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,Zv],[4,$v],[4,jv],[4,zv],[jv,1],[jv,2],[jv,7],[jv,8],[jv,"-"],[jv,Zv],[jv,$v],[jv,jv],[jv,zv],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",Zv],["#",$v],["#",jv],["#",zv],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",Zv],["-",$v],["-",jv],["-",zv],[Zv,1],[Zv,2],[Zv,7],[Zv,8],[Zv,Zv],[Zv,$v],[Zv,jv],[Zv,"%"],[Zv,zv],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",zv],[".",Zv],[".",$v],[".",jv],["+",Zv],["+",$v],["+",jv],["/","*"]],VO=JO.concat([[1,4],[jv,4],[4,4],[3,Gv],[3,5],[3,Hv],[$v,$v],[$v,jv],[$v,2],[$v,"-"],[Jv,1],[Jv,2],[Jv,$v],[Jv,jv],[Jv,4],[Jv,"-"]]);function YO(e){var t=new Set(e.map((function(e){var t=(0,ee.Z)(e,2),n=t[0],r=t[1];return GO(n)<<16|GO(r)})));return function(e,n,r){var i=GO(n,r),o=r.charCodeAt(0);return(45===o&&1!==n&&2!==n&&n!==zv||43===o?t.has(e<<16|o<<8):t.has(e<<16|i))&&this.emit(" ",Bv,!0),i}}var KO=YO(JO),ey=YO(VO);function ty(e,t){var n=this;if("function"!==typeof t)e.children.forEach(this.node,this);else{var r=null;e.children.forEach((function(e){null!==r&&t.call(n,r),n.node(e),r=e}))}}function ny(e){var t=this;MO(e,(function(n,r,i){t.token(n,e.slice(r,i))}))}function ry(e){var t=new Map;for(var n in e.node){var r=e.node[n];"function"===typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){var r="",o=0,a={node:function(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(s,e)},tokenBefore:ey,token:function(e,t){o=this.tokenBefore(o,e,t),this.emit(t,e,!1),9===e&&92===t.charCodeAt(0)&&this.emit("\n",Bv,!0)},emit:function(e){r+=e},result:function(){return r}};n&&("function"===typeof n.decorator&&(a=n.decorator(a)),n.sourceMap&&(a=function(e){var t=new qO.h,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},o={generated:i},a=1,s=0,u=!1,l=e.node;e.node=function(e){if(e.loc&&e.loc.start&&XO.has(e.type)){var c=e.loc.start.line,h=e.loc.start.column-1;r.line===c&&r.column===h||(r.line=c,r.column=h,n.line=a,n.column=s,u&&(u=!1,n.line===i.line&&n.column===i.column||t.addMapping(o)),u=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}l.call(this,e),u&&XO.has(e.type)&&(i.line=a,i.column=s)};var c=e.emit;e.emit=function(e,t,n){for(var r=0;r<e.length;r++)10===e.charCodeAt(r)?(a++,s=0):s++;c(e,t,n)};var h=e.result;return e.result=function(){return u&&t.addMapping(o),{css:h(),map:t}},e}(a)),n.mode in i&&(a.tokenBefore=i[n.mode]));var s={node:function(e){return a.node(e)},children:ty,token:function(e,t){return a.token(e,t)},tokenize:ny};return a.node(e),a.result()}}var iy=Object.prototype.hasOwnProperty,oy=function(){};function ay(e){return"function"===typeof e?e:oy}function sy(e,t){return function(n,r,i){n.type===t&&e.call(this,n,r,i)}}function uy(e,t){var n=t.structure,r=[];for(var i in n)if(!1!==iy.call(n,i)){var o=n[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);var s,u=(0,K.Z)(o);try{for(u.s();!(s=u.n()).done;){var l=s.value;null===l?a.nullable=!0:"string"===typeof l?a.type="node":Array.isArray(l)&&(a.type="list")}}catch(c){u.e(c)}finally{u.f()}a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function ly(e,t){var n=e.fields.slice(),r=e.context,i="string"===typeof r;return t&&n.reverse(),function(e,o,a,s){var u;i&&(u=o[r],o[r]=e);var l,c=(0,K.Z)(n);try{for(c.s();!(l=c.n()).done;){var h=l.value,f=e[h.name];if(!h.nullable||f)if("list"===h.type){if(t?f.reduceRight(s,!1):f.reduce(s,!1))return!0}else if(a(f))return!0}}catch(d){c.e(d)}finally{c.f()}i&&(o[r]=u)}}function cy(e){var t=e.StyleSheet,n=e.Atrule,r=e.Rule,i=e.Block;return{Atrule:{StyleSheet:t,Atrule:n,Rule:r,Block:i},Rule:{StyleSheet:t,Atrule:n,Rule:r,Block:i},Declaration:{StyleSheet:t,Atrule:n,Rule:r,Block:i,DeclarationList:e.DeclarationList}}}function hy(e){var t=function(e){var t={};for(var n in e.node)if(iy.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=uy(0,r)}return t}(e),n={},r={},i=Symbol("break-walk"),o=Symbol("skip-node");for(var a in t)iy.call(t,a)&&null!==t[a]&&(n[a]=ly(t[a],!1),r[a]=ly(t[a],!0));var s=cy(n),u=cy(r),l=function(e,a){function l(e,t,n){var r=c.call(p,e,t,n);return r===i||r!==o&&(!(!f.hasOwnProperty(e.type)||!f[e.type](e,p,l,d))||h.call(p,e,t,n)===i)}var c=oy,h=oy,f=n,d=function(e,t,n,r){return e||l(t,n,r)},p={break:i,skip:o,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"===typeof a)c=a;else if(a&&(c=ay(a.enter),h=ay(a.leave),a.reverse&&(f=r),a.visit)){if(s.hasOwnProperty(a.visit))f=a.reverse?u[a.visit]:s[a.visit];else if(!t.hasOwnProperty(a.visit))throw new Error("Bad value `"+a.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");c=sy(c,a.visit),h=sy(h,a.visit)}if(c===oy&&h===oy)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");l(e)};return l.break=i,l.skip=o,l.find=function(e,t){var n=null;return l(e,(function(e,r,o){if(t.call(this,e,r,o))return n=e,i})),n},l.findLast=function(e,t){var n=null;return l(e,{reverse:!0,enter:function(e,r,o){if(t.call(this,e,r,o))return n=e,i}}),n},l.findAll=function(e,t){var n=[];return l(e,(function(e,r,i){t.call(this,e,r,i)&&n.push(e)})),n},l}function fy(e){return e}function dy(e,t,n,r){var i;switch(e.type){case"Group":i=function(e,t,n,r){var i=" "===e.combinator||r?e.combinator:" "+e.combinator+" ",o=e.terms.map((function(e){return dy(e,t,n,r)})).join(i);return e.explicit||n?(r||","===o[0]?"[":"[ ")+o+(r?"]":" ]"):o}(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return dy(e.term,t,n,r)+t(function(e){var t=e.min,n=e.max,r=e.comma;return 0===t&&0===n?r?"#?":"*":0===t&&1===n?"?":1===t&&0===n?r?"#":"+":1===t&&1===n?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(0!==n?n:"")+"}")}(e),e);case"Type":i="<"+e.name+(e.opts?t(function(e){if("Range"===e.type)return" ["+(null===e.min?"-\u221e":e.min)+","+(null===e.max?"\u221e":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function py(e,t){var n=fy,r=!1,i=!1;return"function"===typeof t?n=t:t&&(r=Boolean(t.forceBraces),i=Boolean(t.compact),"function"===typeof t.decorate&&(n=t.decorate)),dy(e,n,r,i)}var my={offset:0,line:1,column:1};function gy(e,t){var n=e&&e.loc&&e.loc[t];return n?"line"in n?vy(n):n:null}function vy(e,t){var n={offset:e.offset,line:e.line,column:e.column};if(t){var r=t.split(/\n|\r\n?|\f/);n.offset+=t.length,n.line+=r.length-1,n.column=1===r.length?n.column+t.length:r.pop().length+1}return n}var Oy=function(e,t){var n=FO("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},yy=function(e,t,n,r){var i=FO("SyntaxMatchError",e),o=function(e,t){for(var n,r,i=e.tokens,o=e.longestMatch,a=o<i.length&&i[o].node||null,s=a!==t?a:null,u=0,l=0,c=0,h="",f=0;f<i.length;f++){var d=i[f].value;f===o&&(l=d.length,u=h.length),null!==s&&i[f].node===s&&(f<=o?c++:c=0),h+=d}return o===i.length||c>1?(n=gy(s||t,"end")||vy(my,h),r=vy(n)):(n=gy(s,"start")||vy(gy(t,"start")||my,h.slice(0,u)),r=gy(s,"end")||vy(n,h.substr(u,l))),{css:h,mismatchOffset:u,mismatchLength:l,start:n,end:r}}(r,n),a=o.css,s=o.mismatchOffset,u=o.mismatchLength,l=o.start,c=o.end;return i.rawMessage=e,i.syntax=t?py(t):"<generic>",i.css=a,i.mismatchOffset=s,i.mismatchLength=u,i.message=e+"\n syntax: "+i.syntax+"\n value: "+(a||"<empty string>")+"\n --------"+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:l,end:c},i},ky=new Map,by=new Map,xy=function(e){if(ky.has(e))return ky.get(e);var t=e.toLowerCase(),n=ky.get(t);if(void 0===n){var r=wy(t,0),i=r?"":Sy(t,0);n=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:r})}return ky.set(e,n),n},Ty=function(e){if(by.has(e))return by.get(e);var t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");var r=wy(t,n.length);if(!r&&(t=t.toLowerCase(),by.has(t))){var i=by.get(t);return by.set(e,i),i}var o=r?"":Sy(t,n.length),a=t.substr(0,n.length+o.length),s=Object.freeze({basename:t.substr(a.length),name:t.substr(n.length),hack:n,vendor:o,prefix:a,custom:r});return by.set(e,s),s};function wy(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function Sy(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.charCodeAt(t+1)){var n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}var Cy=["initial","inherit","unset","revert","revert-layer"],Ey=45,Ay=!0;function _y(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function Qy(e,t,n){for(;null!==e&&(e.type===Bv||e.type===Kv);)e=n(++t);return t}function Py(e,t,n,r){if(!e)return 0;var i=e.value.charCodeAt(t);if(43===i||i===Ey){if(n)return 0;t++}for(;t<e.value.length;t++)if(!eO(e.value.charCodeAt(t)))return 0;return r+1}function Ry(e,t,n){var r=!1,i=Qy(e,t,n);if(null===(e=n(i)))return t;if(e.type!==Zv){if(!_y(e,43)&&!_y(e,Ey))return t;if(r=!0,i=Qy(n(++i),i,n),null===(e=n(i))||e.type!==Zv)return 0}if(!r){var o=e.value.charCodeAt(0);if(43!==o&&o!==Ey)return 0}return Py(e,r?0:1,r,i)}function Dy(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function Ny(e,t,n){for(var r=0,i=t;i<e.value.length;i++){var o=e.value.charCodeAt(i);if(45===o&&n&&0!==r)return Ny(e,t+r+1,!1),6;if(!tO(o))return 0;if(++r>6)return 0}return r}function My(e,t,n){if(!e)return 0;for(;Dy(n(t),63);){if(++e>6)return 0;t++}return t}var Iy=["calc(","-moz-calc(","-webkit-calc("],Ly=new Map([[2,Jv],[Gv,Jv],[qv,Xv],[Vv,Yv]]);function Fy(e,t){return t<e.length?e.charCodeAt(t):0}function Zy(e,t){return yO(e,0,e.length,t)}function $y(e,t){for(var n=0;n<t.length;n++)if(Zy(e,t[n]))return!0;return!1}function jy(e,t){return t===e.length-2&&(92===Fy(e,t)&&eO(Fy(e,t+1)))}function By(e,t,n){if(e&&"Range"===e.type){var r=Number(void 0!==n&&n!==t.length?t.substr(0,n):t);if(isNaN(r))return!0;if(null!==e.min&&r<e.min&&"string"!==typeof e.min)return!0;if(null!==e.max&&r>e.max&&"string"!==typeof e.max)return!0}return!1}function zy(e){return function(t,n,r){return null===t?0:2===t.type&&$y(t.value,Iy)?function(e,t){var n=0,r=[],i=0;e:do{switch(e.type){case Yv:case Jv:case Xv:if(e.type!==n)break e;if(n=r.pop(),0===r.length){i++;break e}break;case 2:case Gv:case qv:case Vv:r.push(n),n=Ly.get(e.type)}i++}while(e=t(i));return i}(t,n):e(t,n,r)}}function Hy(e){return function(t){return null===t||t.type!==e?0:1}}function Wy(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||t.type!==jv)return 0;var i=wO(t.value,0);if(null!==e){var o=t.value.indexOf("\\",i),a=-1!==o&&jy(t.value,o)?t.value.substring(i,o):t.value.substr(i);if(!1===e.has(a.toLowerCase()))return 0}return By(r,t.value,i)?0:1}}function Uy(e){return"function"!==typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===Zv&&0===Number(t.value)?1:e(t,n,r)}}var qy={"ident-token":Hy(1),"function-token":Hy(2),"at-keyword-token":Hy(3),"hash-token":Hy(4),"string-token":Hy(5),"bad-string-token":Hy(6),"url-token":Hy(7),"bad-url-token":Hy(8),"delim-token":Hy(9),"number-token":Hy(Zv),"percentage-token":Hy($v),"dimension-token":Hy(jv),"whitespace-token":Hy(Bv),"CDO-token":Hy(14),"CDC-token":Hy(zv),"colon-token":Hy(Hv),"semicolon-token":Hy(Wv),"comma-token":Hy(Uv),"[-token":Hy(qv),"]-token":Hy(Xv),"(-token":Hy(Gv),")-token":Hy(Jv),"{-token":Hy(Vv),"}-token":Hy(Yv),string:Hy(5),ident:Hy(1),"custom-ident":function(e){if(null===e||1!==e.type)return 0;var t=e.value.toLowerCase();return $y(t,Cy)||Zy(t,"default")?0:1},"custom-property-name":function(e){return null===e||1!==e.type||45!==Fy(e.value,0)||45!==Fy(e.value,1)?0:1},"hex-color":function(e){if(null===e||4!==e.type)return 0;var t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(var n=1;n<t;n++)if(!tO(Fy(e.value,n)))return 0;return 1},"id-selector":function(e){return null===e||4!==e.type?0:lO(Fy(e.value,1),Fy(e.value,2),Fy(e.value,3))?1:0},"an-plus-b":function(e,t){var n=0;if(!e)return 0;if(e.type===Zv)return Py(e,0,false,n);if(1===e.type&&e.value.charCodeAt(0)===Ey){if(!OO(e.value,1,110))return 0;switch(e.value.length){case 2:return Ry(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Ey?0:(n=Qy(t(++n),n,t),Py(e=t(n),0,Ay,n));default:return e.value.charCodeAt(2)!==Ey?0:Py(e,3,Ay,n)}}else if(1===e.type||_y(e,43)&&1===t(n+1).type){if(1!==e.type&&(e=t(++n)),null===e||!OO(e.value,0,110))return 0;switch(e.value.length){case 1:return Ry(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Ey?0:(n=Qy(t(++n),n,t),Py(e=t(n),0,Ay,n));default:return e.value.charCodeAt(1)!==Ey?0:Py(e,2,Ay,n)}}else if(e.type===jv){for(var r=e.value.charCodeAt(0),i=43===r||r===Ey?1:0,o=i;o<e.value.length&&eO(e.value.charCodeAt(o));o++);return o===i?0:OO(e.value,o,110)?o+1===e.value.length?Ry(t(++n),n,t):e.value.charCodeAt(o+1)!==Ey?0:o+2===e.value.length?(n=Qy(t(++n),n,t),Py(e=t(n),0,Ay,n)):Py(e,o+2,Ay,n):0}return 0},urange:function(e,t){var n=0;if(null===e||1!==e.type||!OO(e.value,0,117))return 0;if(null===(e=t(++n)))return 0;if(Dy(e,43))return null===(e=t(++n))?0:1===e.type?My(Ny(e,0,!0),++n,t):Dy(e,63)?My(1,++n,t):0;if(e.type===Zv){var r=Ny(e,1,!0);return 0===r?0:null===(e=t(++n))?n:e.type===jv||e.type===Zv?function(e,t){return e.value.charCodeAt(0)===t}(e,45)&&Ny(e,1,!1)?n+1:0:My(r,n,t)}return e.type===jv?My(Ny(e,1,!0),++n,t):0},"declaration-value":function(e,t){if(!e)return 0;var n=0,r=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case Yv:case Jv:case Xv:if(e.type!==n)break e;n=r.pop();break;case Wv:if(0===n)break e;break;case 9:if(0===n&&"!"===e.value)break e;break;case 2:case Gv:case qv:case Vv:r.push(n),n=Ly.get(e.type)}i++}while(e=t(i));return i},"any-value":function(e,t){if(!e)return 0;var n=0,r=[],i=0;e:do{switch(e.type){case 6:case 8:break e;case Yv:case Jv:case Xv:if(e.type!==n)break e;n=r.pop();break;case 2:case Gv:case qv:case Vv:r.push(n),n=Ly.get(e.type)}i++}while(e=t(i));return i},dimension:zy(Wy(null)),angle:zy(Wy(["deg","grad","rad","turn"])),decibel:zy(Wy(["db"])),frequency:zy(Wy(["hz","khz"])),flex:zy(Wy(["fr"])),length:zy(Uy(Wy(["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"]))),resolution:zy(Wy(["dpi","dpcm","dppx","x"])),semitones:zy(Wy(["st"])),time:zy(Wy(["s","ms"])),percentage:zy((function(e,t,n){return null===e||e.type!==$v||By(n,e.value,e.value.length-1)?0:1})),zero:Uy(),number:zy((function(e,t,n){if(null===e)return 0;var r=wO(e.value,0);return r===e.value.length||jy(e.value,r)?By(n,e.value,r)?0:1:0})),integer:zy((function(e,t,n){if(null===e||e.type!==Zv)return 0;for(var r=43===Fy(e.value,0)||45===Fy(e.value,0)?1:0;r<e.value.length;r++)if(!eO(Fy(e.value,r)))return 0;return By(n,e.value,r)?0:1}))};function Xy(e,t,n){return Object.assign(FO("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}var Gy=function(){function e(t){(0,Vr.Z)(this,e),this.str=t,this.pos=0}return(0,Yr.Z)(e,[{key:"charCodeAt",value:function(e){return e<this.str.length?this.str.charCodeAt(e):0}},{key:"charCode",value:function(){return this.charCodeAt(this.pos)}},{key:"nextCharCode",value:function(){return this.charCodeAt(this.pos+1)}},{key:"nextNonWsCode",value:function(e){return this.charCodeAt(this.findWsEnd(e))}},{key:"findWsEnd",value:function(e){for(;e<this.str.length;e++){var t=this.str.charCodeAt(e);if(13!==t&&10!==t&&12!==t&&32!==t&&9!==t)break}return e}},{key:"substringToPos",value:function(e){return this.str.substring(this.pos,this.pos=e)}},{key:"eat",value:function(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++}},{key:"peek",value:function(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}},{key:"error",value:function(e){throw new Xy(e,this.str,this.pos)}}]),e}(),Jy=123,Vy=new Uint8Array(128).map((function(e,t){return/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0})),Yy={" ":1,"&&":2,"||":3,"|":4};function Ky(e){return e.substringToPos(e.findWsEnd(e.pos))}function ek(e){for(var t=e.pos;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n>=128||0===Vy[n])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function tk(e){for(var t=e.pos;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n<48||n>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function nk(e){var t=e.str.indexOf("'",e.pos+1);return-1===t&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function rk(e){var t,n=null;return e.eat(Jy),t=tk(e),44===e.charCode()?(e.pos++,125!==e.charCode()&&(n=tk(e))):n=t,e.eat(125),{min:Number(t),max:n?Number(n):0}}function ik(e,t){var n=function(e){var t=null,n=!1;switch(e.charCode()){case 42:e.pos++,t={min:0,max:0};break;case 43:e.pos++,t={min:1,max:0};break;case 63:e.pos++,t={min:0,max:1};break;case 35:e.pos++,n=!0,e.charCode()===Jy?t=rk(e):63===e.charCode()?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Jy:t=rk(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}(e);return null!==n?(n.term=t,35===e.charCode()&&43===e.charCodeAt(e.pos-1)?ik(e,n):n):t}function ok(e){var t=e.peek();return""===t?null:{type:"Token",value:t}}function ak(e){var t,n=null;return e.eat(60),t=ek(e),40===e.charCode()&&41===e.nextCharCode()&&(e.pos+=2,t+="()"),91===e.charCodeAt(e.findWsEnd(e.pos))&&(Ky(e),n=function(e){var t=null,n=null,r=1;return e.eat(91),45===e.charCode()&&(e.peek(),r=-1),-1==r&&8734===e.charCode()?e.peek():(t=r*Number(tk(e)),0!==Vy[e.charCode()]&&(t+=ek(e))),Ky(e),e.eat(44),Ky(e),8734===e.charCode()?e.peek():(r=1,45===e.charCode()&&(e.peek(),r=-1),n=r*Number(tk(e)),0!==Vy[e.charCode()]&&(n+=ek(e))),e.eat(93),{type:"Range",min:t,max:n}}(e)),e.eat(62),ik(e,{type:"Type",name:t,opts:n})}function sk(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}var r;for(t=Object.keys(t).sort((function(e,t){return Yy[e]-Yy[t]}));t.length>0;){r=t.shift();for(var i=0,o=0;i<e.length;i++){var a=e[i];"Combinator"===a.type&&(a.value===r?(-1===o&&(o=i-1),e.splice(i,1),i--):(-1!==o&&i-o>1&&(e.splice(o,i-o,n(e.slice(o,i),r)),i=o+1),o=-1))}-1!==o&&t.length&&e.splice(o,i-o,n(e.slice(o,i),r))}return r}function uk(e){for(var t,n=[],r={},i=null,o=e.pos;t=lk(e);)"Spaces"!==t.type&&("Combinator"===t.type?(null!==i&&"Combinator"!==i.type||(e.pos=o,e.error("Unexpected combinator")),r[t.value]=!0):null!==i&&"Combinator"!==i.type&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(t),i=t,o=e.pos);return null!==i&&"Combinator"===i.type&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:sk(n,r)||" ",disallowEmpty:!1,explicit:!1}}function lk(e){var t=e.charCode();if(t<128&&1===Vy[t])return function(e){var t=ek(e);return 40===e.charCode()?(e.pos++,{type:"Function",name:t}):ik(e,{type:"Keyword",name:t})}(e);switch(t){case 93:break;case 91:return ik(e,function(e){var t;return e.eat(91),t=uk(e),e.eat(93),t.explicit=!0,33===e.charCode()&&(e.pos++,t.disallowEmpty=!0),t}(e));case 60:return 39===e.nextCharCode()?function(e){var t;return e.eat(60),e.eat(39),t=ek(e),e.eat(39),e.eat(62),ik(e,{type:"Property",name:t})}(e):ak(e);case 124:return{type:"Combinator",value:e.substringToPos(e.pos+(124===e.nextCharCode()?2:1))};case 38:return e.pos++,e.eat(38),{type:"Combinator",value:"&&"};case 44:return e.pos++,{type:"Comma"};case 39:return ik(e,{type:"String",value:nk(e)});case 32:case 9:case 10:case 13:case 12:return{type:"Spaces",value:Ky(e)};case 64:return(t=e.nextCharCode())<128&&1===Vy[t]?(e.pos++,{type:"AtKeyword",name:ek(e)}):ok(e);case 42:case 43:case 63:case 35:case 33:break;case Jy:if((t=e.nextCharCode())<48||t>57)return ok(e);break;default:return ok(e)}}function ck(e){var t=new Gy(e),n=uk(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}var hk=function(){};function fk(e){return"function"===typeof e?e:hk}var dk={decorator:function(e){var t=[],n=null;return(0,it.Z)((0,it.Z)({},e),{},{node:function(t){var r=n;n=t,e.node.call(this,t),n=r},emit:function(e,r,i){t.push({type:r,value:e,node:i?null:n})},result:function(){return t}})}};function pk(e,t){return"string"===typeof e?function(e){var t=[];return MO(e,(function(n,r,i){return t.push({type:n,value:e.slice(r,i),node:null})})),t}(e):t.generate(e,dk)}var mk={type:"Match"},gk={type:"Mismatch"},vk={type:"DisallowEmpty"};function Ok(e,t,n){return t===mk&&n===gk||e===mk&&t===mk&&n===mk?e:("If"===e.type&&e.else===gk&&t===mk&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function yk(e){return e.length>2&&40===e.charCodeAt(e.length-2)&&41===e.charCodeAt(e.length-1)}function kk(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&yk(e.name)}function bk(e,t,n){switch(e){case" ":for(var r=mk,i=t.length-1;i>=0;i--){r=Ok(t[i],r,gk)}return r;case"|":for(var o=gk,a=null,s=t.length-1;s>=0;s--){var u=t[s];if(kk(u)&&(null===a&&s>0&&kk(t[s-1])&&(o=Ok({type:"Enum",map:a=Object.create(null)},mk,o)),null!==a)){var l=(yk(u.name)?u.name.slice(0,-1):u.name).toLowerCase();if(l in a===!1){a[l]=u;continue}}a=null,o=Ok(u,mk,o)}return o;case"&&":if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};for(var c=gk,h=function(n){var r=t[n],i=void 0;i=t.length>1?bk(e,t.filter((function(e){return e!==r})),!1):mk,c=Ok(r,i,c)},f=t.length-1;f>=0;f--)h(f);return c;case"||":if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};for(var d=n?mk:gk,p=function(n){var r=t[n],i=void 0;i=t.length>1?bk(e,t.filter((function(e){return e!==r})),!0):mk,d=Ok(r,i,d)},m=t.length-1;m>=0;m--)p(m);return d}}function xk(e){if("function"===typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":var t=bk(e.combinator,e.terms.map(xk),!1);return e.disallowEmpty&&(t=Ok(t,vk,gk)),t;case"Multiplier":return function(e){var t=mk,n=xk(e.term);if(0===e.max)n=Ok(n,vk,gk),(t=Ok(n,null,gk)).then=Ok(mk,mk,t),e.comma&&(t.then.else=Ok({type:"Comma",syntax:e},t,gk));else for(var r=e.min||1;r<=e.max;r++)e.comma&&t!==mk&&(t=Ok({type:"Comma",syntax:e},t,gk)),t=Ok(n,Ok(mk,mk,t),gk);if(0===e.min)t=Ok(mk,mk,t);else for(var i=0;i<e.min-1;i++)e.comma&&t!==mk&&(t=Ok({type:"Comma",syntax:e},t,gk)),t=Ok(n,t,gk);return t}(e);case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return 3===e.value.length?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function Tk(e,t){return"string"===typeof e&&(e=ck(e)),{type:"MatchGraph",match:xk(e),syntax:t||null,source:e}}var wk=Object.prototype.hasOwnProperty,Sk="Match";function Ck(e){for(var t=null,n=null,r=e;null!==r;)n=r.prev,r.prev=t,t=r,r=n;return t}function Ek(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=t.charCodeAt(n),i=e.charCodeAt(n);if(i>=65&&i<=90&&(i|=32),i!==r)return!1}return!0}function Ak(e){return null===e||(e.type===Uv||2===e.type||e.type===Gv||e.type===qv||e.type===Vv||function(e){return 9===e.type&&"?"!==e.value}(e))}function _k(e){return null===e||(e.type===Jv||e.type===Xv||e.type===Yv||9===e.type&&"/"===e.value)}function Qk(e,t,n){function r(){do{v++,g=v<e.length?e[v]:null}while(null!==g&&(g.type===Bv||g.type===Kv))}function i(t){var n=v+t;return n<e.length?e[n]:null}function o(e,t){return{nextState:e,matchStack:y,syntaxStack:c,thenStack:h,tokenIndex:v,prev:t}}function a(e){h={nextState:e,matchStack:y,syntaxStack:c,prev:h}}function s(e){f=o(e,f)}function u(){y={type:1,syntax:t.syntax,token:g,prev:y},r(),d=null,v>O&&(O=v)}function l(){y=2===y.type?y.prev:{type:3,syntax:c.syntax,token:y.token,prev:y},c=c.prev}var c=null,h=null,f=null,d=null,p=0,m=null,g=null,v=-1,O=0,y={type:0,syntax:null,token:null,prev:null};for(r();null===m&&++p<15e3;)switch(t.type){case"Match":if(null===h){if(null!==g&&(v!==e.length-1||"\\0"!==g.value&&"\\9"!==g.value)){t=gk;break}m=Sk;break}if((t=h.nextState)===vk){if(h.matchStack===y){t=gk;break}t=mk}for(;h.syntaxStack!==c;)l();h=h.prev;break;case"Mismatch":if(null!==d&&!1!==d)(null===f||v>f.tokenIndex)&&(f=d,d=!1);else if(null===f){m="Mismatch";break}t=f.nextState,h=f.thenStack,c=f.syntaxStack,y=f.matchStack,v=f.tokenIndex,g=v<e.length?e[v]:null,f=f.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==gk&&s(t.else),t.then!==mk&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":var k=t.syntax.terms;if(t.index===k.length){if(0===t.mask||t.syntax.all){t=gk;break}t=mk;break}if(t.mask===(1<<k.length)-1){t=mk;break}for(;t.index<k.length;t.index++){var b=1<<t.index;if(0===(t.mask&b)){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|b}),t=k[t.index++];break}}break;case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(null!==g){var x=g.value.toLowerCase();if(-1!==x.indexOf("\\")&&(x=x.replace(/\\[09].*$/,"")),wk.call(t.map,x)){t=t.map[x];break}}t=gk;break;case"Generic":var T=null!==c?c.opts:null,w=v+Math.floor(t.fn(g,i,T));if(!isNaN(w)&&w>v){for(;v<w;)u();t=mk}else t=gk;break;case"Type":case"Property":var S="Type"===t.type?"types":"properties",C=wk.call(n,S)?n[S][t.name]:null;if(!C||!C.match)throw new Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==d&&null!==g&&"Type"===t.type)if("custom-ident"===t.name&&1===g.type||"length"===t.name&&"0"===g.value){null===d&&(d=o(t,f)),t=gk;break}c={syntax:t.syntax,opts:t.syntax.opts||null!==c&&c.opts||null,prev:c},y={type:2,syntax:t.syntax,token:y.token,prev:y},t=C.match;break;case"Keyword":var E=t.name;if(null!==g){var A=g.value;if(-1!==A.indexOf("\\")&&(A=A.replace(/\\[09].*$/,"")),Ek(A,E)){u(),t=mk;break}}t=gk;break;case"AtKeyword":case"Function":if(null!==g&&Ek(g.value,t.name)){u(),t=mk;break}t=gk;break;case"Token":if(null!==g&&g.value===t.value){u(),t=mk;break}t=gk;break;case"Comma":null!==g&&g.type===Uv?Ak(y.token)?t=gk:(u(),t=_k(g)?gk:mk):t=Ak(y.token)||_k(g)?mk:gk;break;case"String":for(var _="",Q=v;Q<e.length&&_.length<t.value.length;Q++)_+=e[Q].value;if(Ek(_,t.value)){for(;v<Q;)u();t=mk}else t=gk;break;default:throw new Error("Unknown node type: "+t.type)}switch(p,m){case null:console.warn("[csstree-match] BREAK after 15000 iterations"),m="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",y=null;break;case Sk:for(;null!==c;)l();break;default:y=null}return{tokens:e,reason:m,iterations:p,match:y,longestMatch:O}}function Pk(e,t,n){var r=Qk(e,t,n||{});if(null===r.match)return r;var i=r.match,o=r.match={syntax:t.syntax||null,match:[]},a=[o];for(i=Ck(i).prev;null!==i;){switch(i.type){case 2:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case 3:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return r}function Rk(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}var n=null;return null!==this.matched&&function r(i){if(Array.isArray(i.match)){for(var o=0;o<i.match.length;o++)if(r(i.match[o]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}(this.matched),n}function Dk(e,t){return Ik(this,e,(function(e){return"Type"===e.type&&e.name===t}))}function Nk(e,t){return Ik(this,e,(function(e){return"Property"===e.type&&e.name===t}))}function Mk(e){return Ik(this,e,(function(e){return"Keyword"===e.type}))}function Ik(e,t,n){var r=Rk.call(e,t);return null!==r&&r.some(n)}function Lk(e){return"node"in e?e.node:Lk(e.match[0])}function Fk(e){return"node"in e?e.node:Fk(e.match[e.match.length-1])}function Zk(e,t,n,r,i){var o=[];return null!==n.matched&&function n(a){if(null!==a.syntax&&a.syntax.type===r&&a.syntax.name===i){var s=Lk(a),u=Fk(a);e.syntax.walk(t,(function(e,t,n){if(e===s){var r=new LO;do{if(r.appendData(t.data),t.data===u)break;t=t.next}while(null!==t);o.push({parent:n,nodes:r})}}))}Array.isArray(a.match)&&a.match.forEach(n)}(n.matched),o}var $k=Object.prototype.hasOwnProperty;function jk(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Bk(e){return Boolean(e)&&jk(e.offset)&&jk(e.line)&&jk(e.column)}function zk(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(var i in n){var o=!0;if(!1!==$k.call(n,i)){if("type"===i)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===i){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!==typeof n.loc.source)i+=".source";else if(Bk(n.loc.start)){if(Bk(n.loc.end))continue;i+=".end"}else i+=".start";o=!1}else if(t.hasOwnProperty(i)){o=!1;for(var a=0;!o&&a<t[i].length;a++){var s=t[i][a];switch(s){case String:o="string"===typeof n[i];break;case Boolean:o="boolean"===typeof n[i];break;case null:o=null===n[i];break;default:"string"===typeof s?o=n[i]&&n[i].type===s:Array.isArray(s)&&(o=n[i]instanceof LO)}}}else r(n,"Unknown field `"+i+"` for "+e+" node type");o||r(n,"Bad value for `"+e+"."+i+"`")}}for(var u in t)$k.call(t,u)&&!1===$k.call(n,u)&&r(n,"Field `"+e+"."+u+"` is missed")}}function Hk(e,t){var n=t.structure,r={type:String,loc:!0},i={type:'"'+e+'"'};for(var o in n)if(!1!==$k.call(n,o)){for(var a=[],s=r[o]=Array.isArray(n[o])?n[o].slice():[n[o]],u=0;u<s.length;u++){var l=s[u];if(l===String||l===Boolean)a.push(l.name);else if(null===l)a.push("null");else if("string"===typeof l)a.push("<"+l+">");else{if(!Array.isArray(l))throw new Error("Wrong value `"+l+"` in `"+e+"."+o+"` structure definition");a.push("List")}}i[o]=a.join(" | ")}return{docs:i,check:zk(e,r)}}var Wk=Tk(Cy.join(" | "));function Uk(e,t,n){var r={};for(var i in e)e[i].syntax&&(r[i]=n?e[i].syntax:py(e[i].syntax,{compact:t}));return r}function qk(e,t,n){for(var r={},i=0,o=Object.entries(e);i<o.length;i++){var a=(0,ee.Z)(o[i],2),s=a[0],u=a[1];r[s]={prelude:u.prelude&&(n?u.prelude.syntax:py(u.prelude.syntax,{compact:t})),descriptors:u.descriptors&&Uk(u.descriptors,t,n)}}return r}function Xk(e,t,n){return(0,it.Z)({matched:e,iterations:n,error:t},o)}function Gk(e,t,n,r){var i,o=pk(n,e.syntax);return function(e){for(var t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}(o)?Xk(null,new Error("Matching for a tree with var() is not supported")):(r&&(i=Pk(o,e.cssWideKeywordsSyntax,e)),r&&i.match||(i=Pk(o,t.match,e)).match?Xk(i.match,null,i.iterations):Xk(null,new yy(i.reason,t.syntax,n,i),i.iterations))}var Jk=function(){function e(t,n,r){if((0,Vr.Z)(this,e),this.cssWideKeywordsSyntax=Wk,this.syntax=n,this.generic=!1,this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||function(e){var t={};if(e.node)for(var n in e.node)if($k.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=Hk(n,r)}return t}(t),t){if(t.types)for(var i in t.types)this.addType_(i,t.types[i]);if(t.generic)for(var o in this.generic=!0,qy)this.addType_(o,qy[o]);if(t.atrules)for(var a in t.atrules)this.addAtrule_(a,t.atrules[a]);if(t.properties)for(var s in t.properties)this.addProperty_(s,t.properties[s])}}return(0,Yr.Z)(e,[{key:"checkStructure",value:function(e){function t(e,t){r.push({node:e,message:t})}var n=this.structure,r=[];return this.syntax.walk(e,(function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")})),!!r.length&&r}},{key:"createDescriptor",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i={type:t,name:n},o={type:t,name:n,parent:r,serializable:"string"===typeof e||e&&"string"===typeof e.type,syntax:null,match:null};return"function"===typeof e?o.match=Tk(e,i):("string"===typeof e?Object.defineProperty(o,"syntax",{get:function(){return Object.defineProperty(o,"syntax",{value:ck(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get:function(){return Object.defineProperty(o,"match",{value:Tk(o.syntax,i)}),o.match}})),o}},{key:"addAtrule_",value:function(e,t){var n=this;t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((function(r,i){return r[i]=n.createDescriptor(t.descriptors[i],"AtruleDescriptor",i,e),r}),Object.create(null)):null})}},{key:"addProperty_",value:function(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))}},{key:"addType_",value:function(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e))}},{key:"checkAtruleName",value:function(e){if(!this.getAtrule(e))return new Oy("Unknown at-rule","@"+e)}},{key:"checkAtrulePrelude",value:function(e,t){var n=this.checkAtruleName(e);if(n)return n;var r=this.getAtrule(e);return!r.prelude&&t?new SyntaxError("At-rule `@"+e+"` should not contain a prelude"):!r.prelude||t||Gk(this,r.prelude,"",!1).matched?void 0:new SyntaxError("At-rule `@"+e+"` should contain a prelude")}},{key:"checkAtruleDescriptorName",value:function(e,t){var n=this.checkAtruleName(e);if(n)return n;var r=this.getAtrule(e),i=xy(t);return r.descriptors?r.descriptors[i.name]||r.descriptors[i.basename]?void 0:new Oy("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}},{key:"checkPropertyName",value:function(e){if(!this.getProperty(e))return new Oy("Unknown property",e)}},{key:"matchAtrulePrelude",value:function(e,t){var n=this.checkAtrulePrelude(e,t);if(n)return Xk(null,n);var r=this.getAtrule(e);return r.prelude?Gk(this,r.prelude,t||"",!1):Xk(null,null)}},{key:"matchAtruleDescriptor",value:function(e,t,n){var r=this.checkAtruleDescriptorName(e,t);if(r)return Xk(null,r);var i=this.getAtrule(e),o=xy(t);return Gk(this,i.descriptors[o.name]||i.descriptors[o.basename],n,!1)}},{key:"matchDeclaration",value:function(e){return"Declaration"!==e.type?Xk(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}},{key:"matchProperty",value:function(e,t){if(Ty(e).custom)return Xk(null,new Error("Lexer matching doesn't applicable for custom properties"));var n=this.checkPropertyName(e);return n?Xk(null,n):Gk(this,this.getProperty(e),t,!0)}},{key:"matchType",value:function(e,t){var n=this.getType(e);return n?Gk(this,n,t,!1):Xk(null,new Oy("Unknown type",e))}},{key:"match",value:function(e,t){return"string"===typeof e||e&&e.type?("string"!==typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),Gk(this,e,t,!1)):Xk(null,new Oy("Bad syntax"))}},{key:"findValueFragments",value:function(e,t,n,r){return Zk(this,t,this.matchProperty(e,t),n,r)}},{key:"findDeclarationValueFragments",value:function(e,t,n){return Zk(this,e.value,this.matchDeclaration(e),t,n)}},{key:"findAllFragments",value:function(e,t,n){var r=this,i=[];return this.syntax.walk(e,{visit:"Declaration",enter:function(e){i.push.apply(i,r.findDeclarationValueFragments(e,t,n))}}),i}},{key:"getAtrule",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=xy(e),r=n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name];return r||null}},{key:"getAtrulePrelude",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.getAtrule(e,t);return n&&n.prelude||null}},{key:"getAtruleDescriptor",value:function(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}},{key:"getProperty",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Ty(e),r=n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name];return r||null}},{key:"getType",value:function(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}},{key:"validate",value:function(){function e(r,i,o,a){if(o.has(i))return o.get(i);o.set(i,!1),null!==a.syntax&&function(e,t,n){var r=hk,i=hk;if("function"===typeof t?r=t:t&&(r=fk(t.enter),i=fk(t.leave)),r===hk&&i===hk)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(r.call(n,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":e(t.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+t.type)}i.call(n,t)}(e)}(a.syntax,(function(a){if("Type"===a.type||"Property"===a.type){var s="Type"===a.type?r.types:r.properties,u="Type"===a.type?t:n;hasOwnProperty.call(s,a.name)&&!e(r,a.name,u,s[a.name])||o.set(i,!0)}}),this)}var t=new Map,n=new Map;for(var r in this.types)e(this,r,t,this.types[r]);for(var i in this.properties)e(this,i,n,this.properties[i]);return t=(0,rt.Z)(t.keys()).filter((function(e){return t.get(e)})),n=(0,rt.Z)(n.keys()).filter((function(e){return n.get(e)})),t.length||n.length?{types:t,properties:n}:null}},{key:"dump",value:function(e,t){return{generic:this.generic,types:Uk(this.types,!t,e),properties:Uk(this.properties,!t,e),atrules:qk(this.atrules,!t,e)}}},{key:"toString",value:function(){return JSON.stringify(this.dump())}}]),e}(),Vk=Object.prototype.hasOwnProperty,Yk={generic:!0,types:nb,atrules:{prelude:rb,descriptors:rb},properties:nb,parseContext:function(e,t){return Object.assign(e,t)},scope:function e(t,n){for(var r in n)Vk.call(n,r)&&(Kk(t[r])?e(t[r],n[r]):t[r]=eb(n[r]));return t},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function Kk(e){return e&&e.constructor===Object}function eb(e){return Kk(e)?(0,it.Z)({},e):e}function tb(e,t){return"string"===typeof t&&/^\s*\|/.test(t)?"string"===typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function nb(e,t){if("string"===typeof t)return tb(e,t);var n=(0,it.Z)({},e);for(var r in t)Vk.call(t,r)&&(n[r]=tb(Vk.call(e,r)?e[r]:void 0,t[r]));return n}function rb(e,t){var n=nb(e,t);return!Kk(n)||Object.keys(n).length?n:null}function ib(e,t,n){for(var r in n)if(!1!==Vk.call(n,r))if(!0===n[r])Vk.call(t,r)&&(e[r]=eb(t[r]));else if(n[r])if("function"===typeof n[r]){var i=n[r];e[r]=i({},e[r]),e[r]=i(e[r]||{},t[r])}else if(Kk(n[r])){var o={};for(var a in e[r])o[a]=ib({},e[r][a],n[r]);for(var s in t[r])o[s]=ib(o[s]||{},t[r][s],n[r]);e[r]=o}else if(Array.isArray(n[r])){for(var u={},l=n[r].reduce((function(e,t){return e[t]=!0,e}),{}),c=0,h=Object.entries(e[r]||{});c<h.length;c++){var f=(0,ee.Z)(h[c],2),d=f[0],p=f[1];u[d]={},p&&ib(u[d],p,l)}for(var m in t[r])Vk.call(t[r],m)&&(u[m]||(u[m]={}),t[r]&&t[r][m]&&ib(u[m],t[r][m],l));e[r]=u}return e}var ob=function(e,t){return ib(e,t,Yk)};function ab(e){var t=UO(e),n=hy(e),r=ry(e),i=function(e){return{fromPlainObject:function(t){return e(t,{enter:function(e){e.children&&e.children instanceof LO===!1&&(e.children=(new LO).fromArray(e.children))}}),t},toPlainObject:function(t){return e(t,{leave:function(e){e.children&&e.children instanceof LO&&(e.children=e.children.toArray())}}),t}}}(n),o=i.fromPlainObject,a=i.toPlainObject,s={lexer:null,createLexer:function(e){return new Jk(e,s,s.lexer.structure)},tokenize:MO,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:a,fork:function(t){var n=ob({},e);return ab("function"===typeof t?t(n,Object.assign):ob(n,t))}};return s.lexer=new Jk({generic:!0,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},s),s}var sb=43,ub=45,lb=110,cb=!0;function hb(e,t){var n=this.tokenStart+e,r=this.charCodeAt(n);for(r!==sb&&r!==ub||(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)eO(this.charCodeAt(n))||this.error("Integer is expected",n)}function fb(e){return hb.call(this,0,e)}function db(e,t){if(!this.cmpChar(this.tokenStart+e,t)){var n="";switch(t){case lb:n="N is expected";break;case ub:n="HyphenMinus is expected"}this.error(n,this.tokenStart+e)}}function pb(){for(var e=0,t=0,n=this.tokenType;n===Bv||n===Kv;)n=this.lookupType(++e);if(n!==Zv){if(!this.isDelim(sb,e)&&!this.isDelim(ub,e))return null;t=this.isDelim(sb,e)?sb:ub;do{n=this.lookupType(++e)}while(n===Bv||n===Kv);n!==Zv&&(this.skip(e),fb.call(this,cb))}return e>0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart))!==sb&&n!==ub&&this.error("Number sign is expected"),fb.call(this,0!==t),t===ub?"-"+this.consume(Zv):this.consume(Zv)}var mb="AnPlusB",gb={a:[String,null],b:[String,null]};function vb(){var e=this.tokenStart,t=null,n=null;if(this.tokenType===Zv)fb.call(this,false),n=this.consume(Zv);else if(1===this.tokenType&&this.cmpChar(this.tokenStart,ub))switch(t="-1",db.call(this,1,lb),this.tokenEnd-this.tokenStart){case 2:this.next(),n=pb.call(this);break;case 3:db.call(this,2,ub),this.next(),this.skipSC(),fb.call(this,cb),n="-"+this.consume(Zv);break;default:db.call(this,2,ub),hb.call(this,3,cb),this.next(),n=this.substrToCursor(e+2)}else if(1===this.tokenType||this.isDelim(sb)&&1===this.lookupType(1)){var r=0;switch(t="1",this.isDelim(sb)&&(r=1,this.next()),db.call(this,0,lb),this.tokenEnd-this.tokenStart){case 1:this.next(),n=pb.call(this);break;case 2:db.call(this,1,ub),this.next(),this.skipSC(),fb.call(this,cb),n="-"+this.consume(Zv);break;default:db.call(this,1,ub),hb.call(this,2,cb),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===jv){for(var i=this.charCodeAt(this.tokenStart),o=i===sb||i===ub,a=this.tokenStart+o;a<this.tokenEnd&&eO(this.charCodeAt(a));a++);a===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),db.call(this,a-this.tokenStart,lb),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),n=pb.call(this)):(db.call(this,a-this.tokenStart+1,ub),a+2===this.tokenEnd?(this.next(),this.skipSC(),fb.call(this,cb),n="-"+this.consume(Zv)):(hb.call(this,a-this.tokenStart+2,cb),this.next(),n=this.substrToCursor(a+1)))}else this.error();return null!==t&&t.charCodeAt(0)===sb&&(t=t.substr(1)),null!==n&&n.charCodeAt(0)===sb&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function Ob(e){if(e.a){var t=("+1"===e.a||"1"===e.a?"n":"-1"===e.a&&"-n")||e.a+"n";if(e.b){var n="-"===e.b[0]||"+"===e.b[0]?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}function yb(e){return this.Raw(e,this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function kb(){for(var e,t=1;e=this.lookupType(t);t++){if(e===Yv)return!0;if(e===Vv||3===e)return!1}return!1}var bb="Atrule",xb="atrule",Tb={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function wb(){var e,t,n=this.tokenStart,r=null,i=null;switch(this.eat(3),t=(e=this.substrToCursor(n+1)).toLowerCase(),this.skipSC(),!1===this.eof&&this.tokenType!==Vv&&this.tokenType!==Wv&&(r=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,e),yb):yb.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Wv:this.next();break;case Vv:i=hasOwnProperty.call(this.atrule,t)&&"function"===typeof this.atrule[t].block?this.atrule[t].block.call(this):this.Block(kb.call(this))}return{type:"Atrule",loc:this.getLocation(n,this.tokenStart),name:e,prelude:r,block:i}}function Sb(e){this.token(3,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(Wv,";")}var Cb="AtrulePrelude",Eb="atrulePrelude",Ab={children:[[]]};function _b(e){var t=null;return null!==e&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&"function"===typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&this.tokenType!==Vv&&this.tokenType!==Wv&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function Qb(e){this.children(e)}function Pb(){this.eof&&this.error("Unexpected end of input");var e=this.tokenStart,t=!1;return this.isDelim(42)?(t=!0,this.next()):this.isDelim(124)||this.eat(1),this.isDelim(124)?61!==this.charCodeAt(this.tokenStart+1)?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Rb(){var e=this.tokenStart,t=this.charCodeAt(e);return 61!==t&&126!==t&&94!==t&&36!==t&&42!==t&&124!==t&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),61!==t&&(this.isDelim(61)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var Db="AttributeSelector",Nb={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function Mb(){var e,t=this.tokenStart,n=null,r=null,i=null;return this.eat(qv),this.skipSC(),e=Pb.call(this),this.skipSC(),this.tokenType!==Xv&&(1!==this.tokenType&&(n=Rb.call(this),this.skipSC(),r=5===this.tokenType?this.String():this.Identifier(),this.skipSC()),1===this.tokenType&&(i=this.consume(1),this.skipSC())),this.eat(Xv),{type:"AttributeSelector",loc:this.getLocation(t,this.tokenStart),name:e,matcher:n,value:r,flags:i}}function Ib(e){this.token(9,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value)),null!==e.flags&&this.token(1,e.flags),this.token(9,"]")}function Lb(e){return this.Raw(e,null,!0)}function Fb(){return this.parseWithFallback(this.Rule,Lb)}function Zb(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function $b(){if(this.tokenType===Wv)return Zb.call(this,this.tokenIndex);var e=this.parseWithFallback(this.Declaration,Zb);return this.tokenType===Wv&&this.next(),e}var jb="Block",Bb="block",zb={children:[["Atrule","Rule","Declaration"]]};function Hb(e){var t=e?$b:Fb,n=this.tokenStart,r=this.createList();this.eat(Vv);e:for(;!this.eof;)switch(this.tokenType){case Yv:break e;case Bv:case Kv:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule,Lb));break;default:r.push(t.call(this))}return this.eof||this.eat(Yv),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function Wb(e){var t=this;this.token(Vv,"{"),this.children(e,(function(e){"Declaration"===e.type&&t.token(Wv,";")})),this.token(Yv,"}")}var Ub="Brackets",qb={children:[[]]};function Xb(e,t){var n,r=this.tokenStart;return this.eat(qv),n=e.call(this,t),this.eof||this.eat(Xv),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function Gb(e){this.token(9,"["),this.children(e),this.token(9,"]")}var Jb="CDC",Vb=[];function Yb(){var e=this.tokenStart;return this.eat(zv),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Kb(){this.token(zv,"--\x3e")}var ex="CDO",tx=[];function nx(){var e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function rx(){this.token(14,"\x3c!--")}var ix="ClassSelector",ox={name:String};function ax(){return this.eatDelim(46),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function sx(e){this.token(9,"."),this.token(1,e.name)}var ux="Combinator",lx={name:String};function cx(){var e,t=this.tokenStart;switch(this.tokenType){case Bv:e=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case 62:case 43:case 126:this.next();break;case 47:this.next(),this.eatIdent("deep"),this.eatDelim(47);break;default:this.error("Combinator is expected")}e=this.substrToCursor(t)}return{type:"Combinator",loc:this.getLocation(t,this.tokenStart),name:e}}function hx(e){this.tokenize(e.name)}var fx="Comment",dx={value:String};function px(){var e=this.tokenStart,t=this.tokenEnd;return this.eat(Kv),t-e+2>=2&&42===this.charCodeAt(t-2)&&47===this.charCodeAt(t-1)&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function mx(e){this.token(Kv,"/*"+e.value+"*/")}function gx(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function vx(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function Ox(){var e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&this.tokenType!==Wv&&!1===this.isDelim(33)&&!1===this.isBalanceEdge(e)&&this.error(),t}var yx="Declaration",kx="declaration",bx={important:[Boolean,String],property:String,value:["Value","Raw"]};function xx(){var e,t=this.tokenStart,n=this.tokenIndex,r=wx.call(this),i=wy(r),o=i?this.parseCustomProperty:this.parseValue,a=i?vx:gx,s=!1;this.skipSC(),this.eat(Hv);var u=this.tokenIndex;if(i||this.skipSC(),e=o?this.parseWithFallback(Ox,a):a.call(this,this.tokenIndex),i&&"Value"===e.type&&e.children.isEmpty)for(var l=u-this.tokenIndex;l<=0;l++)if(this.lookupType(l)===Bv){e.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(33)&&(s=Sx.call(this),this.skipSC()),!1===this.eof&&this.tokenType!==Wv&&!1===this.isBalanceEdge(n)&&this.error(),{type:"Declaration",loc:this.getLocation(t,this.tokenStart),important:s,property:r,value:e}}function Tx(e){this.token(1,e.property),this.token(Hv,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,!0===e.important?"important":e.important))}function wx(){var e=this.tokenStart;if(9===this.tokenType)switch(this.charCodeAt(this.tokenStart)){case 42:case 36:case 43:case 35:case 38:this.next();break;case 47:this.next(),this.isDelim(47)&&this.next()}return 4===this.tokenType?this.eat(4):this.eat(1),this.substrToCursor(e)}function Sx(){this.eat(9),this.skipSC();var e=this.consume(1);return"important"===e||e}function Cx(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var Ex="DeclarationList",Ax={children:[["Declaration"]]};function _x(){for(var e=this.createList();!this.eof;)switch(this.tokenType){case Bv:case Kv:case Wv:this.next();break;default:e.push(this.parseWithFallback(this.Declaration,Cx))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Qx(e){var t=this;this.children(e,(function(e){"Declaration"===e.type&&t.token(Wv,";")}))}var Px="Dimension",Rx={value:String,unit:String};function Dx(){var e=this.tokenStart,t=this.consumeNumber(jv);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Nx(e){this.token(jv,e.value+e.unit)}var Mx="Function",Ix="function",Lx={name:String,children:[[]]};function Fx(e,t){var n,r=this.tokenStart,i=this.consumeFunctionName(),o=i.toLowerCase();return n=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(Jv),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:i,children:n}}function Zx(e){this.token(2,e.name+"("),this.children(e),this.token(Jv,")")}var $x="XXX",jx="Hash",Bx={value:String};function zx(){var e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function Hx(e){this.token(4,"#"+e.value)}var Wx="Identifier",Ux={name:String};function qx(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function Xx(e){this.token(1,e.name)}var Gx="IdSelector",Jx={name:String};function Vx(){var e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Yx(e){this.token(9,"#"+e.name)}var Kx="MediaFeature",eT={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function tT(){var e,t=this.tokenStart,n=null;if(this.eat(Gv),this.skipSC(),e=this.consume(1),this.skipSC(),this.tokenType!==Jv){switch(this.eat(Hv),this.skipSC(),this.tokenType){case Zv:n=9===this.lookupNonWSType(1)?this.Ratio():this.Number();break;case jv:n=this.Dimension();break;case 1:n=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(Jv),{type:"MediaFeature",loc:this.getLocation(t,this.tokenStart),name:e,value:n}}function nT(e){this.token(Gv,"("),this.token(1,e.name),null!==e.value&&(this.token(Hv,":"),this.node(e.value)),this.token(Jv,")")}var rT="MediaQuery",iT={children:[["Identifier","MediaFeature","WhiteSpace"]]};function oT(){var e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case Kv:case Bv:this.next();continue;case 1:t=this.Identifier();break;case Gv:t=this.MediaFeature();break;default:break e}e.push(t)}return null===t&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function aT(e){this.children(e)}var sT="MediaQueryList",uT={children:[["MediaQuery"]]};function lT(){var e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Uv);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function cT(e){var t=this;this.children(e,(function(){return t.token(Uv,",")}))}var hT="Nth",fT={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function dT(){this.skipSC();var e,t=this.tokenStart,n=t,r=null;return e=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),n=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),n=this.tokenStart),{type:"Nth",loc:this.getLocation(t,n),nth:e,selector:r}}function pT(e){this.node(e.nth),null!==e.selector&&(this.token(1,"of"),this.node(e.selector))}var mT="Number",gT={value:String};function vT(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(Zv)}}function OT(e){this.token(Zv,e.value)}var yT="Operator",kT={value:String};function bT(){var e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function xT(e){this.tokenize(e.value)}var TT="Parentheses",wT={children:[[]]};function ST(e,t){var n,r=this.tokenStart;return this.eat(Gv),n=e.call(this,t),this.eof||this.eat(Jv),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function CT(e){this.token(Gv,"("),this.children(e),this.token(Jv,")")}var ET="Percentage",AT={value:String};function _T(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber($v)}}function QT(e){this.token($v,e.value+"%")}var PT="PseudoClassSelector",RT="function",DT={name:String,children:[["Raw"],null]};function NT(){var e,t,n=this.tokenStart,r=null;return this.eat(Hv),2===this.tokenType?(t=(e=this.consumeFunctionName()).toLowerCase(),hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),r=this.pseudo[t].call(this),this.skipSC()):(r=this.createList()).push(this.Raw(this.tokenIndex,null,!1)),this.eat(Jv)):e=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function MT(e){this.token(Hv,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(Jv,")"))}var IT="PseudoElementSelector",LT="function",FT={name:String,children:[["Raw"],null]};function ZT(){var e,t,n=this.tokenStart,r=null;return this.eat(Hv),this.eat(Hv),2===this.tokenType?(t=(e=this.consumeFunctionName()).toLowerCase(),hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),r=this.pseudo[t].call(this),this.skipSC()):(r=this.createList()).push(this.Raw(this.tokenIndex,null,!1)),this.eat(Jv)):e=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function $T(e){this.token(Hv,":"),this.token(Hv,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(Jv,")"))}function jT(){this.skipSC();for(var e=this.consume(Zv),t=0;t<e.length;t++){var n=e.charCodeAt(t);eO(n)||46===n||this.error("Unsigned number is expected",this.tokenStart-e.length+t)}return 0===Number(e)&&this.error("Zero number is not allowed",this.tokenStart-e.length),e}var BT="Ratio",zT={left:String,right:String};function HT(){var e,t=this.tokenStart,n=jT.call(this);return this.skipSC(),this.eatDelim(47),e=jT.call(this),{type:"Ratio",loc:this.getLocation(t,this.tokenStart),left:n,right:e}}function WT(e){this.token(Zv,e.left),this.token(9,"/"),this.token(Zv,e.right)}function UT(){return this.tokenIndex>0&&this.lookupType(-1)===Bv?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}var qT="Raw",XT={value:String};function GT(e,t,n){var r,i=this.getTokenStart(e);return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),r=n&&this.tokenStart>i?UT.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(i,r),value:this.substring(i,r)}}function JT(e){this.tokenize(e.value)}function VT(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function YT(){var e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&this.tokenType!==Vv&&this.error(),e}var KT="Rule",ew="rule",tw={prelude:["SelectorList","Raw"],block:["Block"]};function nw(){var e,t,n=this.tokenIndex,r=this.tokenStart;return e=this.parseRulePrelude?this.parseWithFallback(YT,VT):VT.call(this,n),t=this.Block(!0),{type:"Rule",loc:this.getLocation(r,this.tokenStart),prelude:e,block:t}}function rw(e){this.node(e.prelude),this.node(e.block)}var iw="Selector",ow={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function aw(){var e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function sw(e){this.children(e)}var uw="SelectorList",lw="selector",cw={children:[["Selector","Raw"]]};function hw(){for(var e=this.createList();!this.eof&&(e.push(this.Selector()),this.tokenType===Uv);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function fw(e){var t=this;this.children(e,(function(){return t.token(Uv,",")}))}function dw(e){for(var t=e.length,n=e.charCodeAt(0),r=34===n||39===n?1:0,i=1===r&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,o="",a=r;a<=i;a++){var s=e.charCodeAt(a);if(92===s){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(uO(92,s=e.charCodeAt(++a))){var u=a-1,l=xO(e,u);a=l-1,o+=CO(e.substring(u+1,l))}else 13===s&&10===e.charCodeAt(a+1)&&a++}else o+=e[a]}return o}var pw="String",mw={value:String};function gw(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:dw(this.consume(5))}}function vw(e){this.token(5,function(e,t){for(var n=t?"'":'"',r=t?39:34,i="",o=!1,a=0;a<e.length;a++){var s=e.charCodeAt(a);0!==s?s<=31||127===s?(i+="\\"+s.toString(16),o=!0):s===r||92===s?(i+="\\"+e.charAt(a),o=!1):(o&&(tO(s)||sO(s))&&(i+=" "),i+=e.charAt(a),o=!1):i+="\ufffd"}return n+i+n}(e.value))}function Ow(e){return this.Raw(e,null,!1)}var yw="StyleSheet",kw="stylesheet",bw={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function xw(){for(var e,t=this.tokenStart,n=this.createList();!this.eof;){switch(this.tokenType){case Bv:this.next();continue;case Kv:if(33!==this.charCodeAt(this.tokenStart+2)){this.next();continue}e=this.Comment();break;case 14:e=this.CDO();break;case zv:e=this.CDC();break;case 3:e=this.parseWithFallback(this.Atrule,Ow);break;default:e=this.parseWithFallback(this.Rule,Ow)}n.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.tokenStart),children:n}}function Tw(e){this.children(e)}function ww(){1!==this.tokenType&&!1===this.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.next()}var Sw="TypeSelector",Cw={name:String};function Ew(){var e=this.tokenStart;return this.isDelim(124)?(this.next(),ww.call(this)):(ww.call(this),this.isDelim(124)&&(this.next(),ww.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Aw(e){this.tokenize(e.name)}function _w(e,t){for(var n=0,r=this.tokenStart+e;r<this.tokenEnd;r++){var i=this.charCodeAt(r);if(45===i&&t&&0!==n)return _w.call(this,e+n+1,!1),-1;tO(i)||this.error(t&&0!==n?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function Qw(e){for(var t=0;this.isDelim(63);)++t>e&&this.error("Too many question marks"),this.next()}function Pw(e){this.charCodeAt(this.tokenStart)!==e&&this.error((43===e?"Plus sign":"Hyphen minus")+" is expected")}function Rw(){var e=0;switch(this.tokenType){case Zv:if(e=_w.call(this,1,!0),this.isDelim(63)){Qw.call(this,6-e);break}if(this.tokenType===jv||this.tokenType===Zv){Pw.call(this,45),_w.call(this,1,!1);break}break;case jv:(e=_w.call(this,1,!0))>0&&Qw.call(this,6-e);break;default:if(this.eatDelim(43),1===this.tokenType){(e=_w.call(this,0,!0))>0&&Qw.call(this,6-e);break}if(this.isDelim(63)){this.next(),Qw.call(this,5);break}this.error("Hex digit or question mark is expected")}}var Dw="UnicodeRange",Nw={value:String};function Mw(){var e=this.tokenStart;return this.eatIdent("u"),Rw.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Iw(e){this.tokenize(e.value)}var Lw="Url",Fw={value:String};function Zw(){var e,t=this.tokenStart;switch(this.tokenType){case 7:e=function(e){for(var t=e.length,n=4,r=41===e.charCodeAt(t-1)?t-2:t-1,i="";n<r&&sO(e.charCodeAt(n));)n++;for(;n<r&&sO(e.charCodeAt(r));)r--;for(var o=n;o<=r;o++){var a=e.charCodeAt(o);if(92===a){if(o===r){o!==t-1&&(i=e.substr(o+1));break}if(uO(92,a=e.charCodeAt(++o))){var s=o-1,u=xO(e,s);o=u-1,i+=CO(e.substring(s+1,u))}else 13===a&&10===e.charCodeAt(o+1)&&o++}else i+=e[o]}return i}(this.consume(7));break;case 2:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(2),this.skipSC(),e=dw(this.consume(5)),this.skipSC(),this.eof||this.eat(Jv);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(t,this.tokenStart),value:e}}function $w(e){this.token(7,function(e){for(var t="",n=!1,r=0;r<e.length;r++){var i=e.charCodeAt(r);0!==i?i<=31||127===i?(t+="\\"+i.toString(16),n=!0):32===i||92===i||34===i||39===i||40===i||41===i?(t+="\\"+e.charAt(r),n=!1):(n&&tO(i)&&(t+=" "),t+=e.charAt(r),n=!1):t+="\ufffd"}return"url("+t+")"}(e.value))}var jw="Value",Bw={children:[[]]};function zw(){var e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function Hw(e){this.children(e)}var Ww=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),Uw="WhiteSpace",qw={value:String};function Xw(){return this.eat(Bv),Ww}function Gw(e){this.token(Bv,e.value)}var Jw=(0,it.Z)((0,it.Z)({generic:!0},{generic:!0,types:{"absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","alpha-value":"<number>|<percentage>","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color>&&<color-stop-angle>?","angular-color-stop-list":"[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>","animateable-feature":"scroll-position|contents|<custom-ident>",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>","bg-image":"none|<image>","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage>|auto]{1,2}|cover|contain","blur()":"blur( <length> )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-value":"<number>|<dimension>|<percentage>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( [<shape-radius>]? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [<combinator>? <compound-selector>]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contrast()":"contrast( [<number-percentage>] )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( [<shape-radius>{2}]? [at <position>]? )","ending-shape":"circle|ellipse","env()":"env( <custom-ident> , <declaration-value>? )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero|evenodd","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-function-list":"[<filter-function>|<url>]+","final-bg-layer":"<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>","fit-content()":"fit-content( [<length>|<percentage>] )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,\u221e]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|<number [1,1000]>","frequency-percentage":"<frequency>|<percentage>","general-enclosed":"[<function-token> <any-value> )]|( <ident> <any-value> )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number>|<angle>","hue-rotate()":"hue-rotate( <angle> )","hwb()":"hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length>|<percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident>|<string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from|to|<percentage>","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[<line-names>|<name-repeat>]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length>|<percentage>|min-content|max-content|auto] , [<length>|<percentage>|<flex>|min-content|max-content|auto] )","name-repeat":"repeat( [<integer [1,\u221e]>|auto-fill] , <line-names>+ )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"<an-plus-b>|even|odd","opacity()":"opacity( [<number-percentage>] )","overflow-position":"unsafe|safe","outline-radius":"<length>|<percentage>","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[<page-selector>#]?","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [<fill-rule> ,]? <string> )","paint()":"paint( <ident> , <declaration-value>? )","perspective()":"perspective( <length> )","polygon()":"polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )","repeating-linear-gradient()":"repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )","rgb()":"rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","saturate()":"saturate( <number-percentage> )","scale()":"scale( <number> , <number>? )","scale3d()":"scale3d( <number> , <number> , <number> )","scaleX()":"scaleX( <number> )","scaleY()":"scaleY( <number> )","scaleZ()":"scaleZ( <number> )","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"<length-percentage>|closest-side|farthest-side","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sepia()":"sepia( <number-percentage> )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","single-animation":"<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<timeline-name>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-timing-function":"step-start|step-end|steps( <integer> [, <step-position>]? )","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","time-percentage":"<time>|<percentage>","timeline-name":"<custom-ident>|<string>","easing-function":"linear|<cubic-bezier-timing-function>|<step-timing-function>","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,\u221e]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( [<length>|<percentage>] )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-width":"fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-webkit-mask-clip-style":"border|border-box|padding|padding-box|content|content-box|text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )","-ms-filter":"<string>",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>","bg-clip":"<box>|border|text","border-radius":"<length-percentage>{1,2}",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )",left:"<length>|auto","mask-image":"<mask-reference>#",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke",ratio:"<number [0,\u221e]> [/ <number [0,\u221e]>]?","reversed-counter-name":"reversed( <counter-name> )",right:"<length>|auto","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto","track-group":"'(' [<string>* <track-minmax> <string>*]+ ')' ['[' <positive-integer> ']']?|<track-minmax>","track-list-v0":"[<string>* <track-group> <string>*]+|none","track-minmax":"minmax( <track-breadth> , <track-breadth> )|auto|<track-breadth>|fit-content",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,\u221e]>","positive-integer":"<integer [0,\u221e]>","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zooming":"none|zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-image-region":"<shape>|auto","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<box>|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#",all:"initial|inherit|unset|revert|revert-layer",animation:"<single-animation>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<easing-function>#","animation-timeline":"<single-animation-timeline>#",appearance:"none|auto|textfield|menulist-button|<compat-auto>","aspect-ratio":"auto|<ratio>",azimuth:"<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards","backdrop-filter":"none|<filter-function-list>","backface-visibility":"visible|hidden",background:"[<bg-layer> ,]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip|ellipsis|<string>","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse|separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length>|<number>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"<number-percentage>{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage>|<number>|auto]{1,4}","border-inline":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [/ <length-percentage>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length>|<percentage>|auto","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom|block-start|block-end|inline-start|inline-end","caret-color":"auto|<color>",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none",color:"<color>","print-color-adjust":"economy|exact","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance|balance-all","column-gap":"normal|<length-percentage>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"<length>|auto",columns:"<'column-width'>||<'column-count'>",contain:"none|strict|content|[size||layout||style||paint]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?","content-visibility":"visible|auto|hidden","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","empty-cells":"show|hide",filter:"none|<filter-function-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end",font:"[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-variation-settings":"normal|[<string> <number>]#","font-size":"<absolute-size>|<relative-size>|<length-percentage>","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps]","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-weight":"<font-weight-absolute>|bolder|lighter","forced-color-adjust":"auto|none",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","hyphenate-character":"auto|<string>",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>","input-security":"auto|none",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto|isolate","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"<length>|<percentage>|auto","letter-spacing":"normal|<length-percentage>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"[<length>|<percentage>|auto]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length>|<percentage>|auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length>|<percentage>|auto","margin-right":"<length>|<percentage>|auto","margin-top":"<length>|<percentage>|auto","margin-trim":"none|in-flow|all",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<geometry-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","min-block-size":"<'min-width'>","min-height":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )","min-inline-size":"<'min-width'>","min-width":"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>","mix-blend-mode":"<blend-mode>|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]","offset-position":"auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<alpha-value>",order:"<integer>",orphans:"<integer>",outline:"[<'outline-color'>||<'outline-style'>||<'outline-width'>]","outline-color":"<color>|invert","outline-offset":"<length>","outline-style":"auto|<'border-style'>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,\u221e]>","overflow-inline":"visible|hidden|clip|scroll|auto","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto","overflow-y":"visible|hidden|clip|scroll|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"[<length>|<percentage>]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length>|<percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length>|<percentage>","padding-right":"<length>|<percentage>","padding-top":"<length>|<percentage>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky",quotes:"none|auto|[<string> <string>]+",resize:"none|both|horizontal|vertical|block|inline",right:"<length>|<percentage>|auto",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-position":"[alternate||[over|under]]|inter-character",scale:"none|<number>{1,3}","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","scroll-behavior":"auto|smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","shape-image-threshold":"<alpha-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[over|under]&&[right|left]","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-transform":"none|capitalize|uppercase|lowercase|full-width|full-size-kana","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]",top:"<length>|<percentage>|auto","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|contain|all","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>",visibility:"visible|hidden|collapse","white-space":"normal|pre|nowrap|pre-wrap|pre-line|break-spaces",widows:"<integer>",width:"auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>","z-index":"auto|<integer>",zoom:"normal|reset|<number>|<percentage>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto","-webkit-user-select":"auto|none|text|all","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical","baseline-shift":"baseline|sub|super|<svg-length>",behavior:"<url>+","clip-rule":"nonzero|evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero|evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision",src:"[<url> [format( <string># )]?|local( <family-name> )]#",speak:"auto|none|normal","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]",stroke:"<paint>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start|middle|end","unicode-range":"<urange>#","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"[auto|block|swap|fallback|optional]","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-variation-settings":"normal|[<string> <number>]#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-weight":"<font-weight-absolute>{1,2}","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]",size:"<length>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},property:{prelude:"<custom-property-name>",descriptors:{syntax:"<string>",inherits:"true|false","initial-value":"<string>"}},"scroll-timeline":{prelude:"<timeline-name>",descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},viewport:{prelude:null,descriptors:{height:"<viewport-length>{1,2}","max-height":"<viewport-length>","max-width":"<viewport-length>","max-zoom":"auto|<number>|<percentage>","min-height":"<viewport-length>","min-width":"<viewport-length>","min-zoom":"auto|<number>|<percentage>",orientation:"auto|portrait|landscape","user-zoom":"zoom|fixed","viewport-fit":"auto|contain|cover",width:"<viewport-length>{1,2}",zoom:"auto|<number>|<percentage>"}}}}),{},{node:U});function Vw(e){switch(this.tokenType){case 4:return this.Hash();case Uv:return this.Operator();case Gv:return this.Parentheses(this.readSequence,e.recognizer);case qv:return this.Brackets(this.readSequence,e.recognizer);case 5:return this.String();case jv:return this.Dimension();case $v:return this.Percentage();case Zv:return this.Number();case 2:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case 7:return this.Url();case 1:return this.cmpChar(this.tokenStart,117)&&this.cmpChar(this.tokenStart+1,43)?this.UnicodeRange():this.Identifier();case 9:var t=this.charCodeAt(this.tokenStart);if(47===t||42===t||43===t||45===t)return this.Operator();35===t&&this.error("Hex or identifier is expected",this.tokenStart+1)}}var Yw={getNode:Vw};var Kw={onWhiteSpace:function(e,t){null!==t.last&&"Combinator"!==t.last.type&&null!==e&&"Combinator"!==e.type&&t.push({type:"Combinator",loc:null,name:" "})},getNode:function(){switch(this.tokenType){case qv:return this.AttributeSelector();case 4:return this.IdSelector();case Hv:return this.lookupType(1)===Hv?this.PseudoElementSelector():this.PseudoClassSelector();case 1:return this.TypeSelector();case Zv:case $v:return this.Percentage();case jv:46===this.charCodeAt(this.tokenStart)&&this.error("Identifier is expected",this.tokenStart+1);break;case 9:switch(this.charCodeAt(this.tokenStart)){case 43:case 62:case 126:case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector()}}}};function eS(e){return null!==e&&"Operator"===e.type&&("-"===e.value[e.value.length-1]||"+"===e.value[e.value.length-1])}var tS={getNode:Vw,onWhiteSpace:function(e,t){eS(e)&&(e.value=" "+e.value),eS(t.last)&&(t.last.value+=" ")},expression:function(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))},var:function(){var e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Uv){e.push(this.Operator());var t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.tokenIndex,this.consumeUntilExclamationMarkOrSemicolon,!1);if("Value"===n.type&&n.children.isEmpty)for(var r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===Bv){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}e.push(n)}return e}};function nS(){return this.createSingleNodeList(this.Raw(this.tokenIndex,null,!1))}function rS(){return this.skipSC(),1===this.tokenType&&this.lookupNonWSType(1)===Hv?this.createSingleNodeList(this.Declaration()):iS.call(this)}function iS(){var e,t=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case Kv:case Bv:this.next();continue;case 2:e=this.Function(nS,this.scope.AtrulePrelude);break;case 1:e=this.Identifier();break;case Gv:e=this.Parentheses(rS,this.scope.AtrulePrelude);break;default:break e}t.push(e)}return t}var oS,aS={parse:function(){return this.createSingleNodeList(this.SelectorList())}},sS={parse:function(){return this.createSingleNodeList(this.Identifier())}},uS={parse:function(){return this.createSingleNodeList(this.Nth())}},lS={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:q,atrule:{"font-face":{parse:{prelude:null,block:function(){return this.Block(!0)}}},import:{parse:{prelude:function(){var e=this.createList();switch(this.skipSC(),this.tokenType){case 5:e.push(this.String());break;case 7:case 2:e.push(this.Url());break;default:this.error("String or url() is expected")}return 1!==this.lookupNonWSType(0)&&this.lookupNonWSType(0)!==Gv||e.push(this.MediaQueryList()),e},block:null}},media:{parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}},page:{parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}},supports:{parse:{prelude:function(){var e=iS.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block:function(){return this.Block(!1)}}}},pseudo:{dir:sS,has:aS,lang:sS,matches:aS,is:aS,"-moz-any":aS,"-webkit-any":aS,where:aS,not:aS,"nth-child":uS,"nth-last-child":uS,"nth-last-of-type":uS,"nth-of-type":uS,slotted:{parse:function(){return this.createSingleNodeList(this.Selector())}}},node:X},cS={node:U},hS=(oS=(0,it.Z)((0,it.Z)((0,it.Z)({},Jw),lS),cS),ab(ob({},oS)));hS.tokenize;var fS=hS.parse,dS=(hS.generate,hS.lexer,hS.createLexer,hS.walk,hS.find,hS.findLast,hS.findAll,hS.toPlainObject,hS.fromPlainObject,hS.fork,Bh("comment")),pS=gS(1),mS=gS(-1);function gS(e){return function(t,n,r){var i=t&&t.children,o=n+e,a=i&&i[o];if(!r)for(;a&&Cf(a);)a=i[o+=e];return a}}var vS=Bh("text");function OS(e){return vS(e)&&Cf(e.value.charAt(0))}var yS={}.hasOwnProperty;function kS(e){return function(t,n,r){return yS.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var bS=kS({html:function(e,t,n){var r=pS(n,t);return!r||!dS(r)},head:xS,body:function(e,t,n){var r=pS(n,t);return!r||!dS(r)},p:function(e,t,n){var r=pS(n,t);return r?bp(r,["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]):!n||!bp(n,["a","audio","del","ins","map","noscript","video"])},li:function(e,t,n){var r=pS(n,t);return!r||bp(r,"li")},dt:function(e,t,n){var r=pS(n,t);return r&&bp(r,["dt","dd"])},dd:function(e,t,n){var r=pS(n,t);return!r||bp(r,["dt","dd"])},rt:TS,rp:TS,optgroup:function(e,t,n){var r=pS(n,t);return!r||bp(r,"optgroup")},option:function(e,t,n){var r=pS(n,t);return!r||bp(r,["option","optgroup"])},menuitem:function(e,t,n){var r=pS(n,t);return!r||bp(r,["menuitem","hr","menu"])},colgroup:xS,caption:xS,thead:function(e,t,n){var r=pS(n,t);return r&&bp(r,["tbody","tfoot"])},tbody:function(e,t,n){var r=pS(n,t);return!r||bp(r,["tbody","tfoot"])},tfoot:function(e,t,n){return!pS(n,t)},tr:function(e,t,n){var r=pS(n,t);return!r||bp(r,"tr")},td:wS,th:wS});function xS(e,t,n){var r=pS(n,t,!0);return!r||!dS(r)&&!OS(r)}function TS(e,t,n){var r=pS(n,t);return!r||bp(r,["rp","rt"])}function wS(e,t,n){var r=pS(n,t);return!r||bp(r,["td","th"])}var SS=kS({html:function(e){var t=pS(e,-1);return!t||!dS(t)},head:function(e){var t,n=e.children,r=[],i=-1;for(;++i<n.length;)if(t=n[i],bp(t,["title","base"])){if(r.includes(t.tagName))return!1;r.push(t.tagName)}return n.length>0},body:function(e){var t=pS(e,-1,!0);return!t||!dS(t)&&!OS(t)&&!bp(t,["meta","link","script","style","template"])},colgroup:function(e,t,n){var r=mS(n,t),i=pS(e,-1,!0);if(bp(r,"colgroup")&&bS(r,n.children.indexOf(r),n))return!1;return i&&bp(i,"col")},tbody:function(e,t,n){var r=mS(n,t),i=pS(e,-1);if(bp(r,["thead","tbody"])&&bS(r,n.children.indexOf(r),n))return!1;return i&&bp(i,"tr")}});var CS={opening:SS,closing:bS};function ES(e,t){return e=e.replace(t.subset?function(e){var t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}var AS,_S=n(7673),QS={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203e",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203a",euro:"\u20ac"},PS=["cent","copy","divide","gt","lt","not","para","times"],RS={}.hasOwnProperty,DS={};for(AS in QS)RS.call(QS,AS)&&(DS[QS[AS]]=AS);function NS(e,t,n){var r,i=function(e,t,n){var r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){var i=String.fromCharCode(e);if(RS.call(DS,i)){var o=DS[i],a="&"+o;return n&&_S.K.includes(o)&&!PS.includes(o)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){var o=function(e,t,n){var r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);o.length<i.length&&(i=o)}return r&&(!n.useShortestReferences||r.length<i.length)?r:i}function MS(e,t){return ES(e,Object.assign({format:NS},t))}var IS={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function LS(e,t,n,r){return!r||"element"!==r.type||"script"!==r.tagName&&"style"!==r.tagName?MS(t.value,Object.assign({},e.entities,{subset:["<","&"]})):t.value}var FS={comment:function(e,t){return e.bogusComments?"<?"+MS(t.value,Object.assign({},e.entities,{subset:[">"]}))+">":"\x3c!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,(function(t){return MS(t,Object.assign({},e.entities,{subset:["<",">"]}))}))+"--\x3e"},doctype:function(e){return"<!"+(e.upperDoctype?"DOCTYPE":"doctype")+(e.tightDoctype?"":" ")+"html>"},element:function(e,t,n,r){var i,o=e.schema,a="svg"===o.space?void 0:e.omit,s="svg"===o.space?e.closeEmpty:e.voids.includes(t.tagName.toLowerCase()),u=[];"html"===o.space&&"svg"===t.tagName&&(e.schema=xf.YP);var l=function(e,t){var n,r,i,o=[],a=-1;for(n in t)void 0!==t[n]&&null!==t[n]&&(r=BS(e,n,t[n]))&&o.push(r);for(;++a<o.length;)i=e.tight?o[a].charAt(o[a].length-1):null,a!==o.length-1&&'"'!==i&&"'"!==i&&(o[a]+=" ");return o.join("")}(e,t.properties),c=jS(e,"html"===o.space&&"template"===t.tagName?t.content:t);e.schema=o,c&&(s=!1);!l&&a&&a.opening(t,n,r)||(u.push("<",t.tagName,l?" "+l:""),s&&("svg"===o.space||e.close)&&(i=l.charAt(l.length-1),(!e.tightClose||"/"===i||i&&'"'!==i&&"'"!==i)&&u.push(" "),u.push("/")),u.push(">"));u.push(c),s||a&&a.closing(t,n,r)||u.push("</"+t.tagName+">");return u.join("")},raw:function(e,t,n,r){return e.dangerous?t.value:LS(e,t,0,r)},root:jS,text:LS},ZS={}.hasOwnProperty;function $S(e,t,n,r){if(!t||!t.type)throw new Error("Expected node, not `"+t+"`");if(!ZS.call(FS,t.type))throw new Error("Cannot compile unknown node `"+t.type+"`");return FS[t.type](e,t,n,r)}function jS(e,t){for(var n=[],r=t&&t.children||[],i=-1;++i<r.length;)n[i]=$S(e,r[i],i,t);return n.join("")}function BS(e,t,n){var r,i=(0,Ef.s)(e.schema,t),o=e.quote;if(!i.overloadedBoolean||n!==i.attribute&&""!==n?(i.boolean||i.overloadedBoolean&&"string"!==typeof n)&&(n=Boolean(n)):n=!0,void 0===n||null===n||!1===n||"number"===typeof n&&Number.isNaN(n))return"";var a=MS(i.attribute,Object.assign({},e.entities,{subset:IS.name["html"===e.schema.space?e.valid:1][e.safe]}));return!0===n?a:(n="object"===typeof n&&"length"in n?(i.commaSeparated?Qf.P:_f.P)(n,{padLeft:!e.tightLists}):String(n),e.collapseEmpty&&!n?a:(e.unquoted&&(r=MS(n,Object.assign({},e.entities,{subset:IS.unquoted[e.valid][e.safe],attribute:!0}))),r!==n&&(e.smart&&bd(n,o)>bd(n,e.alternative)&&(o=e.alternative),r=o+MS(n,Object.assign({},e.entities,{subset:("'"===o?IS.single:IS.double)["html"===e.schema.space?e.valid:1][e.safe],attribute:!0}))+o),a+(r?"="+r:r)))}function zS(e){var t=this.data("settings"),n=Object.assign({},t,e);Object.assign(this,{Compiler:function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.quote||'"',r='"'===n?"'":'"';if('"'!==n&&"'"!==n)throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return $S({valid:t.allowParseErrors?0:1,safe:t.allowDangerousCharacters?0:1,schema:"svg"===t.space?xf.YP:xf.dy,omit:t.omitOptionalTags?CS:void 0,quote:n,alternative:r,smart:t.quoteSmart,unquoted:t.preferUnquoted,tight:t.tightAttributes,upperDoctype:t.upperDoctype,tightDoctype:t.tightDoctype,bogusComments:t.bogusComments,tightLists:t.tightCommaSeparatedLists,tightClose:t.tightSelfClosing,collapseEmpty:t.collapseEmptyAttributes,dangerous:t.allowDangerousHtml,voids:t.voids||nm.concat(),entities:t.entities||{},close:t.closeSelfClosing,closeEmpty:t.closeEmptyElements},Array.isArray(e)?{type:"root",children:e}:e,null,null)}(e,n)}})}var HS,WS=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.replace;if(t&&t.data&&"Declaration"===t.data.type){var o,a=(null===i||void 0===i||null===(o=i.find((function(e){return e.name===t.data.property})))||void 0===o?void 0:o.value)||t.data.value.value;n="".concat(t.data.property,": ").concat(a).concat(t.data.important?" !important":"",";"),t.next&&(n+=e(t.next,"",r))}return n},US=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.data&&"Rule"===t.data.type){var i=t.data.prelude.value,o={};r.color&&r.theme&&_v[r.theme]&&(o.replace=_v[r.theme].filter((function(e){return e.select===i})).map((function(e){return(0,it.Z)((0,it.Z)({},e),{},{value:e.value.replace("{{color}}",r.color)})}))),n[i]=WS(t.data.block.children.head,"",o),t.next&&(n=e(t.next,(0,it.Z)({},n),r))}return n},qS=function e(t){if("element"===t.type&&t.children){var n,r=null===(n=t.properties)||void 0===n?void 0:n.className;r&&(t.properties||(t.properties={}),t.properties.className=r.filter((function(e){return!/(token|control-flow)/.test(e)}))),t.children.map((function(t){return"element"===t.type&&t.children&&e(t),"text"===t.type&&(t.value=t.value.replace(/\s/g,"\xa0")),t}))}},XS=function e(t){var n="";return t.forEach((function(t){"text"===t.type?n+=t.value:"element"===t.type&&(n+=e(t.children))})),n.replace(/\u21a9/,"")},GS=function(e){e.children.map((function(e){return"element"===e.type&&"h2"===e.tagName&&(e.properties||(e.properties={}),e.properties.className=["footnotes-title"],e.children=[{type:"text",value:"\u53c2\u8003"}]),"element"===e.type&&"ol"===e.tagName&&e.children.map((function(e){return"element"===e.type&&"li"===e.tagName&&(e.properties||(e.properties={}),e.properties.className=["footnotes-list"],e.children=[{type:"text",value:XS(e.children)}]),e})),e}))},JS=function(e){var t=XS(e.children);e.children=[{type:"text",value:"[".concat(t,"]")}]},VS=function(e,t){"element"===(null===t||void 0===t?void 0:t.type)&&/(p|a)/.test(t.tagName)&&"element"===(null===e||void 0===e?void 0:e.type)&&"img"===e.tagName&&("p"===t.tagName&&(t.tagName="figure"),t.properties||(t.properties={}),t.properties.className=["image-warpper"],e.properties||(e.properties={}),e.properties.className=["image"])};function YS(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=fS(t,{parseAtrulePrelude:!1,parseRulePrelude:!1,parseValue:!1,parseCustomProperty:!1,positions:!1}),i=US(r.children.head,{},{color:n.preColor,theme:n.previewTheme}),o=Ll().use($h).use(hp).use(kf,{allowDangerousHtml:!0}).use(Em).use(cm).use(gm,{}).use(mm,{properties:"attr"}).use(kg,{rewrite:function(e,t,n){var r;if("element"===(null===e||void 0===e?void 0:e.type)&&"code"===(null===e||void 0===e?void 0:e.tagName)&&"element"===(null===n||void 0===n?void 0:n.type)&&"pre"===(null===n||void 0===n?void 0:n.tagName)&&qS(e),"element"===(null===e||void 0===e?void 0:e.type)&&"section"===e.tagName&&(null===e||void 0===e||null===(r=e.properties)||void 0===r?void 0:r.className).includes("footnotes")&&GS(e),"element"===(null===e||void 0===e?void 0:e.type)&&"sup"===e.tagName&&JS(e),"element"===(null===e||void 0===e?void 0:e.type)&&"img"===e.tagName&&VS(e,n),"element"===(null===e||void 0===e?void 0:e.type)&&"code"===(null===e||void 0===e?void 0:e.tagName)&&"element"===(null===n||void 0===n?void 0:n.type)&&"pre"!==(null===n||void 0===n?void 0:n.tagName)&&(e.properties||(e.properties={}),e.properties.className=["code-spans"]),"element"!==(null===n||void 0===n?void 0:n.type)||"element"!==(null===e||void 0===e?void 0:e.type)||"input"!==(null===e||void 0===e?void 0:e.tagName)){if("element"===(null===e||void 0===e?void 0:e.type)){var o;e.properties||(e.properties={});var a=null===(o=e.properties)||void 0===o?void 0:o.className,s="";a&&a.forEach((function(e){i[".".concat(e)]&&(s=i[".".concat(e)])})),s||(s=i[e.tagName]),s&&(e.properties.style=s+(e.properties.style||""))}}else n&&"element"===n.type&&(n.children=null===n||void 0===n?void 0:n.children.filter((function(e){return"input"!==e.tagName})))}}).use(zS),a=new wl;a.value=e;var s=o.runSync(o.parse(a),a);return String(o.stringify(s,a))}var KS,eC,tC,nC,rC,iC=Jr.div(HS||(HS=G(["\n width: 375px;\n padding: 20px;\n box-shadow: 0 0 60px rgb(0 0 0 / 10%);\n min-height: 100%;\n font-size: 17px;\n"]))),oC=function(e){var t=(0,V.useContext)(Qv),n=t.css,r=t.preColor,i=t.previewTheme,o=YS(e.source||"",n,{preColor:r,previewTheme:i});return(0,Ge.jsx)(iC,{contentEditable:!0,spellCheck:!1,dangerouslySetInnerHTML:{__html:o}})},aC=Jr.button(KS||(KS=G(["\n /* white-space: nowrap;\n width: initial !important;\n display: flex;\n align-items: center; */\n"]))),sC=function(e){var t=e.editorProps;return(0,Ge.jsx)(aC,{type:"button",onClick:function(){var e,n,r,i=t.preview.current;null===i||void 0===i||i.focus(),null===(e=window.getSelection())||void 0===e||e.removeAllRanges();var o=document.createRange();o.setStartBefore(null===i||void 0===i?void 0:i.firstChild),o.setEndAfter(null===i||void 0===i?void 0:i.lastChild),null===(n=window.getSelection())||void 0===n||n.addRange(o),document.execCommand("copy"),null===(r=window.getSelection())||void 0===r||r.removeAllRanges(),yn.success((0,Ge.jsx)("div",{children:"\u590d\u5236\u6210\u529f\uff01\u53bb\u516c\u4f17\u53f7\u7f16\u8f91\u5668\u590d\u5236\u5427\uff01"}))},children:e.command.icon})},uC={name:"copy",keyCommand:"copy",button:function(e,t,n){return(0,Ge.jsx)(sC,{command:e,editorProps:(0,it.Z)((0,it.Z)({},t),n)})},icon:(0,Ge.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 24 24",height:"16",width:"16",children:[(0,Ge.jsx)("path",{d:"M20 2H10a2 2 0 0 0-2 2v2h8a2 2 0 0 1 2 2v8h2a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2z"}),(0,Ge.jsx)("path",{d:"M4 22h10c1.103 0 2-.897 2-2V10c0-1.103-.897-2-2-2H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2zm2-10h6v2H6v-2zm0 4h6v2H6v-2z"})]})},lC=Jr.input(eC||(eC=G(["\n position: absolute;\n opacity: 0;\n height: 20px;\n width: 20px;\n"]))),cC=Jr.button(tC||(tC=G([""]))),hC=function(e){var t=(0,V.useContext)(Qv),n=t.preColor,r=t.setPreColor,i=n||"currentColor";return(0,Ge.jsxs)(cC,{type:"button",children:[(0,Ge.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",height:"16",width:"16",children:[(0,Ge.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M8.203 2.004c1.261 0 2.304 1.103 2.476 2.538l8.483 8.484-7.778 7.778a3 3 0 0 1-4.243 0L2.9 16.562a3 3 0 0 1 0-4.243l2.804-2.805V4.961c0-1.633 1.12-2.957 2.5-2.957Zm.5 2.957v1.553l-1 1V4.961c0-.327.224-.591.5-.591.277 0 .5.264.5.591Zm0 5.914V9.342l-4.39 4.391a1 1 0 0 0 0 1.414l4.243 4.243a1 1 0 0 0 1.414 0l6.364-6.364-5.63-5.63v3.48l-.003.128h-2.01a.698.698 0 0 0 .012-.129Z"}),(0,Ge.jsx)("path",{d:"M16.859 16.875a3 3 0 1 0 4.242 0l-2.121-2.121-2.121 2.12Z",fill:i})]}),(0,Ge.jsx)(lC,{type:"color",value:n,onChange:function(e){r(e.target.value)}})]})},fC={name:"color",keyCommand:"color",button:function(){return(0,Ge.jsx)(hC,{})}},dC=Jr.select(nC||(nC=G(["\n max-width: 4rem;\n padding: 0;\n appearance: none;\n background-color: var(--color-border-muted);\n border: none;\n padding: 0 0.2rem 0 0.2rem;\n margin: 0;\n font-family: inherit;\n font-size: 0.8rem;\n outline: none;\n height: 1.15rem;\n cursor: inherit;\n line-height: inherit;\n border-radius: 0.2rem;\n &::-ms-expand {\n display: none;\n }\n"]))),pC=function(e){var t=(0,V.useContext)(Qv),n=t.theme,r=t.setTheme;return(0,Ge.jsx)(dC,{value:n,onChange:function(e){return r(e.target.value)},children:Object.keys(Ev).map((function(e,t){return(0,Ge.jsx)("option",{value:e,children:Ev[e].label},t)}))})},mC={name:"theme",keyCommand:"theme",button:function(e,t,n){return(0,Ge.jsx)(pC,{command:e,editorProps:(0,it.Z)((0,it.Z)({},t),n)})}},gC=function(){var e=(0,V.useContext)(Qv),t=e.setCss,n=e.previewTheme,r=e.setPreviewTheme;return(0,Ge.jsx)(dC,{value:n,onChange:function(e){var n=e.target.value;r(n),t(Av[n].value)},children:Object.keys(Av).map((function(e,t){return(0,Ge.jsx)("option",{value:e,children:Av[e].label},t)}))})},vC={name:"previewTtheme",keyCommand:"previewTtheme",button:function(){return(0,Ge.jsx)(gC,{})}},OC=Jr(Ue)(rC||(rC=G(["\n font-size: 0.8rem;\n line-height: 0.8rem;\n text-decoration: none;\n padding: 0.18rem 0.3rem;\n &:hover {\n color: var(--color-accent-fg);\n background-color: var(--color-neutral-muted);\n border-radius: 0.2rem;\n }\n"]))),yC={name:"previewTtheme",keyCommand:"previewTtheme",button:function(){return(0,Ge.jsx)(OC,{to:"/editor/theme",children:"\u7f16\u8f91\u4e3b\u9898"})}},kC={name:"previous",keyCommand:"previous",button:function(){return(0,Ge.jsx)(OC,{to:"/",children:"\u8fd4\u56de"})}},bC=function(){var e=[].concat((0,rt.Z)(Wg()),[mC]),t=(0,V.useContext)(Qv),n=t.theme,r=t.markdown,i=t.isLoading,o=t.setMarkdown,a=Ev[n].value;return(0,Ge.jsx)(ev,{value:r,toolbars:e,theme:a,readOnly:i,toolbarsMode:[yC,vC,uC,fC,"fullscreen","preview"],extensions:[Ao.tk.lineWrapping],renderPreview:oC,previewWidth:"420px",onChange:function(e){return o(e)},visible:!0,height:"calc(100vh - 4.6rem)"})},xC=n(4933),TC=function(){var e=(0,V.useContext)(Qv),t=e.css,n=YS(e.markdown,t,{preColor:e.preColor,previewTheme:e.previewTheme});return(0,Ge.jsx)(iC,{contentEditable:!0,spellCheck:!1,dangerouslySetInnerHTML:{__html:n}})},wC=["title","titleId"];function SC(){return SC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SC.apply(this,arguments)}function CC(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function EC(e,t){var n=e.title,r=e.titleId,i=CC(e,wC);return V.createElement("svg",SC({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),n?V.createElement("title",{id:r},n):null,V.createElement("g",{id:"Layer_2"},V.createElement("g",{id:"color-palette"},V.createElement("path",{d:"M19.54 5.08A10.61 10.61 0 0 0 11.91 2a10 10 0 0 0-.05 20 2.58 2.58 0 0 0 2.53-1.89 2.52 2.52 0 0 0-.57-2.28.5.5 0 0 1 .37-.83h1.65A6.15 6.15 0 0 0 22 11.33a8.48 8.48 0 0 0-2.46-6.25Zm-12.7 9.66a1.5 1.5 0 1 1 .4-2.08 1.49 1.49 0 0 1-.4 2.08ZM8.3 9.25a1.5 1.5 0 1 1-.55-2 1.5 1.5 0 0 1 .55 2ZM11 7a1.5 1.5 0 1 1 1.5-1.5A1.5 1.5 0 0 1 11 7Zm5.75.8a1.5 1.5 0 1 1 .55-2 1.5 1.5 0 0 1-.55 2Z",style:{fill:"#231f20"},id:"color-palette-2"}))))}var AC,_C,QC=V.forwardRef(EC),PC=(n.p,Jr.div(AC||(AC=G(["\n font-size: 0.9rem;\n font-weight: bold;\n display: flex;\n align-items: center;\n line-height: 1;\n padding-right: 0.5rem;\n padding-left: 0.2rem;\n"])))),RC={name:"themeTitle",keyCommand:"themeTitle",button:function(){return(0,Ge.jsxs)(PC,{children:[(0,Ge.jsx)(QC,{width:16,height:16}),"\u4e3b\u9898\u7f16\u8f91\u5668"]})}},DC=function(){var e=[RC,mC,kC],t=[vC,uC,"fullscreen","preview"],n=(0,V.useContext)(Qv),r=n.theme,i=n.css,o=n.setCss,a=n.isLoading,s=Ev[r].value;return(0,Ge.jsx)(ev,{value:i,theme:s,readOnly:a,toolbars:e,toolbarsMode:t,reExtensions:[Ao.tk.lineWrapping,(0,xC.css)()],renderPreview:TC,previewWidth:"420px",onChange:function(e){return o(e)},visible:!0,height:"calc(100vh - 4.6rem)"})},NC=Jr.div(_C||(_C=G(["\n max-width: 59rem;\n margin: 0 auto 0 auto;\n padding: 0 1rem 3rem 1rem;\n"]))),MC=function(){return(0,Ge.jsx)(NC,{children:(0,Ge.jsx)(ev.Markdown,{source:Cv})})};function IC(){return(0,Ge.jsx)(Fe,{children:(0,Ge.jsxs)(Ie,{path:"/",element:(0,Ge.jsx)(Fv,{}),children:[(0,Ge.jsx)(Ie,{index:!0,element:(0,Ge.jsx)(bC,{})}),(0,Ge.jsx)(Ie,{path:"/editor/theme",element:(0,Ge.jsx)(DC,{})}),(0,Ge.jsx)(Ie,{path:"/doc",element:(0,Ge.jsx)(MC,{})})]})})}function LC(e,t){if(null==e)return{};var n,r,i=Xe(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var FC=["refetchPage"],ZC=function(e){(0,ki.Z)(n,e);var t=(0,bi.Z)(n);function n(e,r){var i;return(0,Vr.Z)(this,n),(i=t.call(this)).client=e,i.options=r,i.trackedProps=new Set,i.selectError=null,i.bindMethods(),i.setOptions(r),i}return(0,Yr.Z)(n,[{key:"bindMethods",value:function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}},{key:"onSubscribe",value:function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),$C(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}},{key:"onUnsubscribe",value:function(){this.listeners.length||this.destroy()}},{key:"shouldFetchOnReconnect",value:function(){return jC(this.currentQuery,this.options,this.options.refetchOnReconnect)}},{key:"shouldFetchOnWindowFocus",value:function(){return jC(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}},{key:"destroy",value:function(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}},{key:"setOptions",value:function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),fi(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var i=this.hasListeners();i&&BC(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!i||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!i||this.currentQuery===r&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)}},{key:"getOptimisticResult",value:function(e){var t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}},{key:"getCurrentResult",value:function(){return this.currentResult}},{key:"trackResult",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:function(){return t.trackedProps.add(r),e[r]}})})),n}},{key:"getCurrentQuery",value:function(){return this.currentQuery}},{key:"remove",value:function(){this.client.getQueryCache().remove(this.currentQuery)}},{key:"refetch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refetchPage,n=LC(e,FC);return this.fetch((0,it.Z)((0,it.Z)({},n),{},{meta:{refetchPage:t}}))}},{key:"fetchOptimistic",value:function(e){var t=this,n=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then((function(){return t.createResult(r,n)}))}},{key:"fetch",value:function(e){var t,n=this;return this.executeFetch((0,it.Z)((0,it.Z)({},e),{},{cancelRefetch:null==(t=e.cancelRefetch)||t})).then((function(){return n.updateResult(),n.currentResult}))}},{key:"executeFetch",value:function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(ei)),t}},{key:"updateStaleTimeout",value:function(){var e=this;if(this.clearStaleTimeout(),!Kr&&!this.currentResult.isStale&&ti(this.options.staleTime)){var t=ni(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}}},{key:"computeRefetchInterval",value:function(){var e;return"function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}},{key:"updateRefetchInterval",value:function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!Kr&&!1!==this.options.enabled&&ti(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||Ei.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))}},{key:"updateTimers",value:function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}},{key:"clearStaleTimeout",value:function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}},{key:"clearRefetchInterval",value:function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}},{key:"createResult",value:function(e,t){var n,r=this.currentQuery,i=this.options,o=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,u=e!==r,l=u?e.state:this.currentQueryInitialState,c=u?this.currentResult:this.previousQueryResult,h=e.state,f=h.dataUpdatedAt,d=h.error,p=h.errorUpdatedAt,m=h.fetchStatus,g=h.status,v=!1,O=!1;if(t._optimisticResults){var y=this.hasListeners(),k=!y&&$C(e,t),b=y&&BC(e,r,t,i);(k||b)&&(m=Qi(e.options.networkMode)?"fetching":"paused",f||(g="loading")),"isRestoring"===t._optimisticResults&&(m="idle")}if(t.keepPreviousData&&!h.dataUpdateCount&&null!=c&&c.isSuccess&&"error"!==g)n=c.data,f=c.dataUpdatedAt,g=c.status,v=!0;else if(t.select&&"undefined"!==typeof h.data)if(o&&h.data===(null==a?void 0:a.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(h.data),n=yi(null==o?void 0:o.data,n,t),this.selectResult=n,this.selectError=null}catch(w){0,this.selectError=w}else n=h.data;if("undefined"!==typeof t.placeholderData&&"undefined"===typeof n&&"loading"===g){var x;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==s?void 0:s.placeholderData))x=o.data;else if(x="function"===typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&"undefined"!==typeof x)try{x=t.select(x),x=yi(null==o?void 0:o.data,x,t),this.selectError=null}catch(w){0,this.selectError=w}"undefined"!==typeof x&&(g="success",n=x,O=!0)}this.selectError&&(d=this.selectError,n=this.selectResult,p=Date.now(),g="error");var T="fetching"===m;return{status:g,fetchStatus:m,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,data:n,dataUpdatedAt:f,error:d,errorUpdatedAt:p,failureCount:h.fetchFailureCount,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>l.dataUpdateCount||h.errorUpdateCount>l.errorUpdateCount,isFetching:T,isRefetching:T&&"loading"!==g,isLoadingError:"error"===g&&0===h.dataUpdatedAt,isPaused:"paused"===m,isPlaceholderData:O,isPreviousData:v,isRefetchError:"error"===g&&0!==h.dataUpdatedAt,isStale:zC(e,t),refetch:this.refetch,remove:this.remove}}},{key:"updateResult",value:function(e){var t=this,n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!fi(r,n)){this.currentResult=r;var i={cache:!0};!1!==(null==e?void 0:e.listeners)&&function(){if(!n)return!0;var e=t.options.notifyOnChangeProps;if("all"===e||!e&&!t.trackedProps.size)return!0;var r=new Set(null!=e?e:t.trackedProps);return t.options.useErrorBoundary&&r.add("error"),Object.keys(t.currentResult).some((function(e){var i=e;return t.currentResult[i]!==n[i]&&r.has(i)}))}()&&(i.listeners=!0),this.notify((0,it.Z)((0,it.Z)({},i),e))}}},{key:"updateQuery",value:function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}}},{key:"onQueryUpdate",value:function(e){var t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||Ri(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}},{key:"notify",value:function(e){var t=this;Si.batch((function(){var n,r,i,o;if(e.onSuccess)null==(n=(r=t.options).onSuccess)||n.call(r,t.currentResult.data),null==(i=(o=t.options).onSettled)||i.call(o,t.currentResult.data,null);else if(e.onError){var a,s,u,l;null==(a=(s=t.options).onError)||a.call(s,t.currentResult.error),null==(u=(l=t.options).onSettled)||u.call(l,void 0,t.currentResult.error)}e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))}}]),n}(Ci);function $C(e,t){return function(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&jC(e,t,t.refetchOnMount)}function jC(e,t,n){if(!1!==t.enabled){var r="function"===typeof n?n(e):n;return"always"===r||!1!==r&&zC(e,t)}return!1}function BC(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&zC(e,n)}function zC(e,t){return e.isStaleByTime(t.staleTime)}function HC(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var WC=V.createContext(HC());var UC,qC=V.createContext(!1),XC=(qC.Provider,n(4249));function GC(e,t){var n=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).context,t=V.useContext(Xi(e,V.useContext(qi)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t}({context:e.context}),r=V.useContext(qC),i=V.useContext(WC),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=Si.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=Si.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=Si.batchCalls(o.onSettled)),o.suspense&&"number"!==typeof o.staleTime&&(o.staleTime=1e3),(o.suspense||o.useErrorBoundary)&&(i.isReset()||(o.retryOnMount=!1));var a,s,u=V.useState((function(){return new t(n,o)})),l=(0,ee.Z)(u,1)[0],c=l.getOptimisticResult(o);if((0,XC.useSyncExternalStore)(V.useCallback((function(e){return r?function(){}:l.subscribe(Si.batchCalls(e))}),[l,r]),(function(){return l.getCurrentResult()}),(function(){return l.getCurrentResult()})),V.useEffect((function(){i.clearReset()}),[i]),V.useEffect((function(){l.setOptions(o,{listeners:!1})}),[o,l]),o.suspense&&c.isLoading&&c.isFetching&&!r)throw l.fetchOptimistic(o).then((function(e){var t=e.data;null==o.onSuccess||o.onSuccess(t),null==o.onSettled||o.onSettled(t,null)})).catch((function(e){i.clearReset(),null==o.onError||o.onError(e),null==o.onSettled||o.onSettled(void 0,e)}));if(c.isError&&!i.isReset()&&!c.isFetching&&(a=o.useErrorBoundary,s=[c.error,l.getCurrentQuery()],"function"===typeof a?a.apply(void 0,(0,rt.Z)(s)):a))throw c.error;return o.notifyOnChangeProps?c:l.trackResult(c)}var JC,VC=Jr.div(UC||(UC=G(["\n font-size: 0.8rem;\n"]))),YC=function(e){return t=function(){return e?fetch(e).then((function(e){return e.text()})).then((function(e){return e})).catch((function(t){yn.error((0,Ge.jsxs)(VC,{children:["\u52a0\u8f7d\u5931\u8d25\uff01",(0,Ge.jsx)("a",{href:e,children:"\u8bf7\u68c0\u67e5\u4f60\u7684URL"})]}))})):Promise.resolve("")},GC(ri(["database-list",e],t,n),ZC);var t,n},KC=function(e){var t=e.children,n=function(e){var t=(0,V.useRef)(qe(e)),n=Qe(),r=(0,V.useMemo)((function(){var e,r=qe(n.search),i=(0,K.Z)(t.current.keys());try{var o=function(){var n=e.value;r.has(n)||t.current.getAll(n).forEach((function(e){r.append(n,e)}))};for(i.s();!(e=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}return r}),[n.search]),i=Pe();return[r,(0,V.useCallback)((function(e,t){i("?"+qe(e),t)}),[i])]}(),r=(0,ee.Z)(n,2),i=r[0],o=r[1],a=i.get("theme"),s=a||"underscore",u=i.get("md"),l=V.useState(u?"":Cv),c=(0,ee.Z)(l,2),h=c[0],f=c[1],d=V.useState(Av[s].value),p=(0,ee.Z)(d,2),m=p[0],g=p[1],v=V.useState(s),O=(0,ee.Z)(v,2),y=O[0],k=O[1],b=V.useState("default"),x=(0,ee.Z)(b,2),T=x[0],w=x[1],S=V.useState(Av[s]?Av[s].color:""),C=(0,ee.Z)(S,2),E=C[0],A=C[1],_=V.useState(!0),Q=(0,ee.Z)(_,2),P=Q[0],R=Q[1],D=YC(u),N=D.data,M=D.isLoading;return(0,V.useEffect)((function(){a!==y&&(i.set("theme",y),o(i))}),[a,y,i,o]),(0,V.useEffect)((function(){u&&f(N||"")}),[N,u]),(0,V.useEffect)((function(){return R(M)}),[M]),(0,V.useEffect)((function(){return A(Av[s].color)}),[s]),(0,Ge.jsx)(Qv.Provider,{value:{preColor:E,setPreColor:A,isLoading:P,setIsLoading:R,markdown:h,setMarkdown:f,css:m,setCss:g,previewTheme:y,setPreviewTheme:k,theme:T,setTheme:w},children:t})},eE=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Nr.apply(void 0,[e].concat(n)),o="sc-global-"+Zr(JSON.stringify(i)),a=new Gr(i,o);function s(e){var t=xr(),n=Tr(),r=(0,V.useContext)(Wr),i=(0,V.useRef)(t.allocateGSInstance(o)).current;return t.server&&u(i,e,t,r,n),(0,V.useLayoutEffect)((function(){if(!t.server)return u(i,e,t,r,n),function(){return a.removeStyles(i,t)}}),[i,e,t,r,n]),null}function u(e,t,n,r,i){if(a.isStatic)a.renderStyles(e,$n,n,i);else{var o=_n({},t,{theme:Mr(t,r,s.defaultProps)});a.renderStyles(e,o,n,i)}}return V.memo(s)}(JC||(JC=G(['\n [data-color-mode*=\'dark\'], [data-color-mode*=\'dark\'] body {\n --color-fg-default: #c9d1d9;\n --color-fg-muted: #8b949e;\n --color-fg-subtle: #484f58;\n --color-canvas-default: #0d1117;\n --color-canvas-subtle: #161b22;\n --color-border-default: #30363d;\n --color-border-muted: #21262d;\n --color-neutral-muted: rgba(110,118,129,0.4);\n --color-accent-fg: #58a6ff;\n --color-accent-emphasis: #1f6feb;\n --color-attention-subtle: rgba(187,128,9,0.15);\n --color-danger-fg: #f85149;\n }\n [data-color-mode*=\'light\'], [data-color-mode*=\'light\'] body {\n --color-fg-default: #24292f;\n --color-fg-muted: #57606a;\n --color-fg-subtle: #6e7781;\n --color-canvas-default: #ffffff;\n --color-canvas-subtle: #f6f8fa;\n --color-border-default: #d0d7de;\n --color-border-muted: hsla(210,18%,87%,1);\n --color-neutral-muted: rgba(175,184,193,0.2);\n --color-accent-fg: #0969da;\n --color-accent-emphasis: #0969da;\n --color-attention-subtle: #fff8c5;\n --color-danger-fg: #cf222e;\n }\n body {\n margin: 0;\n padding: 0;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",\n "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n']))),tE=new Wi,nE=document.getElementById("root");(0,Y.s)(nE).render((0,Ge.jsxs)(He,{children:[(0,Ge.jsx)(On,{}),(0,Ge.jsx)(nt,{style:{zIndex:999},children:"Top"}),(0,Ge.jsx)(eE,{}),(0,Ge.jsx)(Ji,{client:tE,children:(0,Ge.jsx)(KC,{children:(0,Ge.jsx)(IC,{})})})]}))},8497:function(e){e.exports=function(){"use strict";function e(e,t){var n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style={position:"absolute",left:"-9999px"},document.body.appendChild(n);var r=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);n.select();var i=!1;try{i=!!document.execCommand("copy")}catch(o){i=!1}document.body.removeChild(n),r&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r)),t&&t(i)}return e}()},390:function(e,t,n){var r=n(8983).default,i=n(2081).default,o=n(7266).default,a=n(8724).default,s=n(670).default,u=n(9952).default,l=n(3231).default,c=document,h="_dark_mode_theme_",f="permanent",d="colorschemechange",p="light",m="dark",g=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,n,{enumerable:!0,get:function(){var e=this.getAttribute(t);return null===e?"":e},set:function(e){this.setAttribute(t,e)}})},v=function(e){"use strict";a(n,e);var t=s(n);function n(){var e;return r(this,n),e=t.call(this),l(o(e),"LOCAL_NANE",h),e.t(),e}return i(n,[{key:"connectedCallback",value:function(){var e=this;g(this,"mode"),g(this,m),g(this,p),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;Object.defineProperty(e,n,{enumerable:!0,get:function(){return this.hasAttribute(t)},set:function(e){e?this.setAttribute(t,""):this.removeAttribute(t)}})}(this,f);var t=localStorage.getItem(h);t&&[p,m].includes(t)&&(this.mode=t,this.permanent=!0),this.permanent&&!t&&localStorage.setItem(h,this.mode);var n=[p,m].includes(t);this.permanent&&t?this.o():(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(this.mode=m,this.o()),window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches&&(this.mode=p,this.o())),this.permanent||n||(window.matchMedia("(prefers-color-scheme: light)").onchange=function(t){e.mode=t.matches?p:m,e.o()},window.matchMedia("(prefers-color-scheme: dark)").onchange=function(t){e.mode=t.matches?m:p,e.o()}),new MutationObserver((function(t,r){e.mode=c.documentElement.dataset.colorMode,e.permanent&&n&&(localStorage.setItem(h,e.mode),e.i("permanentcolorscheme",{permanent:e.permanent})),e.h(),e.i(d,{colorScheme:e.mode})})).observe(c.documentElement,{attributes:!0}),this.i(d,{colorScheme:this.mode}),this.h()}},{key:"attributeChangedCallback",value:function(e,t,n){if("mode"===e&&t!==n&&[p,m].includes(n)){var r=localStorage.getItem(h);this.mode===r?(this.mode=n,this.h(),this.o()):this.mode&&this.mode!==r&&(this.h(),this.o())}else e!==p&&e!==m||t===n||this.h();"permanent"===e&&"boolean"===typeof this.permanent&&(this.permanent?localStorage.setItem(h,this.mode):localStorage.removeItem(h))}},{key:"o",value:function(){c.documentElement.setAttribute("data-color-mode",this.mode)}},{key:"h",value:function(){this.icon.textContent=this.mode===p?"\ud83c\udf12":"\ud83c\udf1e",this.text.textContent=this.mode===p?this.getAttribute(m):this.getAttribute(p),!this.text.textContent&&this.text.parentElement&&this.text&&this.text.parentElement.removeChild(this.text)}},{key:"t",value:function(){var e=this,t=this.attachShadow({mode:"open"});this.label=c.createElement("span"),this.label.setAttribute("class","wrapper"),this.label.onclick=function(){e.mode=e.mode===p?m:p,e.permanent&&localStorage.setItem(h,e.mode),e.o(),e.h()},t.appendChild(this.label),this.icon=c.createElement("span"),this.label.appendChild(this.icon),this.text=c.createElement("span"),this.label.appendChild(this.text);var n="_dark_mode_style_";if(!c.getElementById(n)){var r=c.createElement("style");r.id=n,r.textContent="\n[data-color-mode*='dark'], [data-color-mode*='dark'] body {\n color-scheme: dark;\n --color-theme-bg: #0d1117;\n --color-theme-text: #c9d1d9;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}\n\n[data-color-mode*='light'], [data-color-mode*='light'] body {\n color-scheme: light;\n --color-theme-bg: #fff;\n --color-theme-text: #24292f;\n background-color: var(--color-theme-bg);\n color: var(--color-theme-text);\n}",c.head.appendChild(r)}var i=c.createElement("style");i.textContent="\n .wrapper { cursor: pointer; user-select: none; position: relative; }\n .wrapper > span + span { margin-left: .4rem; }\n ",t.appendChild(i)}},{key:"i",value:function(e,t){this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:t}))}}],[{key:"observedAttributes",get:function(){return["mode",p,m,f]}}]),n}(u(HTMLElement));customElements.define("dark-mode",v)},1692:function(e){e.exports={trueFunc:function(){return!0},falseFunc:function(){return!1}}},861:function(e,t,n){"use strict";var r=n(7167),i=n(2174),o=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.pseudos[i]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.pseudos[i]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.pseudos[i]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.pseudos[i]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.ruleNestingOperators[i]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.ruleNestingOperators[i]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];this.attrEqualityMods[i]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];delete this.attrEqualityMods[i]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return r.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return i.renderEntity(e).trim()},e}();t.N=o},7167:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(586);t.parseCssSelector=function(e,t,n,i,o,a){var s=e.length,u="";function l(n,i){var o="";for(t++,u=e.charAt(t);t<s;){if(u===n)return t++,o;if("\\"===u){t++;var a=void 0;if((u=e.charAt(t))===n)o+=n;else if(void 0!==(a=i[u]))o+=a;else{if(r.isHex(u)){var l=u;for(t++,u=e.charAt(t);r.isHex(u);)l+=u,t++,u=e.charAt(t);" "===u&&(t++,u=e.charAt(t)),o+=String.fromCharCode(parseInt(l,16));continue}o+=u}}else o+=u;t++,u=e.charAt(t)}return o}function c(){var n="";for(u=e.charAt(t);t<s;){if(r.isIdent(u))n+=u;else{if("\\"!==u)return n;if(++t>=s)throw Error("Expected symbol but end of file reached.");if(u=e.charAt(t),r.identSpecialChars[u])n+=u;else{if(r.isHex(u)){var i=u;for(t++,u=e.charAt(t);r.isHex(u);)i+=u,t++,u=e.charAt(t);" "===u&&(t++,u=e.charAt(t)),n+=String.fromCharCode(parseInt(i,16));continue}n+=u}}t++,u=e.charAt(t)}return n}function h(){u=e.charAt(t);for(var n=!1;" "===u||"\t"===u||"\n"===u||"\r"===u||"\f"===u;)n=!0,t++,u=e.charAt(t);return n}function f(){var n=d();if(!n)return null;var r=n;for(u=e.charAt(t);","===u;){if(t++,h(),"selectors"!==r.type&&(r={type:"selectors",selectors:[n]}),!(n=d()))throw Error('Rule expected after ",".');r.selectors.push(n)}return r}function d(){h();var n={type:"ruleSet"},r=p();if(!r)return null;for(var i=n;r&&(r.type="rule",i.rule=r,i=r,h(),u=e.charAt(t),!(t>=s||","===u||")"===u));)if(o[u]){var a=u;if(t++,h(),!(r=p()))throw Error('Rule expected after "'+a+'".');r.nestingOperator=a}else(r=p())&&(r.nestingOperator=null);return n}function p(){for(var o=null;t<s;)if("*"===(u=e.charAt(t)))t++,(o=o||{}).tagName="*";else if(r.isIdentStart(u)||"\\"===u)(o=o||{}).tagName=c();else if("."===u)t++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===u)t++,(o=o||{}).id=c();else if("["===u){t++,h();var d={name:c()};if(h(),"]"===u)t++;else{var p="";if(i[u]&&(p=u,t++,u=e.charAt(t)),t>=s)throw Error('Expected "=" but end of file reached.');if("="!==u)throw Error('Expected "=" but "'+u+'" found.');d.operator=p+"=",t++,h();var m="";if(d.valueType="string",'"'===u)m=l('"',r.doubleQuotesEscapeChars);else if("'"===u)m=l("'",r.singleQuoteEscapeChars);else if(a&&"$"===u)t++,m=c(),d.valueType="substitute";else{for(;t<s&&"]"!==u;)m+=u,t++,u=e.charAt(t);m=m.trim()}if(h(),t>=s)throw Error('Expected "]" but end of file reached.');if("]"!==u)throw Error('Expected "]" but "'+u+'" found.');t++,d.value=m}((o=o||{}).attrs=o.attrs||[]).push(d)}else{if(":"!==u)break;t++;var g=c(),v={name:g};if("("===u){t++;var O="";if(h(),"selector"===n[g])v.valueType="selector",O=f();else{if(v.valueType=n[g]||"string",'"'===u)O=l('"',r.doubleQuotesEscapeChars);else if("'"===u)O=l("'",r.singleQuoteEscapeChars);else if(a&&"$"===u)t++,O=c(),v.valueType="substitute";else{for(;t<s&&")"!==u;)O+=u,t++,u=e.charAt(t);O=O.trim()}h()}if(t>=s)throw Error('Expected ")" but end of file reached.');if(")"!==u)throw Error('Expected ")" but "'+u+'" found.');t++,v.value=O}((o=o||{}).pseudos=o.pseudos||[]).push(v)}return o}return function(){var n=f();if(t<s)throw Error('Rule expected but "'+e.charAt(t)+'" found.');return n}()}},2174:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(586);t.renderEntity=function e(t){var n="";switch(t.type){case"ruleSet":for(var i=t.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(e(i)),i=i.rule;n=o.join(" ");break;case"selectors":n=t.selectors.map(e).join(", ");break;case"rule":t.tagName&&(n="*"===t.tagName?"*":r.escapeIdentifier(t.tagName)),t.id&&(n+="#"+r.escapeIdentifier(t.id)),t.classNames&&(n+=t.classNames.map((function(e){return"."+r.escapeIdentifier(e)})).join("")),t.attrs&&(n+=t.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+r.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+r.escapeIdentifier(e.name)+e.operator+r.escapeStr(e.value)+"]":"["+r.escapeIdentifier(e.name)+"]"})).join("")),t.pseudos&&(n+=t.pseudos.map((function(t){return t.valueType?"selector"===t.valueType?":"+r.escapeIdentifier(t.name)+"("+e(t.value)+")":"substitute"===t.valueType?":"+r.escapeIdentifier(t.name)+"($"+t.value+")":"numeric"===t.valueType?":"+r.escapeIdentifier(t.name)+"("+t.value+")":":"+r.escapeIdentifier(t.name)+"("+r.escapeIdentifier(t.value)+")":":"+r.escapeIdentifier(t.name)})).join(""));break;default:throw Error('Unknown entity type: "'+t.type+'".')}return n}},586:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},t.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},t.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},t.escapeIdentifier=function(e){for(var n=e.length,r="",i=0;i<n;){var o=e.charAt(i);if(t.identSpecialChars[o])r+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==i&&o>="0"&&o<="9")r+=o;else{var a=o.charCodeAt(0);if(55296===(63488&a)){var s=e.charCodeAt(i++);if(55296!==(64512&a)||56320!==(64512&s))throw Error("UCS-2(decode): illegal sequence");a=((1023&a)<<10)+(1023&s)+65536}r+="\\"+a.toString(16)+" "}i++}return r},t.escapeStr=function(e){for(var n,r=e.length,i="",o=0;o<r;){var a=e.charAt(o);'"'===a?a='\\"':"\\"===a?a="\\\\":void 0!==(n=t.strReplacementsRev[a])&&(a=n),i+=a,o++}return'"'+i+'"'},t.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},t.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},t.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},t.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}},5134:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,l,c,h=arguments[0],f=1,d=arguments.length,p=!1;for("boolean"===typeof h&&(p=h,h=arguments[1]||{},f=2),(null==h||"object"!==typeof h&&"function"!==typeof h)&&(h={});f<d;++f)if(null!=(t=arguments[f]))for(n in t)r=u(h,n),h!==(i=u(t,n))&&(p&&i&&(a(i)||(l=o(i)))?(l?(l=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},s(h,{name:n,newValue:e(p,c,i)})):"undefined"!==typeof i&&s(h,{name:n,newValue:i}));return h}},7959:function(e,t,n){var r=n(2258);e.exports=o;var i=Object.hasOwnProperty;function o(){if(!(this instanceof o))return new o;this.reset()}function a(e,t){return"string"!==typeof e?"":(t||(e=e.toLowerCase()),e.replace(r,"").replace(/ /g,"-"))}o.prototype.slug=function(e,t){for(var n=this,r=a(e,!0===t),o=r;i.call(n.occurrences,r);)n.occurrences[o]++,r=o+"-"+n.occurrences[o];return n.occurrences[r]=0,r},o.prototype.reset=function(){this.occurrences=Object.create(null)},o.slug=a},2258:function(e){e.exports=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08BE-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D04\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1ABF-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31BB-\u31EF\u3200-\u33FF\u4DB6-\u4DFF\u9FF0-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7C7-\uA7F6\uA828-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB68-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD47-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD-\uDDCF\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC60-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD00-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD823-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D-\uD83F\uD87B-\uD87D\uD87F-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE4-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD822[\uDEF3-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD869[\uDED7-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g},4134:function(e,t,n){"use strict";var r=n(3302),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,c=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var i=d(n);i&&i!==p&&e(t,i,r)}var a=c(n);h&&(a=a.concat(h(n)));for(var s=u(t),m=u(n),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var O=f(n,v);try{l(t,v,O)}catch(y){}}}}return t}},8672:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,k=n?Symbol.for("react.scope"):60119;function b(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case h:case o:case s:case a:case d:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case m:case u:return e;default:return t}}case i:return t}}}function x(e){return b(e)===h}t.AsyncMode=c,t.ConcurrentMode=h,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return x(e)||b(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return b(e)===l},t.isContextProvider=function(e){return b(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===f},t.isFragment=function(e){return b(e)===o},t.isLazy=function(e){return b(e)===g},t.isMemo=function(e){return b(e)===m},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===s},t.isStrictMode=function(e){return b(e)===a},t.isSuspense=function(e){return b(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===h||e===s||e===a||e===d||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===f||e.$$typeof===O||e.$$typeof===y||e.$$typeof===k||e.$$typeof===v)},t.typeOf=b},3302:function(e,t,n){"use strict";e.exports=n(8672)},7107:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,u=/^\s+|\s+$/g,l="";function c(e){return e?e.replace(u,l):l}e.exports=function(e,u){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var h=1,f=1;function d(e){var t=e.match(n);t&&(h+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function p(){var e={line:h,column:f};return function(t){return t.position=new m(e),y(),t}}function m(e){this.start=e,this.end={line:h,column:f},this.source=u.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(u.source+":"+h+":"+f+": "+t);if(n.reason=t,n.filename=u.source,n.line=h,n.column=f,n.source=e,!u.silent)throw n;g.push(n)}function O(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function y(){O(r)}function k(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;l!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,l===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,d(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function x(){var e=p(),n=O(i);if(n){if(b(),!O(o))return v("property missing ':'");var r=O(a),u=e({type:"declaration",property:c(n[0].replace(t,l)),value:r?c(r[0].replace(t,l)):l});return O(s),u}}return y(),function(){var e,t=[];for(k(t);e=x();)!1!==e&&(t.push(e),k(t));return t}()}},6419:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},9582:function(e){"use strict";var t={};function n(e,r,i){var o,a,s,u,l,c="";for("string"!==typeof r&&(i=r,r=n.defaultChars),"undefined"===typeof i&&(i=!0),l=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)i[e.charCodeAt(n)]=e[n];return i}(r),o=0,a=e.length;o<a;o++)if(s=e.charCodeAt(o),i&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3)))c+=e.slice(o,o+3),o+=2;else if(s<128)c+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(u=e.charCodeAt(o+1))>=56320&&u<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},7278:function(e,t,n){var r=n(131).default,i=n(8532).default;function o(e){var t,n,o=[],a=i(e.split(",").map((function(e){return e.trim()})));try{for(a.s();!(n=a.n()).done;){var s=n.value;if(/^-?\d+$/.test(s))o.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){var u=r(t,4),l=(u[0],u[1]),c=u[2],h=u[3];if(l&&h){var f=(l=parseInt(l))<(h=parseInt(h))?1:-1;"-"!==c&&".."!==c&&"\u2025"!==c||(h+=f);for(var d=l;d!==h;d+=f)o.push(d)}}}}catch(p){a.e(p)}finally{a.f()}return o}t.default=o,e.exports=o},4237:function(e,t,n){"use strict";var r=n(3359).DOCUMENT_MODE,i="html",o=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],a=o.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),s=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],u=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],l=u.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function c(e){var t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function h(e,t){for(var n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return!0;return!1}t.isConforming=function(e){return e.name===i&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},t.getDocumentMode=function(e){if(e.name!==i)return r.QUIRKS;var t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return r.QUIRKS;var n=e.publicId;if(null!==n){if(n=n.toLowerCase(),s.indexOf(n)>-1)return r.QUIRKS;var c=null===t?a:o;if(h(n,c))return r.QUIRKS;if(h(n,c=null===t?u:l))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){var r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+c(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+c(n)),r}},1965:function(e){"use strict";e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},5845:function(e,t,n){"use strict";var r,i=n(3231).default,o=n(7669),a=n(3359),s=a.TAG_NAMES,u=a.NAMESPACES,l=a.ATTRS,c="text/html",h="application/xhtml+xml",f={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},d={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:u.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:u.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:u.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:u.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:u.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:u.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:u.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:u.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:u.XML},"xml:space":{prefix:"xml",name:"space",namespace:u.XML},xmlns:{prefix:"",name:"xmlns",namespace:u.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:u.XMLNS}},p=t.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},m=(i(r={},s.B,!0),i(r,s.BIG,!0),i(r,s.BLOCKQUOTE,!0),i(r,s.BODY,!0),i(r,s.BR,!0),i(r,s.CENTER,!0),i(r,s.CODE,!0),i(r,s.DD,!0),i(r,s.DIV,!0),i(r,s.DL,!0),i(r,s.DT,!0),i(r,s.EM,!0),i(r,s.EMBED,!0),i(r,s.H1,!0),i(r,s.H2,!0),i(r,s.H3,!0),i(r,s.H4,!0),i(r,s.H5,!0),i(r,s.H6,!0),i(r,s.HEAD,!0),i(r,s.HR,!0),i(r,s.I,!0),i(r,s.IMG,!0),i(r,s.LI,!0),i(r,s.LISTING,!0),i(r,s.MENU,!0),i(r,s.META,!0),i(r,s.NOBR,!0),i(r,s.OL,!0),i(r,s.P,!0),i(r,s.PRE,!0),i(r,s.RUBY,!0),i(r,s.S,!0),i(r,s.SMALL,!0),i(r,s.SPAN,!0),i(r,s.STRONG,!0),i(r,s.STRIKE,!0),i(r,s.SUB,!0),i(r,s.SUP,!0),i(r,s.TABLE,!0),i(r,s.TT,!0),i(r,s.U,!0),i(r,s.UL,!0),i(r,s.VAR,!0),r);t.causesExit=function(e){var t=e.tagName;return!!(t===s.FONT&&(null!==o.getTokenAttr(e,l.COLOR)||null!==o.getTokenAttr(e,l.SIZE)||null!==o.getTokenAttr(e,l.FACE)))||m[t]},t.adjustTokenMathMLAttrs=function(e){for(var t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},t.adjustTokenSVGAttrs=function(e){for(var t=0;t<e.attrs.length;t++){var n=f[e.attrs[t].name];n&&(e.attrs[t].name=n)}},t.adjustTokenXMLAttrs=function(e){for(var t=0;t<e.attrs.length;t++){var n=d[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},t.adjustTokenSVGTagName=function(e){var t=p[e.tagName];t&&(e.tagName=t)},t.isIntegrationPoint=function(e,t,n,r){return!(r&&r!==u.HTML||!function(e,t,n){if(t===u.MATHML&&e===s.ANNOTATION_XML)for(var r=0;r<n.length;r++)if(n[r].name===l.ENCODING){var i=n[r].value.toLowerCase();return i===c||i===h}return t===u.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}(e,t,n))||!(r&&r!==u.MATHML||!function(e,t){return t===u.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}(e,t))}},3359:function(e,t,n){"use strict";var r,i,o,a,s=n(3231).default,u=t.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};var l=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS=(s(a={},u.HTML,(s(r={},l.ADDRESS,!0),s(r,l.APPLET,!0),s(r,l.AREA,!0),s(r,l.ARTICLE,!0),s(r,l.ASIDE,!0),s(r,l.BASE,!0),s(r,l.BASEFONT,!0),s(r,l.BGSOUND,!0),s(r,l.BLOCKQUOTE,!0),s(r,l.BODY,!0),s(r,l.BR,!0),s(r,l.BUTTON,!0),s(r,l.CAPTION,!0),s(r,l.CENTER,!0),s(r,l.COL,!0),s(r,l.COLGROUP,!0),s(r,l.DD,!0),s(r,l.DETAILS,!0),s(r,l.DIR,!0),s(r,l.DIV,!0),s(r,l.DL,!0),s(r,l.DT,!0),s(r,l.EMBED,!0),s(r,l.FIELDSET,!0),s(r,l.FIGCAPTION,!0),s(r,l.FIGURE,!0),s(r,l.FOOTER,!0),s(r,l.FORM,!0),s(r,l.FRAME,!0),s(r,l.FRAMESET,!0),s(r,l.H1,!0),s(r,l.H2,!0),s(r,l.H3,!0),s(r,l.H4,!0),s(r,l.H5,!0),s(r,l.H6,!0),s(r,l.HEAD,!0),s(r,l.HEADER,!0),s(r,l.HGROUP,!0),s(r,l.HR,!0),s(r,l.HTML,!0),s(r,l.IFRAME,!0),s(r,l.IMG,!0),s(r,l.INPUT,!0),s(r,l.LI,!0),s(r,l.LINK,!0),s(r,l.LISTING,!0),s(r,l.MAIN,!0),s(r,l.MARQUEE,!0),s(r,l.MENU,!0),s(r,l.META,!0),s(r,l.NAV,!0),s(r,l.NOEMBED,!0),s(r,l.NOFRAMES,!0),s(r,l.NOSCRIPT,!0),s(r,l.OBJECT,!0),s(r,l.OL,!0),s(r,l.P,!0),s(r,l.PARAM,!0),s(r,l.PLAINTEXT,!0),s(r,l.PRE,!0),s(r,l.SCRIPT,!0),s(r,l.SECTION,!0),s(r,l.SELECT,!0),s(r,l.SOURCE,!0),s(r,l.STYLE,!0),s(r,l.SUMMARY,!0),s(r,l.TABLE,!0),s(r,l.TBODY,!0),s(r,l.TD,!0),s(r,l.TEMPLATE,!0),s(r,l.TEXTAREA,!0),s(r,l.TFOOT,!0),s(r,l.TH,!0),s(r,l.THEAD,!0),s(r,l.TITLE,!0),s(r,l.TR,!0),s(r,l.TRACK,!0),s(r,l.UL,!0),s(r,l.WBR,!0),s(r,l.XMP,!0),r)),s(a,u.MATHML,(s(i={},l.MI,!0),s(i,l.MO,!0),s(i,l.MN,!0),s(i,l.MS,!0),s(i,l.MTEXT,!0),s(i,l.ANNOTATION_XML,!0),i)),s(a,u.SVG,(s(o={},l.TITLE,!0),s(o,l.FOREIGN_OBJECT,!0),s(o,l.DESC,!0),o)),a)},229:function(e,t){"use strict";var n=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];t.REPLACEMENT_CHARACTER="\ufffd",t.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},t.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.indexOf(e)>-1}},9221:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=function(e){o(n,e);var t=a(n);function n(e,i){var o;return r(this,n),(o=t.call(this,e)).posTracker=null,o.onParseError=i.onParseError,o}return i(n,[{key:"_setErrorLocation",value:function(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}},{key:"_reportError",value:function(e){var t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}},{key:"_getOverriddenMethods",value:function(e){return{_err:function(t){e._reportError(t)}}}}]),n}(n(3731));e.exports=s},1338:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=n(9221),u=n(5602),l=n(2020),c=n(3731),h=function(e){o(n,e);var t=a(n);function n(e,i){var o;return r(this,n),(o=t.call(this,e,i)).opts=i,o.ctLoc=null,o.locBeforeToken=!1,o}return i(n,[{key:"_setErrorLocation",value:function(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}},{key:"_getOverriddenMethods",value:function(e,t){return{_bootstrap:function(n,r){t._bootstrap.call(this,n,r),c.install(this.tokenizer,u,e.opts),c.install(this.tokenizer,l)},_processInputToken:function(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err:function(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}}]),n}(s);e.exports=h},369:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(1121).default,a=n(4910).default,s=n(8724).default,u=n(670).default,l=n(9221),c=n(7525),h=n(3731),f=function(e){s(n,e);var t=u(n);function n(e,i){var o;return r(this,n),(o=t.call(this,e,i)).posTracker=h.install(e,c),o.lastErrOffset=-1,o}return i(n,[{key:"_reportError",value:function(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,o(a(n.prototype),"_reportError",this).call(this,e))}}]),n}(l);e.exports=f},5602:function(e,t,n){"use strict";var r=n(2081).default,i=n(8983).default,o=n(8724).default,a=n(670).default,s=n(9221),u=n(369),l=n(3731),c=function(e){o(n,e);var t=a(n);function n(e,r){var o;i(this,n),o=t.call(this,e,r);var a=l.install(e.preprocessor,u,r);return o.posTracker=a.posTracker,o}return r(n)}(s);e.exports=c},8618:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=function(e){o(n,e);var t=a(n);function n(e,i){var o;return r(this,n),(o=t.call(this,e)).onItemPop=i.onItemPop,o}return i(n,[{key:"_getOverriddenMethods",value:function(e,t){return{pop:function(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement:function(){for(var n=this.stackTop;n>0;n--)e.onItemPop(this.items[n]);t.popAllUpToHtmlElement.call(this)},remove:function(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}]),n}(n(3731));e.exports=s},3720:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=n(3731),u=n(7669),l=n(2020),c=n(8618),h=n(3359).TAG_NAMES,f=function(e){o(n,e);var t=a(n);function n(e){var i;return r(this,n),(i=t.call(this,e)).parser=e,i.treeAdapter=i.parser.treeAdapter,i.posTracker=null,i.lastStartTagToken=null,i.lastFosterParentingLocation=null,i.currentToken=null,i}return i(n,[{key:"_setStartLocation",value:function(e){var t=null;this.lastStartTagToken&&((t=Object.assign({},this.lastStartTagToken.location)).startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}},{key:"_setEndLocation",value:function(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){var n=t.location,r=this.treeAdapter.getTagName(e),i={};t.type===u.END_TAG_TOKEN&&r===t.tagName?(i.endTag=Object.assign({},n),i.endLine=n.endLine,i.endCol=n.endCol,i.endOffset=n.endOffset):(i.endLine=n.startLine,i.endCol=n.startCol,i.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}},{key:"_getOverriddenMethods",value:function(e,t){return{_bootstrap:function(n,r){t._bootstrap.call(this,n,r),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;var i=s.install(this.tokenizer,l);e.posTracker=i.posTracker,s.install(this.openElements,c,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop:function(n){t._runParsingLoop.call(this,n);for(var r=this.openElements.stackTop;r>=0;r--)e._setEndLocation(this.openElements.items[r],e.currentToken)},_processTokenInForeignContent:function(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken:function(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===u.END_TAG_TOKEN&&(n.tagName===h.HTML||n.tagName===h.BODY&&this.openElements.hasInScope(h.BODY)))for(var r=this.openElements.stackTop;r>=0;r--){var i=this.openElements.items[r];if(this.treeAdapter.getTagName(i)===n.tagName){e._setEndLocation(i,n);break}}},_setDocumentType:function(e){t._setDocumentType.call(this,e);for(var n=this.treeAdapter.getChildNodes(this.document),r=n.length,i=0;i<r;i++){var o=n[i];if(this.treeAdapter.isDocumentTypeNode(o)){this.treeAdapter.setNodeSourceCodeLocation(o,e.location);break}}},_attachElementToTree:function(n){e._setStartLocation(n),e.lastStartTagToken=null,t._attachElementToTree.call(this,n)},_appendElement:function(n,r){e.lastStartTagToken=n,t._appendElement.call(this,n,r)},_insertElement:function(n,r){e.lastStartTagToken=n,t._insertElement.call(this,n,r)},_insertTemplate:function(n){e.lastStartTagToken=n,t._insertTemplate.call(this,n);var r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement:function(){t._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode:function(e,n){t._appendCommentNode.call(this,e,n);var r=this.treeAdapter.getChildNodes(n),i=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(i,e.location)},_findFosterParentingLocation:function(){return e.lastFosterParentingLocation=t._findFosterParentingLocation.call(this),e.lastFosterParentingLocation},_insertCharacters:function(n){t._insertCharacters.call(this,n);var r=this._shouldFosterParentOnInsertion(),i=r&&e.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,o=this.treeAdapter.getChildNodes(i),a=r&&e.lastFosterParentingLocation.beforeElement?o.indexOf(e.lastFosterParentingLocation.beforeElement)-1:o.length-1,s=o[a];if(this.treeAdapter.getNodeSourceCodeLocation(s)){var u=n.location,l=u.endLine,c=u.endCol,h=u.endOffset;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:c,endOffset:h})}else this.treeAdapter.setNodeSourceCodeLocation(s,n.location)}}}}]),n}(s);e.exports=f},2020:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=n(3731),u=n(7669),l=n(7525),c=function(e){o(n,e);var t=a(n);function n(e){var i;return r(this,n),(i=t.call(this,e)).tokenizer=e,i.posTracker=s.install(e.preprocessor,l),i.currentAttrLocation=null,i.ctLoc=null,i}return i(n,[{key:"_getCurrentLocation",value:function(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}},{key:"_attachCurrentAttrLocationInfo",value:function(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;var e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}},{key:"_getOverriddenMethods",value:function(e,t){var n={_createStartTagToken:function(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken:function(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken:function(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken:function(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken:function(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken:function(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr:function(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName:function(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue:function(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken:function(){var n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===u.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken:function(){var n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(u.MODE).forEach((function(r){var i=u.MODE[r];n[i]=function(n){e.ctLoc=e._getCurrentLocation(),t[i].call(this,n)}})),n}}]),n}(s);e.exports=c},7525:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8724).default,a=n(670).default,s=function(e){o(n,e);var t=a(n);function n(e){var i;return r(this,n),(i=t.call(this,e)).preprocessor=e,i.isEol=!1,i.lineStartPos=0,i.droppedBufferSize=0,i.offset=0,i.col=0,i.line=1,i}return i(n,[{key:"_getOverriddenMethods",value:function(e,t){return{advance:function(){var n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat:function(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk:function(){var n=this.pos;t.dropParsedChunk.call(this);var r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}]),n}(n(3731));e.exports=s},3958:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=function(){function e(t){r(this,e),this.length=0,this.entries=[],this.treeAdapter=t,this.bookmark=null}return i(e,[{key:"_getNoahArkConditionCandidates",value:function(t){var n=[];if(this.length>=3)for(var r=this.treeAdapter.getAttrList(t).length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t),a=this.length-1;a>=0;a--){var s=this.entries[a];if(s.type===e.MARKER_ENTRY)break;var u=s.element,l=this.treeAdapter.getAttrList(u);this.treeAdapter.getTagName(u)===i&&this.treeAdapter.getNamespaceURI(u)===o&&l.length===r&&n.push({idx:a,attrs:l})}return n.length<3?[]:n}},{key:"_ensureNoahArkCondition",value:function(e){var t=this._getNoahArkConditionCandidates(e),n=t.length;if(n){for(var r=this.treeAdapter.getAttrList(e),i=r.length,o=Object.create(null),a=0;a<i;a++){var s=r[a];o[s.name]=s.value}for(var u=0;u<i;u++)for(var l=0;l<n;l++){var c=t[l].attrs[u];if(o[c.name]!==c.value&&(t.splice(l,1),n--),t.length<3)return}for(var h=n-1;h>=2;h--)this.entries.splice(t[h].idx,1),this.length--}}},{key:"insertMarker",value:function(){this.entries.push({type:e.MARKER_ENTRY}),this.length++}},{key:"pushElement",value:function(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:e.ELEMENT_ENTRY,element:t,token:n}),this.length++}},{key:"insertElementAfterBookmark",value:function(t,n){for(var r=this.length-1;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:e.ELEMENT_ENTRY,element:t,token:n}),this.length++}},{key:"removeEntry",value:function(e){for(var t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}},{key:"clearToLastMarker",value:function(){for(;this.length;){var t=this.entries.pop();if(this.length--,t.type===e.MARKER_ENTRY)break}}},{key:"getElementEntryInScopeWithTagName",value:function(t){for(var n=this.length-1;n>=0;n--){var r=this.entries[n];if(r.type===e.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}},{key:"getElementEntry",value:function(t){for(var n=this.length-1;n>=0;n--){var r=this.entries[n];if(r.type===e.ELEMENT_ENTRY&&r.element===t)return r}return null}}]),e}();o.MARKER_ENTRY="MARKER_ENTRY",o.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=o},810:function(e,t,n){"use strict";var r,i,o,a,s,u,l,c,h,f,d,p,m,g,v,O,y,k,b,x,T,w,S,C,E,A,_=n(8983).default,Q=n(2081).default,P=n(3231).default,R=n(7669),D=n(4690),N=n(3958),M=n(3720),I=n(1338),L=n(3731),F=n(8361),Z=n(9072),$=n(4237),j=n(5845),B=n(1965),z=n(229),H=n(3359),W=H.TAG_NAMES,U=H.NAMESPACES,q=H.ATTRS,X={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:F},G="hidden",J="INITIAL_MODE",V="BEFORE_HTML_MODE",Y="BEFORE_HEAD_MODE",K="IN_HEAD_MODE",ee="IN_HEAD_NO_SCRIPT_MODE",te="AFTER_HEAD_MODE",ne="IN_BODY_MODE",re="TEXT_MODE",ie="IN_TABLE_MODE",oe="IN_TABLE_TEXT_MODE",ae="IN_CAPTION_MODE",se="IN_COLUMN_GROUP_MODE",ue="IN_TABLE_BODY_MODE",le="IN_ROW_MODE",ce="IN_CELL_MODE",he="IN_SELECT_MODE",fe="IN_SELECT_IN_TABLE_MODE",de="IN_TEMPLATE_MODE",pe="AFTER_BODY_MODE",me="IN_FRAMESET_MODE",ge="AFTER_FRAMESET_MODE",ve="AFTER_AFTER_BODY_MODE",Oe="AFTER_AFTER_FRAMESET_MODE",ye=(P(r={},W.TR,le),P(r,W.TBODY,ue),P(r,W.THEAD,ue),P(r,W.TFOOT,ue),P(r,W.CAPTION,ae),P(r,W.COLGROUP,se),P(r,W.TABLE,ie),P(r,W.BODY,ne),P(r,W.FRAMESET,me),r),ke=(P(i={},W.CAPTION,ie),P(i,W.COLGROUP,ie),P(i,W.TBODY,ie),P(i,W.TFOOT,ie),P(i,W.THEAD,ie),P(i,W.COL,se),P(i,W.TR,ue),P(i,W.TD,le),P(i,W.TH,le),i),be=(P(A={},J,(P(o={},R.CHARACTER_TOKEN,Ie),P(o,R.NULL_CHARACTER_TOKEN,Ie),P(o,R.WHITESPACE_CHARACTER_TOKEN,Qe),P(o,R.COMMENT_TOKEN,Re),P(o,R.DOCTYPE_TOKEN,(function(e,t){e._setDocumentType(t);var n=t.forceQuirks?H.DOCUMENT_MODE.QUIRKS:$.getDocumentMode(t);$.isConforming(t)||e._err(B.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=V})),P(o,R.START_TAG_TOKEN,Ie),P(o,R.END_TAG_TOKEN,Ie),P(o,R.EOF_TOKEN,Ie),o)),P(A,V,(P(a={},R.CHARACTER_TOKEN,Le),P(a,R.NULL_CHARACTER_TOKEN,Le),P(a,R.WHITESPACE_CHARACTER_TOKEN,Qe),P(a,R.COMMENT_TOKEN,Re),P(a,R.DOCTYPE_TOKEN,Qe),P(a,R.START_TAG_TOKEN,(function(e,t){t.tagName===W.HTML?(e._insertElement(t,U.HTML),e.insertionMode=Y):Le(e,t)})),P(a,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n!==W.HTML&&n!==W.HEAD&&n!==W.BODY&&n!==W.BR||Le(e,t)})),P(a,R.EOF_TOKEN,Le),a)),P(A,Y,(P(s={},R.CHARACTER_TOKEN,Fe),P(s,R.NULL_CHARACTER_TOKEN,Fe),P(s,R.WHITESPACE_CHARACTER_TOKEN,Qe),P(s,R.COMMENT_TOKEN,Re),P(s,R.DOCTYPE_TOKEN,Pe),P(s,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.HTML?nt(e,t):n===W.HEAD?(e._insertElement(t,U.HTML),e.headElement=e.openElements.current,e.insertionMode=K):Fe(e,t)})),P(s,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.HEAD||n===W.BODY||n===W.HTML||n===W.BR?Fe(e,t):e._err(B.endTagWithoutMatchingOpenElement)})),P(s,R.EOF_TOKEN,Fe),s)),P(A,K,(P(u={},R.CHARACTER_TOKEN,je),P(u,R.NULL_CHARACTER_TOKEN,je),P(u,R.WHITESPACE_CHARACTER_TOKEN,Ne),P(u,R.COMMENT_TOKEN,Re),P(u,R.DOCTYPE_TOKEN,Pe),P(u,R.START_TAG_TOKEN,Ze),P(u,R.END_TAG_TOKEN,$e),P(u,R.EOF_TOKEN,je),u)),P(A,ee,(P(l={},R.CHARACTER_TOKEN,Be),P(l,R.NULL_CHARACTER_TOKEN,Be),P(l,R.WHITESPACE_CHARACTER_TOKEN,Ne),P(l,R.COMMENT_TOKEN,Re),P(l,R.DOCTYPE_TOKEN,Pe),P(l,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.HTML?nt(e,t):n===W.BASEFONT||n===W.BGSOUND||n===W.HEAD||n===W.LINK||n===W.META||n===W.NOFRAMES||n===W.STYLE?Ze(e,t):n===W.NOSCRIPT?e._err(B.nestedNoscriptInHead):Be(e,t)})),P(l,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.NOSCRIPT?(e.openElements.pop(),e.insertionMode=K):n===W.BR?Be(e,t):e._err(B.endTagWithoutMatchingOpenElement)})),P(l,R.EOF_TOKEN,Be),l)),P(A,te,(P(c={},R.CHARACTER_TOKEN,ze),P(c,R.NULL_CHARACTER_TOKEN,ze),P(c,R.WHITESPACE_CHARACTER_TOKEN,Ne),P(c,R.COMMENT_TOKEN,Re),P(c,R.DOCTYPE_TOKEN,Pe),P(c,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.HTML?nt(e,t):n===W.BODY?(e._insertElement(t,U.HTML),e.framesetOk=!1,e.insertionMode=ne):n===W.FRAMESET?(e._insertElement(t,U.HTML),e.insertionMode=me):n===W.BASE||n===W.BASEFONT||n===W.BGSOUND||n===W.LINK||n===W.META||n===W.NOFRAMES||n===W.SCRIPT||n===W.STYLE||n===W.TEMPLATE||n===W.TITLE?(e._err(B.abandonedHeadElementChild),e.openElements.push(e.headElement),Ze(e,t),e.openElements.remove(e.headElement)):n===W.HEAD?e._err(B.misplacedStartTagForHeadElement):ze(e,t)})),P(c,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.BODY||n===W.HTML||n===W.BR?ze(e,t):n===W.TEMPLATE?$e(e,t):e._err(B.endTagWithoutMatchingOpenElement)})),P(c,R.EOF_TOKEN,ze),c)),P(A,ne,(P(h={},R.CHARACTER_TOKEN,We),P(h,R.NULL_CHARACTER_TOKEN,Qe),P(h,R.WHITESPACE_CHARACTER_TOKEN,He),P(h,R.COMMENT_TOKEN,Re),P(h,R.DOCTYPE_TOKEN,Qe),P(h,R.START_TAG_TOKEN,nt),P(h,R.END_TAG_TOKEN,at),P(h,R.EOF_TOKEN,st),h)),P(A,re,(P(f={},R.CHARACTER_TOKEN,Ne),P(f,R.NULL_CHARACTER_TOKEN,Ne),P(f,R.WHITESPACE_CHARACTER_TOKEN,Ne),P(f,R.COMMENT_TOKEN,Qe),P(f,R.DOCTYPE_TOKEN,Qe),P(f,R.START_TAG_TOKEN,Qe),P(f,R.END_TAG_TOKEN,(function(e,t){t.tagName===W.SCRIPT&&(e.pendingScript=e.openElements.current);e.openElements.pop(),e.insertionMode=e.originalInsertionMode})),P(f,R.EOF_TOKEN,(function(e,t){e._err(B.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)})),f)),P(A,ie,(P(d={},R.CHARACTER_TOKEN,ut),P(d,R.NULL_CHARACTER_TOKEN,ut),P(d,R.WHITESPACE_CHARACTER_TOKEN,ut),P(d,R.COMMENT_TOKEN,Re),P(d,R.DOCTYPE_TOKEN,Qe),P(d,R.START_TAG_TOKEN,lt),P(d,R.END_TAG_TOKEN,ct),P(d,R.EOF_TOKEN,st),d)),P(A,oe,(P(p={},R.CHARACTER_TOKEN,(function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0})),P(p,R.NULL_CHARACTER_TOKEN,Qe),P(p,R.WHITESPACE_CHARACTER_TOKEN,(function(e,t){e.pendingCharacterTokens.push(t)})),P(p,R.COMMENT_TOKEN,ft),P(p,R.DOCTYPE_TOKEN,ft),P(p,R.START_TAG_TOKEN,ft),P(p,R.END_TAG_TOKEN,ft),P(p,R.EOF_TOKEN,ft),p)),P(A,ae,(P(m={},R.CHARACTER_TOKEN,We),P(m,R.NULL_CHARACTER_TOKEN,Qe),P(m,R.WHITESPACE_CHARACTER_TOKEN,He),P(m,R.COMMENT_TOKEN,Re),P(m,R.DOCTYPE_TOKEN,Qe),P(m,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.CAPTION||n===W.COL||n===W.COLGROUP||n===W.TBODY||n===W.TD||n===W.TFOOT||n===W.TH||n===W.THEAD||n===W.TR?e.openElements.hasInTableScope(W.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(W.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ie,e._processToken(t)):nt(e,t)})),P(m,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.CAPTION||n===W.TABLE?e.openElements.hasInTableScope(W.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(W.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ie,n===W.TABLE&&e._processToken(t)):n!==W.BODY&&n!==W.COL&&n!==W.COLGROUP&&n!==W.HTML&&n!==W.TBODY&&n!==W.TD&&n!==W.TFOOT&&n!==W.TH&&n!==W.THEAD&&n!==W.TR&&at(e,t)})),P(m,R.EOF_TOKEN,st),m)),P(A,se,(P(g={},R.CHARACTER_TOKEN,dt),P(g,R.NULL_CHARACTER_TOKEN,dt),P(g,R.WHITESPACE_CHARACTER_TOKEN,Ne),P(g,R.COMMENT_TOKEN,Re),P(g,R.DOCTYPE_TOKEN,Qe),P(g,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.HTML?nt(e,t):n===W.COL?(e._appendElement(t,U.HTML),t.ackSelfClosing=!0):n===W.TEMPLATE?Ze(e,t):dt(e,t)})),P(g,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.COLGROUP?e.openElements.currentTagName===W.COLGROUP&&(e.openElements.pop(),e.insertionMode=ie):n===W.TEMPLATE?$e(e,t):n!==W.COL&&dt(e,t)})),P(g,R.EOF_TOKEN,st),g)),P(A,ue,(P(v={},R.CHARACTER_TOKEN,ut),P(v,R.NULL_CHARACTER_TOKEN,ut),P(v,R.WHITESPACE_CHARACTER_TOKEN,ut),P(v,R.COMMENT_TOKEN,Re),P(v,R.DOCTYPE_TOKEN,Qe),P(v,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,U.HTML),e.insertionMode=le):n===W.TH||n===W.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(W.TR),e.insertionMode=le,e._processToken(t)):n===W.CAPTION||n===W.COL||n===W.COLGROUP||n===W.TBODY||n===W.TFOOT||n===W.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ie,e._processToken(t)):lt(e,t)})),P(v,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.TBODY||n===W.TFOOT||n===W.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ie):n===W.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ie,e._processToken(t)):(n!==W.BODY&&n!==W.CAPTION&&n!==W.COL&&n!==W.COLGROUP||n!==W.HTML&&n!==W.TD&&n!==W.TH&&n!==W.TR)&&ct(e,t)})),P(v,R.EOF_TOKEN,st),v)),P(A,le,(P(O={},R.CHARACTER_TOKEN,ut),P(O,R.NULL_CHARACTER_TOKEN,ut),P(O,R.WHITESPACE_CHARACTER_TOKEN,ut),P(O,R.COMMENT_TOKEN,Re),P(O,R.DOCTYPE_TOKEN,Qe),P(O,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.TH||n===W.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,U.HTML),e.insertionMode=ce,e.activeFormattingElements.insertMarker()):n===W.CAPTION||n===W.COL||n===W.COLGROUP||n===W.TBODY||n===W.TFOOT||n===W.THEAD||n===W.TR?e.openElements.hasInTableScope(W.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ue,e._processToken(t)):lt(e,t)})),P(O,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.TR?e.openElements.hasInTableScope(W.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ue):n===W.TABLE?e.openElements.hasInTableScope(W.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ue,e._processToken(t)):n===W.TBODY||n===W.TFOOT||n===W.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(W.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ue,e._processToken(t)):(n!==W.BODY&&n!==W.CAPTION&&n!==W.COL&&n!==W.COLGROUP||n!==W.HTML&&n!==W.TD&&n!==W.TH)&&ct(e,t)})),P(O,R.EOF_TOKEN,st),O)),P(A,ce,(P(y={},R.CHARACTER_TOKEN,We),P(y,R.NULL_CHARACTER_TOKEN,Qe),P(y,R.WHITESPACE_CHARACTER_TOKEN,He),P(y,R.COMMENT_TOKEN,Re),P(y,R.DOCTYPE_TOKEN,Qe),P(y,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.CAPTION||n===W.COL||n===W.COLGROUP||n===W.TBODY||n===W.TD||n===W.TFOOT||n===W.TH||n===W.THEAD||n===W.TR?(e.openElements.hasInTableScope(W.TD)||e.openElements.hasInTableScope(W.TH))&&(e._closeTableCell(),e._processToken(t)):nt(e,t)})),P(y,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.TD||n===W.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=le):n===W.TABLE||n===W.TBODY||n===W.TFOOT||n===W.THEAD||n===W.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==W.BODY&&n!==W.CAPTION&&n!==W.COL&&n!==W.COLGROUP&&n!==W.HTML&&at(e,t)})),P(y,R.EOF_TOKEN,st),y)),P(A,he,(P(k={},R.CHARACTER_TOKEN,Ne),P(k,R.NULL_CHARACTER_TOKEN,Qe),P(k,R.WHITESPACE_CHARACTER_TOKEN,Ne),P(k,R.COMMENT_TOKEN,Re),P(k,R.DOCTYPE_TOKEN,Qe),P(k,R.START_TAG_TOKEN,pt),P(k,R.END_TAG_TOKEN,mt),P(k,R.EOF_TOKEN,st),k)),P(A,fe,(P(b={},R.CHARACTER_TOKEN,Ne),P(b,R.NULL_CHARACTER_TOKEN,Qe),P(b,R.WHITESPACE_CHARACTER_TOKEN,Ne),P(b,R.COMMENT_TOKEN,Re),P(b,R.DOCTYPE_TOKEN,Qe),P(b,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.CAPTION||n===W.TABLE||n===W.TBODY||n===W.TFOOT||n===W.THEAD||n===W.TR||n===W.TD||n===W.TH?(e.openElements.popUntilTagNamePopped(W.SELECT),e._resetInsertionMode(),e._processToken(t)):pt(e,t)})),P(b,R.END_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.CAPTION||n===W.TABLE||n===W.TBODY||n===W.TFOOT||n===W.THEAD||n===W.TR||n===W.TD||n===W.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(W.SELECT),e._resetInsertionMode(),e._processToken(t)):mt(e,t)})),P(b,R.EOF_TOKEN,st),b)),P(A,de,(P(x={},R.CHARACTER_TOKEN,We),P(x,R.NULL_CHARACTER_TOKEN,Qe),P(x,R.WHITESPACE_CHARACTER_TOKEN,He),P(x,R.COMMENT_TOKEN,Re),P(x,R.DOCTYPE_TOKEN,Qe),P(x,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;if(n===W.BASE||n===W.BASEFONT||n===W.BGSOUND||n===W.LINK||n===W.META||n===W.NOFRAMES||n===W.SCRIPT||n===W.STYLE||n===W.TEMPLATE||n===W.TITLE)Ze(e,t);else{var r=ke[n]||ne;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}})),P(x,R.END_TAG_TOKEN,(function(e,t){t.tagName===W.TEMPLATE&&$e(e,t)})),P(x,R.EOF_TOKEN,gt),x)),P(A,pe,(P(T={},R.CHARACTER_TOKEN,vt),P(T,R.NULL_CHARACTER_TOKEN,vt),P(T,R.WHITESPACE_CHARACTER_TOKEN,He),P(T,R.COMMENT_TOKEN,(function(e,t){e._appendCommentNode(t,e.openElements.items[0])})),P(T,R.DOCTYPE_TOKEN,Qe),P(T,R.START_TAG_TOKEN,(function(e,t){t.tagName===W.HTML?nt(e,t):vt(e,t)})),P(T,R.END_TAG_TOKEN,(function(e,t){t.tagName===W.HTML?e.fragmentContext||(e.insertionMode=ve):vt(e,t)})),P(T,R.EOF_TOKEN,Me),T)),P(A,me,(P(w={},R.CHARACTER_TOKEN,Qe),P(w,R.NULL_CHARACTER_TOKEN,Qe),P(w,R.WHITESPACE_CHARACTER_TOKEN,Ne),P(w,R.COMMENT_TOKEN,Re),P(w,R.DOCTYPE_TOKEN,Qe),P(w,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.HTML?nt(e,t):n===W.FRAMESET?e._insertElement(t,U.HTML):n===W.FRAME?(e._appendElement(t,U.HTML),t.ackSelfClosing=!0):n===W.NOFRAMES&&Ze(e,t)})),P(w,R.END_TAG_TOKEN,(function(e,t){t.tagName!==W.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===W.FRAMESET||(e.insertionMode=ge))})),P(w,R.EOF_TOKEN,Me),w)),P(A,ge,(P(S={},R.CHARACTER_TOKEN,Qe),P(S,R.NULL_CHARACTER_TOKEN,Qe),P(S,R.WHITESPACE_CHARACTER_TOKEN,Ne),P(S,R.COMMENT_TOKEN,Re),P(S,R.DOCTYPE_TOKEN,Qe),P(S,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.HTML?nt(e,t):n===W.NOFRAMES&&Ze(e,t)})),P(S,R.END_TAG_TOKEN,(function(e,t){t.tagName===W.HTML&&(e.insertionMode=Oe)})),P(S,R.EOF_TOKEN,Me),S)),P(A,ve,(P(C={},R.CHARACTER_TOKEN,Ot),P(C,R.NULL_CHARACTER_TOKEN,Ot),P(C,R.WHITESPACE_CHARACTER_TOKEN,He),P(C,R.COMMENT_TOKEN,De),P(C,R.DOCTYPE_TOKEN,Qe),P(C,R.START_TAG_TOKEN,(function(e,t){t.tagName===W.HTML?nt(e,t):Ot(e,t)})),P(C,R.END_TAG_TOKEN,Ot),P(C,R.EOF_TOKEN,Me),C)),P(A,Oe,(P(E={},R.CHARACTER_TOKEN,Qe),P(E,R.NULL_CHARACTER_TOKEN,Qe),P(E,R.WHITESPACE_CHARACTER_TOKEN,He),P(E,R.COMMENT_TOKEN,De),P(E,R.DOCTYPE_TOKEN,Qe),P(E,R.START_TAG_TOKEN,(function(e,t){var n=t.tagName;n===W.HTML?nt(e,t):n===W.NOFRAMES&&Ze(e,t)})),P(E,R.END_TAG_TOKEN,Qe),P(E,R.EOF_TOKEN,Me),E)),A),xe=function(){function e(t){_(this,e),this.options=Z(X,t),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&L.install(this,M),this.options.onParseError&&L.install(this,I,{onParseError:this.options.onParseError})}return Q(e,[{key:"parse",value:function(e){var t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}},{key:"parseFragment",value:function(e,t){t||(t=this.treeAdapter.createElement(W.TEMPLATE,U.HTML,[]));var n=this.treeAdapter.createElement("documentmock",U.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===W.TEMPLATE&&this._pushTmplInsertionMode(de),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);var r=this.treeAdapter.getFirstChild(n),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,i),i}},{key:"_bootstrap",value:function(e,t){this.tokenizer=new R(this.options),this.stopped=!1,this.insertionMode=J,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new D(this.document,this.treeAdapter),this.activeFormattingElements=new N(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}},{key:"_err",value:function(){}},{key:"_runParsingLoop",value:function(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();var t=this.tokenizer.getNextToken();if(t.type===R.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===R.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}},{key:"runParsingLoopForCurrentChunk",value:function(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){var n=this.pendingScript;return this.pendingScript=null,void t(n)}e&&e()}},{key:"_setupTokenizerCDATAMode",value:function(){var e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==U.HTML&&!this._isIntegrationPoint(e)}},{key:"_switchToTextParsing",value:function(e,t){this._insertElement(e,U.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=re}},{key:"switchToPlaintextParsing",value:function(){this.insertionMode=re,this.originalInsertionMode=ne,this.tokenizer.state=R.MODE.PLAINTEXT}},{key:"_getAdjustedCurrentElement",value:function(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}},{key:"_findFormInFragmentContext",value:function(){var e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===W.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}},{key:"_initTokenizerForFragmentParsing",value:function(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===U.HTML){var e=this.treeAdapter.getTagName(this.fragmentContext);e===W.TITLE||e===W.TEXTAREA?this.tokenizer.state=R.MODE.RCDATA:e===W.STYLE||e===W.XMP||e===W.IFRAME||e===W.NOEMBED||e===W.NOFRAMES||e===W.NOSCRIPT?this.tokenizer.state=R.MODE.RAWTEXT:e===W.SCRIPT?this.tokenizer.state=R.MODE.SCRIPT_DATA:e===W.PLAINTEXT&&(this.tokenizer.state=R.MODE.PLAINTEXT)}}},{key:"_setDocumentType",value:function(e){var t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}},{key:"_attachElementToTree",value:function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}},{key:"_appendElement",value:function(e,t){var n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}},{key:"_insertElement",value:function(e,t){var n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}},{key:"_insertFakeElement",value:function(e){var t=this.treeAdapter.createElement(e,U.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}},{key:"_insertTemplate",value:function(e){var t=this.treeAdapter.createElement(e.tagName,U.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}},{key:"_insertFakeRootElement",value:function(){var e=this.treeAdapter.createElement(W.HTML,U.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}},{key:"_appendCommentNode",value:function(e,t){var n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}},{key:"_insertCharacters",value:function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}},{key:"_adoptNodes",value:function(e,t){for(var n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}},{key:"_shouldProcessTokenInForeignContent",value:function(e){var t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;var n=this.treeAdapter.getNamespaceURI(t);if(n===U.HTML)return!1;if(this.treeAdapter.getTagName(t)===W.ANNOTATION_XML&&n===U.MATHML&&e.type===R.START_TAG_TOKEN&&e.tagName===W.SVG)return!1;var r=e.type===R.CHARACTER_TOKEN||e.type===R.NULL_CHARACTER_TOKEN||e.type===R.WHITESPACE_CHARACTER_TOKEN;return(!(e.type===R.START_TAG_TOKEN&&e.tagName!==W.MGLYPH&&e.tagName!==W.MALIGNMARK)&&!r||!this._isIntegrationPoint(t,U.MATHML))&&((e.type!==R.START_TAG_TOKEN&&!r||!this._isIntegrationPoint(t,U.HTML))&&e.type!==R.EOF_TOKEN)}},{key:"_processToken",value:function(e){be[this.insertionMode][e.type](this,e)}},{key:"_processTokenInBodyMode",value:function(e){be.IN_BODY_MODE[e.type](this,e)}},{key:"_processTokenInForeignContent",value:function(e){e.type===R.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===R.NULL_CHARACTER_TOKEN?function(e,t){t.chars=z.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===R.WHITESPACE_CHARACTER_TOKEN?Ne(this,e):e.type===R.COMMENT_TOKEN?Re(this,e):e.type===R.START_TAG_TOKEN?function(e,t){if(j.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==U.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{var n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===U.MATHML?j.adjustTokenMathMLAttrs(t):r===U.SVG&&(j.adjustTokenSVGTagName(t),j.adjustTokenSVGAttrs(t)),j.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===R.END_TAG_TOKEN&&function(e,t){for(var n=e.openElements.stackTop;n>0;n--){var r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===U.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}},{key:"_processInputToken",value:function(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===R.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(B.nonVoidHtmlElementStartTagWithTrailingSolidus)}},{key:"_isIntegrationPoint",value:function(e,t){var n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),i=this.treeAdapter.getAttrList(e);return j.isIntegrationPoint(n,r,i,t)}},{key:"_reconstructActiveFormattingElements",value:function(){var e=this.activeFormattingElements.length;if(e){var t=e,n=null;do{if(t--,(n=this.activeFormattingElements.entries[t]).type===N.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(var r=t;r<e;r++)n=this.activeFormattingElements.entries[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}},{key:"_closeTableCell",value:function(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=le}},{key:"_closePElement",value:function(){this.openElements.generateImpliedEndTagsWithExclusion(W.P),this.openElements.popUntilTagNamePopped(W.P)}},{key:"_resetInsertionMode",value:function(){for(var e=this.openElements.stackTop,t=!1;e>=0;e--){var n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));var r=this.treeAdapter.getTagName(n),i=ye[r];if(i){this.insertionMode=i;break}if(!(t||r!==W.TD&&r!==W.TH)){this.insertionMode=ce;break}if(!t&&r===W.HEAD){this.insertionMode=K;break}if(r===W.SELECT){this._resetInsertionModeForSelect(e);break}if(r===W.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===W.HTML){this.insertionMode=this.headElement?te:Y;break}if(t){this.insertionMode=ne;break}}}},{key:"_resetInsertionModeForSelect",value:function(e){if(e>0)for(var t=e-1;t>0;t--){var n=this.openElements.items[t],r=this.treeAdapter.getTagName(n);if(r===W.TEMPLATE)break;if(r===W.TABLE)return void(this.insertionMode=fe)}this.insertionMode=he}},{key:"_pushTmplInsertionMode",value:function(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}},{key:"_popTmplInsertionMode",value:function(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}},{key:"_isElementCausesFosterParenting",value:function(e){var t=this.treeAdapter.getTagName(e);return t===W.TABLE||t===W.TBODY||t===W.TFOOT||t===W.THEAD||t===W.TR}},{key:"_shouldFosterParentOnInsertion",value:function(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}},{key:"_findFosterParentingLocation",value:function(){for(var e={parent:null,beforeElement:null},t=this.openElements.stackTop;t>=0;t--){var n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),i=this.treeAdapter.getNamespaceURI(n);if(r===W.TEMPLATE&&i===U.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===W.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}},{key:"_fosterParentElement",value:function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}},{key:"_fosterParentText",value:function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}},{key:"_isSpecialElement",value:function(e){var t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return H.SPECIAL_ELEMENTS[n][t]}}]),e}();function Te(e,t){var n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):ot(e,t),n}function we(e,t){for(var n=null,r=e.openElements.stackTop;r>=0;r--){var i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Se(e,t,n){for(var r=t,i=e.openElements.getCommonAncestor(t),o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);var s=e.activeFormattingElements.getElementEntry(a),u=s&&o>=3;!s||u?(u&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(a)):(a=Ce(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Ce(e,t){var n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Ee(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{var r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===W.TEMPLATE&&i===U.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Ae(e,t,n){var r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function _e(e,t){for(var n,r=0;r<8&&(n=Te(e,t));r++){var i=we(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;var o=Se(e,i,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(o),Ee(e,a,o),Ae(e,i,n)}}function Qe(){}function Pe(e){e._err(B.misplacedDoctype)}function Re(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function De(e,t){e._appendCommentNode(t,e.document)}function Ne(e,t){e._insertCharacters(t)}function Me(e){e.stopped=!0}function Ie(e,t){e._err(B.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,H.DOCUMENT_MODE.QUIRKS),e.insertionMode=V,e._processToken(t)}function Le(e,t){e._insertFakeRootElement(),e.insertionMode=Y,e._processToken(t)}function Fe(e,t){e._insertFakeElement(W.HEAD),e.headElement=e.openElements.current,e.insertionMode=K,e._processToken(t)}function Ze(e,t){var n=t.tagName;n===W.HTML?nt(e,t):n===W.BASE||n===W.BASEFONT||n===W.BGSOUND||n===W.LINK||n===W.META?(e._appendElement(t,U.HTML),t.ackSelfClosing=!0):n===W.TITLE?e._switchToTextParsing(t,R.MODE.RCDATA):n===W.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,R.MODE.RAWTEXT):(e._insertElement(t,U.HTML),e.insertionMode=ee):n===W.NOFRAMES||n===W.STYLE?e._switchToTextParsing(t,R.MODE.RAWTEXT):n===W.SCRIPT?e._switchToTextParsing(t,R.MODE.SCRIPT_DATA):n===W.TEMPLATE?(e._insertTemplate(t,U.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=de,e._pushTmplInsertionMode(de)):n===W.HEAD?e._err(B.misplacedStartTagForHeadElement):je(e,t)}function $e(e,t){var n=t.tagName;n===W.HEAD?(e.openElements.pop(),e.insertionMode=te):n===W.BODY||n===W.BR||n===W.HTML?je(e,t):n===W.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==W.TEMPLATE&&e._err(B.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(W.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(B.endTagWithoutMatchingOpenElement)}function je(e,t){e.openElements.pop(),e.insertionMode=te,e._processToken(t)}function Be(e,t){var n=t.type===R.EOF_TOKEN?B.openElementsLeftAfterEof:B.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=K,e._processToken(t)}function ze(e,t){e._insertFakeElement(W.BODY),e.insertionMode=ne,e._processToken(t)}function He(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function We(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Ue(e,t){e.openElements.hasInButtonScope(W.P)&&e._closePElement(),e._insertElement(t,U.HTML)}function qe(e,t){e.openElements.hasInButtonScope(W.P)&&e._closePElement(),e._insertElement(t,U.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Xe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ge(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Je(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,U.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ve(e,t){e._appendElement(t,U.HTML),t.ackSelfClosing=!0}function Ye(e,t){e._switchToTextParsing(t,R.MODE.RAWTEXT)}function Ke(e,t){e.openElements.currentTagName===W.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML)}function et(e,t){e.openElements.hasInScope(W.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,U.HTML)}function tt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML)}function nt(e,t){var n=t.tagName;switch(n.length){case 1:n===W.I||n===W.S||n===W.B||n===W.U?Xe(e,t):n===W.P?Ue(e,t):n===W.A?function(e,t){var n=e.activeFormattingElements.getElementEntryInScopeWithTagName(W.A);n&&(_e(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):tt(e,t);break;case 2:n===W.DL||n===W.OL||n===W.UL?Ue(e,t):n===W.H1||n===W.H2||n===W.H3||n===W.H4||n===W.H5||n===W.H6?function(e,t){e.openElements.hasInButtonScope(W.P)&&e._closePElement();var n=e.openElements.currentTagName;n!==W.H1&&n!==W.H2&&n!==W.H3&&n!==W.H4&&n!==W.H5&&n!==W.H6||e.openElements.pop(),e._insertElement(t,U.HTML)}(e,t):n===W.LI||n===W.DD||n===W.DT?function(e,t){e.framesetOk=!1;for(var n=t.tagName,r=e.openElements.stackTop;r>=0;r--){var i=e.openElements.items[r],o=e.treeAdapter.getTagName(i),a=null;if(n===W.LI&&o===W.LI?a=W.LI:n!==W.DD&&n!==W.DT||o!==W.DD&&o!==W.DT||(a=o),a){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(o!==W.ADDRESS&&o!==W.DIV&&o!==W.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(W.P)&&e._closePElement(),e._insertElement(t,U.HTML)}(e,t):n===W.EM||n===W.TT?Xe(e,t):n===W.BR?Je(e,t):n===W.HR?function(e,t){e.openElements.hasInButtonScope(W.P)&&e._closePElement(),e._appendElement(t,U.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===W.RB?et(e,t):n===W.RT||n===W.RP?function(e,t){e.openElements.hasInScope(W.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(W.RTC),e._insertElement(t,U.HTML)}(e,t):n!==W.TH&&n!==W.TD&&n!==W.TR&&tt(e,t);break;case 3:n===W.DIV||n===W.DIR||n===W.NAV?Ue(e,t):n===W.PRE?qe(e,t):n===W.BIG?Xe(e,t):n===W.IMG||n===W.WBR?Je(e,t):n===W.XMP?function(e,t){e.openElements.hasInButtonScope(W.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,R.MODE.RAWTEXT)}(e,t):n===W.SVG?function(e,t){e._reconstructActiveFormattingElements(),j.adjustTokenSVGAttrs(t),j.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,U.SVG):e._insertElement(t,U.SVG),t.ackSelfClosing=!0}(e,t):n===W.RTC?et(e,t):n!==W.COL&&tt(e,t);break;case 4:n===W.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===W.BASE||n===W.LINK||n===W.META?Ze(e,t):n===W.BODY?function(e,t){var n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===W.MAIN||n===W.MENU?Ue(e,t):n===W.FORM?function(e,t){var n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(W.P)&&e._closePElement(),e._insertElement(t,U.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===W.CODE||n===W.FONT?Xe(e,t):n===W.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(W.NOBR)&&(_e(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,U.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===W.AREA?Je(e,t):n===W.MATH?function(e,t){e._reconstructActiveFormattingElements(),j.adjustTokenMathMLAttrs(t),j.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,U.MATHML):e._insertElement(t,U.MATHML),t.ackSelfClosing=!0}(e,t):n===W.MENU?function(e,t){e.openElements.hasInButtonScope(W.P)&&e._closePElement(),e._insertElement(t,U.HTML)}(e,t):n!==W.HEAD&&tt(e,t);break;case 5:n===W.STYLE||n===W.TITLE?Ze(e,t):n===W.ASIDE?Ue(e,t):n===W.SMALL?Xe(e,t):n===W.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==H.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(W.P)&&e._closePElement(),e._insertElement(t,U.HTML),e.framesetOk=!1,e.insertionMode=ie}(e,t):n===W.EMBED?Je(e,t):n===W.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,U.HTML);var n=R.getTokenAttr(t,q.TYPE);n&&n.toLowerCase()===G||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===W.PARAM||n===W.TRACK?Ve(e,t):n===W.IMAGE?function(e,t){t.tagName=W.IMG,Je(e,t)}(e,t):n!==W.FRAME&&n!==W.TBODY&&n!==W.TFOOT&&n!==W.THEAD&&tt(e,t);break;case 6:n===W.SCRIPT?Ze(e,t):n===W.CENTER||n===W.FIGURE||n===W.FOOTER||n===W.HEADER||n===W.HGROUP||n===W.DIALOG?Ue(e,t):n===W.BUTTON?function(e,t){e.openElements.hasInScope(W.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(W.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.framesetOk=!1}(e,t):n===W.STRIKE||n===W.STRONG?Xe(e,t):n===W.APPLET||n===W.OBJECT?Ge(e,t):n===W.KEYGEN?Je(e,t):n===W.SOURCE?Ve(e,t):n===W.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,R.MODE.RAWTEXT)}(e,t):n===W.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,U.HTML),e.framesetOk=!1,e.insertionMode===ie||e.insertionMode===ae||e.insertionMode===ue||e.insertionMode===le||e.insertionMode===ce?e.insertionMode=fe:e.insertionMode=he}(e,t):n===W.OPTION?Ke(e,t):tt(e,t);break;case 7:n===W.BGSOUND?Ze(e,t):n===W.DETAILS||n===W.ADDRESS||n===W.ARTICLE||n===W.SECTION||n===W.SUMMARY?Ue(e,t):n===W.LISTING?qe(e,t):n===W.MARQUEE?Ge(e,t):n===W.NOEMBED?Ye(e,t):n!==W.CAPTION&&tt(e,t);break;case 8:n===W.BASEFONT?Ze(e,t):n===W.FRAMESET?function(e,t){var n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,U.HTML),e.insertionMode=me)}(e,t):n===W.FIELDSET?Ue(e,t):n===W.TEXTAREA?function(e,t){e._insertElement(t,U.HTML),e.skipNextNewLine=!0,e.tokenizer.state=R.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=re}(e,t):n===W.TEMPLATE?Ze(e,t):n===W.NOSCRIPT?e.options.scriptingEnabled?Ye(e,t):tt(e,t):n===W.OPTGROUP?Ke(e,t):n!==W.COLGROUP&&tt(e,t);break;case 9:n===W.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(W.P)&&e._closePElement(),e._insertElement(t,U.HTML),e.tokenizer.state=R.MODE.PLAINTEXT}(e,t):tt(e,t);break;case 10:n===W.BLOCKQUOTE||n===W.FIGCAPTION?Ue(e,t):tt(e,t);break;default:tt(e,t)}}function rt(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function it(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function ot(e,t){for(var n=t.tagName,r=e.openElements.stackTop;r>0;r--){var i=e.openElements.items[r];if(e.treeAdapter.getTagName(i)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function at(e,t){var n=t.tagName;switch(n.length){case 1:n===W.A||n===W.B||n===W.I||n===W.S||n===W.U?_e(e,t):n===W.P?function(e){e.openElements.hasInButtonScope(W.P)||e._insertFakeElement(W.P),e._closePElement()}(e):ot(e,t);break;case 2:n===W.DL||n===W.UL||n===W.OL?rt(e,t):n===W.LI?function(e){e.openElements.hasInListItemScope(W.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(W.LI),e.openElements.popUntilTagNamePopped(W.LI))}(e):n===W.DD||n===W.DT?function(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===W.H1||n===W.H2||n===W.H3||n===W.H4||n===W.H5||n===W.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===W.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(W.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===W.EM||n===W.TT?_e(e,t):ot(e,t);break;case 3:n===W.BIG?_e(e,t):n===W.DIR||n===W.DIV||n===W.NAV||n===W.PRE?rt(e,t):ot(e,t);break;case 4:n===W.BODY?function(e){e.openElements.hasInScope(W.BODY)&&(e.insertionMode=pe)}(e):n===W.HTML?function(e,t){e.openElements.hasInScope(W.BODY)&&(e.insertionMode=pe,e._processToken(t))}(e,t):n===W.FORM?function(e){var t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(W.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(W.FORM):e.openElements.remove(n))}(e):n===W.CODE||n===W.FONT||n===W.NOBR?_e(e,t):n===W.MAIN||n===W.MENU?rt(e,t):ot(e,t);break;case 5:n===W.ASIDE?rt(e,t):n===W.SMALL?_e(e,t):ot(e,t);break;case 6:n===W.CENTER||n===W.FIGURE||n===W.FOOTER||n===W.HEADER||n===W.HGROUP||n===W.DIALOG?rt(e,t):n===W.APPLET||n===W.OBJECT?it(e,t):n===W.STRIKE||n===W.STRONG?_e(e,t):ot(e,t);break;case 7:n===W.ADDRESS||n===W.ARTICLE||n===W.DETAILS||n===W.SECTION||n===W.SUMMARY||n===W.LISTING?rt(e,t):n===W.MARQUEE?it(e,t):ot(e,t);break;case 8:n===W.FIELDSET?rt(e,t):n===W.TEMPLATE?$e(e,t):ot(e,t);break;case 10:n===W.BLOCKQUOTE||n===W.FIGCAPTION?rt(e,t):ot(e,t);break;default:ot(e,t)}}function st(e,t){e.tmplInsertionModeStackTop>-1?gt(e,t):e.stopped=!0}function ut(e,t){var n=e.openElements.currentTagName;n===W.TABLE||n===W.TBODY||n===W.TFOOT||n===W.THEAD||n===W.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=oe,e._processToken(t)):ht(e,t)}function lt(e,t){var n=t.tagName;switch(n.length){case 2:n===W.TD||n===W.TH||n===W.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(W.TBODY),e.insertionMode=ue,e._processToken(t)}(e,t):ht(e,t);break;case 3:n===W.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(W.COLGROUP),e.insertionMode=se,e._processToken(t)}(e,t):ht(e,t);break;case 4:n===W.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,U.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):ht(e,t);break;case 5:n===W.TABLE?function(e,t){e.openElements.hasInTableScope(W.TABLE)&&(e.openElements.popUntilTagNamePopped(W.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===W.STYLE?Ze(e,t):n===W.TBODY||n===W.TFOOT||n===W.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,U.HTML),e.insertionMode=ue}(e,t):n===W.INPUT?function(e,t){var n=R.getTokenAttr(t,q.TYPE);n&&n.toLowerCase()===G?e._appendElement(t,U.HTML):ht(e,t),t.ackSelfClosing=!0}(e,t):ht(e,t);break;case 6:n===W.SCRIPT?Ze(e,t):ht(e,t);break;case 7:n===W.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,U.HTML),e.insertionMode=ae}(e,t):ht(e,t);break;case 8:n===W.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,U.HTML),e.insertionMode=se}(e,t):n===W.TEMPLATE?Ze(e,t):ht(e,t);break;default:ht(e,t)}}function ct(e,t){var n=t.tagName;n===W.TABLE?e.openElements.hasInTableScope(W.TABLE)&&(e.openElements.popUntilTagNamePopped(W.TABLE),e._resetInsertionMode()):n===W.TEMPLATE?$e(e,t):n!==W.BODY&&n!==W.CAPTION&&n!==W.COL&&n!==W.COLGROUP&&n!==W.HTML&&n!==W.TBODY&&n!==W.TD&&n!==W.TFOOT&&n!==W.TH&&n!==W.THEAD&&n!==W.TR&&ht(e,t)}function ht(e,t){var n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function ft(e,t){var n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)ht(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function dt(e,t){e.openElements.currentTagName===W.COLGROUP&&(e.openElements.pop(),e.insertionMode=ie,e._processToken(t))}function pt(e,t){var n=t.tagName;n===W.HTML?nt(e,t):n===W.OPTION?(e.openElements.currentTagName===W.OPTION&&e.openElements.pop(),e._insertElement(t,U.HTML)):n===W.OPTGROUP?(e.openElements.currentTagName===W.OPTION&&e.openElements.pop(),e.openElements.currentTagName===W.OPTGROUP&&e.openElements.pop(),e._insertElement(t,U.HTML)):n===W.INPUT||n===W.KEYGEN||n===W.TEXTAREA||n===W.SELECT?e.openElements.hasInSelectScope(W.SELECT)&&(e.openElements.popUntilTagNamePopped(W.SELECT),e._resetInsertionMode(),n!==W.SELECT&&e._processToken(t)):n!==W.SCRIPT&&n!==W.TEMPLATE||Ze(e,t)}function mt(e,t){var n=t.tagName;if(n===W.OPTGROUP){var r=e.openElements.items[e.openElements.stackTop-1],i=r&&e.treeAdapter.getTagName(r);e.openElements.currentTagName===W.OPTION&&i===W.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===W.OPTGROUP&&e.openElements.pop()}else n===W.OPTION?e.openElements.currentTagName===W.OPTION&&e.openElements.pop():n===W.SELECT&&e.openElements.hasInSelectScope(W.SELECT)?(e.openElements.popUntilTagNamePopped(W.SELECT),e._resetInsertionMode()):n===W.TEMPLATE&&$e(e,t)}function gt(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(W.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function vt(e,t){e.insertionMode=ne,e._processToken(t)}function Ot(e,t){e.insertionMode=ne,e._processToken(t)}e.exports=xe},4690:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(3359),a=o.TAG_NAMES,s=o.NAMESPACES;function u(e){switch(e.length){case 1:return e===a.P;case 2:return e===a.RB||e===a.RP||e===a.RT||e===a.DD||e===a.DT||e===a.LI;case 3:return e===a.RTC;case 6:return e===a.OPTION;case 8:return e===a.OPTGROUP}return!1}function l(e){switch(e.length){case 1:return e===a.P;case 2:return e===a.RB||e===a.RP||e===a.RT||e===a.DD||e===a.DT||e===a.LI||e===a.TD||e===a.TH||e===a.TR;case 3:return e===a.RTC;case 5:return e===a.TBODY||e===a.TFOOT||e===a.THEAD;case 6:return e===a.OPTION;case 7:return e===a.CAPTION;case 8:return e===a.OPTGROUP||e===a.COLGROUP}return!1}function c(e,t){switch(e.length){case 2:if(e===a.TD||e===a.TH)return t===s.HTML;if(e===a.MI||e===a.MO||e===a.MN||e===a.MS)return t===s.MATHML;break;case 4:if(e===a.HTML)return t===s.HTML;if(e===a.DESC)return t===s.SVG;break;case 5:if(e===a.TABLE)return t===s.HTML;if(e===a.MTEXT)return t===s.MATHML;if(e===a.TITLE)return t===s.SVG;break;case 6:return(e===a.APPLET||e===a.OBJECT)&&t===s.HTML;case 7:return(e===a.CAPTION||e===a.MARQUEE)&&t===s.HTML;case 8:return e===a.TEMPLATE&&t===s.HTML;case 13:return e===a.FOREIGN_OBJECT&&t===s.SVG;case 14:return e===a.ANNOTATION_XML&&t===s.MATHML}return!1}var h=function(){function e(t,n){r(this,e),this.stackTop=-1,this.items=[],this.current=t,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=n}return i(e,[{key:"_indexOf",value:function(e){for(var t=-1,n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}},{key:"_isInTemplate",value:function(){return this.currentTagName===a.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===s.HTML}},{key:"_updateCurrentElement",value:function(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}},{key:"push",value:function(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}},{key:"pop",value:function(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}},{key:"replace",value:function(e,t){var n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}},{key:"insertAfter",value:function(e,t){var n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}},{key:"popUntilTagNamePopped",value:function(e){for(;this.stackTop>-1;){var t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===s.HTML)break}}},{key:"popUntilElementPopped",value:function(e){for(;this.stackTop>-1;){var t=this.current;if(this.pop(),t===e)break}}},{key:"popUntilNumberedHeaderPopped",value:function(){for(;this.stackTop>-1;){var e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===a.H1||e===a.H2||e===a.H3||e===a.H4||e===a.H5||e===a.H6&&t===s.HTML)break}}},{key:"popUntilTableCellPopped",value:function(){for(;this.stackTop>-1;){var e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===a.TD||e===a.TH&&t===s.HTML)break}}},{key:"popAllUpToHtmlElement",value:function(){this.stackTop=0,this._updateCurrentElement()}},{key:"clearBackToTableContext",value:function(){for(;this.currentTagName!==a.TABLE&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==s.HTML;)this.pop()}},{key:"clearBackToTableBodyContext",value:function(){for(;this.currentTagName!==a.TBODY&&this.currentTagName!==a.TFOOT&&this.currentTagName!==a.THEAD&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==s.HTML;)this.pop()}},{key:"clearBackToTableRowContext",value:function(){for(;this.currentTagName!==a.TR&&this.currentTagName!==a.TEMPLATE&&this.currentTagName!==a.HTML||this.treeAdapter.getNamespaceURI(this.current)!==s.HTML;)this.pop()}},{key:"remove",value:function(e){for(var t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}},{key:"tryPeekProperlyNestedBodyElement",value:function(){var e=this.items[1];return e&&this.treeAdapter.getTagName(e)===a.BODY?e:null}},{key:"contains",value:function(e){return this._indexOf(e)>-1}},{key:"getCommonAncestor",value:function(e){var t=this._indexOf(e);return--t>=0?this.items[t]:null}},{key:"isRootHtmlElementCurrent",value:function(){return 0===this.stackTop&&this.currentTagName===a.HTML}},{key:"hasInScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===s.HTML)return!0;if(c(n,r))return!1}return!0}},{key:"hasNumberedHeaderInScope",value:function(){for(var e=this.stackTop;e>=0;e--){var t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===a.H1||t===a.H2||t===a.H3||t===a.H4||t===a.H5||t===a.H6)&&n===s.HTML)return!0;if(c(t,n))return!1}return!0}},{key:"hasInListItemScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===s.HTML)return!0;if((n===a.UL||n===a.OL)&&r===s.HTML||c(n,r))return!1}return!0}},{key:"hasInButtonScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===s.HTML)return!0;if(n===a.BUTTON&&r===s.HTML||c(n,r))return!1}return!0}},{key:"hasInTableScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===s.HTML){if(n===e)return!0;if(n===a.TABLE||n===a.TEMPLATE||n===a.HTML)return!1}}return!0}},{key:"hasTableBodyContextInTableScope",value:function(){for(var e=this.stackTop;e>=0;e--){var t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===s.HTML){if(t===a.TBODY||t===a.THEAD||t===a.TFOOT)return!0;if(t===a.TABLE||t===a.HTML)return!1}}return!0}},{key:"hasInSelectScope",value:function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===s.HTML){if(n===e)return!0;if(n!==a.OPTION&&n!==a.OPTGROUP)return!1}}return!0}},{key:"generateImpliedEndTags",value:function(){for(;u(this.currentTagName);)this.pop()}},{key:"generateImpliedEndTagsThoroughly",value:function(){for(;l(this.currentTagName);)this.pop()}},{key:"generateImpliedEndTagsWithExclusion",value:function(e){for(;u(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}]),e}();e.exports=h},7669:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(8129),a=n(229),s=n(8858),u=n(1965),l=a.CODE_POINTS,c=a.CODE_POINT_SEQUENCES,h={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},f="DATA_STATE",d="RCDATA_STATE",p="RAWTEXT_STATE",m="SCRIPT_DATA_STATE",g="PLAINTEXT_STATE",v="TAG_OPEN_STATE",O="END_TAG_OPEN_STATE",y="TAG_NAME_STATE",k="RCDATA_LESS_THAN_SIGN_STATE",b="RCDATA_END_TAG_OPEN_STATE",x="RCDATA_END_TAG_NAME_STATE",T="RAWTEXT_LESS_THAN_SIGN_STATE",w="RAWTEXT_END_TAG_OPEN_STATE",S="RAWTEXT_END_TAG_NAME_STATE",C="SCRIPT_DATA_LESS_THAN_SIGN_STATE",E="SCRIPT_DATA_END_TAG_OPEN_STATE",A="SCRIPT_DATA_END_TAG_NAME_STATE",_="SCRIPT_DATA_ESCAPE_START_STATE",Q="SCRIPT_DATA_ESCAPE_START_DASH_STATE",P="SCRIPT_DATA_ESCAPED_STATE",R="SCRIPT_DATA_ESCAPED_DASH_STATE",D="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",N="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",M="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",I="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",L="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",F="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",Z="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",$="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",j="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",B="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",z="BEFORE_ATTRIBUTE_NAME_STATE",H="ATTRIBUTE_NAME_STATE",W="AFTER_ATTRIBUTE_NAME_STATE",U="BEFORE_ATTRIBUTE_VALUE_STATE",q="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",X="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",G="ATTRIBUTE_VALUE_UNQUOTED_STATE",J="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",V="SELF_CLOSING_START_TAG_STATE",Y="BOGUS_COMMENT_STATE",K="MARKUP_DECLARATION_OPEN_STATE",ee="COMMENT_START_STATE",te="COMMENT_START_DASH_STATE",ne="COMMENT_STATE",re="COMMENT_LESS_THAN_SIGN_STATE",ie="COMMENT_LESS_THAN_SIGN_BANG_STATE",oe="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",ae="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",se="COMMENT_END_DASH_STATE",ue="COMMENT_END_STATE",le="COMMENT_END_BANG_STATE",ce="DOCTYPE_STATE",he="BEFORE_DOCTYPE_NAME_STATE",fe="DOCTYPE_NAME_STATE",de="AFTER_DOCTYPE_NAME_STATE",pe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",me="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",ge="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",ve="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",Oe="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",ye="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",ke="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",be="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",xe="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Te="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",we="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Se="BOGUS_DOCTYPE_STATE",Ce="CDATA_SECTION_STATE",Ee="CDATA_SECTION_BRACKET_STATE",Ae="CDATA_SECTION_END_STATE",_e="CHARACTER_REFERENCE_STATE",Qe="NAMED_CHARACTER_REFERENCE_STATE",Pe="AMBIGUOS_AMPERSAND_STATE",Re="NUMERIC_CHARACTER_REFERENCE_STATE",De="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Ne="DECIMAL_CHARACTER_REFERENCE_START_STATE",Me="HEXADEMICAL_CHARACTER_REFERENCE_STATE",Ie="DECIMAL_CHARACTER_REFERENCE_STATE",Le="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Fe(e){return e===l.SPACE||e===l.LINE_FEED||e===l.TABULATION||e===l.FORM_FEED}function Ze(e){return e>=l.DIGIT_0&&e<=l.DIGIT_9}function $e(e){return e>=l.LATIN_CAPITAL_A&&e<=l.LATIN_CAPITAL_Z}function je(e){return e>=l.LATIN_SMALL_A&&e<=l.LATIN_SMALL_Z}function Be(e){return je(e)||$e(e)}function ze(e){return Be(e)||Ze(e)}function He(e){return e>=l.LATIN_CAPITAL_A&&e<=l.LATIN_CAPITAL_F}function We(e){return e>=l.LATIN_SMALL_A&&e<=l.LATIN_SMALL_F}function Ue(e){return e+32}function qe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function Xe(e){return String.fromCharCode(Ue(e))}function Ge(e,t){for(var n=s[++e],r=++e,i=r+n-1;r<=i;){var o=r+i>>>1,a=s[o];if(a<t)r=o+1;else{if(!(a>t))return s[o+n];i=o-1}}return-1}var Je=function(){function e(){r(this,e),this.preprocessor=new o,this.tokenQueue=[],this.allowCDATA=!1,this.state=f,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}return i(e,[{key:"_err",value:function(){}},{key:"_errOnNextCodePoint",value:function(e){this._consume(),this._err(e),this._unconsume()}},{key:"getNextToken",value:function(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;var e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}},{key:"write",value:function(e,t){this.active=!0,this.preprocessor.write(e,t)}},{key:"insertHtmlAtCurrentPos",value:function(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}},{key:"_ensureHibernation",value:function(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:e.HIBERNATION_TOKEN}),!0}return!1}},{key:"_consume",value:function(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}},{key:"_unconsume",value:function(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}},{key:"_reconsumeInState",value:function(e){this.state=e,this._unconsume()}},{key:"_consumeSequenceIfMatch",value:function(e,t,n){for(var r=0,i=!0,o=e.length,a=0,s=t,u=void 0;a<o;a++){if(a>0&&(s=this._consume(),r++),s===l.EOF){i=!1;break}if(s!==(u=e[a])&&(n||s!==Ue(u))){i=!1;break}}if(!i)for(;r--;)this._unconsume();return i}},{key:"_isTempBufferEqualToScriptString",value:function(){if(this.tempBuff.length!==c.SCRIPT_STRING.length)return!1;for(var e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==c.SCRIPT_STRING[e])return!1;return!0}},{key:"_createStartTagToken",value:function(){this.currentToken={type:e.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}},{key:"_createEndTagToken",value:function(){this.currentToken={type:e.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}},{key:"_createCommentToken",value:function(){this.currentToken={type:e.COMMENT_TOKEN,data:""}}},{key:"_createDoctypeToken",value:function(t){this.currentToken={type:e.DOCTYPE_TOKEN,name:t,forceQuirks:!1,publicId:null,systemId:null}}},{key:"_createCharacterToken",value:function(e,t){this.currentCharacterToken={type:e,chars:t}}},{key:"_createEOFToken",value:function(){this.currentToken={type:e.EOF_TOKEN}}},{key:"_createAttr",value:function(e){this.currentAttr={name:e,value:""}}},{key:"_leaveAttrName",value:function(t){null===e.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(u.duplicateAttribute),this.state=t}},{key:"_leaveAttrValue",value:function(e){this.state=e}},{key:"_emitCurrentToken",value:function(){this._emitCurrentCharacterToken();var t=this.currentToken;this.currentToken=null,t.type===e.START_TAG_TOKEN?this.lastStartTagName=t.tagName:t.type===e.END_TAG_TOKEN&&(t.attrs.length>0&&this._err(u.endTagWithAttributes),t.selfClosing&&this._err(u.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}},{key:"_emitCurrentCharacterToken",value:function(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}},{key:"_emitEOFToken",value:function(){this._createEOFToken(),this._emitCurrentToken()}},{key:"_appendCharToCurrentCharacterToken",value:function(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}},{key:"_emitCodePoint",value:function(t){var n=e.CHARACTER_TOKEN;Fe(t)?n=e.WHITESPACE_CHARACTER_TOKEN:t===l.NULL&&(n=e.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,qe(t))}},{key:"_emitSeveralCodePoints",value:function(e){for(var t=0;t<e.length;t++)this._emitCodePoint(e[t])}},{key:"_emitChars",value:function(t){this._appendCharToCurrentCharacterToken(e.CHARACTER_TOKEN,t)}},{key:"_matchNamedCharacterReference",value:function(e){var t=null,n=1,r=Ge(0,e);for(this.tempBuff.push(e);r>-1;){var i=s[r],o=i<7;o&&1&i&&(t=2&i?[s[++r],s[++r]]:[s[++r]],n=0);var a=this._consume();if(this.tempBuff.push(a),n++,a===l.EOF)break;r=o?4&i?Ge(r,a):-1:a===i?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}},{key:"_isCharacterReferenceInAttribute",value:function(){return this.returnState===q||this.returnState===X||this.returnState===G}},{key:"_isCharacterReferenceAttributeQuirk",value:function(e){if(!e&&this._isCharacterReferenceInAttribute()){var t=this._consume();return this._unconsume(),t===l.EQUALS_SIGN||ze(t)}return!1}},{key:"_flushCodePointsConsumedAsCharacterReference",value:function(){if(this._isCharacterReferenceInAttribute())for(var e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=qe(this.tempBuff[e]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}},{key:f,value:function(e){this.preprocessor.dropParsedChunk(),e===l.LESS_THAN_SIGN?this.state=v:e===l.AMPERSAND?(this.returnState=f,this.state=_e):e===l.NULL?(this._err(u.unexpectedNullCharacter),this._emitCodePoint(e)):e===l.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:d,value:function(e){this.preprocessor.dropParsedChunk(),e===l.AMPERSAND?(this.returnState=d,this.state=_e):e===l.LESS_THAN_SIGN?this.state=k:e===l.NULL?(this._err(u.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:p,value:function(e){this.preprocessor.dropParsedChunk(),e===l.LESS_THAN_SIGN?this.state=T:e===l.NULL?(this._err(u.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:m,value:function(e){this.preprocessor.dropParsedChunk(),e===l.LESS_THAN_SIGN?this.state=C:e===l.NULL?(this._err(u.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:g,value:function(e){this.preprocessor.dropParsedChunk(),e===l.NULL?(this._err(u.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?this._emitEOFToken():this._emitCodePoint(e)}},{key:v,value:function(e){e===l.EXCLAMATION_MARK?this.state=K:e===l.SOLIDUS?this.state=O:Be(e)?(this._createStartTagToken(),this._reconsumeInState(y)):e===l.QUESTION_MARK?(this._err(u.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(Y)):e===l.EOF?(this._err(u.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(u.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(f))}},{key:O,value:function(e){Be(e)?(this._createEndTagToken(),this._reconsumeInState(y)):e===l.GREATER_THAN_SIGN?(this._err(u.missingEndTagName),this.state=f):e===l.EOF?(this._err(u.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(u.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(Y))}},{key:y,value:function(e){Fe(e)?this.state=z:e===l.SOLIDUS?this.state=V:e===l.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):$e(e)?this.currentToken.tagName+=Xe(e):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentToken.tagName+=a.REPLACEMENT_CHARACTER):e===l.EOF?(this._err(u.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=qe(e)}},{key:k,value:function(e){e===l.SOLIDUS?(this.tempBuff=[],this.state=b):(this._emitChars("<"),this._reconsumeInState(d))}},{key:b,value:function(e){Be(e)?(this._createEndTagToken(),this._reconsumeInState(x)):(this._emitChars("</"),this._reconsumeInState(d))}},{key:x,value:function(e){if($e(e))this.currentToken.tagName+=Xe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Fe(e))return void(this.state=z);if(e===l.SOLIDUS)return void(this.state=V);if(e===l.GREATER_THAN_SIGN)return this.state=f,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(d)}}},{key:T,value:function(e){e===l.SOLIDUS?(this.tempBuff=[],this.state=w):(this._emitChars("<"),this._reconsumeInState(p))}},{key:w,value:function(e){Be(e)?(this._createEndTagToken(),this._reconsumeInState(S)):(this._emitChars("</"),this._reconsumeInState(p))}},{key:S,value:function(e){if($e(e))this.currentToken.tagName+=Xe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Fe(e))return void(this.state=z);if(e===l.SOLIDUS)return void(this.state=V);if(e===l.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=f)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(p)}}},{key:C,value:function(e){e===l.SOLIDUS?(this.tempBuff=[],this.state=E):e===l.EXCLAMATION_MARK?(this.state=_,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(m))}},{key:E,value:function(e){Be(e)?(this._createEndTagToken(),this._reconsumeInState(A)):(this._emitChars("</"),this._reconsumeInState(m))}},{key:A,value:function(e){if($e(e))this.currentToken.tagName+=Xe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Fe(e))return void(this.state=z);if(e===l.SOLIDUS)return void(this.state=V);if(e===l.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=f)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(m)}}},{key:_,value:function(e){e===l.HYPHEN_MINUS?(this.state=Q,this._emitChars("-")):this._reconsumeInState(m)}},{key:Q,value:function(e){e===l.HYPHEN_MINUS?(this.state=D,this._emitChars("-")):this._reconsumeInState(m)}},{key:P,value:function(e){e===l.HYPHEN_MINUS?(this.state=R,this._emitChars("-")):e===l.LESS_THAN_SIGN?this.state=N:e===l.NULL?(this._err(u.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?(this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}},{key:R,value:function(e){e===l.HYPHEN_MINUS?(this.state=D,this._emitChars("-")):e===l.LESS_THAN_SIGN?this.state=N:e===l.NULL?(this._err(u.unexpectedNullCharacter),this.state=P,this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?(this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=P,this._emitCodePoint(e))}},{key:D,value:function(e){e===l.HYPHEN_MINUS?this._emitChars("-"):e===l.LESS_THAN_SIGN?this.state=N:e===l.GREATER_THAN_SIGN?(this.state=m,this._emitChars(">")):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.state=P,this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?(this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=P,this._emitCodePoint(e))}},{key:N,value:function(e){e===l.SOLIDUS?(this.tempBuff=[],this.state=M):Be(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(L)):(this._emitChars("<"),this._reconsumeInState(P))}},{key:M,value:function(e){Be(e)?(this._createEndTagToken(),this._reconsumeInState(I)):(this._emitChars("</"),this._reconsumeInState(P))}},{key:I,value:function(e){if($e(e))this.currentToken.tagName+=Xe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Fe(e))return void(this.state=z);if(e===l.SOLIDUS)return void(this.state=V);if(e===l.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=f)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(P)}}},{key:L,value:function(e){Fe(e)||e===l.SOLIDUS||e===l.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?F:P,this._emitCodePoint(e)):$e(e)?(this.tempBuff.push(Ue(e)),this._emitCodePoint(e)):je(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(P)}},{key:F,value:function(e){e===l.HYPHEN_MINUS?(this.state=Z,this._emitChars("-")):e===l.LESS_THAN_SIGN?(this.state=j,this._emitChars("<")):e===l.NULL?(this._err(u.unexpectedNullCharacter),this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?(this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}},{key:Z,value:function(e){e===l.HYPHEN_MINUS?(this.state=$,this._emitChars("-")):e===l.LESS_THAN_SIGN?(this.state=j,this._emitChars("<")):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.state=F,this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?(this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=F,this._emitCodePoint(e))}},{key:$,value:function(e){e===l.HYPHEN_MINUS?this._emitChars("-"):e===l.LESS_THAN_SIGN?(this.state=j,this._emitChars("<")):e===l.GREATER_THAN_SIGN?(this.state=m,this._emitChars(">")):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.state=F,this._emitChars(a.REPLACEMENT_CHARACTER)):e===l.EOF?(this._err(u.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=F,this._emitCodePoint(e))}},{key:j,value:function(e){e===l.SOLIDUS?(this.tempBuff=[],this.state=B,this._emitChars("/")):this._reconsumeInState(F)}},{key:B,value:function(e){Fe(e)||e===l.SOLIDUS||e===l.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?P:F,this._emitCodePoint(e)):$e(e)?(this.tempBuff.push(Ue(e)),this._emitCodePoint(e)):je(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(F)}},{key:z,value:function(e){Fe(e)||(e===l.SOLIDUS||e===l.GREATER_THAN_SIGN||e===l.EOF?this._reconsumeInState(W):e===l.EQUALS_SIGN?(this._err(u.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=H):(this._createAttr(""),this._reconsumeInState(H)))}},{key:H,value:function(e){Fe(e)||e===l.SOLIDUS||e===l.GREATER_THAN_SIGN||e===l.EOF?(this._leaveAttrName(W),this._unconsume()):e===l.EQUALS_SIGN?this._leaveAttrName(U):$e(e)?this.currentAttr.name+=Xe(e):e===l.QUOTATION_MARK||e===l.APOSTROPHE||e===l.LESS_THAN_SIGN?(this._err(u.unexpectedCharacterInAttributeName),this.currentAttr.name+=qe(e)):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentAttr.name+=a.REPLACEMENT_CHARACTER):this.currentAttr.name+=qe(e)}},{key:W,value:function(e){Fe(e)||(e===l.SOLIDUS?this.state=V:e===l.EQUALS_SIGN?this.state=U:e===l.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(H)))}},{key:U,value:function(e){Fe(e)||(e===l.QUOTATION_MARK?this.state=q:e===l.APOSTROPHE?this.state=X:e===l.GREATER_THAN_SIGN?(this._err(u.missingAttributeValue),this.state=f,this._emitCurrentToken()):this._reconsumeInState(G))}},{key:q,value:function(e){e===l.QUOTATION_MARK?this.state=J:e===l.AMPERSAND?(this.returnState=q,this.state=_e):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===l.EOF?(this._err(u.eofInTag),this._emitEOFToken()):this.currentAttr.value+=qe(e)}},{key:X,value:function(e){e===l.APOSTROPHE?this.state=J:e===l.AMPERSAND?(this.returnState=X,this.state=_e):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===l.EOF?(this._err(u.eofInTag),this._emitEOFToken()):this.currentAttr.value+=qe(e)}},{key:G,value:function(e){Fe(e)?this._leaveAttrValue(z):e===l.AMPERSAND?(this.returnState=G,this.state=_e):e===l.GREATER_THAN_SIGN?(this._leaveAttrValue(f),this._emitCurrentToken()):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentAttr.value+=a.REPLACEMENT_CHARACTER):e===l.QUOTATION_MARK||e===l.APOSTROPHE||e===l.LESS_THAN_SIGN||e===l.EQUALS_SIGN||e===l.GRAVE_ACCENT?(this._err(u.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=qe(e)):e===l.EOF?(this._err(u.eofInTag),this._emitEOFToken()):this.currentAttr.value+=qe(e)}},{key:J,value:function(e){Fe(e)?this._leaveAttrValue(z):e===l.SOLIDUS?this._leaveAttrValue(V):e===l.GREATER_THAN_SIGN?(this._leaveAttrValue(f),this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInTag),this._emitEOFToken()):(this._err(u.missingWhitespaceBetweenAttributes),this._reconsumeInState(z))}},{key:V,value:function(e){e===l.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=f,this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInTag),this._emitEOFToken()):(this._err(u.unexpectedSolidusInTag),this._reconsumeInState(z))}},{key:Y,value:function(e){e===l.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===l.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentToken.data+=a.REPLACEMENT_CHARACTER):this.currentToken.data+=qe(e)}},{key:K,value:function(e){this._consumeSequenceIfMatch(c.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=ee):this._consumeSequenceIfMatch(c.DOCTYPE_STRING,e,!1)?this.state=ce:this._consumeSequenceIfMatch(c.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=Ce:(this._err(u.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=Y):this._ensureHibernation()||(this._err(u.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(Y))}},{key:ee,value:function(e){e===l.HYPHEN_MINUS?this.state=te:e===l.GREATER_THAN_SIGN?(this._err(u.abruptClosingOfEmptyComment),this.state=f,this._emitCurrentToken()):this._reconsumeInState(ne)}},{key:te,value:function(e){e===l.HYPHEN_MINUS?this.state=ue:e===l.GREATER_THAN_SIGN?(this._err(u.abruptClosingOfEmptyComment),this.state=f,this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ne))}},{key:ne,value:function(e){e===l.HYPHEN_MINUS?this.state=se:e===l.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=re):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentToken.data+=a.REPLACEMENT_CHARACTER):e===l.EOF?(this._err(u.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=qe(e)}},{key:re,value:function(e){e===l.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=ie):e===l.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(ne)}},{key:ie,value:function(e){e===l.HYPHEN_MINUS?this.state=oe:this._reconsumeInState(ne)}},{key:oe,value:function(e){e===l.HYPHEN_MINUS?this.state=ae:this._reconsumeInState(se)}},{key:ae,value:function(e){e!==l.GREATER_THAN_SIGN&&e!==l.EOF&&this._err(u.nestedComment),this._reconsumeInState(ue)}},{key:se,value:function(e){e===l.HYPHEN_MINUS?this.state=ue:e===l.EOF?(this._err(u.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ne))}},{key:ue,value:function(e){e===l.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===l.EXCLAMATION_MARK?this.state=le:e===l.HYPHEN_MINUS?this.currentToken.data+="-":e===l.EOF?(this._err(u.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(ne))}},{key:le,value:function(e){e===l.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=se):e===l.GREATER_THAN_SIGN?(this._err(u.incorrectlyClosedComment),this.state=f,this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(ne))}},{key:ce,value:function(e){Fe(e)?this.state=he:e===l.GREATER_THAN_SIGN?this._reconsumeInState(he):e===l.EOF?(this._err(u.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(u.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(he))}},{key:he,value:function(e){Fe(e)||($e(e)?(this._createDoctypeToken(Xe(e)),this.state=fe):e===l.NULL?(this._err(u.unexpectedNullCharacter),this._createDoctypeToken(a.REPLACEMENT_CHARACTER),this.state=fe):e===l.GREATER_THAN_SIGN?(this._err(u.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===l.EOF?(this._err(u.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(qe(e)),this.state=fe))}},{key:fe,value:function(e){Fe(e)?this.state=de:e===l.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):$e(e)?this.currentToken.name+=Xe(e):e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentToken.name+=a.REPLACEMENT_CHARACTER):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=qe(e)}},{key:de,value:function(e){Fe(e)||(e===l.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(c.PUBLIC_STRING,e,!1)?this.state=pe:this._consumeSequenceIfMatch(c.SYSTEM_STRING,e,!1)?this.state=ke:this._ensureHibernation()||(this._err(u.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Se)))}},{key:pe,value:function(e){Fe(e)?this.state=me:e===l.QUOTATION_MARK?(this._err(u.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=ge):e===l.APOSTROPHE?(this._err(u.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=ve):e===l.GREATER_THAN_SIGN?(this._err(u.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=f,this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(u.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Se))}},{key:me,value:function(e){Fe(e)||(e===l.QUOTATION_MARK?(this.currentToken.publicId="",this.state=ge):e===l.APOSTROPHE?(this.currentToken.publicId="",this.state=ve):e===l.GREATER_THAN_SIGN?(this._err(u.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=f,this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(u.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Se)))}},{key:ge,value:function(e){e===l.QUOTATION_MARK?this.state=Oe:e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentToken.publicId+=a.REPLACEMENT_CHARACTER):e===l.GREATER_THAN_SIGN?(this._err(u.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=qe(e)}},{key:ve,value:function(e){e===l.APOSTROPHE?this.state=Oe:e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentToken.publicId+=a.REPLACEMENT_CHARACTER):e===l.GREATER_THAN_SIGN?(this._err(u.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=qe(e)}},{key:Oe,value:function(e){Fe(e)?this.state=ye:e===l.GREATER_THAN_SIGN?(this.state=f,this._emitCurrentToken()):e===l.QUOTATION_MARK?(this._err(u.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=xe):e===l.APOSTROPHE?(this._err(u.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Te):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(u.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Se))}},{key:ye,value:function(e){Fe(e)||(e===l.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=f):e===l.QUOTATION_MARK?(this.currentToken.systemId="",this.state=xe):e===l.APOSTROPHE?(this.currentToken.systemId="",this.state=Te):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(u.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Se)))}},{key:ke,value:function(e){Fe(e)?this.state=be:e===l.QUOTATION_MARK?(this._err(u.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=xe):e===l.APOSTROPHE?(this._err(u.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Te):e===l.GREATER_THAN_SIGN?(this._err(u.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=f,this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(u.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Se))}},{key:be,value:function(e){Fe(e)||(e===l.QUOTATION_MARK?(this.currentToken.systemId="",this.state=xe):e===l.APOSTROPHE?(this.currentToken.systemId="",this.state=Te):e===l.GREATER_THAN_SIGN?(this._err(u.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=f,this._emitCurrentToken()):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(u.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Se)))}},{key:xe,value:function(e){e===l.QUOTATION_MARK?this.state=we:e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentToken.systemId+=a.REPLACEMENT_CHARACTER):e===l.GREATER_THAN_SIGN?(this._err(u.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=qe(e)}},{key:Te,value:function(e){e===l.APOSTROPHE?this.state=we:e===l.NULL?(this._err(u.unexpectedNullCharacter),this.currentToken.systemId+=a.REPLACEMENT_CHARACTER):e===l.GREATER_THAN_SIGN?(this._err(u.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=f):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=qe(e)}},{key:we,value:function(e){Fe(e)||(e===l.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=f):e===l.EOF?(this._err(u.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(u.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(Se)))}},{key:Se,value:function(e){e===l.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=f):e===l.NULL?this._err(u.unexpectedNullCharacter):e===l.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}},{key:Ce,value:function(e){e===l.RIGHT_SQUARE_BRACKET?this.state=Ee:e===l.EOF?(this._err(u.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}},{key:Ee,value:function(e){e===l.RIGHT_SQUARE_BRACKET?this.state=Ae:(this._emitChars("]"),this._reconsumeInState(Ce))}},{key:Ae,value:function(e){e===l.GREATER_THAN_SIGN?this.state=f:e===l.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Ce))}},{key:_e,value:function(e){this.tempBuff=[l.AMPERSAND],e===l.NUMBER_SIGN?(this.tempBuff.push(e),this.state=Re):ze(e)?this._reconsumeInState(Qe):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}},{key:Qe,value:function(e){var t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[l.AMPERSAND];else if(t){var n=this.tempBuff[this.tempBuff.length-1]===l.SEMICOLON;this._isCharacterReferenceAttributeQuirk(n)||(n||this._errOnNextCodePoint(u.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=Pe}},{key:Pe,value:function(e){ze(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=qe(e):this._emitCodePoint(e):(e===l.SEMICOLON&&this._err(u.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}},{key:Re,value:function(e){this.charRefCode=0,e===l.LATIN_SMALL_X||e===l.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=De):this._reconsumeInState(Ne)}},{key:De,value:function(e){!function(e){return Ze(e)||He(e)||We(e)}(e)?(this._err(u.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(Me)}},{key:Ne,value:function(e){Ze(e)?this._reconsumeInState(Ie):(this._err(u.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}},{key:Me,value:function(e){He(e)?this.charRefCode=16*this.charRefCode+e-55:We(e)?this.charRefCode=16*this.charRefCode+e-87:Ze(e)?this.charRefCode=16*this.charRefCode+e-48:e===l.SEMICOLON?this.state=Le:(this._err(u.missingSemicolonAfterCharacterReference),this._reconsumeInState(Le))}},{key:Ie,value:function(e){Ze(e)?this.charRefCode=10*this.charRefCode+e-48:e===l.SEMICOLON?this.state=Le:(this._err(u.missingSemicolonAfterCharacterReference),this._reconsumeInState(Le))}},{key:Le,value:function(){if(this.charRefCode===l.NULL)this._err(u.nullCharacterReference),this.charRefCode=l.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(u.characterReferenceOutsideUnicodeRange),this.charRefCode=l.REPLACEMENT_CHARACTER;else if(a.isSurrogate(this.charRefCode))this._err(u.surrogateCharacterReference),this.charRefCode=l.REPLACEMENT_CHARACTER;else if(a.isUndefinedCodePoint(this.charRefCode))this._err(u.noncharacterCharacterReference);else if(a.isControlCodePoint(this.charRefCode)||this.charRefCode===l.CARRIAGE_RETURN){this._err(u.controlCharacterReference);var e=h[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}]),e}();Je.CHARACTER_TOKEN="CHARACTER_TOKEN",Je.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Je.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Je.START_TAG_TOKEN="START_TAG_TOKEN",Je.END_TAG_TOKEN="END_TAG_TOKEN",Je.COMMENT_TOKEN="COMMENT_TOKEN",Je.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Je.EOF_TOKEN="EOF_TOKEN",Je.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Je.MODE={DATA:f,RCDATA:d,RAWTEXT:p,SCRIPT_DATA:m,PLAINTEXT:g},Je.getTokenAttr=function(e,t){for(var n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null},e.exports=Je},8858:function(e){"use strict";e.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},8129:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=n(229),a=n(1965),s=o.CODE_POINTS,u=function(){function e(){r(this,e),this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}return i(e,[{key:"_err",value:function(){}},{key:"_addGap",value:function(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}},{key:"_processSurrogate",value:function(e){if(this.pos!==this.lastCharPos){var t=this.html.charCodeAt(this.pos+1);if(o.isSurrogatePair(t))return this.pos++,this._addGap(),o.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,s.EOF;return this._err(a.surrogateInInputStream),e}},{key:"dropParsedChunk",value:function(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}},{key:"write",value:function(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}},{key:"insertHtmlAtCurrentPos",value:function(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}},{key:"advance",value:function(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,s.EOF;var e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===s.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===s.CARRIAGE_RETURN?(this.skipNextNewLine=!0,s.LINE_FEED):(this.skipNextNewLine=!1,o.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===s.LINE_FEED||e===s.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}},{key:"_checkForProblematicCharacters",value:function(e){o.isControlCodePoint(e)?this._err(a.controlCharacterInInputStream):o.isUndefinedCodePoint(e)&&this._err(a.noncharacterInInputStream)}},{key:"retreat",value:function(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}]),e}();e.exports=u},8361:function(e,t,n){"use strict";var r=n(3359).DOCUMENT_MODE;t.createDocument=function(){return{nodeName:"#document",mode:r.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};var i=function(e){return{nodeName:"#text",value:e,parentNode:null}},o=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},a=t.insertBefore=function(e,t,n){var r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){for(var i=null,a=0;a<e.childNodes.length;a++)if("#documentType"===e.childNodes[a].nodeName){i=e.childNodes[a];break}i?(i.name=t,i.publicId=n,i.systemId=r):o(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})},t.setDocumentMode=function(e,t){e.mode=t},t.getDocumentMode=function(e){return e.mode},t.detachNode=function(e){if(e.parentNode){var t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},t.insertText=function(e,t){if(e.childNodes.length){var n=e.childNodes[e.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=t)}o(e,i(t))},t.insertTextBefore=function(e,t,n){var r=e.childNodes[e.childNodes.indexOf(n)-1];r&&"#text"===r.nodeName?r.value+=t:a(e,i(t),n)},t.adoptAttributes=function(e,t){for(var n=[],r=0;r<e.attrs.length;r++)n.push(e.attrs[r].name);for(var i=0;i<t.length;i++)-1===n.indexOf(t[i].name)&&e.attrs.push(t[i])},t.getFirstChild=function(e){return e.childNodes[0]},t.getChildNodes=function(e){return e.childNodes},t.getParentNode=function(e){return e.parentNode},t.getAttrList=function(e){return e.attrs},t.getTagName=function(e){return e.tagName},t.getNamespaceURI=function(e){return e.namespaceURI},t.getTextNodeContent=function(e){return e.value},t.getCommentNodeContent=function(e){return e.data},t.getDocumentTypeNodeName=function(e){return e.name},t.getDocumentTypeNodePublicId=function(e){return e.publicId},t.getDocumentTypeNodeSystemId=function(e){return e.systemId},t.isTextNode=function(e){return"#text"===e.nodeName},t.isCommentNode=function(e){return"#comment"===e.nodeName},t.isDocumentTypeNode=function(e){return"#documentType"===e.nodeName},t.isElementNode=function(e){return!!e.tagName},t.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t},t.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation},t.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)}},9072:function(e){"use strict";e.exports=function(e,t){return[e,t=t||Object.create(null)].reduce((function(e,t){return Object.keys(t).forEach((function(n){e[n]=t[n]})),e}),Object.create(null))}},3731:function(e,t,n){"use strict";var r=n(8983).default,i=n(2081).default,o=function(){function e(t){r(this,e);for(var n={},i=this._getOverriddenMethods(this,n),o=0,a=Object.keys(i);o<a.length;o++){var s=a[o];"function"===typeof i[s]&&(n[s]=t[s],t[s]=i[s])}}return i(e,[{key:"_getOverriddenMethods",value:function(){throw new Error("Not implemented")}}]),e}();o.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(var r=0;r<e.__mixins.length;r++)if(e.__mixins[r].constructor===t)return e.__mixins[r];var i=new t(e,n);return e.__mixins.push(i),i},e.exports=o},9406:function(e,t,n){"use strict";var r=n(3964);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},1512:function(e,t,n){e.exports=n(9406)()},3964:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4354:function(e,t){"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,u=60110,l=60112,c=60113,h=60120,f=60115,d=60116,p=60121,m=60122,g=60117,v=60129,O=60131;if("function"===typeof Symbol&&Symbol.for){var y=Symbol.for;n=y("react.element"),r=y("react.portal"),i=y("react.fragment"),o=y("react.strict_mode"),a=y("react.profiler"),s=y("react.provider"),u=y("react.context"),l=y("react.forward_ref"),c=y("react.suspense"),h=y("react.suspense_list"),f=y("react.memo"),d=y("react.lazy"),p=y("react.block"),m=y("react.server.block"),g=y("react.fundamental"),v=y("react.debug_trace_mode"),O=y("react.legacy_hidden")}function k(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case c:case h:return e;default:switch(e=e&&e.$$typeof){case u:case l:case d:case f:case s:return e;default:return t}}case r:return t}}}t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===a||e===v||e===o||e===c||e===h||e===O||"object"===typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===f||e.$$typeof===s||e.$$typeof===u||e.$$typeof===l||e.$$typeof===g||e.$$typeof===p||e[0]===m)},t.typeOf=k},2471:function(e,t,n){"use strict";e.exports=n(4354)},1166:function(e,t){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case s:case a:case f:case d:return e;default:switch(e=e&&e.$$typeof){case c:case l:case h:case m:case p:case u:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=m,t.Memo=p,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===l},t.isContextProvider=function(e){return v(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===h},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===p},t.isPortal=function(e){return v(e)===i},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===f},t.isSuspenseList=function(e){return v(e)===d},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===s||e===a||e===f||e===d||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===p||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},2268:function(e,t,n){"use strict";e.exports=n(1166)},5936:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,u=e[s],l=s+1,c=e[l];if(0>o(u,n))l<i&&0>o(c,u)?(e[r]=c,e[l]=n,r=l):(e[r]=u,e[s]=n,r=s);else{if(!(l<i&&0>o(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var l=[],c=[],h=1,f=null,d=3,p=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,O="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function k(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(l,t)}t=r(c)}}function b(e){if(g=!1,k(e),!m)if(null!==r(l))m=!0,D(x);else{var t=r(c);null!==t&&N(b,t.startTime-e)}}function x(e,n){m=!1,g&&(g=!1,O(C),C=-1),p=!0;var o=d;try{for(k(n),f=r(l);null!==f&&(!(f.expirationTime>n)||e&&!_());){var a=f.callback;if("function"===typeof a){f.callback=null,d=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(l)&&i(l),k(n)}else i(l);f=r(l)}if(null!==f)var u=!0;else{var h=r(c);null!==h&&N(b,h.startTime-n),u=!1}return u}finally{f=null,d=o,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var T,w=!1,S=null,C=-1,E=5,A=-1;function _(){return!(t.unstable_now()-A<E)}function Q(){if(null!==S){var e=t.unstable_now();A=e;var n=!0;try{n=S(!0,e)}finally{n?T():(w=!1,S=null)}}else w=!1}if("function"===typeof y)T=function(){y(Q)};else if("undefined"!==typeof MessageChannel){var P=new MessageChannel,R=P.port2;P.port1.onmessage=Q,T=function(){R.postMessage(null)}}else T=function(){v(Q,0)};function D(e){S=e,w||(w=!0,T())}function N(e,n){C=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,D(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return r(l)},t.unstable_next=function(e){switch(d){case 1:case 2:case 3:var t=3;break;default:t=d}var n=d;d=t;try{return e()}finally{d=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=d;d=e;try{return t()}finally{d=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:h++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(c,e),null===r(l)&&e===r(c)&&(g?(O(C),C=-1):g=!0,N(b,o-a))):(e.sortIndex=s,n(l,e),m||p||(m=!0,D(x))),e},t.unstable_shouldYield=_,t.unstable_wrapCallback=function(e){var t=d;return function(){var n=d;d=t;try{return e.apply(this,arguments)}finally{d=n}}}},1544:function(e,t,n){"use strict";e.exports=n(5936)},7361:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var l=o[u];if(!s(l))return!1;var c=e[l],h=t[l];if(!1===(i=n?n.call(r,c,h,l):void 0)||void 0===i&&c!==h)return!1}return!0}},2691:function(e,t,n){var r=n(1818),i=Object.prototype.hasOwnProperty,o="undefined"!==typeof Map;function a(){this._array=[],this._set=o?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,i=e.length;r<i;r++)n.add(e[r],t);return n},a.prototype.size=function(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var n=o?e:r.toSetString(e),a=o?this.has(e):i.call(this._set,n),s=this._array.length;a&&!t||this._array.push(e),a||(o?this._set.set(e,s):this._set[n]=s)},a.prototype.has=function(e){if(o)return this._set.has(e);var t=r.toSetString(e);return i.call(this._set,t)},a.prototype.indexOf=function(e){if(o){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(i.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},a.prototype.toArray=function(){return this._array.slice()},t.I=a},9285:function(e,t,n){var r=n(903);t.encode=function(e){var t,n="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=r.encode(t)}while(i>0);return n},t.decode=function(e,t,n){var i,o,a=e.length,s=0,u=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&o),s+=(o&=31)<<u,u+=5}while(i);n.value=function(e){var t=e>>1;return 1===(1&e)?-t:t}(s),n.rest=t}},903:function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},3384:function(e,t,n){var r=n(1818);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){!function(e,t){var n=e.generatedLine,i=t.generatedLine,o=e.generatedColumn,a=t.generatedColumn;return i>n||i==n&&a>=o||r.compareByGeneratedPositionsInflated(e,t)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=i},865:function(e,t,n){var r=n(9285),i=n(1818),o=n(2691).I,a=n(3384).H;function s(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new a,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var o=r;null!==t&&(o=i.relative(t,r)),n._sources.has(o)||n._sources.add(o);var a=e.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},s.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},s.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var a=this._sourceRoot;null!=a&&(r=i.relative(a,r));var s=new o,u=new o;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=n&&(t.source=i.join(n,t.source)),null!=a&&(t.source=i.relative(a,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var l=t.source;null==l||s.has(l)||s.add(l);var c=t.name;null==c||u.has(c)||u.add(c)}),this),this._sources=s,this._names=u,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=i.join(n,t)),null!=a&&(t=i.relative(a,t)),this.setSourceContent(t,r))}),this)},s.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!==typeof t.line&&"number"!==typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,o,a=0,s=1,u=0,l=0,c=0,h=0,f="",d=this._mappings.toArray(),p=0,m=d.length;p<m;p++){if(e="",(t=d[p]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(p>0){if(!i.compareByGeneratedPositionsInflated(t,d[p-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=r.encode(o-h),h=o,e+=r.encode(t.originalLine-1-l),l=t.originalLine-1,e+=r.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-c),c=n)),f+=e}return f},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.h=s},1818:function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}t.urlParse=i,t.urlGenerate=o;var a=function(e){var t=[];return function(n){for(var r=0;r<t.length;r++)if(t[r].input===n){var i=t[0];return t[0]=t[r],t[r]=i,t[0].result}var o=e(n);return t.unshift({input:n,result:o}),t.length>32&&t.pop(),o}}((function(e){var n=e,r=i(e);if(r){if(!r.path)return e;n=r.path}for(var a=t.isAbsolute(n),s=[],u=0,l=0;;){if(u=l,-1===(l=n.indexOf("/",u))){s.push(n.slice(u));break}for(s.push(n.slice(u,l));l<n.length&&"/"===n[l];)l++}var c,h=0;for(l=s.length-1;l>=0;l--)"."===(c=s[l])?s.splice(l,1):".."===c?h++:h>0&&(""===c?(s.splice(l+1,h),h=0):(s.splice(l,2),h--));return""===(n=s.join("/"))&&(n=a?"/":"."),r?(r.path=n,o(r)):n}));function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),s=i(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),o(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,o(s);var u="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=u,o(s)):u}t.normalize=a,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var u=!("__proto__"in Object.create(null));function l(e){return e}function c(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function h(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=u?l:function(e){return c(e)?"$"+e:e},t.fromSetString=u?l:function(e){return c(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=h(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:h(e.name,t.name)},t.compareByOriginalPositionsNoSource=function(e,t,n){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:h(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=h(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:h(e.name,t.name)},t.compareByGeneratedPositionsDeflatedNoLine=function(e,t,n){var r=e.generatedColumn-t.generatedColumn;return 0!==r||n||0!==(r=h(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:h(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=h(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:h(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=i(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var u=r.path.lastIndexOf("/");u>=0&&(r.path=r.path.substring(0,u+1))}t=s(o(r),t)}return a(t)}},5011:function(e,t,n){var r=n(7107);e.exports=function(e,t){var n,i=null;if(!e||"string"!==typeof e)return i;for(var o,a,s=r(e),u="function"===typeof t,l=0,c=s.length;l<c;l++)o=(n=s[l]).property,a=n.value,u?t(o,a,n):a&&(i||(i={}),i[o]=a);return i}},3766:function(e,t,n){"use strict";var r=n(8133);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s((function(){i.value=n,i.getSnapshot=t,l(i)&&c({inst:i})}),[e,n,t]),a((function(){return l(i)&&c({inst:i}),e((function(){l(i)&&c({inst:i})}))}),[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},4249:function(e,t,n){"use strict";e.exports=n(3766)},8106:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},7358:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},7266:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},8983:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},6824:function(e,t,n){var r=n(6196),i=n(4161);function o(t,n,a){return i()?(e.exports=o=Reflect.construct.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=o=function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&r(o,n.prototype),o},e.exports.__esModule=!0,e.exports.default=e.exports),o.apply(null,arguments)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},2081:function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},8532:function(e,t,n){var r=n(5068);e.exports=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}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 a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},670:function(e,t,n){var r=n(4910),i=n(4161),o=n(1173);e.exports=function(e){var t=i();return function(){var n,i=r(e);if(t){var a=r(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return o(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},3231:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},1121:function(e,t,n){var r=n(9443);function i(){return"undefined"!==typeof Reflect&&Reflect.get?(e.exports=i=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var i=r(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(this,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},4910:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8724:function(e,t,n){var r=n(6196);e.exports=function(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},4346:function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},4161:function(e){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},608:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}},e.exports.__esModule=!0,e.exports.default=e.exports},6894:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},1173:function(e,t,n){var r=n(7501).default,i=n(7266);e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6196:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},131:function(e,t,n){var r=n(7358),i=n(608),o=n(5068),a=n(6894);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},9443:function(e,t,n){var r=n(4910);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},7501:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5068:function(e,t,n){var r=n(8106);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},9952:function(e,t,n){var r=n(4910),i=n(6196),o=n(4346),a=n(6824);function s(t){var n="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},1793:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},6470:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},7169:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},2951:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},1976:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return i}})},726:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4013);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}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 a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}},9616:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(7597),i=n(8119),o=n(3940),a=n(7169);function s(e,t){if(t&&("object"===(0,o.Z)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,a.Z)(e)}function u(e){var t=(0,i.Z)();return function(){var n,i=(0,r.Z)(e);if(t){var o=(0,r.Z)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return s(this,n)}}},4649:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},3243:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7597);function i(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}function o(){return o="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=i(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},o.apply(this,arguments)}},7597:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},7591:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(6983);function i(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},8119:function(e,t,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},5181:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},3764:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},189:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4649);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},6983:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},1026:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(6470);var i=n(4013),o=n(3764);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(u){s=!0,i=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||(0,i.Z)(e,t)||(0,o.Z)()}},649:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(1793);var i=n(5181),o=n(4013);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},3940:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},4013:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1793);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},2027:function(e,t,n){"use strict";n.d(t,{B1:function(){return Ee},GA:function(){return ye},Gn:function(){return ae},Mb:function(){return m},eC:function(){return g},vQ:function(){return de},ys:function(){return Ce}});var r=n(7591),i=n(9616),o=n(649),a=n(1026),s=n(726),u=n(2951),l=n(1976),c=n(7989),h=n(1701),f=n(9973),d=function(){function e(t,n,r){(0,u.Z)(this,e),this.state=t,this.pos=n,this.explicit=r,this.abortListeners=[]}return(0,l.Z)(e,[{key:"tokenBefore",value:function(e){for(var t=(0,f.qz)(this.state).resolveInner(this.pos,-1);t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}},{key:"matchBefore",value:function(e){var t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),i=r.search(y(e,!1));return i<0?null:{from:n+i,to:this.pos,text:r.slice(i)}}},{key:"aborted",get:function(){return null==this.abortListeners}},{key:"addEventListener",value:function(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}]),e}();function p(e){var t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),"[".concat(n?"\\w":"").concat(t.replace(/[^\w\s]/g,"\\$&"),"]")}function m(e){var t=e.map((function(e){return"string"==typeof e?{label:e}:e})),n=t.every((function(e){return/^\w+$/.test(e.label)}))?[/\w*$/,/\w+$/]:function(e){var t,n=Object.create(null),r=Object.create(null),i=(0,s.Z)(e);try{for(i.s();!(t=i.n()).done;){var o=t.value.label;n[o[0]]=!0;for(var a=1;a<o.length;a++)r[o[a]]=!0}}catch(l){i.e(l)}finally{i.f()}var u=p(n)+p(r)+"*$";return[new RegExp("^"+u),new RegExp(u)]}(t),r=(0,a.Z)(n,2),i=r[0],o=r[1];return function(e){var n=e.matchBefore(o);return n||e.explicit?{from:n?n.from:e.pos,options:t,validFor:i}:null}}function g(e,t){return function(n){for(var r=(0,f.qz)(n.state).resolveInner(n.pos,-1);r;r=r.parent)if(e.indexOf(r.name)>-1)return null;return t(n)}}var v=(0,l.Z)((function e(t,n,r){(0,u.Z)(this,e),this.completion=t,this.source=n,this.match=r}));function O(e){return e.selection.main.head}function y(e,t){var n,r=e.source,i=t&&"^"!=r[0],o="$"!=r[r.length-1];return i||o?new RegExp("".concat(i?"^":"","(?:").concat(r,")").concat(o?"$":""),null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}function k(e,t){var n,r,i,o,a=t.completion.apply||t.completion.label,s=t.source;"string"==typeof a?e.dispatch((n=e.state,r=a,i=s.from,o=s.to,Object.assign(Object.assign({},n.changeByRange((function(e){if(e==n.selection.main)return{changes:{from:i,to:o,insert:r},range:c.jT.cursor(i+r.length)};var t=o-i;return!e.empty||t&&n.sliceDoc(e.from-t,e.from)!=n.sliceDoc(i,o)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:r},range:c.jT.cursor(e.from-t+r.length)}}))),{userEvent:"input.complete"}))):a(e,t.completion,s.from,s.to)}var b=new WeakMap;function x(e){if(!Array.isArray(e))return e;var t=b.get(e);return t||b.set(e,t=m(e)),t}var T=function(){function e(t){(0,u.Z)(this,e),this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(var n=0;n<t.length;){var r=(0,c.gm)(t,n),i=(0,c.nZ)(r);this.chars.push(r);var o=t.slice(n,n+i),a=o.toUpperCase();this.folded.push((0,c.gm)(a==o?o.toLowerCase():a,0)),n+=i}this.astral=t.length!=this.chars.length}return(0,l.Z)(e,[{key:"match",value:function(e){if(0==this.pattern.length)return[0];if(e.length<this.pattern.length)return null;var t=this.chars,n=this.folded,r=this.any,i=this.precise,o=this.byWord;if(1==t.length){var a=(0,c.gm)(e,0);return a==t[0]?[0,0,(0,c.nZ)(a)]:a==n[0]?[-200,0,(0,c.nZ)(a)]:null}var s=e.indexOf(this.pattern);if(0==s)return[0,0,this.pattern.length];var u=t.length,l=0;if(s<0){for(var h=0,f=Math.min(e.length,200);h<f&&l<u;){var d=(0,c.gm)(e,h);d!=t[l]&&d!=n[l]||(r[l++]=h),h+=(0,c.nZ)(d)}if(l<u)return null}for(var p=0,m=0,g=!1,v=0,O=-1,y=-1,k=/[a-z]/.test(e),b=!0,x=0,T=Math.min(e.length,200),w=0;x<T&&m<u;){var S=(0,c.gm)(e,x);s<0&&(p<u&&S==t[p]&&(i[p++]=x),v<u&&(S==t[v]||S==n[v]?(0==v&&(O=x),y=x+1,v++):v=0));var C=void 0,E=S<255?S>=48&&S<=57||S>=97&&S<=122?2:S>=65&&S<=90?1:0:(C=(0,c.bg)(S))!=C.toLowerCase()?1:C!=C.toUpperCase()?2:0;(!x||1==E&&k||0==w&&0!=E)&&(t[m]==S||n[m]==S&&(g=!0)?o[m++]=x:o.length&&(b=!1)),w=E,x+=(0,c.nZ)(S)}return m==u&&0==o[0]&&b?this.result((g?-200:0)-100,o,e):v==u&&0==O?[-200-e.length,0,y]:s>-1?[-700-e.length,s,s+this.pattern.length]:v==u?[-900-e.length,O,y]:m==u?this.result((g?-200:0)-100-700+(b?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)-200-1100,r,e)}},{key:"result",value:function(e,t,n){var r,i=[e-n.length],o=1,a=(0,s.Z)(t);try{for(a.s();!(r=a.n()).done;){var u=r.value,l=u+(this.astral?(0,c.nZ)((0,c.gm)(n,u)):1);o>1&&i[o-1]==u?i[o-1]=l:(i[o++]=u,i[o++]=l)}}catch(h){a.e(h)}finally{a.f()}return i}}]),e}(),w=c.r$.define({combine:function(e){return(0,c.BO)(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:function(){return""},aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:function(e,t){return e.label.localeCompare(t.label)}},{defaultKeymap:function(e,t){return e&&t},closeOnBlur:function(e,t){return e&&t},icons:function(e,t){return e&&t},optionClass:function(e,t){return function(n){return function(e,t){return e?t?e+" "+t:e:t}(e(n),t(n))}},addToOptions:function(e,t){return e.concat(t)}})}});function S(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){var r=Math.floor(t/n);return{from:r*n,to:(r+1)*n}}var i=Math.floor((e-t)/n);return{from:e-(i+1)*n,to:e-i*n}}var C=function(){function e(t,n){var r=this;(0,u.Z)(this,e),this.view=t,this.stateField=n,this.info=null,this.placeInfo={read:function(){return r.measureInfo()},write:function(e){return r.positionInfo(e)},key:this};var i=t.state.field(n),a=i.open,s=a.options,l=a.selected,c=t.state.facet(w);this.optionContent=function(e){var t=e.addToOptions.slice();return e.icons&&t.push({render:function(e){var t,n=document.createElement("div");return n.classList.add("cm-completionIcon"),e.type&&(t=n.classList).add.apply(t,(0,o.Z)(e.type.split(/\s+/g).map((function(e){return"cm-completionIcon-"+e})))),n.setAttribute("aria-hidden","true"),n},position:20}),t.push({render:function(e,t,n){var r=document.createElement("span");r.className="cm-completionLabel";for(var i=e.label,o=0,a=1;a<n.length;){var s=n[a++],u=n[a++];s>o&&r.appendChild(document.createTextNode(i.slice(o,s)));var l=r.appendChild(document.createElement("span"));l.appendChild(document.createTextNode(i.slice(s,u))),l.className="cm-completionMatchedText",o=u}return o<i.length&&r.appendChild(document.createTextNode(i.slice(o))),r},position:50},{render:function(e){if(!e.detail)return null;var t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),t.sort((function(e,t){return e.position-t.position})).map((function(e){return e.render}))}(c),this.optionClass=c.optionClass,this.range=S(s.length,l,c.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",(function(e){for(var n,i=e.target;i&&i!=r.dom;i=i.parentNode)if("LI"==i.nodeName&&(n=/-(\d+)$/.exec(i.id))&&+n[1]<s.length)return k(t,s[+n[1]]),void e.preventDefault()})),this.list=this.dom.appendChild(this.createListBox(s,i.id,this.range)),this.list.addEventListener("scroll",(function(){r.info&&r.view.requestMeasure(r.placeInfo)}))}return(0,l.Z)(e,[{key:"mount",value:function(){this.updateSel()}},{key:"update",value:function(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}},{key:"positioned",value:function(){this.info&&this.view.requestMeasure(this.placeInfo)}},{key:"updateSel",value:function(){var e=this,t=this.view.state.field(this.stateField),n=t.open;if((n.selected>-1&&n.selected<this.range.from||n.selected>=this.range.to)&&(this.range=S(n.options.length,n.selected,this.view.state.facet(w).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(n.options,t.id,this.range)),this.list.addEventListener("scroll",(function(){e.info&&e.view.requestMeasure(e.placeInfo)}))),this.updateSelectedOption(n.selected)){this.info&&(this.info.remove(),this.info=null);var r=n.options[n.selected].completion,i=r.info;if(!i)return;var o="string"===typeof i?document.createTextNode(i):i(r);if(!o)return;"then"in o?o.then((function(n){n&&e.view.state.field(e.stateField,!1)==t&&e.addInfoPane(n)})).catch((function(t){return(0,h.OO)(e.view.state,t,"completion info")})):this.addInfoPane(o)}}},{key:"addInfoPane",value:function(e){var t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}},{key:"updateSelectedOption",value:function(e){for(var t=null,n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect();r.top<n.top?e.scrollTop-=n.top-r.top:r.bottom>n.bottom&&(e.scrollTop+=r.bottom-n.bottom)}(this.list,t),t}},{key:"measureInfo",value:function(){var e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;var t=this.dom.ownerDocument.defaultView,n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),i=e.getBoundingClientRect();if(i.top>Math.min(t.innerHeight,n.bottom)-10||i.bottom<Math.max(0,n.top)+10)return null;var o,a=this.view.textDirection==h.Nm.RTL,s=a,u=!1,l="",c="",f=n.left,d=t.innerWidth-n.right;if(s&&f<Math.min(r.width,d)?s=!1:!s&&d<Math.min(r.width,f)&&(s=!0),r.width<=(s?f:d))l=Math.max(0,Math.min(i.top,t.innerHeight-r.height))-n.top+"px",o=Math.min(400,s?f:d)+"px";else{u=!0,o=Math.min(400,(a?n.right:t.innerWidth-n.left)-30)+"px";var p=t.innerHeight-n.bottom;p>=r.height||p>n.top?l=i.bottom-n.top+"px":c=n.bottom-i.top+"px"}return{top:l,bottom:c,maxWidth:o,class:u?a?"left-narrow":"right-narrow":s?"left":"right"}}},{key:"positionInfo",value:function(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}},{key:"createListBox",value:function(e,t,n){var r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));for(var i=n.from;i<n.to;i++){var o=e[i],a=o.completion,u=o.match,l=r.appendChild(document.createElement("li"));l.id=t+"-"+i,l.setAttribute("role","option");var c=this.optionClass(a);c&&(l.className=c);var h,f=(0,s.Z)(this.optionContent);try{for(f.s();!(h=f.n()).done;){var d=(0,h.value)(a,this.view.state,u);d&&l.appendChild(d)}}catch(p){f.e(p)}finally{f.f()}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}}]),e}();function E(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}var A=function(){function e(t,n,r,i,o){(0,u.Z)(this,e),this.options=t,this.attrs=n,this.tooltip=r,this.timestamp=i,this.selected=o}return(0,l.Z)(e,[{key:"setSelected",value:function(t,n){return t==this.selected||t>=this.options.length?this:new e(this.options,P(n,t),this.tooltip,this.timestamp,t)}},{key:"map",value:function(t){return new e(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}],[{key:"build",value:function(t,n,r,i,o){var a=function(e,t){var n,r=[],i=0,o=(0,s.Z)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.hasResult())if(!1===a.result.filter){var u,l=a.result.getMatch,c=(0,s.Z)(a.result.options);try{for(c.s();!(u=c.n()).done;){var h=u.value,f=[1e9-i++];if(l){var d,p=(0,s.Z)(l(h));try{for(p.s();!(d=p.n()).done;){var m=d.value;f.push(m)}}catch(P){p.e(P)}finally{p.f()}}r.push(new v(h,a,f))}}catch(P){c.e(P)}finally{c.f()}}else{var g,O=new T(t.sliceDoc(a.from,a.to)),y=void 0,k=(0,s.Z)(a.result.options);try{for(k.s();!(g=k.n()).done;){var b=g.value;(y=O.match(b.label))&&(null!=b.boost&&(y[0]+=b.boost),r.push(new v(b,a,y)))}}catch(P){k.e(P)}finally{k.f()}}}}catch(P){o.e(P)}finally{o.f()}var x,S=[],C=null,A=t.facet(w).compareCompletions,_=(0,s.Z)(r.sort((function(e,t){return t.match[0]-e.match[0]||A(e.completion,t.completion)})));try{for(_.s();!(x=_.n()).done;){var Q=x.value;!C||C.label!=Q.completion.label||C.detail!=Q.completion.detail||null!=C.type&&null!=Q.completion.type&&C.type!=Q.completion.type||C.apply!=Q.completion.apply?S.push(Q):E(Q.completion)>E(C)&&(S[S.length-1]=Q),C=Q.completion}}catch(P){_.e(P)}finally{_.f()}return S}(t,n);if(!a.length)return null;var u,l=n.facet(w).selectOnOpen?0:-1;if(i&&i.selected!=l&&-1!=i.selected)for(var c=i.options[i.selected].completion,h=0;h<a.length;h++)if(a[h].completion==c){l=h;break}return new e(a,P(r,l),{pos:t.reduce((function(e,t){return t.hasResult()?Math.min(e,t.from):e}),1e8),create:(u=$,function(e){return new C(e,u)}),above:o.aboveCursor},i?i.timestamp:Date.now(),l)}}]),e}(),_=function(){function e(t,n,r){(0,u.Z)(this,e),this.active=t,this.id=n,this.open=r}return(0,l.Z)(e,[{key:"update",value:function(t){var n=this,r=t.state,i=r.facet(w),o=(i.override||r.languageDataAt("autocomplete",O(r)).map(x)).map((function(e){return(n.active.find((function(t){return t.source==e}))||new N(e,n.active.some((function(e){return 0!=e.state}))?1:0)).update(t,i)}));o.length==this.active.length&&o.every((function(e,t){return e==n.active[t]}))&&(o=this.active);var a=t.selection||o.some((function(e){return e.hasResult()&&t.changes.touchesRange(e.from,e.to)}))||!function(e,t){if(e==t)return!0;for(var n=0,r=0;;){for(;n<e.length&&!e[n].hasResult;)n++;for(;r<t.length&&!t[r].hasResult;)r++;var i=n==e.length,o=r==t.length;if(i||o)return i==o;if(e[n++].result!=t[r++].result)return!1}}(o,this.active)?A.build(o,r,this.id,this.open,i):this.open&&t.docChanged?this.open.map(t.changes):this.open;!a&&o.every((function(e){return 1!=e.state}))&&o.some((function(e){return e.hasResult()}))&&(o=o.map((function(e){return e.hasResult()?new N(e.source,0):e})));var u,l=(0,s.Z)(t.effects);try{for(l.s();!(u=l.n()).done;){var c=u.value;c.is(Z)&&(a=a&&a.setSelected(c.value,this.id))}}catch(h){l.e(h)}finally{l.f()}return o==this.active&&a==this.open?this:new e(o,this.id,a)}},{key:"tooltip",get:function(){return this.open?this.open.tooltip:null}},{key:"attrs",get:function(){return this.open?this.open.attrs:Q}}],[{key:"start",value:function(){return new e(R,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}}]),e}();var Q={"aria-autocomplete":"list"};function P(e,t){var n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}var R=[];function D(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}var N=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;(0,u.Z)(this,e),this.source=t,this.state=n,this.explicitPos=r}return(0,l.Z)(e,[{key:"hasResult",value:function(){return!1}},{key:"update",value:function(t,n){var r=D(t),i=this;r?i=i.handleUserEvent(t,r,n):t.docChanged?i=i.handleChange(t):t.selection&&0!=i.state&&(i=new e(i.source,0));var o,a=(0,s.Z)(t.effects);try{for(a.s();!(o=a.n()).done;){var u=o.value;if(u.is(I))i=new e(i.source,1,u.value?O(t.state):-1);else if(u.is(L))i=new e(i.source,0);else if(u.is(F)){var l,c=(0,s.Z)(u.value);try{for(c.s();!(l=c.n()).done;){var h=l.value;h.source==i.source&&(i=h)}}catch(f){c.e(f)}finally{c.f()}}}}catch(f){a.e(f)}finally{a.f()}return i}},{key:"handleUserEvent",value:function(t,n,r){return"delete"!=n&&r.activateOnTyping?new e(this.source,1):this.map(t.changes)}},{key:"handleChange",value:function(t){return t.changes.touchesRange(O(t.startState))?new e(this.source,0):this.map(t.changes)}},{key:"map",value:function(t){return t.empty||this.explicitPos<0?this:new e(this.source,this.state,t.mapPos(this.explicitPos))}}]),e}(),M=function(e){(0,r.Z)(n,e);var t=(0,i.Z)(n);function n(e,r,i,o,a){var s;return(0,u.Z)(this,n),(s=t.call(this,e,2,r)).result=i,s.from=o,s.to=a,s}return(0,l.Z)(n,[{key:"hasResult",value:function(){return!0}},{key:"handleUserEvent",value:function(e,t,r){var i,o=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),s=O(e.state);if((this.explicitPos<0?s<=o:s<this.from)||s>a||"delete"==t&&O(e.startState)==this.from)return new N(this.source,"input"==t&&r.activateOnTyping?1:0);var u,l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return function(e,t,n,r){if(!e)return!1;var i=t.sliceDoc(n,r);return"function"==typeof e?e(i,n,r,t):y(e,!0).test(i)}(this.result.validFor,e.state,o,a)?new n(this.source,l,this.result,o,a):this.result.update&&(u=this.result.update(this.result,o,a,new d(e.state,s,l>=0)))?new n(this.source,l,u,u.from,null!==(i=u.to)&&void 0!==i?i:O(e.state)):new N(this.source,1,l)}},{key:"handleChange",value:function(e){return e.changes.touchesRange(this.from,this.to)?new N(this.source,0):this.map(e.changes)}},{key:"map",value:function(e){return e.empty?this:new n(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}]),n}(N);var I=c.Py.define(),L=c.Py.define(),F=c.Py.define({map:function(e,t){return e.map((function(e){return e.map(t)}))}}),Z=c.Py.define(),$=c.QQ.define({create:function(){return _.start()},update:function(e,t){return e.update(t)},provide:function(e){return[h.hJ.from(e,(function(e){return e.tooltip})),h.tk.contentAttributes.from(e,(function(e){return e.attrs}))]}});function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"option";return function(n){var r=n.state.field($,!1);if(!r||!r.open||Date.now()-r.open.timestamp<75)return!1;var i,o=1;"page"==t&&(i=(0,h.gB)(n,r.open.tooltip))&&(o=Math.max(2,Math.floor(i.dom.offsetHeight/i.dom.querySelector("li").offsetHeight)-1));var a=r.open.options.length,s=r.open.selected>-1?r.open.selected+o*(e?1:-1):e?0:a-1;return s<0?s="page"==t?0:a-1:s>=a&&(s="page"==t?a-1:0),n.dispatch({effects:Z.of(s)}),!0}}var B=(0,l.Z)((function e(t,n){(0,u.Z)(this,e),this.active=t,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0})),z=h.lg.fromClass(function(){function e(t){(0,u.Z)(this,e),this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;var n,r=(0,s.Z)(t.state.field($).active);try{for(r.s();!(n=r.n()).done;){var i=n.value;1==i.state&&this.startQuery(i)}}catch(o){r.e(o)}finally{r.f()}}return(0,l.Z)(e,[{key:"update",value:function(e){var t=this,n=e.state.field($);if(e.selectionSet||e.docChanged||e.startState.field($)!=n){for(var r=e.transactions.some((function(e){return(e.selection||e.docChanged)&&!D(e)})),i=0;i<this.running.length;i++){var a=this.running[i];if(r||a.updates.length+e.transactions.length>50&&Date.now()-a.time>1e3){var u,l=(0,s.Z)(a.context.abortListeners);try{for(l.s();!(u=l.n()).done;){var c=u.value;try{c()}catch(g){(0,h.OO)(this.view.state,g)}}}catch(v){l.e(v)}finally{l.f()}a.context.abortListeners=null,this.running.splice(i--,1)}else{var f;(f=a.updates).push.apply(f,(0,o.Z)(e.transactions))}}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=n.active.some((function(e){return 1==e.state&&!t.running.some((function(t){return t.active.source==e.source}))}))?setTimeout((function(){return t.startUpdate()}),50):-1,0!=this.composing){var d,p=(0,s.Z)(e.transactions);try{for(p.s();!(d=p.n()).done;){var m=d.value;"input"==D(m)?this.composing=2:2==this.composing&&m.selection&&(this.composing=3)}}catch(v){p.e(v)}finally{p.f()}}}}},{key:"startUpdate",value:function(){var e=this;this.debounceUpdate=-1;var t,n=this.view.state.field($),r=(0,s.Z)(n.active);try{var i=function(){var n=t.value;1!=n.state||e.running.some((function(e){return e.active.source==n.source}))||e.startQuery(n)};for(r.s();!(t=r.n()).done;)i()}catch(o){r.e(o)}finally{r.f()}}},{key:"startQuery",value:function(e){var t=this,n=this.view.state,r=O(n),i=new d(n,r,e.explicitPos==r),o=new B(e,i);this.running.push(o),Promise.resolve(e.source(i)).then((function(e){o.context.aborted||(o.done=e||null,t.scheduleAccept())}),(function(e){t.view.dispatch({effects:L.of(null)}),(0,h.OO)(t.view.state,e)}))}},{key:"scheduleAccept",value:function(){var e=this;this.running.every((function(e){return void 0!==e.done}))?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout((function(){return e.accept()}),50))}},{key:"accept",value:function(){var e,t=this;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;for(var n=[],r=this.view.state.facet(w),i=function(i){var a=t.running[i];if(void 0===a.done)return o=i,"continue";if(t.running.splice(i--,1),a.done){var u,l=new M(a.active.source,a.active.explicitPos,a.done,a.done.from,null!==(e=a.done.to)&&void 0!==e?e:O(a.updates.length?a.updates[0].startState:t.view.state)),c=(0,s.Z)(a.updates);try{for(c.s();!(u=c.n()).done;){var h=u.value;l=l.update(h,r)}}catch(v){c.e(v)}finally{c.f()}if(l.hasResult())return n.push(l),o=i,"continue"}var f=t.view.state.field($).active.find((function(e){return e.source==a.active.source}));if(f&&1==f.state)if(null==a.done){var d,p=new N(a.active.source,0),m=(0,s.Z)(a.updates);try{for(m.s();!(d=m.n()).done;){var g=d.value;p=p.update(g,r)}}catch(v){m.e(v)}finally{m.f()}1!=p.state&&n.push(p)}else t.startQuery(f);o=i},o=0;o<this.running.length;o++)i(o);n.length&&this.view.dispatch({effects:F.of(n)})}}]),e}(),{eventHandlers:{blur:function(){var e=this.view.state.field($,!1);e&&e.tooltip&&this.view.state.facet(w).closeOnBlur&&this.view.dispatch({effects:L.of(null)})},compositionstart:function(){this.composing=1},compositionend:function(){var e=this;3==this.composing&&setTimeout((function(){return e.view.dispatch({effects:I.of(!1)})}),20),this.composing=0}}}),H=h.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"".concat(400,"px"),boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"".concat(30,"px")},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"".concat(30,"px")},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25cb'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25cc'"}},".cm-completionIcon-variable":{"&:after":{content:"'\ud835\udc65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\ud835\udc36'"}},".cm-completionIcon-type":{"&:after":{content:"'\ud835\udc61'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222a'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25a1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\ud83d\udd11\ufe0e'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25a2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),W=(0,l.Z)((function e(t,n,r,i){(0,u.Z)(this,e),this.field=t,this.line=n,this.from=r,this.to=i})),U=function(){function e(t,n,r){(0,u.Z)(this,e),this.field=t,this.from=n,this.to=r}return(0,l.Z)(e,[{key:"map",value:function(t){var n=t.mapPos(this.from,-1,c.gc.TrackDel),r=t.mapPos(this.to,1,c.gc.TrackDel);return null==n||null==r?null:new e(this.field,n,r)}}]),e}(),q=function(){function e(t,n){(0,u.Z)(this,e),this.lines=t,this.fieldPositions=n}return(0,l.Z)(e,[{key:"instantiate",value:function(e,t){var n,r=[],i=[t],o=e.doc.lineAt(t),a=/^\s*/.exec(o.text)[0],u=(0,s.Z)(this.lines);try{for(u.s();!(n=u.n()).done;){var l=n.value;if(r.length){for(var c=a,h=/^\t*/.exec(l)[0].length,d=0;d<h;d++)c+=e.facet(f.c);i.push(t+c.length-h),l=c+l.slice(h)}r.push(l),t+=l.length+1}}catch(m){u.e(m)}finally{u.f()}var p=this.fieldPositions.map((function(e){return new U(e.field,i[e.line]+e.from,i[e.line]+e.to)}));return{text:r,ranges:p}}}],[{key:"parse",value:function(t){var n,r,i=[],o=[],a=[],u=(0,s.Z)(t.split(/\r\n?|\n/));try{for(u.s();!(r=u.n()).done;){for(var l,c=r.value;n=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(c);){for(var h=n[1]?+n[1]:null,f=n[2]||n[3]||"",d=-1,p=0;p<i.length;p++)(null!=h?i[p].seq==h:f&&i[p].name==f)&&(d=p);if(d<0){for(var m=0;m<i.length&&(null==h||null!=i[m].seq&&i[m].seq<h);)m++;i.splice(m,0,{seq:h,name:f}),d=m;var g,v=(0,s.Z)(a);try{for(v.s();!(g=v.n()).done;){var O=g.value;O.field>=d&&O.field++}}catch(x){v.e(x)}finally{v.f()}}a.push(new W(d,o.length,n.index,n.index+f.length)),c=c.slice(0,n.index)+f+c.slice(n.index+n[0].length)}for(;l=/([$#])\\{/.exec(c);){c=c.slice(0,l.index)+l[1]+"{"+c.slice(l.index+l[0].length);var y,k=(0,s.Z)(a);try{for(k.s();!(y=k.n()).done;){var b=y.value;b.line==o.length&&b.from>l.index&&(b.from--,b.to--)}}catch(x){k.e(x)}finally{k.f()}}o.push(c)}}catch(x){u.e(x)}finally{u.f()}return new e(o,a)}}]),e}(),X=h.p.widget({widget:new(function(e){(0,r.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,u.Z)(this,n),t.apply(this,arguments)}return(0,l.Z)(n,[{key:"toDOM",value:function(){var e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}},{key:"ignoreEvent",value:function(){return!1}}]),n}(h.l9))}),G=h.p.mark({class:"cm-snippetField"}),J=function(){function e(t,n){(0,u.Z)(this,e),this.ranges=t,this.active=n,this.deco=h.p.set(t.map((function(e){return(e.from==e.to?X:G).range(e.from,e.to)})))}return(0,l.Z)(e,[{key:"map",value:function(t){var n,r=[],i=(0,s.Z)(this.ranges);try{for(i.s();!(n=i.n()).done;){var o=n.value.map(t);if(!o)return null;r.push(o)}}catch(a){i.e(a)}finally{i.f()}return new e(r,this.active)}},{key:"selectionInsideField",value:function(e){var t=this;return e.ranges.every((function(e){return t.ranges.some((function(n){return n.field==t.active&&n.from<=e.from&&n.to>=e.to}))}))}}]),e}(),V=c.Py.define({map:function(e,t){return e&&e.map(t)}}),Y=c.Py.define(),K=c.QQ.define({create:function(){return null},update:function(e,t){var n,r=(0,s.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.is(V))return i.value;if(i.is(Y)&&e)return new J(e.ranges,i.value)}}catch(o){r.e(o)}finally{r.f()}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:function(e){return h.tk.decorations.from(e,(function(e){return e?e.deco:h.p.none}))}});function ee(e,t){return c.jT.create(e.filter((function(e){return e.field==t})).map((function(e){return c.jT.range(e.from,e.to)})))}function te(e){var t=q.parse(e);return function(e,n,r,i){var o=t.instantiate(e.state,r),a=o.text,s=o.ranges,u={changes:{from:r,to:i,insert:c.xv.of(a)},scrollIntoView:!0};if(s.length&&(u.selection=ee(s,0)),s.length>1){var l=new J(s,0),h=u.effects=[V.of(l)];void 0===e.state.field(K,!1)&&h.push(c.Py.appendConfig.of([K,oe,se,H]))}e.dispatch(e.state.update(u))}}function ne(e){return function(t){var n=t.state,r=t.dispatch,i=n.field(K,!1);if(!i||e<0&&0==i.active)return!1;var o=i.active+e,a=e>0&&!i.ranges.some((function(t){return t.field==o+e}));return r(n.update({selection:ee(i.ranges,o),effects:V.of(a?null:new J(i.ranges,o))})),!0}}var re=[{key:"Tab",run:ne(1),shift:ne(-1)},{key:"Escape",run:function(e){var t=e.state,n=e.dispatch;return!!t.field(K,!1)&&(n(t.update({effects:V.of(null)})),!0)}}],ie=c.r$.define({combine:function(e){return e.length?e[0]:re}}),oe=c.Wl.highest(h.$f.compute([ie],(function(e){return e.facet(ie)})));function ae(e,t){return Object.assign(Object.assign({},t),{apply:te(e)})}var se=h.tk.domEventHandlers({mousedown:function(e,t){var n,r=t.state.field(K,!1);if(!r||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;var i=r.ranges.find((function(e){return e.from<=n&&e.to>=n}));return!(!i||i.field==r.active)&&(t.dispatch({selection:ee(r.ranges,i.field),effects:V.of(r.ranges.some((function(e){return e.field>i.field}))?new J(r.ranges,i.field):null)}),!0)}});var ue={brackets:["(","[","{","'",'"'],before:")]}:;>"},le=c.Py.define({map:function(e,t){var n=t.mapPos(e,-1,c.gc.TrackAfter);return null==n?void 0:n}}),ce=c.Py.define({map:function(e,t){return t.mapPos(e)}}),he=new(function(e){(0,r.Z)(n,e);var t=(0,i.Z)(n);function n(){return(0,u.Z)(this,n),t.apply(this,arguments)}return(0,l.Z)(n)}(c.uU));he.startSide=1,he.endSide=-1;var fe=c.QQ.define({create:function(){return c.Xs.empty},update:function(e,t){if(t.selection){var n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=c.Xs.empty)}e=e.map(t.changes);var i,o=(0,s.Z)(t.effects);try{var a=function(){var t=i.value;t.is(le)?e=e.update({add:[he.range(t.value,t.value+1)]}):t.is(ce)&&(e=e.update({filter:function(e){return e!=t.value}}))};for(o.s();!(i=o.n()).done;)a()}catch(u){o.e(u)}finally{o.f()}return e}});function de(){return[Oe,fe]}var pe="()[]{}<>";function me(e){for(var t=0;t<pe.length;t+=2)if(pe.charCodeAt(t)==e)return pe.charAt(t+1);return(0,c.bg)(e<128?e:e+1)}function ge(e,t){return e.languageDataAt("closeBrackets",t)[0]||ue}var ve="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Oe=h.tk.inputHandler.of((function(e,t,n,r){if((ve?e.composing:e.compositionStarted)||e.state.readOnly)return!1;var i=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,c.nZ)((0,c.gm)(r,0))||t!=i.from||n!=i.to)return!1;var o=function(e,t){var n,r=ge(e,e.selection.main.head),i=r.brackets||ue.brackets,o=(0,s.Z)(i);try{for(o.s();!(n=o.n()).done;){var a=n.value,u=me((0,c.gm)(a,0));if(t==a)return u==a?we(e,a,i.indexOf(a+a+a)>-1):xe(e,a,u,r.before||ue.before);if(t==u&&ke(e,e.selection.main.from))return Te(e,a,u)}}catch(l){o.e(l)}finally{o.f()}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)})),ye=[{key:"Backspace",run:function(e){var t=e.state,n=e.dispatch;if(t.readOnly)return!1;var r=ge(t,t.selection.main.head).brackets||ue.brackets,i=null,o=t.changeByRange((function(e){if(e.empty){var n,o=function(e,t){var n=e.sliceString(t-2,t);return(0,c.nZ)((0,c.gm)(n,0))==n.length?n:n.slice(1)}(t.doc,e.head),a=(0,s.Z)(r);try{for(a.s();!(n=a.n()).done;){var u=n.value;if(u==o&&be(t.doc,e.head)==me((0,c.gm)(u,0)))return{changes:{from:e.head-u.length,to:e.head+u.length},range:c.jT.cursor(e.head-u.length)}}}catch(l){a.e(l)}finally{a.f()}}return{range:i=e}}));return i||n(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!i}}];function ke(e,t){var n=!1;return e.field(fe).between(0,e.doc.length,(function(e){e==t&&(n=!0)})),n}function be(e,t){var n=e.sliceString(t,t+2);return n.slice(0,(0,c.nZ)((0,c.gm)(n,0)))}function xe(e,t,n,r){var i=null,o=e.changeByRange((function(o){if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:le.of(o.to+t.length),range:c.jT.range(o.anchor+t.length,o.head+t.length)};var a=be(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:le.of(o.head+t.length),range:c.jT.cursor(o.head+t.length)}:{range:i=o}}));return i?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function Te(e,t,n){var r=null,i=e.selection.ranges.map((function(t){return t.empty&&be(e.doc,t.head)==n?c.jT.cursor(t.head+n.length):r=t}));return r?null:e.update({selection:c.jT.create(i,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map((function(e){var t=e.from;return ce.of(t)}))})}function we(e,t,n){var r=null,i=e.changeByRange((function(i){if(!i.empty)return{changes:[{insert:t,from:i.from},{insert:t,from:i.to}],effects:le.of(i.to+t.length),range:c.jT.range(i.anchor+t.length,i.head+t.length)};var o=i.head,a=be(e.doc,o);if(a==t){if(Se(e,o))return{changes:{insert:t+t,from:o},effects:le.of(o+t.length),range:c.jT.cursor(o+t.length)};if(ke(e,o)){var s=n&&e.sliceDoc(o,o+3*t.length)==t+t+t;return{range:c.jT.cursor(o+t.length*(s?3:1)),effects:ce.of(o)}}}else{if(n&&e.sliceDoc(o-2*t.length,o)==t+t&&Se(e,o-2*t.length))return{changes:{insert:t+t+t+t,from:o},effects:le.of(o+t.length),range:c.jT.cursor(o+t.length)};if(e.charCategorizer(o)(a)!=c.D0.Word){var u=e.sliceDoc(o-1,o);if(u!=t&&e.charCategorizer(o)(u)!=c.D0.Word&&!function(e,t,n){for(var r=(0,f.qz)(e).resolveInner(t,-1),i=0;i<5;i++){if(e.sliceDoc(r.from,r.from+n.length)==n){for(var o=r.firstChild;o&&o.from==r.from&&o.to-o.from>n.length;){if(e.sliceDoc(o.to-n.length,o.to)==n)return!1;o=o.firstChild}return!0}var a=r.to==t&&r.parent;if(!a)break;r=a}return!1}(e,o,t))return{changes:{insert:t+t,from:o},effects:le.of(o+t.length),range:c.jT.cursor(o+t.length)}}}return{range:r=i}}));return r?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function Se(e,t){var n=(0,f.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[$,w.of(e),z,Ae,H]}var Ee=[{key:"Ctrl-Space",run:function(e){return!!e.state.field($,!1)&&(e.dispatch({effects:I.of(!0)}),!0)}},{key:"Escape",run:function(e){var t=e.state.field($,!1);return!(!t||!t.active.some((function(e){return 0!=e.state})))&&(e.dispatch({effects:L.of(null)}),!0)}},{key:"ArrowDown",run:j(!0)},{key:"ArrowUp",run:j(!1)},{key:"PageDown",run:j(!0,"page")},{key:"PageUp",run:j(!1,"page")},{key:"Enter",run:function(e){var t=e.state.field($,!1);return!(e.state.readOnly||!t||!t.open||Date.now()-t.open.timestamp<75||t.open.selected<0)&&(k(e,t.open.options[t.open.selected]),!0)}}],Ae=c.Wl.highest(h.$f.computeN([w],(function(e){return e.facet(w).defaultKeymap?[Ee]:[]})))},4933:function(e,t,n){"use strict";n.r(t),n.d(t,{css:function(){return w},cssCompletionSource:function(){return x},cssLanguage:function(){return T}});var r=n(8445),i=n(2029),o=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function a(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}var s=new r.Jq((function(e,t){for(var n=!1,r=0,i=0;;i++){var o=e.next;if(!(a(o)||45==o||95==o||n&&(s=o,s>=48&&s<=57))){n&&e.acceptToken(40==o?94:2==r&&t.canShift(2)?2:95);break}!n&&(45!=o||i>0)&&(n=!0),r===i&&45==o&&r++,e.advance()}var s})),u=new r.Jq((function(e){if(o.includes(e.peek(-1))){var t=e.next;(a(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(93)}})),l=new r.Jq((function(e){if(!o.includes(e.peek(-1))){var t=e.next;if(37==t&&(e.advance(),e.acceptToken(1)),a(t)){do{e.advance()}while(a(e.next));e.acceptToken(1)}}})),c=(0,i.Gv)({"import charset namespace keyframes":i.pJ.definitionKeyword,"media supports":i.pJ.controlKeyword,"from to selector":i.pJ.keyword,NamespaceName:i.pJ.namespace,KeyframeName:i.pJ.labelName,TagName:i.pJ.tagName,ClassName:i.pJ.className,PseudoClassName:i.pJ.constant(i.pJ.className),IdName:i.pJ.labelName,"FeatureName PropertyName":i.pJ.propertyName,AttributeName:i.pJ.attributeName,NumberLiteral:i.pJ.number,KeywordQuery:i.pJ.keyword,UnaryQueryOp:i.pJ.operatorKeyword,"CallTag ValueName":i.pJ.atom,VariableName:i.pJ.variableName,Callee:i.pJ.operatorKeyword,Unit:i.pJ.unit,"UniversalSelector NestingSelector":i.pJ.definitionOperator,AtKeyword:i.pJ.keyword,MatchOp:i.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":i.pJ.logicOperator,BinOp:i.pJ.arithmeticOperator,Important:i.pJ.modifier,Comment:i.pJ.blockComment,ParenthesizedContent:i.pJ.special(i.pJ.name),ColorLiteral:i.pJ.color,StringLiteral:i.pJ.string,":":i.pJ.punctuation,"PseudoOp #":i.pJ.derefOperator,"; ,":i.pJ.separator,"( )":i.pJ.paren,"[ ]":i.pJ.squareBracket,"{ }":i.pJ.brace}),h={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,dir:32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},f={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},d={__proto__:null,not:128,only:128,from:158,to:160},p=r.WQ.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!ZQ[O,59QO%_Q[O'#EVO%yQWO,58{O&RQ[O,59SO#aQ[O,59kO#fQ[O,59oO%_Q[O,59sO%_Q[O,59uO%_Q[O,59vO'bQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO'iQWO,59SO'nQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO'sQ`O,59oOOQS'#Cp'#CpO#kQdO'#CqO'{QvO'#CsO)VQtO,5:POOQO'#Cx'#CxO'iQWO'#CwO)kQWO'#CyOOQS'#Ef'#EfOOQO'#Dh'#DhO)pQ[O'#DoO*OQWO'#EiO$xQ[O'#DmO*^QWO'#DpOOQO'#Ej'#EjO%|QWO,5:^O*cQpO,5:`OOQS'#Dx'#DxO*kQWO,5:bO*pQ[O,5:bOOQO'#D{'#D{O*xQWO,5:eO*}QWO,5:kO+VQWO,5:mOOQS-E8Q-E8QOOQP1G.l1G.lO+yQXO,5:qOOQO-E8T-E8TOOQS1G.g1G.gOOQP1G.n1G.nO'iQWO1G.nO'nQWO1G.nOOQP1G/V1G/VO,WQ`O1G/ZO,qQXO1G/_O-XQXO1G/aO-oQXO1G/bO.VQXO'#CdO.zQWO'#DaOOQS,59z,59zO/PQWO,59zO/XQ[O,59zO/`QdO'#CoO/gQ[O'#DOOOQP1G/Z1G/ZO#kQdO1G/ZO/nQpO,59]OOQS,59_,59_O#kQdO,59aO/vQWO1G/kOOQS,59c,59cO/{Q!bO,59eO0TQWO'#DhO0`QWO,5:TO0eQWO,5:ZO$xQ[O,5:VO$xQ[O'#EYO0mQWO,5;TO0xQWO,5:XO%_Q[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O1ZQWO1G/|O1`QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XOOQP7+$Y7+$YOOQP7+$u7+$uO#kQdO7+$uO#kQdO,59{O1nQ[O'#EXO1xQWO1G/fOOQS1G/f1G/fO1xQWO1G/fO2QQtO'#ETO2uQdO'#EeO3PQWO,59ZO3UQXO'#EhO3]QWO,59jO3bQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO3jQWO1G/PO#kQdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO3oQWO,5:tOOQO-E8W-E8WO3}QXO1G/vOOQS7+%h7+%hO4UQYO'#CsO%|QWO'#EZO4^QdO,5:hOOQS,5:h,5:hO4lQpO<<HaO4tQtO1G/gOOQO,5:s,5:sO5XQ[O,5:sOOQO-E8V-E8VOOQS7+%Q7+%QO5cQWO7+%QOOQS-E8R-E8RO#kQdO'#EUO5kQWO,5;POOQT1G.u1G.uO5sQWO,5;SOOQP1G/U1G/UOOQP<<Ha<<HaOOQS7+$k7+$kO5{QdO7+%ZOOQO7+%b7+%bOOQS,5:u,5:uOOQS-E8X-E8XOOQS1G0S1G0SOOQPAN={AN={O6SQtO'#EWO#kQdO'#EWO6}QdO7+%ROOQO7+%R7+%ROOQO1G0_1G0_OOQS<<Hl<<HlO7_QdO,5:pOOQO-E8S-E8SOOQO<<Hu<<HuO7iQtO,5:rOOQS-E8U-E8UOOQO<<Hm<<Hm",stateData:"8j~O#TOSROS~OUWOXWO]TO^TOtUOxVO!Y_O!ZXO!gYO!iZO!k[O!n]O!t^O#RPO#WRO~O#RcO~O]hO^hOpfOtiOxjO|kO!PmO#PlO#WeO~O!RnO~P!`O`sO#QqO#RpO~O#RuO~O#RwO~OQ!QObzOf!QOh!QOn!PO#Q}O#RyO#Z{O~Ob!SO!b!UO!e!VO#R!RO!R#]P~Oh![On!PO#R!ZO~O#R!^O~Ob!SO!b!UO!e!VO#R!RO~O!W#]P~P$VOUWOXWO]TO^TOtUOxVO#RPO#WRO~OpfO!RnO~O`!hO#QqO#RpO~OQ!pOUWOXWO]TO^TOtUOxVO!Y_O!ZXO!gYO!iZO!k[O!n]O!t^O#R!oO#WRO~O!Q!qO~P&^Ob!tO~Ob!uO~Ov!vOz!wO~OP!yObgXjgX!WgX!bgX!egX#RgXagXQgXfgXhgXngXpgX#QgX#ZgXvgX!QgX!VgX~Ob!SOj!zO!b!UO!e!VO#R!RO!W#]P~Ob!}O~Ob!SO!b!UO!e!VO#R#OO~Op#SO!`#RO!R#]X!W#]X~Ob#VO~Oj!zO!W#XO~O!W#YO~Oh#ZOn!PO~O!R#[O~O!RnO!`#RO~O!RnO!W#_O~O]hO^hOtiOxjO|kO!PmO#PlO#WeO~Op!ya!R!yaa!ya~P+_Ov#aOz#bO~O]hO^hOtiOxjO#WeO~Op{i|{i!P{i!R{i#P{ia{i~P,`Op}i|}i!P}i!R}i#P}ia}i~P,`Op!Oi|!Oi!P!Oi!R!Oi#P!Oia!Oi~P,`O]WX]!UX^WXpWXtWXxWX|WX!PWX!RWX#PWX#WWX~O]#cO~O!Q#fO!W#dO~O!Q#fO~P&^Oa#XP~P#kOa#[P~P%_Oa#nOj!zO~O!W#pO~Oh#qOo#qO~O]!^Xa![X!`![X~O]#rO~Oa#sO!`#RO~Op#SO!R#]a!W#]a~O!`#ROp!aa!R!aa!W!aaa!aa~O!W#xO~O!Q#|O!q#zO!r#zO#Z#yO~O!Q!{X!W!{X~P&^O!Q$SO!W#dO~Oj!zOQ!wXa!wXb!wXf!wXh!wXn!wXp!wX#Q!wX#R!wX#Z!wX~Op$VOa#XX~P#kOa$XO~Oa#[X~P!`Oa$ZO~Oj!zOv$[O~Oa$]O~O!`#ROp!|a!R!|a!W!|a~Oa$_O~P+_OP!yO!RgX~O!Q$bO!q#zO!r#zO#Z#yO~Oj!zOv$cO~Oj!zOp$eO!V$gO!Q!Ti!W!Ti~P#kO!Q!{a!W!{a~P&^O!Q$iO!W#dO~Op$VOa#Xa~OpfOa#[a~Oa$lO~P#kOj!zOQ!zXb!zXf!zXh!zXn!zXp!zX!Q!zX!V!zX!W!zX#Q!zX#R!zX#Z!zX~Op$eO!V$oO!Q!Tq!W!Tq~P#kOa!xap!xa~P#kOj!zOQ!zab!zaf!zah!zan!zap!za!Q!za!V!za!W!za#Q!za#R!za#Z!za~Oo#Zj!Pj~",goto:",O#_PPPPP#`P#h#vP#h$U#hPP$[PPP$b$k$kP$}P$kP$k%e%wPPP&a&g#hP&mP#hP&sP#hP#h#hPPP&y']'iPP#`PP'o'o'y'oP'oP'o'oP#`P#`P#`P'|#`P(P(SPP#`P#`(V(e(s(y)T)Z)e)kPPPPPP)q)yP*e*hP+^+a+j]`Obn!s#d$QiWObfklmn!s!u#V#d$QiQObfklmn!s!u#V#d$QQdRR!ceQrTR!ghQ!gsQ!|!OR#`!hq!QXZz!t!w!z#b#c#i#r$O$V$^$e$f$jp!QXZz!t!w!z#b#c#i#r$O$V$^$e$f$jT#z#[#{q!OXZz!t!w!z#b#c#i#r$O$V$^$e$f$jp!QXZz!t!w!z#b#c#i#r$O$V$^$e$f$jQ![[R#Z!]QtTR!ihQ!gtR#`!iQvUR!jiQxVR!kjQoSQ!fgQ#W!XQ#^!`Q#_!aR$`#zQ!rnQ#g!sQ$P#dR$h$QX!pn!s#d$Qa!WY^_|!S!U#R#SR#P!SR!][R!_]R#]!_QbOU!bb!s$QQ!snR$Q#dQ#i!tU$U#i$^$jQ$^#rR$j$VQ$W#iR$k$WQgSS!eg$YR$Y#kQ$f$OR$n$fQ#e!rS$R#e$TR$T#gQ#T!TR#v#TQ#{#[R$a#{]aObn!s#d$Q[SObn!s#d$QQ!dfQ!lkQ!mlQ!nmQ#k!uR#w#VR#j!tQ|XQ!YZQ!xz[#h!t#i#r$V$^$jQ#m!wQ#o!zQ#}#bQ$O#cS$d$O$fR$m$eR#l!uQ!XYQ!a_R!{|U!TY_|Q!`^Q#Q!SQ#U!UQ#t#RR#u#S",nodeNames:"\u26a0 Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent , PseudoClassName ArgList IdSelector # IdName ] AttributeSelector [ AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList from to SupportsStatement supports AtRule",maxTerm:106,nodeProps:[["openedBy",17,"(",48,"{"],["closedBy",18,")",49,"}"]],propSources:[c],skippedNodes:[0,3],repeatNodeCount:8,tokenData:"Ay~R![OX$wX^%]^p$wpq%]qr(crs+}st,otu2Uuv$wvw2rwx2}xy3jyz3uz{3z{|4_|}8U}!O8a!O!P8x!P!Q9Z!Q![;e![!]<Y!]!^<x!^!_$w!_!`=T!`!a=`!a!b$w!b!c>O!c!}$w!}#O?[#O#P$w#P#Q?g#Q#R2U#R#T$w#T#U?r#U#c$w#c#d@q#d#o$w#o#pAQ#p#q2U#q#rA]#r#sAh#s#y$w#y#z%]#z$f$w$f$g%]$g#BY$w#BY#BZ%]#BZ$IS$w$IS$I_%]$I_$I|$w$I|$JO%]$JO$JT$w$JT$JU%]$JU$KV$w$KV$KW%]$KW&FU$w&FU&FV%]&FV~$wW$zQOy%Qz~%QW%VQoWOy%Qz~%Q~%bf#T~OX%QX^&v^p%Qpq&vqy%Qz#y%Q#y#z&v#z$f%Q$f$g&v$g#BY%Q#BY#BZ&v#BZ$IS%Q$IS$I_&v$I_$I|%Q$I|$JO&v$JO$JT%Q$JT$JU&v$JU$KV%Q$KV$KW&v$KW&FU%Q&FU&FV&v&FV~%Q~&}f#T~oWOX%QX^&v^p%Qpq&vqy%Qz#y%Q#y#z&v#z$f%Q$f$g&v$g#BY%Q#BY#BZ&v#BZ$IS%Q$IS$I_&v$I_$I|%Q$I|$JO&v$JO$JT%Q$JT$JU&v$JU$KV%Q$KV$KW&v$KW&FU%Q&FU&FV&v&FV~%Q^(fSOy%Qz#]%Q#]#^(r#^~%Q^(wSoWOy%Qz#a%Q#a#b)T#b~%Q^)YSoWOy%Qz#d%Q#d#e)f#e~%Q^)kSoWOy%Qz#c%Q#c#d)w#d~%Q^)|SoWOy%Qz#f%Q#f#g*Y#g~%Q^*_SoWOy%Qz#h%Q#h#i*k#i~%Q^*pSoWOy%Qz#T%Q#T#U*|#U~%Q^+RSoWOy%Qz#b%Q#b#c+_#c~%Q^+dSoWOy%Qz#h%Q#h#i+p#i~%Q^+wQ!VUoWOy%Qz~%Q~,QUOY+}Zr+}rs,ds#O+}#O#P,i#P~+}~,iOh~~,lPO~+}_,tWtPOy%Qz!Q%Q!Q![-^![!c%Q!c!i-^!i#T%Q#T#Z-^#Z~%Q^-cWoWOy%Qz!Q%Q!Q![-{![!c%Q!c!i-{!i#T%Q#T#Z-{#Z~%Q^.QWoWOy%Qz!Q%Q!Q![.j![!c%Q!c!i.j!i#T%Q#T#Z.j#Z~%Q^.qWfUoWOy%Qz!Q%Q!Q![/Z![!c%Q!c!i/Z!i#T%Q#T#Z/Z#Z~%Q^/bWfUoWOy%Qz!Q%Q!Q![/z![!c%Q!c!i/z!i#T%Q#T#Z/z#Z~%Q^0PWoWOy%Qz!Q%Q!Q![0i![!c%Q!c!i0i!i#T%Q#T#Z0i#Z~%Q^0pWfUoWOy%Qz!Q%Q!Q![1Y![!c%Q!c!i1Y!i#T%Q#T#Z1Y#Z~%Q^1_WoWOy%Qz!Q%Q!Q![1w![!c%Q!c!i1w!i#T%Q#T#Z1w#Z~%Q^2OQfUoWOy%Qz~%QY2XSOy%Qz!_%Q!_!`2e!`~%QY2lQzQoWOy%Qz~%QX2wQXPOy%Qz~%Q~3QUOY2}Zw2}wx,dx#O2}#O#P3d#P~2}~3gPO~2}_3oQbVOy%Qz~%Q~3zOa~_4RSUPjSOy%Qz!_%Q!_!`2e!`~%Q_4fUjS!PPOy%Qz!O%Q!O!P4x!P!Q%Q!Q![7_![~%Q^4}SoWOy%Qz!Q%Q!Q![5Z![~%Q^5bWoW#ZUOy%Qz!Q%Q!Q![5Z![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%Q^6PWoWOy%Qz{%Q{|6i|}%Q}!O6i!O!Q%Q!Q![6z![~%Q^6nSoWOy%Qz!Q%Q!Q![6z![~%Q^7RSoW#ZUOy%Qz!Q%Q!Q![6z![~%Q^7fYoW#ZUOy%Qz!O%Q!O!P5Z!P!Q%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%Q_8ZQpVOy%Qz~%Q^8fUjSOy%Qz!O%Q!O!P4x!P!Q%Q!Q![7_![~%Q_8}S#WPOy%Qz!Q%Q!Q![5Z![~%Q~9`RjSOy%Qz{9i{~%Q~9nSoWOy9iyz9zz{:o{~9i~9}ROz9zz{:W{~9z~:ZTOz9zz{:W{!P9z!P!Q:j!Q~9z~:oOR~~:tUoWOy9iyz9zz{:o{!P9i!P!Q;W!Q~9i~;_QoWR~Oy%Qz~%Q^;jY#ZUOy%Qz!O%Q!O!P5Z!P!Q%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%QX<_S]POy%Qz![%Q![!]<k!]~%QX<rQ^PoWOy%Qz~%Q_<}Q!WVOy%Qz~%QY=YQzQOy%Qz~%QX=eS|POy%Qz!`%Q!`!a=q!a~%QX=xQ|PoWOy%Qz~%QX>RUOy%Qz!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX>lY!YPoWOy%Qz}%Q}!O>e!O!Q%Q!Q![>e![!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX?aQxPOy%Qz~%Q^?lQvUOy%Qz~%QX?uSOy%Qz#b%Q#b#c@R#c~%QX@WSoWOy%Qz#W%Q#W#X@d#X~%QX@kQ!`PoWOy%Qz~%QX@tSOy%Qz#f%Q#f#g@d#g~%QXAVQ!RPOy%Qz~%Q_AbQ!QVOy%Qz~%QZAmS!PPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[u,l,s,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:function(e){return h[e]||-1}},{term:56,get:function(e){return f[e]||-1}},{term:95,get:function(e){return d[e]||-1}}],tokenPrec:1078}),m=n(9973),g=null;function v(){if(!g&&"object"==typeof document&&document.body){var e=[];for(var t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);g=e.sort().map((function(e){return{type:"property",label:e}}))}return g||[]}var O=["active","after","before","checked","default","disabled","empty","enabled","first-child","first-letter","first-line","first-of-type","focus","hover","in-range","indeterminate","invalid","lang","last-child","last-of-type","link","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-of-type","only-child","optional","out-of-range","placeholder","read-only","read-write","required","root","selection","target","valid","visited"].map((function(e){return{type:"class",label:e}})),y=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map((function(e){return{type:"keyword",label:e}})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map((function(e){return{type:"constant",label:e}}))),k=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map((function(e){return{type:"type",label:e}})),b=/^[\w-]*/,x=function(e){var t=e.state,n=e.pos,r=(0,m.qz)(t).resolveInner(n,-1);if("PropertyName"==r.name)return{from:r.from,options:v(),validFor:b};if("ValueName"==r.name)return{from:r.from,options:y,validFor:b};if("PseudoClassName"==r.name)return{from:r.from,options:O,validFor:b};if("TagName"==r.name){for(var i=r.parent;i;i=i.parent)if("Block"==i.name)return{from:r.from,options:v(),validFor:b};return{from:r.from,options:k,validFor:b}}if(!e.explicit)return null;var o=r.resolve(n),a=o.childBefore(n);return a&&":"==a.name&&"PseudoClassSelector"==o.name?{from:n,options:O,validFor:b}:a&&":"==a.name&&"Declaration"==o.name||"ArgList"==o.name?{from:n,options:y,validFor:b}:"Block"==o.name?{from:n,options:v(),validFor:b}:null},T=m.qp.define({parser:p.configure({props:[m.uj.add({Declaration:(0,m.tC)()}),m.x0.add({Block:m.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function w(){return new m.ri(T,T.data.of({autocomplete:x}))}},3330:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return oe},html:function(){return ie},htmlCompletionSource:function(){return te},htmlCompletionSourceWith:function(){return ne},htmlLanguage:function(){return re}});var r=n(726),i=n(1976),o=n(2951),a=n(8445),s=n(2029),u=n(1514),l={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},c={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},h={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}};function f(e){return 9==e||10==e||13==e||32==e}var d=null,p=null,m=0;function g(e,t){var n=e.pos+t;if(m==n&&p==e)return d;for(var r=e.peek(t);f(r);)r=e.peek(++t);for(var i,o="";45==(i=r)||46==i||58==i||i>=65&&i<=90||95==i||i>=97&&i<=122||i>=161;)o+=String.fromCharCode(r),r=e.peek(++t);return p=e,m=n,d=o?o.toLowerCase():r==v||r==O?void 0:null}var v=63,O=33;function y(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(var n=0;n<e.length;n++)this.hash+=(this.hash<<4)+e.charCodeAt(n)+(e.charCodeAt(n)<<8)}var k=[4,8,5,6,7],b=new a.IK({start:null,shift:function(e,t,n,r){return k.indexOf(t)>-1?new y(g(r,1)||"",e):e},reduce:function(e,t){return 18==t&&e?e.parent:e},reuse:function(e,t,n,r){var i=t.type.id;return 4==i||35==i?new y(g(r,1)||"",e):e},hash:function(e){return e?e.hash:0},strict:!1}),x=new a.Jq((function(e,t){if(60==e.next){e.advance();var n=47==e.next;n&&e.advance();var r=g(e,0);if(void 0!==r){if(!r)return e.acceptToken(n?12:4);var i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(9);if(i&&c[i])return e.acceptToken(56,-2);if(t.dialectEnabled(0))return e.acceptToken(10);for(var o=t.context;o;o=o.parent)if(o.name==r)return;e.acceptToken(11)}else{if("script"==r)return e.acceptToken(5);if("style"==r)return e.acceptToken(6);if("textarea"==r)return e.acceptToken(7);if(l.hasOwnProperty(r))return e.acceptToken(8);i&&h[i]&&h[i][r]?e.acceptToken(56,-1):e.acceptToken(4)}}}else e.next<0&&t.context&&e.acceptToken(56)}),{contextual:!0}),T=new a.Jq((function(e){for(var t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(57);break}if(45==e.next)t++;else{if(62==e.next&&t>=2){n>3&&e.acceptToken(57,-2);break}t=0}e.advance()}}));function w(e,t,n){var r=2+e.length;return new a.Jq((function(i){for(var o=0,a=0,s=0;;s++){if(i.next<0){s&&i.acceptToken(t);break}if(0==o&&60==i.next||1==o&&47==i.next||o>=2&&o<r&&i.next==e.charCodeAt(o-2))o++,a++;else if(2!=o&&o!=r||!f(i.next)){if(o==r&&62==i.next){s>a?i.acceptToken(t,-a):i.acceptToken(n,-(a-2));break}if((10==i.next||13==i.next)&&s){i.acceptToken(t,1);break}o=a=0}else a++;i.advance()}}))}var S=w("script",53,1),C=w("style",54,2),E=w("textarea",55,3),A=(0,s.Gv)({"Text RawText":s.pJ.content,"StartTag StartCloseTag SelfCloserEndTag EndTag SelfCloseEndTag":s.pJ.angleBracket,TagName:s.pJ.tagName,"MismatchedCloseTag/TagName":[s.pJ.tagName,s.pJ.invalid],AttributeName:s.pJ.attributeName,"AttributeValue UnquotedAttributeValue":s.pJ.attributeValue,Is:s.pJ.definitionOperator,"EntityReference CharacterReference":s.pJ.character,Comment:s.pJ.blockComment,ProcessingInst:s.pJ.processingInstruction,DoctypeDecl:s.pJ.documentMeta}),_=a.WQ.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DSO$tQ!bO'#DUO$yQ!bO'#DVOOOW'#Dj'#DjOOOW'#DX'#DXQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%pQ#tO,59mOOOX'#D]'#D]O%xOXO'#CwO&TOXO,59YOOOY'#D^'#D^O&]OYO'#CzO&hOYO,59YOOO['#D_'#D_O&pO[O'#C}O&{O[O,59YOOOW'#D`'#D`O'TOxO,59YO'[Q!bO'#DQOOOW,59Y,59YOOO`'#Da'#DaO'aO!rO,59nOOOW,59n,59nO'iQ!bO,59pO'nQ!bO,59qOOOW-E7V-E7VO'sQ#tO'#CqOOQO'#DY'#DYO(OQ#tO1G.uOOOX1G.u1G.uO(WQ#tO1G/POOOY1G/P1G/PO(`Q#tO1G/SOOO[1G/S1G/SO(hQ#tO1G/VOOOW1G/V1G/VO(pQ#tO1G/XOOOW1G/X1G/XOOOX-E7Z-E7ZO(xQ!bO'#CxOOOW1G.t1G.tOOOY-E7[-E7[O(}Q!bO'#C{OOO[-E7]-E7]O)SQ!bO'#DOOOOW-E7^-E7^O)XQ!bO,59lOOO`-E7_-E7_OOOW1G/Y1G/YOOOW1G/[1G/[OOOW1G/]1G/]O)^Q&jO,59]OOQO-E7W-E7WOOOX7+$a7+$aOOOY7+$k7+$kOOO[7+$n7+$nOOOW7+$q7+$qOOOW7+$s7+$sO)iQ!bO,59dO)nQ!bO,59gO)sQ!bO,59jOOOW1G/W1G/WO)xO,UO'#CtO*ZO7[O'#CtOOQO1G.w1G.wOOOW1G/O1G/OOOOW1G/R1G/ROOOW1G/U1G/UOOOO'#DZ'#DZO*lO,UO,59`OOQO,59`,59`OOOO'#D['#D[O*}O7[O,59`OOOO-E7X-E7XOOQO1G.z1G.zOOOO-E7Y-E7Y",stateData:"+h~O!]OS~OSSOTPOUQOVROWTOY]OZ[O[^O^^O_^O`^Oa^Ow^Oz_O!cZO~OdaO~OdbO~OdcO~OddO~OdeO~O!VfOPkP!YkP~O!WiOQnP!YnP~O!XlORqP!YqP~OSSOTPOUQOVROWTOXqOY]OZ[O[^O^^O_^O`^Oa^Ow^O!cZO~O!YrO~P#dO!ZsO!duO~OdvO~OdwO~OfyOj|O~OfyOj!OO~OfyOj!QO~OfyOj!SO~OfyOj!UO~O!VfOPkX!YkX~OP!WO!Y!XO~O!WiOQnX!YnX~OQ!ZO!Y!XO~O!XlORqX!YqX~OR!]O!Y!XO~O!Y!XO~P#dOd!_O~O!ZsO!d!aO~Oj!bO~Oj!cO~Og!dOfeXjeX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!_!oO!a!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uOa!uO!_!wO!`!uO~O_!xO`!xOa!xO!a!wO!b!xO~O_!uO`!uOa!uO!_!{O!`!uO~O_!xO`!xOa!xO!a!{O!b!xO~O`_a!cwz!c~",goto:"%o!_PPPPPPPPPPPPPPPPPP!`!fP!lPP!xPP!{#O#R#X#[#_#e#h#k#q#w!`P!`!`P#}$T$k$q$w$}%T%Z%aPPPPPPPP%gX^OX`pXUOX`pezabcde{}!P!R!TR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!TeZ!e{}!P!R!TQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26a0 StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:66,context:b,nodeProps:[["closedBy",-11,1,2,3,4,5,6,7,8,9,10,11,"EndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,38,39,40,41,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag"]],propSources:[A],skippedNodes:[0],repeatNodeCount:9,tokenData:"!#b!aR!WOX$kXY)sYZ)sZ]$k]^)s^p$kpq)sqr$krs*zsv$kvw+dwx2yx}$k}!O3f!O!P$k!P!Q7_!Q![$k![!]8u!]!^$k!^!_>b!_!`!!p!`!a8T!a!c$k!c!}8u!}#R$k#R#S8u#S#T$k#T#o8u#o$f$k$f$g&R$g%W$k%W%o8u%o%p$k%p&a8u&a&b$k&b1p8u1p4U$k4U4d8u4d4e$k4e$IS8u$IS$I`$k$I`$Ib8u$Ib$Kh$k$Kh%#t8u%#t&/x$k&/x&Et8u&Et&FV$k&FV;'S8u;'S;:j<t;:j?&r$k?&r?Ah8u?Ah?BY$k?BY?Mn8u?Mn~$k!Z$vc^PiW!``!bpOX$kXZ&RZ]$k]^&R^p$kpq&Rqr$krs&qsv$kvw)Rwx'rx!P$k!P!Q&R!Q!^$k!^!_(k!_!a&R!a$f$k$f$g&R$g~$k!R&[V^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&Rq&xT^P!bpOv&qwx'Xx!^&q!^!_'g!_~&qP'^R^POv'Xw!^'X!_~'Xp'lQ!bpOv'gx~'ga'yU^P!``Or'rrs'Xsv'rw!^'r!^!_(]!_~'r`(bR!``Or(]sv(]w~(]!Q(rT!``!bpOr(krs'gsv(kwx(]x~(kW)WXiWOX)RZ])R^p)Rqr)Rsw)Rx!P)R!Q!^)R!a$f)R$g~)R!a*O^^P!``!bp!]^OX&RXY)sYZ)sZ]&R]^)s^p&Rpq)sqr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R!Z+TT!_h^P!bpOv&qwx'Xx!^&q!^!_'g!_~&q!Z+kbiWa!ROX,sXZ.QZ],s]^.Q^p,sqr,srs.Qst/]tw,swx.Qx!P,s!P!Q.Q!Q!],s!]!^)R!^!a.Q!a$f,s$f$g.Q$g~,s!Z,xbiWOX,sXZ.QZ],s]^.Q^p,sqr,srs.Qst)Rtw,swx.Qx!P,s!P!Q.Q!Q!],s!]!^.i!^!a.Q!a$f,s$f$g.Q$g~,s!R.TTOp.Qqs.Qt!].Q!]!^.d!^~.Q!R.iO_!R!Z.pXiW_!ROX)RZ])R^p)Rqr)Rsw)Rx!P)R!Q!^)R!a$f)R$g~)R!Z/baiWOX0gXZ1qZ]0g]^1q^p0gqr0grs1qsw0gwx1qx!P0g!P!Q1q!Q!]0g!]!^)R!^!a1q!a$f0g$f$g1q$g~0g!Z0laiWOX0gXZ1qZ]0g]^1q^p0gqr0grs1qsw0gwx1qx!P0g!P!Q1q!Q!]0g!]!^2V!^!a1q!a$f0g$f$g1q$g~0g!R1tSOp1qq!]1q!]!^2Q!^~1q!R2VO`!R!Z2^XiW`!ROX)RZ])R^p)Rqr)Rsw)Rx!P)R!Q!^)R!a$f)R$g~)R!Z3SU!ax^P!``Or'rrs'Xsv'rw!^'r!^!_(]!_~'r!]3qe^PiW!``!bpOX$kXZ&RZ]$k]^&R^p$kpq&Rqr$krs&qsv$kvw)Rwx'rx}$k}!O5S!O!P$k!P!Q&R!Q!^$k!^!_(k!_!a&R!a$f$k$f$g&R$g~$k!]5_d^PiW!``!bpOX$kXZ&RZ]$k]^&R^p$kpq&Rqr$krs&qsv$kvw)Rwx'rx!P$k!P!Q&R!Q!^$k!^!_(k!_!`&R!`!a6m!a$f$k$f$g&R$g~$k!T6xV^P!``!bp!dQOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R!X7hX^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_!`&R!`!a8T!a~&R!X8`VjU^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R!a9U!YfSdQ^PiW!``!bpOX$kXZ&RZ]$k]^&R^p$kpq&Rqr$krs&qsv$kvw)Rwx'rx}$k}!O8u!O!P8u!P!Q&R!Q![8u![!]8u!]!^$k!^!_(k!_!a&R!a!c$k!c!}8u!}#R$k#R#S8u#S#T$k#T#o8u#o$f$k$f$g&R$g$}$k$}%O8u%O%W$k%W%o8u%o%p$k%p&a8u&a&b$k&b1p8u1p4U8u4U4d8u4d4e$k4e$IS8u$IS$I`$k$I`$Ib8u$Ib$Je$k$Je$Jg8u$Jg$Kh$k$Kh%#t8u%#t&/x$k&/x&Et8u&Et&FV$k&FV;'S8u;'S;:j<t;:j?&r$k?&r?Ah8u?Ah?BY$k?BY?Mn8u?Mn~$k!a=Pe^PiW!``!bpOX$kXZ&RZ]$k]^&R^p$kpq&Rqr$krs&qsv$kvw)Rwx'rx!P$k!P!Q&R!Q!^$k!^!_(k!_!a&R!a$f$k$f$g&R$g;=`$k;=`<%l8u<%l~$k!R>iW!``!bpOq(kqr?Rrs'gsv(kwx(]x!a(k!a!bKj!b~(k!R?YZ!``!bpOr(krs'gsv(kwx(]x}(k}!O?{!O!f(k!f!gAR!g#W(k#W#XGz#X~(k!R@SV!``!bpOr(krs'gsv(kwx(]x}(k}!O@i!O~(k!R@rT!``!bp!cPOr(krs'gsv(kwx(]x~(k!RAYV!``!bpOr(krs'gsv(kwx(]x!q(k!q!rAo!r~(k!RAvV!``!bpOr(krs'gsv(kwx(]x!e(k!e!fB]!f~(k!RBdV!``!bpOr(krs'gsv(kwx(]x!v(k!v!wBy!w~(k!RCQV!``!bpOr(krs'gsv(kwx(]x!{(k!{!|Cg!|~(k!RCnV!``!bpOr(krs'gsv(kwx(]x!r(k!r!sDT!s~(k!RD[V!``!bpOr(krs'gsv(kwx(]x!g(k!g!hDq!h~(k!RDxW!``!bpOrDqrsEbsvDqvwEvwxFfx!`Dq!`!aGb!a~DqqEgT!bpOvEbvxEvx!`Eb!`!aFX!a~EbPEyRO!`Ev!`!aFS!a~EvPFXOzPqF`Q!bpzPOv'gx~'gaFkV!``OrFfrsEvsvFfvwEvw!`Ff!`!aGQ!a~FfaGXR!``zPOr(]sv(]w~(]!RGkT!``!bpzPOr(krs'gsv(kwx(]x~(k!RHRV!``!bpOr(krs'gsv(kwx(]x#c(k#c#dHh#d~(k!RHoV!``!bpOr(krs'gsv(kwx(]x#V(k#V#WIU#W~(k!RI]V!``!bpOr(krs'gsv(kwx(]x#h(k#h#iIr#i~(k!RIyV!``!bpOr(krs'gsv(kwx(]x#m(k#m#nJ`#n~(k!RJgV!``!bpOr(krs'gsv(kwx(]x#d(k#d#eJ|#e~(k!RKTV!``!bpOr(krs'gsv(kwx(]x#X(k#X#YDq#Y~(k!RKqW!``!bpOrKjrsLZsvKjvwLowxNPx!aKj!a!b! g!b~KjqL`T!bpOvLZvxLox!aLZ!a!bM^!b~LZPLrRO!aLo!a!bL{!b~LoPMORO!`Lo!`!aMX!a~LoPM^OwPqMcT!bpOvLZvxLox!`LZ!`!aMr!a~LZqMyQ!bpwPOv'gx~'gaNUV!``OrNPrsLosvNPvwLow!aNP!a!bNk!b~NPaNpV!``OrNPrsLosvNPvwLow!`NP!`!a! V!a~NPa! ^R!``wPOr(]sv(]w~(]!R! nW!``!bpOrKjrsLZsvKjvwLowxNPx!`Kj!`!a!!W!a~Kj!R!!aT!``!bpwPOr(krs'gsv(kwx(]x~(k!V!!{VgS^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[S,C,E,x,T,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0},tokenPrec:476});function Q(e,t){var n,i=Object.create(null),o=(0,r.Z)(e.firstChild.getChildren("Attribute"));try{for(o.s();!(n=o.n()).done;){var a=n.value,s=a.getChild("AttributeName"),u=a.getChild("AttributeValue")||a.getChild("UnquotedAttributeValue");s&&(i[t.read(s.from,s.to)]=u?"AttributeValue"==u.name?t.read(u.from+1,u.to-1):t.read(u.from,u.to):"")}}catch(l){o.e(l)}finally{o.f()}return i}function P(e,t,n){var i,o,a=(0,r.Z)(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(!s.attrs||s.attrs(i||(i=Q(e.node.parent,t))))return{parser:s.parser}}}catch(u){a.e(u)}finally{a.f()}return null}function R(e){var t,n=[],i=[],o=[],a=(0,r.Z)(e);try{for(a.s();!(t=a.n()).done;){var s=t.value,l="script"==s.tag?n:"style"==s.tag?i:"textarea"==s.tag?o:null;if(!l)throw new RangeError("Only script, style, and textarea tags can host nested parsers");l.push(s)}}catch(c){a.e(c)}finally{a.f()}return(0,u.FE)((function(e,t){var r=e.type.id;return 27==r?P(e,t,n):30==r?P(e,t,i):33==r?P(e,t,o):null}))}var D=n(4933),N=n(4381),M=n(1701),I=n(7989),L=n(9973),F=["_blank","_self","_top","_parent"],Z=["ascii","utf-8","utf-16","latin1","latin1"],$=["get","post","put","delete"],j=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],B=["true","false"],z={},H={a:{attrs:{href:null,ping:null,type:null,media:null,target:F,hreflang:null}},abbr:z,acronym:z,address:z,applet:z,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:z,aside:z,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:z,base:{attrs:{href:null,target:F}},basefont:z,bdi:z,bdo:z,big:z,blockquote:{attrs:{cite:null}},body:z,br:z,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:j,formmethod:$,formnovalidate:["novalidate"],formtarget:F,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:z,center:z,cite:z,code:z,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:z,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:z,dir:z,div:z,dl:z,dt:z,em:z,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:z,figure:z,font:z,footer:z,form:{attrs:{action:null,name:null,"accept-charset":Z,autocomplete:["on","off"],enctype:j,method:$,novalidate:["novalidate"],target:F}},frame:z,frameset:z,h1:z,h2:z,h3:z,h4:z,h5:z,h6:z,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:z,hgroup:z,hr:z,html:{attrs:{manifest:null}},i:z,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:j,formmethod:$,formnovalidate:["novalidate"],formtarget:F,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:z,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:z,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:z,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Z,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:z,noframes:z,noscript:z,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:z,param:{attrs:{name:null,value:null}},pre:z,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:z,rt:z,ruby:z,s:z,samp:z,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Z}},section:z,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:z,source:{attrs:{src:null,type:null,media:null}},span:z,strike:z,strong:z,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:z,summary:z,sup:z,table:z,tbody:z,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:z,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:z,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:z,time:{attrs:{datetime:null}},title:z,tr:z,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},tt:z,u:z,ul:{children:["li","script","template","ul","ol"]},var:z,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:z},W={accesskey:null,class:null,contenteditable:B,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:B,autocorrect:B,autocapitalize:B,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":B,"aria-autocomplete":["inline","list","both","none"],"aria-busy":B,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":B,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":B,"aria-hidden":B,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":B,"aria-multiselectable":B,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":B,"aria-relevant":null,"aria-required":B,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},U=(0,i.Z)((function e(t,n){(0,o.Z)(this,e),this.tags=Object.assign(Object.assign({},H),t),this.globalAttrs=Object.assign(Object.assign({},W),n),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}));function q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length;if(!t)return"";var r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function X(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.parent;n;n=n.parent)if("Element"==n.name){if(!t)return n;t=!1}return null}function G(e,t,n){var r=n.tags[q(e,X(t,!0))];return(null===r||void 0===r?void 0:r.children)||n.allTags}function J(e,t){for(var n=[],r=t;r=X(r);){var i=q(e,r);if(i&&"CloseTag"==r.lastChild.name)break;i&&n.indexOf(i)<0&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(i)}return n}U.default=new U;var V=/^[:\-\.\w\u00b7-\uffff]*$/;function Y(e,t,n,r,i){var o=/\s*>/.test(e.sliceDoc(i,i+5))?"":">";return{from:r,to:i,options:G(e.doc,n,t).map((function(e){return{label:e,type:"type"}})).concat(J(e.doc,n).map((function(e,t){return{label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t}}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function K(e,t,n,r){var i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:J(e.doc,t).map((function(e,t){return{label:e,apply:e+i,type:"type",boost:99-t}})),validFor:V}}function ee(e,t){for(var n,i=t.state,o=t.pos,a=(0,L.qz)(i).resolveInner(o),s=a.resolve(o,-1),u=o;a==s&&(n=s.childBefore(u));){var l=n.lastChild;if(!l||!l.type.isError||l.from<l.to)break;a=s=n,u=l.from}return"TagName"==s.name?s.parent&&/CloseTag$/.test(s.parent.name)?K(i,s,s.from,o):Y(i,e,s,s.from,o):"StartTag"==s.name?Y(i,e,s,o,o):"StartCloseTag"==s.name||"IncompleteCloseTag"==s.name?K(i,s,o,o):t.explicit&&("OpenTag"==s.name||"SelfClosingTag"==s.name)||"AttributeName"==s.name?function(e,t,n,r,i){var o=X(n),a=o?t.tags[q(e.doc,o)]:null;return{from:r,to:i,options:(a&&a.attrs?Object.keys(a.attrs).concat(t.globalAttrNames):t.globalAttrNames).map((function(e){return{label:e,type:"property"}})),validFor:V}}(i,e,s,"AttributeName"==s.name?s.from:o,o):"Is"==s.name||"AttributeValue"==s.name||"UnquotedAttributeValue"==s.name?function(e,t,n,i,o){var a,s=null===(a=n.parent)||void 0===a?void 0:a.getChild("AttributeName"),u=[],l=void 0;if(s){var c=e.sliceDoc(s.from,s.to),h=t.globalAttrs[c];if(!h){var f=X(n),d=f?t.tags[q(e.doc,f)]:null;h=(null===d||void 0===d?void 0:d.attrs)&&d.attrs[c]}if(h){var p=e.sliceDoc(i,o).toLowerCase(),m='"',g='"';/^['"]/.test(p)?(l='"'==p[0]?/^[^"]*$/:/^[^']*$/,m="",g=e.sliceDoc(o,o+1)==p[0]?"":p[0],p=p.slice(1),i++):l=/^[^\s<>='"]*$/;var v,O=(0,r.Z)(h);try{for(O.s();!(v=O.n()).done;){var y=v.value;u.push({label:y,apply:m+y+g,type:"constant"})}}catch(k){O.e(k)}finally{O.f()}}}return{from:i,to:o,options:u,validFor:l}}(i,e,s,"Is"==s.name?o:s.from,o):!t.explicit||"Element"!=a.name&&"Text"!=a.name&&"Document"!=a.name?null:function(e,t,n,i){var o,a=[],s=0,u=(0,r.Z)(G(e.doc,n,t));try{for(u.s();!(o=u.n()).done;){var l=o.value;a.push({label:"<"+l,type:"type"})}}catch(d){u.e(d)}finally{u.f()}var c,h=(0,r.Z)(J(e.doc,n));try{for(h.s();!(c=h.n()).done;){var f=c.value;a.push({label:"</"+f+">",type:"type",boost:99-s++})}}catch(d){h.e(d)}finally{h.f()}return{from:i,to:i,options:a,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(i,e,s,o)}function te(e){return ee(U.default,e)}function ne(e){var t=e.extraTags,n=e.extraGlobalAttributes,r=n||t?new U(t,n):U.default;return function(e){return ee(r,e)}}var re=L.qp.define({parser:_.configure({props:[L.uj.add({Element:function(e){var t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":function(e){return e.column(e.node.from)+e.unit},Document:function(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();for(var t,n=null,r=e.node;;){var i=r.lastChild;if(!i||"Element"!=i.name||i.to!=r.to)break;n=r=i}return n&&(!(t=n.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(n.from)+e.unit:null}}),L.x0.add({Element:function(e){var t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}})],wrap:R([{tag:"script",attrs:function(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:N.javascriptLanguage.parser},{tag:"style",attrs:function(e){return(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:D.cssLanguage.parser}])}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=re;return!1===e.matchClosingTags&&(t=t.configure({dialect:"noMatch"})),new L.ri(t,[re.data.of({autocomplete:ne(e)}),!1!==e.autoCloseTags?oe:[],(0,N.javascript)().support,(0,D.css)().support])}var oe=M.tk.inputHandler.of((function(e,t,n,r){if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!re.isActiveAt(e.state,t,-1))return!1;var i=e.state,o=i.changeByRange((function(e){var t,n,o,a,s=e.head,u=(0,L.qz)(i).resolveInner(s,-1);if("TagName"!=u.name&&"StartTag"!=u.name||(u=u.parent),">"==r&&"OpenTag"==u.name){if("CloseTag"!=(null===(n=null===(t=u.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(a=q(i.doc,u.parent,s)))return{range:I.jT.cursor(s+1),changes:{from:s,insert:"></".concat(a,">")}}}else if("/"==r&&"OpenTag"==u.name){var l=u.parent,c=null===l||void 0===l?void 0:l.parent;if(l.from==s-1&&"CloseTag"!=(null===(o=c.lastChild)||void 0===o?void 0:o.name)&&(a=q(i.doc,c,s))){var h="/".concat(a,">");return{range:I.jT.cursor(s+h.length),changes:{from:s,insert:h}}}}return{range:e}}));return!o.changes.empty&&(e.dispatch(o,{userEvent:"input.type",scrollIntoView:!0}),!0)}))},4381:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return B},esLint:function(){return z},javascript:function(){return Z},javascriptLanguage:function(){return N},jsxLanguage:function(){return I},localCompletionSource:function(){return D},snippets:function(){return w},tsxLanguage:function(){return L},typescriptLanguage:function(){return M}});var r=n(726),i=n(8445),o=n(2029),a=282,s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],u=new i.IK({start:!1,shift:function(e,t){return 5==t||6==t||286==t?e:287==t},strict:!1}),l=new i.Jq((function(e,t){var n=e.next;(125==n||-1==n||t.context)&&t.canShift(284)&&e.acceptToken(284)}),{contextual:!0,fallback:!0}),c=new i.Jq((function(e,t){var n,r=e.next;s.indexOf(r)>-1||(47!=r||47!=(n=e.peek(1))&&42!=n)&&125!=r&&59!=r&&-1!=r&&!t.context&&t.canShift(281)&&e.acceptToken(281)}),{contextual:!0}),h=new i.Jq((function(e,t){var n=e.next;if((43==n||45==n)&&(e.advance(),n==e.next)){e.advance();var r=!t.context&&t.canShift(2);e.acceptToken(r?2:3)}}),{contextual:!0}),f=new i.Jq((function(e){for(var t=!1,n=0;;n++){var r=e.next;if(r<0){n&&e.acceptToken(a);break}if(96==r){n?e.acceptToken(a):e.acceptToken(283,1);break}if(123==r&&t){1==n?e.acceptToken(4,1):e.acceptToken(a,-1);break}if(10==r&&n){e.advance(),e.acceptToken(a);break}92==r&&e.advance(),t=36==r,e.advance()}})),d=new i.Jq((function(e,t){if(101==e.next&&t.dialectEnabled(1)){e.advance();for(var n=0;n<6;n++){if(e.next!="xtends".charCodeAt(n))return;e.advance()}e.next>=57&&e.next<=65||e.next>=48&&e.next<=90||95==e.next||e.next>=97&&e.next<=122||e.next>160||e.acceptToken(1)}})),p=(0,o.Gv)({"get set async static":o.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":o.pJ.controlKeyword,"in of await yield void typeof delete instanceof":o.pJ.operatorKeyword,"let var const function class extends":o.pJ.definitionKeyword,"import export from":o.pJ.moduleKeyword,"with debugger as new":o.pJ.keyword,TemplateString:o.pJ.special(o.pJ.string),super:o.pJ.atom,BooleanLiteral:o.pJ.bool,this:o.pJ.self,null:o.pJ.null,Star:o.pJ.modifier,VariableName:o.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":o.pJ.function(o.pJ.variableName),VariableDefinition:o.pJ.definition(o.pJ.variableName),Label:o.pJ.labelName,PropertyName:o.pJ.propertyName,PrivatePropertyName:o.pJ.special(o.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":o.pJ.function(o.pJ.propertyName),"FunctionDeclaration/VariableDefinition":o.pJ.function(o.pJ.definition(o.pJ.variableName)),"ClassDeclaration/VariableDefinition":o.pJ.definition(o.pJ.className),PropertyDefinition:o.pJ.definition(o.pJ.propertyName),PrivatePropertyDefinition:o.pJ.definition(o.pJ.special(o.pJ.propertyName)),UpdateOp:o.pJ.updateOperator,LineComment:o.pJ.lineComment,BlockComment:o.pJ.blockComment,Number:o.pJ.number,String:o.pJ.string,ArithOp:o.pJ.arithmeticOperator,LogicOp:o.pJ.logicOperator,BitOp:o.pJ.bitwiseOperator,CompareOp:o.pJ.compareOperator,RegExp:o.pJ.regexp,Equals:o.pJ.definitionOperator,Arrow:o.pJ.function(o.pJ.punctuation),": Spread":o.pJ.punctuation,"( )":o.pJ.paren,"[ ]":o.pJ.squareBracket,"{ }":o.pJ.brace,"InterpolationStart InterpolationEnd":o.pJ.special(o.pJ.brace),".":o.pJ.derefOperator,", ;":o.pJ.separator,TypeName:o.pJ.typeName,TypeDefinition:o.pJ.definition(o.pJ.typeName),"type enum interface implements namespace module declare":o.pJ.definitionKeyword,"abstract global Privacy readonly override":o.pJ.modifier,"is keyof unique infer":o.pJ.operatorKeyword,JSXAttributeValue:o.pJ.attributeValue,JSXText:o.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":o.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":o.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":o.pJ.attributeName}),m={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},g={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new:355},v={__proto__:null,"<":129},O=i.WQ.deserialize({version:14,states:"$8SO`QdOOO'QQ(C|O'#ChO'XOWO'#DVO)dQdO'#D]O)tQdO'#DhO){QdO'#DrO-xQdO'#DxOOQO'#E]'#E]O.]Q`O'#E[O.bQ`O'#E[OOQ(C['#Ef'#EfO0aQ(C|O'#ItO2wQ(C|O'#IuO3eQ`O'#EzO3jQ!bO'#FaOOQ(C['#FS'#FSO3rO#tO'#FSO4QQ&jO'#FhO5bQ`O'#FgOOQ(C['#Iu'#IuOOQ(CW'#It'#ItOOQS'#J^'#J^O5gQ`O'#HpO5lQ(ChO'#HqOOQS'#Ih'#IhOOQS'#Hr'#HrQ`QdOOO){QdO'#DjO5tQ`O'#G[O5yQ&jO'#CmO6XQ`O'#EZO6dQ`O'#EgO6iQ,UO'#FRO7TQ`O'#G[O7YQ`O'#G`O7eQ`O'#G`O7sQ`O'#GcO7sQ`O'#GdO7sQ`O'#GfO5tQ`O'#GiO8dQ`O'#GlO9rQ`O'#CdO:SQ`O'#GyO:[Q`O'#HPO:[Q`O'#HRO`QdO'#HTO:[Q`O'#HVO:[Q`O'#HYO:aQ`O'#H`O:fQ(CjO'#HfO){QdO'#HhO:qQ(CjO'#HjO:|Q(CjO'#HlO5lQ(ChO'#HnO){QdO'#DWOOOW'#Ht'#HtO;XOWO,59qOOQ(C[,59q,59qO=jQtO'#ChO=tQdO'#HuO>XQ`O'#IvO@WQtO'#IvO'dQdO'#IvO@_Q`O,59wO@uQ7[O'#DbOAnQ`O'#E]OA{Q`O'#JROBWQ`O'#JQOBWQ`O'#JQOB`Q`O,5:yOBeQ`O'#JPOBlQaO'#DyO5yQ&jO'#EZOBzQ`O'#EZOCVQpO'#FROOQ(C[,5:S,5:SOC_QdO,5:SOE]Q(C|O,5:^OEyQ`O,5:dOFdQ(ChO'#JOO7YQ`O'#I}OFkQ`O'#I}OFsQ`O,5:xOFxQ`O'#I}OGWQdO,5:vOIWQ&jO'#EWOJeQ`O,5:vOKwQ&jO'#DlOLOQdO'#DqOLYQ7[O,5;PO){QdO,5;POOQS'#Er'#ErOOQS'#Et'#EtO){QdO,5;RO){QdO,5;RO){QdO,5;RO){QdO,5;RO){QdO,5;RO){QdO,5;RO){QdO,5;RO){QdO,5;RO){QdO,5;RO){QdO,5;RO){QdO,5;ROOQS'#Ex'#ExOLbQdO,5;cOOQ(C[,5;h,5;hOOQ(C[,5;i,5;iONbQ`O,5;iOOQ(C[,5;j,5;jO){QdO'#IPONgQ(ChO,5<TO! RQ&jO,5;RO){QdO,5;fO! kQ!bO'#JVO! YQ!bO'#JVO! rQ!bO'#JVO!!TQ!bO,5;qOOOO,5;{,5;{O!!cQdO'#FcOOOO'#IO'#IOO3rO#tO,5;nO!!jQ!bO'#FeOOQ(C[,5;n,5;nO!#WQ,VO'#CrOOQ(C]'#Cu'#CuO!#kQ`O'#CuO!#pOWO'#CyO!$^Q,VO,5<QO!$eQ`O,5<SO!%tQ&jO'#FrO!&RQ`O'#FsO!&WQ`O'#FsO!&]Q&jO'#FwO!'[Q7[O'#F{O!'}Q,VO'#IqOOQ(C]'#Iq'#IqO!(XQaO'#IpO!(gQ`O'#IoO!(oQ`O'#CqOOQ(C]'#Cs'#CsOOQ(C]'#C|'#C|O!(wQ`O'#DOOJjQ&jO'#FjOJjQ&jO'#FlO!(|Q`O'#FnO!)RQ`O'#FoO!&WQ`O'#FuOJjQ&jO'#FzO!)WQ`O'#E^O!)oQ`O,5<RO`QdO,5>[OOQS'#Ik'#IkOOQS,5>],5>]OOQS-E;p-E;pO!+kQ(C|O,5:UOOQ(CX'#Cp'#CpO!,[Q&kO,5<vOOQO'#Cf'#CfO!,mQ(ChO'#IlO5bQ`O'#IlO:aQ`O,59XO!-OQ!bO,59XO!-WQ&jO,59XO5yQ&jO,59XO!-cQ`O,5:vO!-kQ`O'#GxO!-yQ`O'#JbO){QdO,5;kO!.RQ7[O,5;mO!.WQ`O,5=cO!.]Q`O,5=cO!.bQ`O,5=cO5lQ(ChO,5=cO5tQ`O,5<vO!.pQ`O'#E_O!/UQ7[O'#E`OOQ(CW'#JP'#JPO!/gQ(ChO'#J_O5lQ(ChO,5<zO7sQ`O,5=QOOQP'#Cr'#CrO!/rQ!bO,5<}O!/zQ!cO,5=OO!0VQ`O,5=QO!0[QpO,5=TO:aQ`O'#GnO5tQ`O'#GpO!0dQ`O'#GpO5yQ&jO'#GsO!0iQ`O'#GsOOQS,5=W,5=WO!0nQ`O'#GtO!0vQ`O'#CmO!0{Q`O,59OO!1VQ`O,59OO!3XQdO,59OOOQS,59O,59OO!3fQ(ChO,59OO){QdO,59OO!3qQdO'#G{OOQS'#G|'#G|OOQS'#G}'#G}O`QdO,5=eO!4RQ`O,5=eO){QdO'#DxO`QdO,5=kO`QdO,5=mO!4WQ`O,5=oO`QdO,5=qO!4]Q`O,5=tO!4bQdO,5=zOOQS,5>Q,5>QO){QdO,5>QO5lQ(ChO,5>SOOQS,5>U,5>UO!8cQ`O,5>UOOQS,5>W,5>WO!8cQ`O,5>WOOQS,5>Y,5>YO!8hQpO,59rOOOW-E;r-E;rOOQ(C[1G/]1G/]O!8mQtO,5>aO'dQdO,5>aOOQO,5>f,5>fO!8wQdO'#HuOOQO-E;s-E;sO!9UQ`O,5?bO!9^QtO,5?bO!9eQ`O,5?lOOQ(C[1G/c1G/cO!9mQ!bO'#DTOOQO'#Ix'#IxO){QdO'#IxO!:[Q!bO'#IxO!:yQ!bO'#DcO!;[Q7[O'#DcO!=gQdO'#DcO!=nQ`O'#IwO!=vQ`O,59|O!={Q`O'#EaO!>ZQ`O'#JSO!>cQ`O,5:zO!>yQ7[O'#DcO){QdO,5?mO!?TQ`O'#HzOOQO-E;x-E;xO!9eQ`O,5?lOOQ(CW1G0e1G0eO!@aQ7[O'#D|OOQ(C[,5:e,5:eO){QdO,5:eOIWQ&jO,5:eO!@hQaO,5:eO:aQ`O,5:uO!-OQ!bO,5:uO!-WQ&jO,5:uO5yQ&jO,5:uOOQ(C[1G/n1G/nOOQ(C[1G0O1G0OOOQ(CW'#EV'#EVO){QdO,5?jO!@sQ(ChO,5?jO!AUQ(ChO,5?jO!A]Q`O,5?iO!AeQ`O'#H|O!A]Q`O,5?iOOQ(CW1G0d1G0dO7YQ`O,5?iOOQ(C[1G0b1G0bO!BPQ(C|O1G0bO!CRQ(CyO,5:rOOQ(C]'#Fq'#FqO!CoQ(C}O'#IqOGWQdO1G0bO!EqQ,VO'#IyO!E{Q`O,5:WO!FQQtO'#IzO){QdO'#IzO!F[Q`O,5:]OOQ(C]'#DT'#DTOOQ(C[1G0k1G0kO!FaQ`O1G0kO!HrQ(C|O1G0mO!HyQ(C|O1G0mO!K^Q(C|O1G0mO!KeQ(C|O1G0mO!MlQ(C|O1G0mO!NPQ(C|O1G0mO#!pQ(C|O1G0mO#!wQ(C|O1G0mO#%[Q(C|O1G0mO#%cQ(C|O1G0mO#'WQ(C|O1G0mO#*QQMlO'#ChO#+{QMlO1G0}O#-vQMlO'#IuOOQ(C[1G1T1G1TO#.ZQ(C|O,5>kOOQ(CW-E;}-E;}O#.zQ(C}O1G0mOOQ(C[1G0m1G0mO#1PQ(C|O1G1QO#1pQ!bO,5;sO#1uQ!bO,5;tO#1zQ!bO'#F[O#2`Q`O'#FZOOQO'#JW'#JWOOQO'#H}'#H}O#2eQ!bO1G1]OOQ(C[1G1]1G1]OOOO1G1f1G1fO#2sQMlO'#ItO#2}Q`O,5;}OLbQdO,5;}OOOO-E;|-E;|OOQ(C[1G1Y1G1YOOQ(C[,5<P,5<PO#3SQ!bO,5<POOQ(C],59a,59aOIWQ&jO'#C{OOOW'#Hs'#HsO#3XOWO,59eOOQ(C],59e,59eO){QdO1G1lO!)RQ`O'#IRO#3dQ`O,5<eOOQ(C],5<b,5<bOOQO'#GV'#GVOJjQ&jO,5<pOOQO'#GX'#GXOJjQ&jO,5<rOIWQ&jO,5<tOOQO1G1n1G1nO#3oQqO'#CpO#4SQqO,5<^O#4ZQ`O'#JZO5tQ`O'#JZO#4iQ`O,5<`OJjQ&jO,5<_O#4nQ`O'#FtO#4yQ`O,5<_O#5OQqO'#FqO#5]QqO'#J[O#5gQ`O'#J[OIWQ&jO'#J[O#5lQ`O,5<cOOQ(CW'#Dg'#DgO#5qQ!bO'#F|O!'VQ7[O'#F|O!'VQ7[O'#GOO#6SQ`O'#GPO!&WQ`O'#GSO#6XQ(ChO'#ITO#6dQ7[O,5<gOOQ(C],5<g,5<gO#6kQ7[O'#F|O#6yQ7[O'#F}O#7RQ7[O'#F}OOQ(C],5<u,5<uOJjQ&jO,5?[OJjQ&jO,5?[O#7WQ`O'#IUO#7cQ`O,5?ZO#7kQ`O,59]OOQ(C]'#Ch'#ChO#8[Q,VO,59jOOQ(C],59j,59jO#8}Q,VO,5<UO#9pQ,VO,5<WO#9zQ`O,5<YOOQ(C],5<Z,5<ZO#:PQ`O,5<aO#:UQ,VO,5<fOGWQdO1G1mO#:fQ`O1G1mOOQS1G3v1G3vOOQ(C[1G/p1G/pONbQ`O1G/pOOQS1G2b1G2bOIWQ&jO1G2bO){QdO1G2bOIWQ&jO1G2bO#:kQaO1G2bO#<QQ&jO'#EWOOQ(CW,5?W,5?WO#<[Q(ChO,5?WOOQS1G.s1G.sO:aQ`O1G.sO!-OQ!bO1G.sO!-WQ&jO1G.sO#<mQ`O1G0bO#<rQ`O'#ChO#<}Q`O'#JcO#=VQ`O,5=dO#=[Q`O'#JcO#=aQ`O'#JcO#=iQ`O'#I^O#=wQ`O,5?|O#>PQtO1G1VOOQ(C[1G1X1G1XO5tQ`O1G2}O#>WQ`O1G2}O#>]Q`O1G2}O#>bQ`O1G2}OOQS1G2}1G2}O#>gQ&kO1G2bO7YQ`O'#JQO7YQ`O'#EaO7YQ`O'#IWO#>xQ(ChO,5?yOOQS1G2f1G2fO!0VQ`O1G2lOIWQ&jO1G2iO#?TQ`O1G2iOOQS1G2j1G2jOIWQ&jO1G2jO#?YQaO1G2jO#?bQ7[O'#GhOOQS1G2l1G2lO!'VQ7[O'#IYO!0[QpO1G2oOOQS1G2o1G2oOOQS,5=Y,5=YO#?jQ&kO,5=[O5tQ`O,5=[O#6SQ`O,5=_O5bQ`O,5=_O!-OQ!bO,5=_O!-WQ&jO,5=_O5yQ&jO,5=_O#?{Q`O'#JaO#@WQ`O,5=`OOQS1G.j1G.jO#@]Q(ChO1G.jO#@hQ`O1G.jO#@mQ`O1G.jO5lQ(ChO1G.jO#@uQtO,5@OO#APQ`O,5@OO#A[QdO,5=gO#AcQ`O,5=gO7YQ`O,5@OOOQS1G3P1G3PO`QdO1G3POOQS1G3V1G3VOOQS1G3X1G3XO:[Q`O1G3ZO#AhQdO1G3]O#EcQdO'#H[OOQS1G3`1G3`O#EpQ`O'#HbO:aQ`O'#HdOOQS1G3f1G3fO#ExQdO1G3fO5lQ(ChO1G3lOOQS1G3n1G3nOOQ(CW'#Fx'#FxO5lQ(ChO1G3pO5lQ(ChO1G3rOOOW1G/^1G/^O#IvQpO,5<TO#JOQtO1G3{OOQO1G4Q1G4QO){QdO,5>aO#JYQ`O1G4|O#JbQ`O1G5WO#JjQ`O,5?dOLbQdO,5:{O7YQ`O,5:{O:aQ`O,59}OLbQdO,59}O!-OQ!bO,59}O#JoQMlO,59}OOQO,5:{,5:{O#JyQ7[O'#HvO#KaQ`O,5?cOOQ(C[1G/h1G/hO#KiQ7[O'#H{O#K}Q`O,5?nOOQ(CW1G0f1G0fO!;[Q7[O,59}O#LVQtO1G5XO7YQ`O,5>fOOQ(CW'#ES'#ESO#LaQ(DjO'#ETO!@XQ7[O'#D}OOQO'#Hy'#HyO#L{Q7[O,5:hOOQ(C[,5:h,5:hO#MSQ7[O'#D}O#MeQ7[O'#D}O#MlQ7[O'#EYO#MoQ7[O'#ETO#M|Q7[O'#ETO!@XQ7[O'#ETO#NaQ`O1G0PO#NfQqO1G0POOQ(C[1G0P1G0PO){QdO1G0POIWQ&jO1G0POOQ(C[1G0a1G0aO:aQ`O1G0aO!-OQ!bO1G0aO!-WQ&jO1G0aO#NmQ(C|O1G5UO){QdO1G5UO#N}Q(ChO1G5UO$ `Q`O1G5TO7YQ`O,5>hOOQO,5>h,5>hO$ hQ`O,5>hOOQO-E;z-E;zO$ `Q`O1G5TO$ vQ(C}O,59jO$#xQ(C}O,5<UO$%}Q(C}O,5<WO$(SQ(C}O,5<fOOQ(C[7+%|7+%|O$*_Q(C|O7+%|O$+OQ&jO'#HwO$+YQ`O,5?eOOQ(C]1G/r1G/rO$+bQdO'#HxO$+oQ`O,5?fO$+wQtO,5?fOOQ(C[1G/w1G/wOOQ(C[7+&V7+&VO$,RQMlO,5:^O){QdO7+&iO$,]QMlO,5:UOOQO1G1_1G1_OOQO1G1`1G1`O$,jQ!LQO,5;vOLbQdO,5;uOOQO-E;{-E;{OOQ(C[7+&w7+&wOOOO7+'Q7+'QOOOO1G1i1G1iO$,uQ`O1G1iOOQ(C[1G1k1G1kO$,zQqO,59gOOOW-E;q-E;qOOQ(C]1G/P1G/PO$-RQ(C|O7+'WOOQ(C],5>m,5>mO$-rQ`O,5>mOOQ(C]1G2P1G2PP$-wQ`O'#IRPOQ(C]-E<P-E<PO$.hQ,VO1G2[O$/ZQ,VO1G2^O$/eQqO1G2`OOQ(C]1G1x1G1xO$/lQ`O'#IQO$/zQ`O,5?uO$/zQ`O,5?uO$0SQ`O,5?uO$0_Q`O,5?uOOQO1G1z1G1zO$0mQ,VO1G1yOJjQ&jO1G1yO$0}Q&jO'#ISO$1_Q`O,5?vOIWQ&jO,5?vO$1gQqO,5?vOOQ(C]1G1}1G1}OOQ(CW,5<h,5<hOOQ(CW,5<i,5<iO$1qQ`O,5<iO#5}Q`O,5<iO!-OQ!bO,5<hO$1vQ`O,5<jOOQ(CW,5<k,5<kO$1qQ`O,5<nOOQO,5>o,5>oOOQO-E<R-E<ROOQ(C]1G2R1G2RO!'VQ7[O,5<hO$2OQ`O,5<iO!'VQ7[O,5<jO!'VQ7[O,5<iO$2ZQ,VO1G4vO$2eQ,VO1G4vOOQO,5>p,5>pOOQO-E<S-E<SOOQP1G.w1G.wO!.RQ7[O,59lO){QdO,59lO$2rQ`O1G1tOJjQ&jO1G1{O$2wQ(C|O7+'XOOQ(C[7+'X7+'XOGWQdO7+'XOOQ(C[7+%[7+%[O$3hQqO'#J]O#NaQ`O7+'|O$3rQ`O7+'|O$3zQqO7+'|OOQS7+'|7+'|OIWQ&jO7+'|O){QdO7+'|OIWQ&jO7+'|O$4UQ(CyO'#ChO$4iQ(CyO,5<lO$5ZQ`O,5<lOOQ(CW1G4r1G4rOOQS7+$_7+$_O:aQ`O7+$_O!-OQ!bO7+$_OGWQdO7+%|O$5`Q`O'#I]O$5qQ`O,5?}OOQO1G3O1G3OO5tQ`O,5?}O$5qQ`O,5?}O$5yQ`O,5?}OOQO,5>x,5>xOOQO-E<[-E<[OOQ(C[7+&q7+&qO$6OQ`O7+(iO5lQ(ChO7+(iO5tQ`O7+(iO$6TQ`O7+(iO$6YQaO7+'|OOQ(CW,5>r,5>rOOQ(CW-E<U-E<UOOQS7+(W7+(WO$6hQ(CyO7+(TOIWQ&jO7+(TO$6rQqO7+(UOOQS7+(U7+(UOIWQ&jO7+(UO$6yQ`O'#J`O$7UQ`O,5=SOOQO,5>t,5>tOOQO-E<W-E<WOOQS7+(Z7+(ZO$8OQ7[O'#GqOOQS1G2v1G2vOIWQ&jO1G2vO){QdO1G2vOIWQ&jO1G2vO$8VQaO1G2vO$8eQ&kO1G2vO5lQ(ChO1G2yO#6SQ`O1G2yO5bQ`O1G2yO!-OQ!bO1G2yO!-WQ&jO1G2yO$8vQ`O'#I[O$9RQ`O,5?{O$9ZQ7[O,5?{OOQ(CW1G2z1G2zOOQS7+$U7+$UO$9cQ`O7+$UO5lQ(ChO7+$UO$9hQ`O7+$UO){QdO1G5jO){QdO1G5kO$9mQdO1G3RO$9tQ`O1G3RO$9yQdO1G3RO$:QQ(ChO1G5jOOQS7+(k7+(kO5lQ(ChO7+(uO`QdO7+(wOOQS'#Jf'#JfOOQS'#I_'#I_O$:[QdO,5=vOOQS,5=v,5=vO){QdO'#H]O$:iQ`O'#H_OOQS,5=|,5=|O7YQ`O,5=|OOQS,5>O,5>OOOQS7+)Q7+)QOOQS7+)W7+)WOOQS7+)[7+)[OOQS7+)^7+)^OOQO1G5O1G5OO$:nQMlO1G0gO$:xQ`O1G0gOOQO1G/i1G/iO$;TQMlO1G/iO:aQ`O1G/iOLbQdO'#DcOOQO,5>b,5>bOOQO-E;t-E;tOOQO,5>g,5>gOOQO-E;y-E;yO!-OQ!bO1G/iO:aQ`O,5:iOOQO,5:o,5:oO){QdO,5:oO$;_Q(ChO,5:oO$;jQ(ChO,5:oO!-OQ!bO,5:iOOQO-E;w-E;wOOQ(C[1G0S1G0SO!@XQ7[O,5:iO$;xQ7[O,5:iO$<ZQ(DjO,5:oO$<uQ7[O,5:iO!@XQ7[O,5:oOOQO,5:t,5:tO$<|Q7[O,5:oO$=ZQ(ChO,5:oOOQ(C[7+%k7+%kO#NaQ`O7+%kO#NfQqO7+%kOOQ(C[7+%{7+%{O:aQ`O7+%{O!-OQ!bO7+%{O$=oQ(C|O7+*pO){QdO7+*pOOQO1G4S1G4SO7YQ`O1G4SO$>PQ`O7+*oO$>XQ(C}O1G2[O$@^Q(C}O1G2^O$BcQ(C}O1G1yO$DnQ,VO,5>cOOQO-E;u-E;uO$DxQtO,5>dO){QdO,5>dOOQO-E;v-E;vO$ESQ`O1G5QO$E[QMlO1G0bO$GcQMlO1G0mO$GjQMlO1G0mO$IkQMlO1G0mO$IrQMlO1G0mO$KgQMlO1G0mO$KzQMlO1G0mO$NXQMlO1G0mO$N`QMlO1G0mO%!aQMlO1G0mO%!hQMlO1G0mO%$]QMlO1G0mO%$pQ(C|O<<JTO%%rQMmO1G0mO%'|QMmO'#IqO%)iQMlO1G1QOLbQdO'#F^OOQO'#JX'#JXOOQO1G1b1G1bO%)vQ`O1G1aO%){QMlO,5>kOOOO7+'T7+'TOOOW1G/R1G/ROOQ(C]1G4X1G4XOJjQ&jO7+'zO%*VQ`O,5>lO5tQ`O,5>lOOQO-E<O-E<OO%*eQ`O1G5aO%*eQ`O1G5aO%*mQ`O1G5aO%*xQ,VO7+'eO%+YQqO,5>nO%+dQ`O,5>nOIWQ&jO,5>nOOQO-E<Q-E<QO%+iQqO1G5bO%+sQ`O1G5bOOQ(CW1G2T1G2TO$1qQ`O1G2TOOQ(CW1G2S1G2SO%+{Q`O1G2UOIWQ&jO1G2UOOQ(CW1G2Y1G2YO!-OQ!bO1G2SO#5}Q`O1G2TO%,QQ`O1G2UO%,YQ`O1G2TOJjQ&jO7+*bOOQ(C]1G/W1G/WO%,eQ`O1G/WOOQ(C]7+'`7+'`O%,jQ,VO7+'gO%,zQ(C|O<<JsOOQ(C[<<Js<<JsOIWQ&jO'#IVO%-kQ`O,5?wOOQS<<Kh<<KhOIWQ&jO<<KhO#NaQ`O<<KhO%-sQ`O<<KhO%-{QqO<<KhOIWQ&jO1G2WOOQS<<Gy<<GyO:aQ`O<<GyO%.VQ(C|O<<IhOOQ(C[<<Ih<<IhOOQO,5>w,5>wO%.vQ`O,5>wO%.{Q`O,5>wOOQO-E<Z-E<ZO%/TQ`O1G5iO%/TQ`O1G5iO5tQ`O1G5iO%/]Q`O<<LTOOQS<<LT<<LTO%/bQ`O<<LTO5lQ(ChO<<LTO){QdO<<KhOIWQ&jO<<KhOOQS<<Ko<<KoO$6hQ(CyO<<KoOOQS<<Kp<<KpO$6rQqO<<KpO%/gQ7[O'#IXO%/rQ`O,5?zOLbQdO,5?zOOQS1G2n1G2nO#LaQ(DjO'#ETO!@XQ7[O'#GrOOQO'#IZ'#IZO%/zQ7[O,5=]OOQS,5=],5=]O%0RQ7[O'#ETO%0^Q7[O'#ETO%0uQ7[O'#ETO%1PQ7[O'#GrO%1bQ`O7+(bO%1gQ`O7+(bO%1oQqO7+(bOOQS7+(b7+(bOIWQ&jO7+(bO){QdO7+(bOIWQ&jO7+(bO%1yQaO7+(bOOQS7+(e7+(eO5lQ(ChO7+(eO#6SQ`O7+(eO5bQ`O7+(eO!-OQ!bO7+(eO%2XQ`O,5>vOOQO-E<Y-E<YOOQO'#Gu'#GuO%2dQ`O1G5gO5lQ(ChO<<GpOOQS<<Gp<<GpO%2lQ`O<<GpO%2qQ`O7++UO%2vQ`O7++VOOQS7+(m7+(mO%2{Q`O7+(mO%3QQdO7+(mO%3XQ`O7+(mO){QdO7++UO){QdO7++VOOQS<<La<<LaOOQS<<Lc<<LcOOQS-E<]-E<]OOQS1G3b1G3bO%3^Q`O,5=wOOQS,5=y,5=yO%3cQ`O1G3hOLbQdO7+&ROOQO7+%T7+%TO%3hQMlO1G5XO:aQ`O7+%TOOQO1G0T1G0TO%3rQ(C|O1G0ZOOQO1G0Z1G0ZO){QdO1G0ZO%3|Q(ChO1G0ZO:aQ`O1G0TO!-OQ!bO1G0TO!@XQ7[O1G0TO%4XQ(ChO1G0ZO%4gQ7[O1G0TO%4xQ(ChO1G0ZO%5^Q(DjO1G0ZO%5hQ7[O1G0TO!@XQ7[O1G0ZOOQ(C[<<IV<<IVOOQ(C[<<Ig<<IgO:aQ`O<<IgO%5oQ(C|O<<N[OOQO7+)n7+)nO%6PQ(C}O7+'eO%8[Q(C}O7+'gO%:gQtO1G4OO%:qQMlO7+%|O%;gQMmO,59jO%=hQMmO,5<UO%?lQMmO,5<WO%A[QMmO,5<fO%B}QMlO7+'WO%C[QMlO7+'XO%CiQ`O,5;xOOQO7+&{7+&{O%CnQ,VO<<KfOOQO1G4W1G4WO%CuQ`O1G4WO%DQQ`O1G4WO%D`Q`O7+*{O%D`Q`O7+*{OIWQ&jO1G4YO%DhQqO1G4YO%DrQ`O7+*|OOQ(CW7+'o7+'oO$1qQ`O7+'pO%DzQqO7+'pOOQ(CW7+'n7+'nO$1qQ`O7+'oO%ERQ`O7+'pOIWQ&jO7+'pO#5}Q`O7+'oO%EWQ,VO<<M|OOQ(C]7+$r7+$rO%EbQqO,5>qOOQO-E<T-E<TO#NaQ`OANASOOQSANASANASOIWQ&jOANASO%ElQ(CyO7+'rOOQSAN=eAN=eO5tQ`O1G4cOOQO1G4c1G4cO%E|Q`O1G4cO%FRQ`O7++TO%FRQ`O7++TO5lQ(ChOANAoO%FZQ`OANAoOOQSANAoANAoO%F`Q`OANASO%FhQqOANASOOQSANAZANAZOOQSANA[ANA[O%FrQ`O,5>sOOQO-E<V-E<VO%F}QMlO1G5fO#6SQ`O,5=^O5bQ`O,5=^O!-OQ!bO,5=^OOQO-E<X-E<XOOQS1G2w1G2wO$<ZQ(DjO,5:oO!@XQ7[O,5=^O%GXQ7[O,5=^O%GjQ7[O,5:oOOQS<<K|<<K|OIWQ&jO<<K|O%1bQ`O<<K|O%GtQ`O<<K|O%G|QqO<<K|O){QdO<<K|OIWQ&jO<<K|OOQS<<LP<<LPO5lQ(ChO<<LPO#6SQ`O<<LPO5bQ`O<<LPO%HWQ7[O1G4bO%H`Q`O7++ROOQSAN=[AN=[O5lQ(ChOAN=[OOQS<<Np<<NpOOQS<<Nq<<NqOOQS<<LX<<LXO%HhQ`O<<LXO%HmQdO<<LXO%HtQ`O<<NpO%HyQ`O<<NqOOQS1G3c1G3cO:aQ`O7+)SO%IOQMlO<<ImOOQO<<Ho<<HoOOQO7+%u7+%uO%3rQ(C|O7+%uO){QdO7+%uOOQO7+%o7+%oO:aQ`O7+%oO!-OQ!bO7+%oO%IYQ(ChO7+%uO!@XQ7[O7+%oO%IeQ(ChO7+%uO%IsQ7[O7+%oO%JUQ(ChO7+%uOOQ(C[AN?RAN?RO%JjQMlO<<JTO%JwQMmO1G1yO%MOQMmO1G2[O& SQMmO1G2^O&!rQMlO<<JsO&#PQMlO<<IhOOQO1G1d1G1dOJjQ&jOANAQOOQO7+)r7+)rO&#^Q`O7+)rO&#iQ`O<<NgO&#qQqO7+)tOOQ(CW<<K[<<K[O$1qQ`O<<K[OOQ(CW<<KZ<<KZO&#{QqO<<K[O$1qQ`O<<KZOOQSG26nG26nO#NaQ`OG26nOOQO7+)}7+)}O5tQ`O7+)}O&$SQ`O<<NoOOQSG27ZG27ZO5lQ(ChOG27ZOIWQ&jOG26nOLbQdO1G4_O&$[Q`O7++QO5lQ(ChO1G2xO#6SQ`O1G2xO5bQ`O1G2xO!-OQ!bO1G2xO!@XQ7[O1G2xO%5^Q(DjO1G0ZO&$dQ7[O1G2xO%1bQ`OANAhOOQSANAhANAhOIWQ&jOANAhO&$uQ`OANAhO&$}QqOANAhOOQSANAkANAkO5lQ(ChOANAkO#6SQ`OANAkOOQO'#Gv'#GvOOQO7+)|7+)|OOQSG22vG22vOOQSANAsANAsO&%XQ`OANAsOOQSAND[AND[OOQSAND]AND]OOQS<<Ln<<LnOOQO<<Ia<<IaO%3rQ(C|O<<IaOOQO<<IZ<<IZO:aQ`O<<IZO){QdO<<IaO!-OQ!bO<<IZO&%^Q(ChO<<IaO!@XQ7[O<<IZO&%iQ(ChO<<IaO&%wQMmO7+'eO&'jQMmO7+'gO&)]Q,VOG26lOOQO<<M^<<M^OOQ(CWAN@vAN@vO$1qQ`OAN@vOOQ(CWAN@uAN@uOOQSLD,YLD,YOOQO<<Mi<<MiOOQSLD,uLD,uO#NaQ`OLD,YO&)mQMlO7+)yOOQO7+(d7+(dO5lQ(ChO7+(dO#6SQ`O7+(dO5bQ`O7+(dO!-OQ!bO7+(dO!@XQ7[O7+(dOOQSG27SG27SO%1bQ`OG27SOIWQ&jOG27SOOQSG27VG27VO5lQ(ChOG27VOOQSG27_G27_OOQOAN>{AN>{OOQOAN>uAN>uO%3rQ(C|OAN>{O:aQ`OAN>uO){QdOAN>{O!-OQ!bOAN>uO&)wQ(ChOAN>{O&*SQ(C}OG26lOOQ(CWG26bG26bOOQS!$( t!$( tOOQO<<LO<<LOO5lQ(ChO<<LOO#6SQ`O<<LOO5bQ`O<<LOO!-OQ!bO<<LOOOQSLD,nLD,nO%1bQ`OLD,nOOQSLD,qLD,qOOQOG24gG24gOOQOG24aG24aO%3rQ(C|OG24gO:aQ`OG24aO){QdOG24gO&,pQ!LRO,5:rO&-gQ$ITO'#IqOOQOANAjANAjO5lQ(ChOANAjO#6SQ`OANAjO5bQ`OANAjOOQS!$(!Y!$(!YOOQOLD*RLD*ROOQOLD){LD){O%3rQ(C|OLD*RO&.ZQMmOG26lO&/|Q!LRO,59jO&0pQ!LRO,5<UO&1dQ!LRO,5<WO&2WQ!LRO,5<fOOQOG27UG27UO5lQ(ChOG27UO#6SQ`OG27UOOQO!$'Mm!$'MmO&2}Q!LRO1G2[O&3qQ!LRO1G2^O&4eQ!LRO1G1yOOQOLD,pLD,pO5lQ(ChOLD,pO&5[Q!LRO7+'eO&6RQ!LRO7+'gOOQO!$(![!$(![O&6xQ!LROG26lOLbQdO'#DrO&7oQtO'#ItOLbQdO'#DjO&7vQ(C|O'#ChO&8aQtO'#ChO&8qQdO,5:vO&:qQ&jO'#EWOLbQdO,5;ROLbQdO,5;ROLbQdO,5;ROLbQdO,5;ROLbQdO,5;ROLbQdO,5;ROLbQdO,5;ROLbQdO,5;ROLbQdO,5;ROLbQdO,5;ROLbQdO,5;ROLbQdO'#IPO&<OQ`O,5<TO&=eQ&jO,5;ROLbQdO,5;fO!(wQ`O'#DOO!(wQ`O'#DOO!(wQ`O'#DOOIWQ&jO'#FjO&:qQ&jO'#FjO&<WQ&jO'#FjOIWQ&jO'#FlO&:qQ&jO'#FlO&<WQ&jO'#FlOIWQ&jO'#FzO&:qQ&jO'#FzO&<WQ&jO'#FzOLbQdO,5?mO&8qQdO1G0bO&=lQMlO'#ChOLbQdO1G1lOIWQ&jO,5<pO&:qQ&jO,5<pO&<WQ&jO,5<pOIWQ&jO,5<rO&:qQ&jO,5<rO&<WQ&jO,5<rOIWQ&jO,5<_O&:qQ&jO,5<_O&<WQ&jO,5<_O&8qQdO1G1mOLbQdO7+&iOIWQ&jO1G1yO&:qQ&jO1G1yO&<WQ&jO1G1yOIWQ&jO1G1{O&:qQ&jO1G1{O&<WQ&jO1G1{O&8qQdO7+'XO&8qQdO7+%|O&=vQ`O7+'pOIWQ&jOANAQO&:qQ&jOANAQO&<WQ&jOANAQO&=vQ`O<<K[O&=vQ`OAN@vO&={Q`O'#E[O&>QQ`O'#E[O&>YQ`O'#EzO&>_Q`O'#EgO&>dQ`O'#JRO&>oQ`O'#JPO&>zQ`O,5:vO&?PQ,VO,5<QO&?WQ`O'#FsO&?]Q`O'#FsO&?bQ`O'#FsO&?gQ`O,5<RO&?oQ`O,5:vO&?wQMlO1G0}O&@OQ`O,5<_O&@TQ`O,5<_O&@YQ`O,5<_O&@_Q`O,5<aO&@dQ`O,5<aO&@iQ`O,5<aO&@nQ`O1G1mO&@sQ`O1G0bO&@xQ`O1G2UO&@}Q,VO<<KfO&AUQ,VO<<KfO&A]Q,VO<<KfO&AdQqO7+'pO&AkQ`O7+'pO&ApQqO<<K[O4QQ&jO'#FhO5bQ`O'#FgOBzQ`O'#EZOLbQdO,5;cO!&WQ`O'#FsO!&WQ`O'#FsO!&WQ`O'#FsO!&WQ`O'#FuO!&WQ`O'#FuO!&WQ`O'#FuO&AwQ`O,5<jOJjQ&jO7+'zOJjQ&jO7+'zOJjQ&jO7+'zOIWQ&jO1G2UO&BPQ`O1G2UOIWQ&jO7+'pO!'VQ7[O'#GOO$/eQqO1G2`O$/eQqO1G2`O$/eQqO1G2`O!'VQ7[O,5<jOIWQ&jO,5<tOIWQ&jO,5<tOIWQ&jO,5<t",stateData:"&B}~O'YOS'ZOSTOSUOS~OQTORTOXyO]cO_hObnOcmOhcOjTOkcOlcOqTOsTOxRO{cO|cO}cO!TSO!_kO!dUO!gTO!hTO!iTO!jTO!kTO!nlO#dsO#tpO#x^O%PqO%RtO%TrO%UrO%XuO%ZvO%^wO%_wO%axO%nzO%t{O%v|O%x}O%z!OO%}!PO&T!QO&Z!RO&]!SO&_!TO&a!UO&c!VO']PO'fQO'oYO'|aO~OQ[XZ[X_[Xj[Xu[Xv[Xx[X!R[X!a[X!b[X!d[X!j[X!{[X#WdX#[[X#][X#^[X#_[X#`[X#a[X#b[X#c[X#e[X#g[X#i[X#j[X#o[X'W[X'f[X'p[X'w[X'x[X~O!]$lX~P$zOS!WO'U!XO'V!ZO~OQTORTO]cOb!kOc!jOhcOjTOkcOlcOqTOsTOxRO{cO|cO}cO!T!bO!_kO!dUO!gTO!hTO!iTO!jTO!kTO!n!iO#t!lO#x^O']![O'fQO'oYO'|aO~O!Q!`O!R!]O!O'jP!O'tP~P'dO!S!mO~P`OQTORTO]cOb!kOc!jOhcOjTOkcOlcOqTOsTOxRO{cO|cO}cO!T!bO!_kO!dUO!gTO!hTO!iTO!jTO!kTO!n!iO#t!lO#x^O']9aO'fQO'oYO'|aO~OQTORTO]cOb!kOc!jOhcOjTOkcOlcOqTOsTOxRO{cO|cO}cO!T!bO!_kO!dUO!gTO!hTO!iTO!jTO!kTO!n!iO#t!lO#x^O'fQO'oYO'|aO~O!Q!rO#U!uO#V!rO']9bO!c'qP~P+{O#W!vO~O!]!wO#W!vO~OQ#^OZ#dOj#ROu!{Ov!{Ox!|O!R#bO!a#TO!b!yO!d!zO!j#^O#[#PO#]#QO#^#QO#_#QO#`#SO#a#TO#b#TO#c#TO#e#UO#g#WO#i#YO#j#ZO'fQO'p#[O'w!}O'x#OO~O_'hX'W'hX!c'hX!O'hX!T'hX%Q'hX!]'hX~P.jO!{#eO#o#eOQ'iXZ'iX_'iXj'iXu'iXv'iXx'iX!R'iX!a'iX!b'iX!d'iX!j'iX#['iX#]'iX#^'iX#_'iX#`'iX#a'iX#b'iX#e'iX#g'iX#i'iX#j'iX'f'iX'p'iX'w'iX'x'iX~O#c'iX'W'iX!O'iX!c'iXn'iX!T'iX%Q'iX!]'iX~P0zO!{#eO~O#z#fO$R#jO~O!T#kO#x^O$U#lO$W#nO~O]#qOh$QOj#rOk#qOl#qOq$ROs$SOx#yO!T#zO!_$XO!d#vO#V$YO#t$VO$_$TO$a$UO$d$WO']#pO'b$PO'f#sO'a'cP~O!d$ZO~O!]$]O~O_$^O'W$^O~O']$bO~O!d$ZO']$bO'^$dO'b$PO~Oc$jO!d$ZO']$bO~O#c#TO~O]$sOu$oO!T$lO!d$nO%R$rO']$bO'^$dO^(UP~O!n$tO~Ox$uO!T$vO']$bO~Ox$uO!T$vO%Z$zO']$bO~O']${O~O#dsO%RtO%TrO%UrO%XuO%ZvO%^wO%_wO~Ob%UOc%TO!n%RO%P%SO%c%QO~P7xOb%XOcmO!T%WO!nlO#dsO%PqO%TrO%UrO%XuO%ZvO%^wO%_wO%axO~O`%[O!{%_O%R%YO'^$dO~P8wO!d%`O!g%dO~O!d%eO~O!TSO~O_$^O'T%mO'W$^O~O_$^O'T%pO'W$^O~O_$^O'T%rO'W$^O~OS!WO'U!XO'V%vO~OQ[XZ[Xj[Xu[Xv[Xx[X!R[X!RdX!a[X!b[X!d[X!j[X!{[X!{dX#WdX#[[X#][X#^[X#_[X#`[X#a[X#b[X#c[X#e[X#g[X#i[X#j[X#o[X'f[X'p[X'w[X'x[X~O!O[X!OdX~P;dO!Q%xO!O&iX!O&nX!R&iX!R&nX~P'dO!R%zO!O'jX~OQ#^OZ#dOj#ROu!{Ov!{Ox!|O!R%zO!a#TO!b!yO!d!zO!j#^O#[#PO#]#QO#^#QO#_#QO#`#SO#a#TO#b#TO#c#TO#e#UO#g#WO#i#YO#j#ZO'fQO'p#[O'w!}O'x#OO~O!O'jX~P>aO!O&PO~Ox&SO!W&^O!X&VO!Y&VO'^$dO~O]&TOk&TO!Q&WO'g&QO!S'kP!S'vP~P@dO!O'sX!R'sX!]'sX!c'sX'p'sX~O!{'sX#W#PX!S'sX~PA]O!{&_O!O'uX!R'uX~O!R&`O!O'tX~O!O&cO~O!{#eO~PA]OP&gO!T&dO!o&fO']$bO~Oc&lO!d$ZO']$bO~Ou$oO!d$nO~O!S&mO~P`Ou!{Ov!{Ox!|O!b!yO!d!zO'fQOQ!faZ!faj!fa!R!fa!a!fa!j!fa#[!fa#]!fa#^!fa#_!fa#`!fa#a!fa#b!fa#c!fa#e!fa#g!fa#i!fa#j!fa'p!fa'w!fa'x!fa~O_!fa'W!fa!O!fa!c!fan!fa!T!fa%Q!fa!]!fa~PCfO!c&nO~O!]!wO!{&pO'p&oO!R'rX_'rX'W'rX~O!c'rX~PFOO!R&tO!c'qX~O!c&vO~Ox$uO!T$vO#V&wO']$bO~OQTORTO]cOb!kOc!jOhcOjTOkcOlcOqTOsTOxRO{cO|cO}cO!TSO!_kO!dUO!gTO!hTO!iTO!jTO!kTO!n!iO#t!lO#x^O']9aO'fQO'oYO'|aO~O]#qOh$QOj#rOk#qOl#qOq$ROs9tOx#yO!T#zO!_;eO!d#vO#V9}O#t$VO$_9wO$a9zO$d$WO']&{O'b$PO'f#sO~O#W&}O~O]#qOh$QOj#rOk#qOl#qOq$ROs$SOx#yO!T#zO!_$XO!d#vO#V$YO#t$VO$_$TO$a$UO$d$WO']&{O'b$PO'f#sO~O'a'mP~PJjO!Q'RO!c'nP~P){O'g'TO'oYO~OQ9^OR9^O]cOb;`Oc!jOhcOj9^OkcOlcOq9^Os9^OxRO{cO|cO}cO!T!bO!_9`O!dUO!g9^O!h9^O!i9^O!j9^O!k9^O!n!iO#t!lO#x^O']'cO'fQO'oYO'|;^O~O!d!zO~O!R#bO_$]a'W$]a!c$]a!O$]a!T$]a%Q$]a!]$]a~O#d'jO~PIWO!]'lO!T'yX#w'yX#z'yX$R'yX~Ou'mO~P! YOu'mO!T'yX#w'yX#z'yX$R'yX~O!T'oO#w'sO#z'nO$R'tO~O!Q'wO~PLbO#z#fO$R'zO~OP$eXu$eXx$eX!b$eX'w$eX'x$eX~OPfX!RfX!{fX'afX'a$eX~P!!rOk'|O~OS'}O'U(OO'V(QO~OP(ZOu(SOx(TO'w(VO'x(XO~O'a(RO~P!#{O'a([O~O]#qOh$QOj#rOk#qOl#qOq$ROs9tOx#yO!T#zO!_;eO!d#vO#V9}O#t$VO$_9wO$a9zO$d$WO'b$PO'f#sO~O!Q(`O'](]O!c'}P~P!$jO#W(bO~O!d(cO~O!Q(hO'](eO!O(OP~P!$jOj(uOx(mO!W(sO!X(lO!Y(lO!d(cO!x(tO$w(oO'^$dO'g(jO~O!S(rO~P!&jO!b!yOP'eXu'eXx'eX'w'eX'x'eX!R'eX!{'eX~O'a'eX#m'eX~P!'cOP(xO!{(wO!R'dX'a'dX~O!R(yO'a'cX~O']${O'a'cP~O'](|O~O!d)RO~O']&{O~Ox$uO!Q!rO!T$vO#U!uO#V!rO']$bO!c'qP~O!]!wO#W)VO~OQ#^OZ#dOj#ROu!{Ov!{Ox!|O!a#TO!b!yO!d!zO!j#^O#[#PO#]#QO#^#QO#_#QO#`#SO#a#TO#b#TO#c#TO#e#UO#g#WO#i#YO#j#ZO'fQO'p#[O'w!}O'x#OO~O_!^a!R!^a'W!^a!O!^a!c!^an!^a!T!^a%Q!^a!]!^a~P!)wOP)_O!T&dO!o)^O%Q)]O'b$PO~O!])aO!T'`X_'`X!R'`X'W'`X~O!d$ZO'b$PO~O!d$ZO']$bO'b$PO~O!]!wO#W&}O~O])lO%R)mO'])iO!S(VP~O!R)nO^(UX~O'g'TO~OZ)rO~O^)sO~O!T$lO']$bO'^$dO^(UP~Ox$uO!Q)xO!R&`O!T$vO']$bO!O'tP~O]&ZOk&ZO!Q)yO'g'TO!S'vP~O!R)zO_(RX'W(RX~O!{*OO'b$PO~OP*RO!T#zO'b$PO~O!T*TO~Ou*VO!TSO~O!n*[O~Oc*aO~O'](|O!S(TP~Oc$jO~O%RtO']${O~P8wOZ*gO^*fO~OQTORTO]cObnOcmOhcOjTOkcOlcOqTOsTOxRO{cO|cO}cO!_kO!dUO!gTO!hTO!iTO!jTO!kTO!nlO#x^O%PqO'fQO'oYO'|aO~O!T!bO#t!lO']9aO~P!1_O^*fO_$^O'W$^O~O_*kO#d*mO%T*mO%U*mO~P){O!d%`O~O%t*rO~O!T*tO~O&V*vO&X*wOQ&SaR&SaX&Sa]&Sa_&Sab&Sac&Sah&Saj&Sak&Sal&Saq&Sas&Sax&Sa{&Sa|&Sa}&Sa!T&Sa!_&Sa!d&Sa!g&Sa!h&Sa!i&Sa!j&Sa!k&Sa!n&Sa#d&Sa#t&Sa#x&Sa%P&Sa%R&Sa%T&Sa%U&Sa%X&Sa%Z&Sa%^&Sa%_&Sa%a&Sa%n&Sa%t&Sa%v&Sa%x&Sa%z&Sa%}&Sa&T&Sa&Z&Sa&]&Sa&_&Sa&a&Sa&c&Sa'S&Sa']&Sa'f&Sa'o&Sa'|&Sa!S&Sa%{&Sa`&Sa&Q&Sa~O']*|O~On+PO~O!O&ia!R&ia~P!)wO!Q+TO!O&iX!R&iX~P){O!R%zO!O'ja~O!O'ja~P>aO!R&`O!O'ta~O!RwX!R!ZX!SwX!S!ZX!]wX!]!ZX!d!ZX!{wX'b!ZX~O!]+YO!{+XO!R#TX!R'lX!S#TX!S'lX!]'lX!d'lX'b'lX~O!]+[O!d$ZO'b$PO!R!VX!S!VX~O]&ROk&ROx&SO'g(jO~OQ9^OR9^O]cOb;`Oc!jOhcOj9^OkcOlcOq9^Os9^OxRO{cO|cO}cO!T!bO!_9`O!dUO!g9^O!h9^O!i9^O!j9^O!k9^O!n!iO#t!lO#x^O'fQO'oYO'|;^O~O']:SO~P!;jO!R+`O!S'kX~O!S+bO~O!]+YO!{+XO!R#TX!S#TX~O!R+cO!S'vX~O!S+eO~O]&ROk&ROx&SO'^$dO'g(jO~O!X+fO!Y+fO~P!>hOx$uO!Q+hO!T$vO']$bO!O&nX!R&nX~O_+lO!W+oO!X+kO!Y+kO!r+sO!s+qO!t+rO!u+pO!x+tO'^$dO'g(jO'o+iO~O!S+nO~P!?iOP+yO!T&dO!o+xO~O!{,PO!R'ra!c'ra_'ra'W'ra~O!]!wO~P!@sO!R&tO!c'qa~Ox$uO!Q,SO!T$vO#U,UO#V,SO']$bO!R&pX!c&pX~O_#Oi!R#Oi'W#Oi!O#Oi!c#Oin#Oi!T#Oi%Q#Oi!]#Oi~P!)wOP;tOu(SOx(TO'w(VO'x(XO~O#W!za!R!za!c!za!{!za!T!za_!za'W!za!O!za~P!BpO#W'eXQ'eXZ'eX_'eXj'eXv'eX!a'eX!d'eX!j'eX#['eX#]'eX#^'eX#_'eX#`'eX#a'eX#b'eX#c'eX#e'eX#g'eX#i'eX#j'eX'W'eX'f'eX'p'eX!c'eX!O'eX!T'eXn'eX%Q'eX!]'eX~P!'cO!R,_O'a'mX~P!#{O'a,aO~O!R,bO!c'nX~P!)wO!c,eO~O!O,fO~OQ#^Ou!{Ov!{Ox!|O!b!yO!d!zO!j#^O'fQOZ#Zi_#Zij#Zi!R#Zi!a#Zi#]#Zi#^#Zi#_#Zi#`#Zi#a#Zi#b#Zi#c#Zi#e#Zi#g#Zi#i#Zi#j#Zi'W#Zi'p#Zi'w#Zi'x#Zi!O#Zi!c#Zin#Zi!T#Zi%Q#Zi!]#Zi~O#[#Zi~P!FfO#[#PO~P!FfOQ#^Ou!{Ov!{Ox!|O!b!yO!d!zO!j#^O#[#PO#]#QO#^#QO#_#QO'fQOZ#Zi_#Zi!R#Zi!a#Zi#`#Zi#a#Zi#b#Zi#c#Zi#e#Zi#g#Zi#i#Zi#j#Zi'W#Zi'p#Zi'w#Zi'x#Zi!O#Zi!c#Zin#Zi!T#Zi%Q#Zi!]#Zi~Oj#Zi~P!IQOj#RO~P!IQOQ#^Oj#ROu!{Ov!{Ox!|O!b!yO!d!zO!j#^O#[#PO#]#QO#^#QO#_#QO#`#SO'fQO_#Zi!R#Zi#e#Zi#g#Zi#i#Zi#j#Zi'W#Zi'p#Zi'w#Zi'x#Zi!O#Zi!c#Zin#Zi!T#Zi%Q#Zi!]#Zi~OZ#Zi!a#Zi#a#Zi#b#Zi#c#Zi~P!KlOZ#dO!a#TO#a#TO#b#TO#c#TO~P!KlOQ#^OZ#dOj#ROu!{Ov!{Ox!|O!a#TO!b!yO!d!zO!j#^O#[#PO#]#QO#^#QO#_#QO#`#SO#a#TO#b#TO#c#TO#e#UO'fQO_#Zi!R#Zi#g#Zi#i#Zi#j#Zi'W#Zi'p#Zi'x#Zi!O#Zi!c#Zin#Zi!T#Zi%Q#Zi!]#Zi~O'w#Zi~P!NdO'w!}O~P!NdOQ#^OZ#dOj#ROu!{Ov!{Ox!|O!a#TO!b!yO!d!zO!j#^O#[#PO#]#QO#^#QO#_#QO#`#SO#a#TO#b#TO#c#TO#e#UO#g#WO'fQO'w!}O_#Zi!R#Zi#i#Zi#j#Zi'W#Zi'p#Zi!O#Zi!c#Zin#Zi!T#Zi%Q#Zi!]#Zi~O'x#Zi~P##OO'x#OO~P##OOQ#^OZ#dOj#ROu!{Ov!{Ox!|O!a#TO!b!yO!d!zO!j#^O#[#PO#]#QO#^#QO#_#QO#`#SO#a#TO#b#TO#c#TO#e#UO#g#WO#i#YO'fQO'w!}O'x#OO~O_#Zi!R#Zi#j#Zi'W#Zi'p#Zi!O#Zi!c#Zin#Zi!T#Zi%Q#Zi!]#Zi~P#%jOQ[XZ[Xj[Xu[Xv[Xx[X!a[X!b[X!d[X!j[X!{[X#WdX#[[X#][X#^[X#_[X#`[X#a[X#b[X#c[X#e[X#g[X#i[X#j[X#o[X'f[X'p[X'w[X'x[X!R[X!S[X~O#m[X~P#'}OQ#^OZ9rOj9gOu!{Ov!{Ox!|O!a9iO!b!yO!d!zO!j#^O#[9eO#]9fO#^9fO#_9fO#`9hO#a9iO#b9iO#c9iO#e9jO#g9lO#i9nO#j9oO'fQO'p#[O'w!}O'x#OO~O#m,hO~P#*XOQ'iXZ'iXj'iXu'iXv'iXx'iX!a'iX!b'iX!d'iX!j'iX#['iX#]'iX#^'iX#_'iX#`'iX#a'iX#b'iX#e'iX#g'iX#i'iX#j'iX'f'iX'p'iX'w'iX'x'iX!R'iX~O!{9sO#o9sO#c'iX#m'iX!S'iX~P#,SO_&sa!R&sa'W&sa!c&san&sa!O&sa!T&sa%Q&sa!]&sa~P!)wOQ#ZiZ#Zi_#Zij#Ziv#Zi!R#Zi!a#Zi!b#Zi!d#Zi!j#Zi#[#Zi#]#Zi#^#Zi#_#Zi#`#Zi#a#Zi#b#Zi#c#Zi#e#Zi#g#Zi#i#Zi#j#Zi'W#Zi'f#Zi'p#Zi!O#Zi!c#Zin#Zi!T#Zi%Q#Zi!]#Zi~P!BpO_#ni!R#ni'W#ni!O#ni!c#nin#ni!T#ni%Q#ni!]#ni~P!)wO#z,jO~O#z,kO~O!]'lO!{,lO!T$OX#w$OX#z$OX$R$OX~O!Q,mO~O!T'oO#w,oO#z'nO$R,pO~O!R9pO!S'hX~P#*XO!S,qO~O$R,sO~OS'}O'U(OO'V,vO~O],yOk,yO!O,zO~O!RdX!]dX!cdX!c$eX'pdX~P!!rO!c-QO~P!BpO!R-RO!]!wO'p&oO!c'}X~O!c-WO~O!Q(`O']$bO!c'}P~O#W-YO~O!O$eX!R$eX!]$lX~P!!rO!R-ZO!O(OX~P!BpO!]-]O~O!O-_O~Oj-cO!]!wO!d$ZO'b$PO'p&oO~O!])aO~O_$^O!R-hO'W$^O~O!S-jO~P!&jO!X-kO!Y-kO'^$dO'g(jO~Ox-mO'g(jO~O!x-nO~O']${O!R&xX'a&xX~O!R(yO'a'ca~O'a-sO~Ou-tOv-tOx-uOPra'wra'xra!Rra!{ra~O'ara#mra~P#7pOu(SOx(TOP$^a'w$^a'x$^a!R$^a!{$^a~O'a$^a#m$^a~P#8fOu(SOx(TOP$`a'w$`a'x$`a!R$`a!{$`a~O'a$`a#m$`a~P#9XO]-vO~O#W-wO~O'a$na!R$na!{$na#m$na~P!#{O#W-zO~OP.TO!T&dO!o.SO%Q.RO~O]#qOj#rOk#qOl#qOq$ROs9tOx#yO!T#zO!_;eO!d#vO#V9}O#t$VO$_9wO$a9zO$d$WO'b$PO'f#sO~Oh.VO'].UO~P#:yO!])aO!T'`a_'`a!R'`a'W'`a~O#W.]O~OZ[X!RdX!SdX~O!R.^O!S(VX~O!S.`O~OZ.aO~O].cO'])iO~O!T$lO']$bO^'QX!R'QX~O!R)nO^(Ua~O!c.fO~P!)wO].hO~OZ.iO~O^.jO~OP.TO!T&dO!o.SO%Q.RO'b$PO~O!R)zO_(Ra'W(Ra~O!{.pO~OP.sO!T#zO~O'g'TO!S(SP~OP.}O!T.yO!o.|O%Q.{O'b$PO~OZ/XO!R/VO!S(TX~O!S/YO~O^/[O_$^O'W$^O~O]/]O~O]/^O'](|O~O#c/_O%r/`O~P0zO!{#eO#c/_O%r/`O~O_/aO~P){O_/cO~O%{/gOQ%yiR%yiX%yi]%yi_%yib%yic%yih%yij%yik%yil%yiq%yis%yix%yi{%yi|%yi}%yi!T%yi!_%yi!d%yi!g%yi!h%yi!i%yi!j%yi!k%yi!n%yi#d%yi#t%yi#x%yi%P%yi%R%yi%T%yi%U%yi%X%yi%Z%yi%^%yi%_%yi%a%yi%n%yi%t%yi%v%yi%x%yi%z%yi%}%yi&T%yi&Z%yi&]%yi&_%yi&a%yi&c%yi'S%yi']%yi'f%yi'o%yi'|%yi!S%yi`%yi&Q%yi~O`/mO!S/kO&Q/lO~P`O!TSO!d/oO~O&X*wOQ&SiR&SiX&Si]&Si_&Sib&Sic&Sih&Sij&Sik&Sil&Siq&Sis&Six&Si{&Si|&Si}&Si!T&Si!_&Si!d&Si!g&Si!h&Si!i&Si!j&Si!k&Si!n&Si#d&Si#t&Si#x&Si%P&Si%R&Si%T&Si%U&Si%X&Si%Z&Si%^&Si%_&Si%a&Si%n&Si%t&Si%v&Si%x&Si%z&Si%}&Si&T&Si&Z&Si&]&Si&_&Si&a&Si&c&Si'S&Si']&Si'f&Si'o&Si'|&Si!S&Si%{&Si`&Si&Q&Si~O!R#bOn$]a~O!O&ii!R&ii~P!)wO!R%zO!O'ji~O!R&`O!O'ti~O!O/uO~O!R!Va!S!Va~P#*XO]&ROk&RO!Q/{O'g(jO!R&jX!S&jX~P@dO!R+`O!S'ka~O]&ZOk&ZO!Q)yO'g'TO!R&oX!S&oX~O!R+cO!S'va~O!O'ui!R'ui~P!)wO_$^O!]!wO!d$ZO!j0VO!{0TO'W$^O'b$PO'p&oO~O!S0YO~P!?iO!X0ZO!Y0ZO'^$dO'g(jO'o+iO~O!W0[O~P#MSO!TSO!W0[O!u0^O!x0_O~P#MSO!W0[O!s0aO!t0aO!u0^O!x0_O~P#MSO!T&dO~O!T&dO~P!BpO!R'ri!c'ri_'ri'W'ri~P!)wO!{0jO!R'ri!c'ri_'ri'W'ri~O!R&tO!c'qi~Ox$uO!T$vO#V0lO']$bO~O#WraQraZra_rajra!ara!bra!dra!jra#[ra#]ra#^ra#_ra#`ra#ara#bra#cra#era#gra#ira#jra'Wra'fra'pra!cra!Ora!Tranra%Qra!]ra~P#7pO#W$^aQ$^aZ$^a_$^aj$^av$^a!a$^a!b$^a!d$^a!j$^a#[$^a#]$^a#^$^a#_$^a#`$^a#a$^a#b$^a#c$^a#e$^a#g$^a#i$^a#j$^a'W$^a'f$^a'p$^a!c$^a!O$^a!T$^an$^a%Q$^a!]$^a~P#8fO#W$`aQ$`aZ$`a_$`aj$`av$`a!a$`a!b$`a!d$`a!j$`a#[$`a#]$`a#^$`a#_$`a#`$`a#a$`a#b$`a#c$`a#e$`a#g$`a#i$`a#j$`a'W$`a'f$`a'p$`a!c$`a!O$`a!T$`an$`a%Q$`a!]$`a~P#9XO#W$naQ$naZ$na_$naj$nav$na!R$na!a$na!b$na!d$na!j$na#[$na#]$na#^$na#_$na#`$na#a$na#b$na#c$na#e$na#g$na#i$na#j$na'W$na'f$na'p$na!c$na!O$na!T$na!{$nan$na%Q$na!]$na~P!BpO_#Oq!R#Oq'W#Oq!O#Oq!c#Oqn#Oq!T#Oq%Q#Oq!]#Oq~P!)wO!R&kX'a&kX~PJjO!R,_O'a'ma~O!Q0tO!R&lX!c&lX~P){O!R,bO!c'na~O!R,bO!c'na~P!)wO#m!fa!S!fa~PCfO#m!^a!R!^a!S!^a~P#*XO!T1XO#x^O$P1YO~O!S1^O~On1_O~P!BpO_$Yq!R$Yq'W$Yq!O$Yq!c$Yqn$Yq!T$Yq%Q$Yq!]$Yq~P!)wO!O1`O~O],yOk,yO~Ou(SOx(TO'x(XOP$xi'w$xi!R$xi!{$xi~O'a$xi#m$xi~P$.POu(SOx(TOP$zi'w$zi'x$zi!R$zi!{$zi~O'a$zi#m$zi~P$.rO'p#[O~P!BpO!Q1cO']$bO!R&tX!c&tX~O!R-RO!c'}a~O!R-RO!]!wO!c'}a~O!R-RO!]!wO'p&oO!c'}a~O'a$gi!R$gi!{$gi#m$gi~P!#{O!Q1kO'](eO!O&vX!R&vX~P!$jO!R-ZO!O(Oa~O!R-ZO!O(Oa~P!BpO!]!wO~O!]!wO#c1sO~Oj1vO!]!wO'p&oO~O!R'di'a'di~P!#{O!{1yO!R'di'a'di~P!#{O!c1|O~O_$Zq!R$Zq'W$Zq!O$Zq!c$Zqn$Zq!T$Zq%Q$Zq!]$Zq~P!)wO!R2QO!T(PX~P!BpO!T&dO%Q2TO~O!T&dO%Q2TO~P!BpO!T$eX$u[X_$eX!R$eX'W$eX~P!!rO$u2XOPgXugXxgX!TgX'wgX'xgX_gX!RgX'WgX~O$u2XO~O]2_O%R2`O'])iO!R'PX!S'PX~O!R.^O!S(Va~OZ2dO~O^2eO~O]2hO~OP2jO!T&dO!o2iO%Q2TO~O_$^O'W$^O~P!BpO!T#zO~P!BpO!R2oO!{2qO!S(SX~O!S2rO~Ox;oO!W2{O!X2tO!Y2tO!r2zO!s2yO!t2yO!x2xO'^$dO'g(jO'o+iO~O!S2wO~P$7ZOP3SO!T.yO!o3RO%Q3QO~OP3SO!T.yO!o3RO%Q3QO'b$PO~O'](|O!R'OX!S'OX~O!R/VO!S(Ta~O]3^O'g3]O~O]3_O~O^3aO~O!c3dO~P){O_3fO~O_3fO~P){O#c3hO%r3iO~PFOO`/mO!S3mO&Q/lO~P`O!]3oO~O!R#Ti!S#Ti~P#*XO!{3qO!R#Ti!S#Ti~O!R!Vi!S!Vi~P#*XO_$^O!{3xO'W$^O~O_$^O!]!wO!{3xO'W$^O~O!X3|O!Y3|O'^$dO'g(jO'o+iO~O_$^O!]!wO!d$ZO!j3}O!{3xO'W$^O'b$PO'p&oO~O!W4OO~P$;xO!W4OO!u4RO!x4SO~P$;xO_$^O!]!wO!j3}O!{3xO'W$^O'p&oO~O!R'rq!c'rq_'rq'W'rq~P!)wO!R&tO!c'qq~O#W$xiQ$xiZ$xi_$xij$xiv$xi!a$xi!b$xi!d$xi!j$xi#[$xi#]$xi#^$xi#_$xi#`$xi#a$xi#b$xi#c$xi#e$xi#g$xi#i$xi#j$xi'W$xi'f$xi'p$xi!c$xi!O$xi!T$xin$xi%Q$xi!]$xi~P$.PO#W$ziQ$ziZ$zi_$zij$ziv$zi!a$zi!b$zi!d$zi!j$zi#[$zi#]$zi#^$zi#_$zi#`$zi#a$zi#b$zi#c$zi#e$zi#g$zi#i$zi#j$zi'W$zi'f$zi'p$zi!c$zi!O$zi!T$zin$zi%Q$zi!]$zi~P$.rO#W$giQ$giZ$gi_$gij$giv$gi!R$gi!a$gi!b$gi!d$gi!j$gi#[$gi#]$gi#^$gi#_$gi#`$gi#a$gi#b$gi#c$gi#e$gi#g$gi#i$gi#j$gi'W$gi'f$gi'p$gi!c$gi!O$gi!T$gi!{$gin$gi%Q$gi!]$gi~P!BpO!R&ka'a&ka~P!#{O!R&la!c&la~P!)wO!R,bO!c'ni~O#m#Oi!R#Oi!S#Oi~P#*XOQ#^Ou!{Ov!{Ox!|O!b!yO!d!zO!j#^O'fQOZ#Zij#Zi!a#Zi#]#Zi#^#Zi#_#Zi#`#Zi#a#Zi#b#Zi#c#Zi#e#Zi#g#Zi#i#Zi#j#Zi#m#Zi'p#Zi'w#Zi'x#Zi!R#Zi!S#Zi~O#[#Zi~P$EiO#[9eO~P$EiOQ#^Ou!{Ov!{Ox!|O!b!yO!d!zO!j#^O#[9eO#]9fO#^9fO#_9fO'fQOZ#Zi!a#Zi#`#Zi#a#Zi#b#Zi#c#Zi#e#Zi#g#Zi#i#Zi#j#Zi#m#Zi'p#Zi'w#Zi'x#Zi!R#Zi!S#Zi~Oj#Zi~P$GqOj9gO~P$GqOQ#^Oj9gOu!{Ov!{Ox!|O!b!yO!d!zO!j#^O#[9eO#]9fO#^9fO#_9fO#`9hO'fQO#e#Zi#g#Zi#i#Zi#j#Zi#m#Zi'p#Zi'w#Zi'x#Zi!R#Zi!S#Zi~OZ#Zi!a#Zi#a#Zi#b#Zi#c#Zi~P$IyOZ9rO!a9iO#a9iO#b9iO#c9iO~P$IyOQ#^OZ9rOj9gOu!{Ov!{Ox!|O!a9iO!b!yO!d!zO!j#^O#[9eO#]9fO#^9fO#_9fO#`9hO#a9iO#b9iO#c9iO#e9jO'fQO#g#Zi#i#Zi#j#Zi#m#Zi'p#Zi'x#Zi!R#Zi!S#Zi~O'w#Zi~P$L_O'w!}O~P$L_OQ#^OZ9rOj9gOu!{Ov!{Ox!|O!a9iO!b!yO!d!zO!j#^O#[9eO#]9fO#^9fO#_9fO#`9hO#a9iO#b9iO#c9iO#e9jO#g9lO'fQO'w!}O#i#Zi#j#Zi#m#Zi'p#Zi!R#Zi!S#Zi~O'x#Zi~P$NgO'x#OO~P$NgOQ#^OZ9rOj9gOu!{Ov!{Ox!|O!a9iO!b!yO!d!zO!j#^O#[9eO#]9fO#^9fO#_9fO#`9hO#a9iO#b9iO#c9iO#e9jO#g9lO#i9nO'fQO'w!}O'x#OO~O#j#Zi#m#Zi'p#Zi!R#Zi!S#Zi~P%!oO_#ky!R#ky'W#ky!O#ky!c#kyn#ky!T#ky%Q#ky!]#ky~P!)wOP;vOu(SOx(TO'w(VO'x(XO~OQ#ZiZ#Zij#Ziv#Zi!a#Zi!b#Zi!d#Zi!j#Zi#[#Zi#]#Zi#^#Zi#_#Zi#`#Zi#a#Zi#b#Zi#c#Zi#e#Zi#g#Zi#i#Zi#j#Zi#m#Zi'f#Zi'p#Zi!R#Zi!S#Zi~P%%aO!b!yOP'eXu'eXx'eX'w'eX'x'eX!S'eX~OQ'eXZ'eXj'eXv'eX!a'eX!d'eX!j'eX#['eX#]'eX#^'eX#_'eX#`'eX#a'eX#b'eX#c'eX#e'eX#g'eX#i'eX#j'eX#m'eX'f'eX'p'eX!R'eX~P%'eO#m#ni!R#ni!S#ni~P#*XO!S4eO~O!R&sa!S&sa~P#*XO!]!wO'p&oO!R&ta!c&ta~O!R-RO!c'}i~O!R-RO!]!wO!c'}i~O'a$gq!R$gq!{$gq#m$gq~P!#{O!O&va!R&va~P!BpO!]4lO~O!R-ZO!O(Oi~P!BpO!R-ZO!O(Oi~O!O4pO~O!]!wO#c4uO~Oj4vO!]!wO'p&oO~O!O4xO~O'a$iq!R$iq!{$iq#m$iq~P!#{O_$Zy!R$Zy'W$Zy!O$Zy!c$Zyn$Zy!T$Zy%Q$Zy!]$Zy~P!)wO!R2QO!T(Pa~O!T&dO%Q4}O~O!T&dO%Q4}O~P!BpO_#Oy!R#Oy'W#Oy!O#Oy!c#Oyn#Oy!T#Oy%Q#Oy!]#Oy~P!)wOZ5QO~O]5SO'])iO~O!R.^O!S(Vi~O]5VO~O^5WO~O'g'TO!R&{X!S&{X~O!R2oO!S(Sa~O!S5eO~P$7ZOx;sO'g(jO'o+iO~O!W5hO!X5gO!Y5gO!x0_O'^$dO'g(jO'o+iO~O!s5iO!t5iO~P%0^O!X5gO!Y5gO'^$dO'g(jO'o+iO~O!T.yO~O!T.yO%Q5kO~O!T.yO%Q5kO~P!BpOP5pO!T.yO!o5oO%Q5kO~OZ5uO!R'Oa!S'Oa~O!R/VO!S(Ti~O]5xO~O!c5yO~O!c5zO~O!c5{O~O!c5{O~P){O_5}O~O!]6QO~O!c6RO~O!R'ui!S'ui~P#*XO_$^O'W$^O~P!)wO_$^O!{6WO'W$^O~O_$^O!]!wO!{6WO'W$^O~O!X6]O!Y6]O'^$dO'g(jO'o+iO~O_$^O!]!wO!j6^O!{6WO'W$^O'p&oO~O!d$ZO'b$PO~P%4xO!W6_O~P%4gO!R'ry!c'ry_'ry'W'ry~P!)wO#W$gqQ$gqZ$gq_$gqj$gqv$gq!R$gq!a$gq!b$gq!d$gq!j$gq#[$gq#]$gq#^$gq#_$gq#`$gq#a$gq#b$gq#c$gq#e$gq#g$gq#i$gq#j$gq'W$gq'f$gq'p$gq!c$gq!O$gq!T$gq!{$gqn$gq%Q$gq!]$gq~P!BpO#W$iqQ$iqZ$iq_$iqj$iqv$iq!R$iq!a$iq!b$iq!d$iq!j$iq#[$iq#]$iq#^$iq#_$iq#`$iq#a$iq#b$iq#c$iq#e$iq#g$iq#i$iq#j$iq'W$iq'f$iq'p$iq!c$iq!O$iq!T$iq!{$iqn$iq%Q$iq!]$iq~P!BpO!R&li!c&li~P!)wO#m#Oq!R#Oq!S#Oq~P#*XOu-tOv-tOx-uOPra'wra'xra!Sra~OQraZrajra!ara!bra!dra!jra#[ra#]ra#^ra#_ra#`ra#ara#bra#cra#era#gra#ira#jra#mra'fra'pra!Rra~P%;OOu(SOx(TOP$^a'w$^a'x$^a!S$^a~OQ$^aZ$^aj$^av$^a!a$^a!b$^a!d$^a!j$^a#[$^a#]$^a#^$^a#_$^a#`$^a#a$^a#b$^a#c$^a#e$^a#g$^a#i$^a#j$^a#m$^a'f$^a'p$^a!R$^a~P%=SOu(SOx(TOP$`a'w$`a'x$`a!S$`a~OQ$`aZ$`aj$`av$`a!a$`a!b$`a!d$`a!j$`a#[$`a#]$`a#^$`a#_$`a#`$`a#a$`a#b$`a#c$`a#e$`a#g$`a#i$`a#j$`a#m$`a'f$`a'p$`a!R$`a~P%?WOQ$naZ$naj$nav$na!a$na!b$na!d$na!j$na#[$na#]$na#^$na#_$na#`$na#a$na#b$na#c$na#e$na#g$na#i$na#j$na#m$na'f$na'p$na!R$na!S$na~P%%aO#m$Yq!R$Yq!S$Yq~P#*XO#m$Zq!R$Zq!S$Zq~P#*XO!S6hO~O#m6iO~P!#{O!]!wO!R&ti!c&ti~O!]!wO'p&oO!R&ti!c&ti~O!R-RO!c'}q~O!O&vi!R&vi~P!BpO!R-ZO!O(Oq~O!O6oO~P!BpO!O6oO~O!R'dy'a'dy~P!#{O!R&ya!T&ya~P!BpO!T$tq_$tq!R$tq'W$tq~P!BpOZ6vO~O!R.^O!S(Vq~O]6yO~O!T&dO%Q6zO~O!T&dO%Q6zO~P!BpO!{6{O!R&{a!S&{a~O!R2oO!S(Si~P#*XO!X7RO!Y7RO'^$dO'g(jO'o+iO~O!W7TO!x4SO~P%GXO!T.yO%Q7WO~O!T.yO%Q7WO~P!BpO]7_O'g7^O~O!R/VO!S(Tq~O!c7aO~O!c7aO~P){O!c7cO~O!c7dO~O!R#Ty!S#Ty~P#*XO_$^O!{7jO'W$^O~O_$^O!]!wO!{7jO'W$^O~O!X7mO!Y7mO'^$dO'g(jO'o+iO~O_$^O!]!wO!j7nO!{7jO'W$^O'p&oO~O#m#ky!R#ky!S#ky~P#*XOQ$giZ$gij$giv$gi!a$gi!b$gi!d$gi!j$gi#[$gi#]$gi#^$gi#_$gi#`$gi#a$gi#b$gi#c$gi#e$gi#g$gi#i$gi#j$gi#m$gi'f$gi'p$gi!R$gi!S$gi~P%%aOu(SOx(TO'x(XOP$xi'w$xi!S$xi~OQ$xiZ$xij$xiv$xi!a$xi!b$xi!d$xi!j$xi#[$xi#]$xi#^$xi#_$xi#`$xi#a$xi#b$xi#c$xi#e$xi#g$xi#i$xi#j$xi#m$xi'f$xi'p$xi!R$xi~P%LjOu(SOx(TOP$zi'w$zi'x$zi!S$zi~OQ$ziZ$zij$ziv$zi!a$zi!b$zi!d$zi!j$zi#[$zi#]$zi#^$zi#_$zi#`$zi#a$zi#b$zi#c$zi#e$zi#g$zi#i$zi#j$zi#m$zi'f$zi'p$zi!R$zi~P%NnO#m$Zy!R$Zy!S$Zy~P#*XO#m#Oy!R#Oy!S#Oy~P#*XO!]!wO!R&tq!c&tq~O!R-RO!c'}y~O!O&vq!R&vq~P!BpO!O7tO~P!BpO!R.^O!S(Vy~O!R2oO!S(Sq~O!X8QO!Y8QO'^$dO'g(jO'o+iO~O!T.yO%Q8TO~O!T.yO%Q8TO~P!BpO!c8WO~O_$^O!{8]O'W$^O~O_$^O!]!wO!{8]O'W$^O~OQ$gqZ$gqj$gqv$gq!a$gq!b$gq!d$gq!j$gq#[$gq#]$gq#^$gq#_$gq#`$gq#a$gq#b$gq#c$gq#e$gq#g$gq#i$gq#j$gq#m$gq'f$gq'p$gq!R$gq!S$gq~P%%aOQ$iqZ$iqj$iqv$iq!a$iq!b$iq!d$iq!j$iq#[$iq#]$iq#^$iq#_$iq#`$iq#a$iq#b$iq#c$iq#e$iq#g$iq#i$iq#j$iq#m$iq'f$iq'p$iq!R$iq!S$iq~P%%aO'a$|!Z!R$|!Z!{$|!Z#m$|!Z~P!#{O!R&{q!S&{q~P#*XO_$^O!{8oO'W$^O~O#W$|!ZQ$|!ZZ$|!Z_$|!Zj$|!Zv$|!Z!R$|!Z!a$|!Z!b$|!Z!d$|!Z!j$|!Z#[$|!Z#]$|!Z#^$|!Z#_$|!Z#`$|!Z#a$|!Z#b$|!Z#c$|!Z#e$|!Z#g$|!Z#i$|!Z#j$|!Z'W$|!Z'f$|!Z'p$|!Z!c$|!Z!O$|!Z!T$|!Z!{$|!Zn$|!Z%Q$|!Z!]$|!Z~P!BpOP;uOu(SOx(TO'w(VO'x(XO~O!S!za!W!za!X!za!Y!za!r!za!s!za!t!za!x!za'^!za'g!za'o!za~P&,_O!W'eX!X'eX!Y'eX!r'eX!s'eX!t'eX!x'eX'^'eX'g'eX'o'eX~P%'eOQ$|!ZZ$|!Zj$|!Zv$|!Z!a$|!Z!b$|!Z!d$|!Z!j$|!Z#[$|!Z#]$|!Z#^$|!Z#_$|!Z#`$|!Z#a$|!Z#b$|!Z#c$|!Z#e$|!Z#g$|!Z#i$|!Z#j$|!Z#m$|!Z'f$|!Z'p$|!Z!R$|!Z!S$|!Z~P%%aO!Wra!Xra!Yra!rra!sra!tra!xra'^ra'gra'ora~P%;OO!W$^a!X$^a!Y$^a!r$^a!s$^a!t$^a!x$^a'^$^a'g$^a'o$^a~P%=SO!W$`a!X$`a!Y$`a!r$`a!s$`a!t$`a!x$`a'^$`a'g$`a'o$`a~P%?WO!S$na!W$na!X$na!Y$na!r$na!s$na!t$na!x$na'^$na'g$na'o$na~P&,_O!W$xi!X$xi!Y$xi!r$xi!s$xi!t$xi!x$xi'^$xi'g$xi'o$xi~P%LjO!W$zi!X$zi!Y$zi!r$zi!s$zi!t$zi!x$zi'^$zi'g$zi'o$zi~P%NnO!S$gi!W$gi!X$gi!Y$gi!r$gi!s$gi!t$gi!x$gi'^$gi'g$gi'o$gi~P&,_O!S$gq!W$gq!X$gq!Y$gq!r$gq!s$gq!t$gq!x$gq'^$gq'g$gq'o$gq~P&,_O!S$iq!W$iq!X$iq!Y$iq!r$iq!s$iq!t$iq!x$iq'^$iq'g$iq'o$iq~P&,_O!S$|!Z!W$|!Z!X$|!Z!Y$|!Z!r$|!Z!s$|!Z!t$|!Z!x$|!Z'^$|!Z'g$|!Z'o$|!Z~P&,_On'hX~P.jOn[X!O[X!c[X%r[X!T[X%Q[X!][X~P$zO!]dX!c[X!cdX'pdX~P;dOQ9^OR9^O]cOb;`Oc!jOhcOj9^OkcOlcOq9^Os9^OxRO{cO|cO}cO!TSO!_9`O!dUO!g9^O!h9^O!i9^O!j9^O!k9^O!n!iO#t!lO#x^O']'cO'fQO'oYO'|;^O~O]#qOh$QOj#rOk#qOl#qOq$ROs9uOx#yO!T#zO!_;fO!d#vO#V:OO#t$VO$_9xO$a9{O$d$WO']&{O'b$PO'f#sO~O!R9pO!S$]a~O]#qOh$QOj#rOk#qOl#qOq$ROs9vOx#yO!T#zO!_;gO!d#vO#V:PO#t$VO$_9yO$a9|O$d$WO']&{O'b$PO'f#sO~O#d'jO~P&<WO!S[X!SdX~P;dO!]9dO~O#W9cO~O!]!wO#W9cO~O!{9sO~O#c9iO~O!{:QO!R'uX!S'uX~O!{9sO!R'sX!S'sX~O#W:RO~O'a:TO~P!#{O#W:[O~O#W:]O~O#W:^O~O!]!wO#W:_O~O!]!wO#W:RO~O#m:`O~P#*XO#W:aO~O#W:bO~O#W:cO~O#W:dO~O#W:eO~O#W:fO~O#W:gO~O#W:hO~O!O:iO~O#m:jO~P!#{O#m:kO~P!#{O#m:lO~P!#{O!O:mO~P!BpO!O:mO~O!O:nO~P!BpO!]!wO#c;lO~O!]!wO#c;nO~O#x~!b!r!t!u#U#V'|$_$a$d$u%P%Q%R%X%Z%^%_%a%c~UT#x'|#]}'Y'Z#z'Y']'g~",goto:"#Kk(ZPPPPPPPP([P(lP*`PPPP-zPP.a3s7o8SP8SPPP8SP:U8SP8SP:YPP:`P:t?VPPPP?ZPPPP?ZA{PPPBRDdP?ZPFwPPPPHp?ZPPPPPJi?ZPPMjNgPPPPNk!!TP!!]!#^PNg?Z?Z!&n!)i!.[!.[!1kPPP!1r!4h?ZPPPPPPPPPP!7_P!8pPP?Z!9}P?ZP?Z?Z?Z?ZP?Z!;dPP!>]P!AQ!AY!A^!A^P!>YP!Ab!AbP!DVP!DZ?Z?Z!Da!GT8SP8SP8S8SP!HW8S8S!Jf8S!M_8S# g8S8S#!T#$c#$c#$g#$c#$oP#$cP8S#%k8S#'X8S8S-zPPP#(yPP#)c#)cP#)cP#)x#)cPP#*OP#)uP#)u#*b!!X#)u#+P#+V#+Y([#+]([P#+d#+d#+dP([P([P([P([PP([P#+j#+mP#+m([P#+qP#+tP([P([P([P([P([P([([#+z#,U#,[#,b#,p#,v#,|#-W#-^#-m#-s#.R#.X#._#.m#/S#0z#1Y#1`#1f#1l#1r#1|#2S#2Y#2d#2v#2|PPPPPPPP#3SPP#3v#7OPP#8f#8m#8uPP#>a#@t#Fp#Fs#Fv#GR#GUPP#GX#G]#Gz#Hq#Hu#IZPP#I_#Ie#IiP#Il#Ip#Is#Jc#Jy#KO#KR#KU#K[#K_#Kc#KgmhOSj}!n$]%c%f%g%i*o*t/g/jQ$imQ$ppQ%ZyS&V!b+`Q&k!jS(l#z(qQ)g$jQ)t$rQ*`%TQ+f&^S+k&d+mQ+}&lQ-k(sQ/U*aY0Z+o+p+q+r+sS2t.y2vU3|0[0^0aU5g2y2z2{S6]4O4RS7R5h5iQ7m6_R8Q7T$p[ORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#b#e$]$n%[%_%c%e%f%g%i%m%x%z&S&_&f&p&}'R(R)V)^*k*o*t+T+x,P,b,h-u-z.S.].|/_/`/a/c/g/j/l0T0j0t2i3R3f3h3i3x5o5}6W7j8]8o!j'e#]#k&W'w+X+[,m/{1X2q3q6{9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aQ(}$SQ)l$lQ*b%WQ*i%`Q,X9tQ.W)aQ.c)mQ/^*gQ2_.^Q3Z/VQ4^9vQ5S2`R8{9upeOSjy}!n$]%Y%c%f%g%i*o*t/g/jR*d%[&WVOSTjkn}!S!W!k!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#]#b#e#k$]$n%[%_%`%c%e%f%g%i%m%z&S&_&f&p&}'R'w(R)V)^*k*o*t+T+X+[+x,P,b,h,m-u-z.S.].|/_/`/a/c/g/j/l/{0T0j0t1X2i2q3R3f3h3i3q3x5o5}6W6{7j8]8o9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;`;a[!cRU!]!`%x&WQ$clQ$hmS$mp$rv$wrs!r!u$Z$u&`&t&w)x)y)z*m+Y+h,S,U/o0lQ%PwQ&h!iQ&j!jS(_#v(cS)f$i$jQ)j$lQ)w$tQ*Z%RQ*_%TS+|&k&lQ-V(`Q.[)gQ.b)mQ.d)nQ.g)rQ/P*[S/T*`*aQ0h+}Q1b-RQ2^.^Q2b.aQ2g.iQ3Y/UQ4i1cQ5R2`Q5U2dQ6u5QR7w6vx#xa!y$T$U$Y(W(Y(b(w(x,_-Y-w1a1y6i;^;i;j;k!Y$fm!j$h$i$j&U&j&k&l(k)f)g+]+j+|+}-d.[0Q0W0]0h1u3{4Q6Z7k8^Q)`$cQ*P$|Q*S$}Q*^%TQ.k)wQ/O*ZU/S*_*`*aQ3T/PS3X/T/UQ5b2sQ5t3YS7P5c5fS8O7Q7SQ8f8PQ8u8g#[;b!w#d#v#y&g'}(Z(h)])_)a*O*R+y-Z-].R.T.p.s.{.}1k1s2Q2T2X2j3Q3S4l4u4}5k5p6z7W8T9w9z9}:U:X:[:a:d:j;l;n;t;u;vd;c9d9x9{:O:V:Y:]:b:e:ke;d9r9y9|:P:W:Z:^:c:f:lW#}a$P(y;^S$|t%YQ$}uQ%OvR)}$z%P#|a!w!y#d#v#y$T$U$Y&g'}(W(Y(Z(b(h(w(x)])_)a*O*R+y,_-Y-Z-]-w.R.T.p.s.{.}1a1k1s1y2Q2T2X2j3Q3S4l4u4}5k5p6i6z7W8T9d9r9w9x9y9z9{9|9}:O:P:U:V:W:X:Y:Z:[:]:^:a:b:c:d:e:f:j:k:l;^;i;j;k;l;n;t;u;vT(O#s(PX)O$S9t9u9vU&Z!b$v+cQ'U!{Q)q$oQ.t*TQ1z-tR5^2o&^cORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#]#b#e#k$]$n%[%_%`%c%e%f%g%i%m%x%z&S&W&_&f&p&}'R'w(R)V)^*k*o*t+T+X+[+x,P,b,h,m-u-z.S.].|/_/`/a/c/g/j/l/{0T0j0t1X2i2q3R3f3h3i3q3x5o5}6W6{7j8]8o9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;a$]#aZ!_!o$a%w%}&y'Q'W'X'Y'Z'[']'^'_'`'a'b'd'g'k'u)p+R+^+g,O,^,d,g,i,w-x/v/y0i0s0w0x0y0z0{0|0}1O1P1Q1R1S1T1W1]2O2[3s3v4W4[4]4b4c5`6S6V6b6f6g7g7z8Z8m8y9_:|T!XQ!Y&_cORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#]#b#e#k$]$n%[%_%`%c%e%f%g%i%m%x%z&S&W&_&f&p&}'R'w(R)V)^*k*o*t+T+X+[+x,P,b,h,m-u-z.S.].|/_/`/a/c/g/j/l/{0T0j0t1X2i2q3R3f3h3i3q3x5o5}6W6{7j8]8o9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aQ&X!bR/|+`Y&R!b&V&^+`+fS(k#z(qS+j&d+mS-d(l(sQ-e(mQ-l(tQ.v*VU0W+k+o+pU0]+q+r+sS0b+t2xQ1u-kQ1w-mQ1x-nS2s.y2vU3{0Z0[0^Q4P0_Q4Q0aS5c2t2{S5f2y2zU6Z3|4O4RQ6`4SS7Q5g5hQ7S5iS7k6]6_S8P7R7TQ8^7mQ8g8QQ;h;oR;m;slhOSj}!n$]%c%f%g%i*o*t/g/jQ%k!QS&x!v9cQ)d$gQ*X%PQ*Y%QQ+z&iS,]&}:RS-y)V:_Q.Y)eQ.x*WQ/n*vQ/p*wQ/x+ZQ0`+qQ0f+{S2P-z:gQ2Y.ZS2].]:hQ3r/zQ3u0RQ4U0gQ5P2ZQ6T3tQ6X3zQ6a4VQ7e6RQ7h6YQ8Y7iQ8l8[R8x8n$W#`Z!_!o%w%}&y'Q'W'X'Y'Z'[']'^'_'`'a'b'd'g'k'u)p+R+^+g,O,^,d,g,w-x/v/y0i0s0w0x0y0z0{0|0}1O1P1Q1R1S1T1W1]2O2[3s3v4W4[4]4b4c5`6S6V6b6f6g7g7z8Z8m8y9_:|W(v#{&|1V8qT)Z$a,i$W#_Z!_!o%w%}&y'Q'W'X'Y'Z'[']'^'_'`'a'b'd'g'k'u)p+R+^+g,O,^,d,g,w-x/v/y0i0s0w0x0y0z0{0|0}1O1P1Q1R1S1T1W1]2O2[3s3v4W4[4]4b4c5`6S6V6b6f6g7g7z8Z8m8y9_:|Q'f#`S)Y$a,iR-{)Z&^cORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#]#b#e#k$]$n%[%_%`%c%e%f%g%i%m%x%z&S&W&_&f&p&}'R'w(R)V)^*k*o*t+T+X+[+x,P,b,h,m-u-z.S.].|/_/`/a/c/g/j/l/{0T0j0t1X2i2q3R3f3h3i3q3x5o5}6W6{7j8]8o9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aQ%f{Q%g|Q%i!OQ%j!PR/f*rQ&e!iQ)[$cQ+w&hS.Q)`)wS0c+u+vW2S-}.O.P.kS4T0d0eU4|2U2V2WU6s4{5Y5ZQ7v6tR8b7yT+l&d+mS+j&d+mU0W+k+o+pU0]+q+r+sS0b+t2xS2s.y2vU3{0Z0[0^Q4P0_Q4Q0aS5c2t2{S5f2y2zU6Z3|4O4RQ6`4SS7Q5g5hQ7S5iS7k6]6_S8P7R7TQ8^7mR8g8QS+l&d+mT2u.y2vS&r!q/dQ-U(_Q-b(kS0V+j2sQ1g-VS1p-c-lU3}0]0b5fQ4h1bS4s1v1xU6^4P4Q7SQ6k4iQ6r4vR7n6`Q!xXS&q!q/dQ)W$[Q)b$eQ)h$kQ,Q&rQ-T(_Q-a(kQ-f(nQ.X)cQ/Q*]S0U+j2sS1f-U-VS1o-b-lQ1r-eQ1t-gQ3V/RW3y0V0]0b5fQ4g1bQ4k1gS4o1p1xQ4t1wQ5r3WW6[3}4P4Q7SS6j4h4iS6n4p:iQ6p4sQ6}5aQ7[5sS7l6^6`Q7r6kS7s6o:mQ7u6rQ7|7OQ8V7]Q8_7nS8a7t:nQ8d7}Q8s8eQ9Q8tQ9X9RQ:u:pQ;T:zQ;U:{Q;V;hR;[;m$rWORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#b#e$]$n%[%_%`%c%e%f%g%i%m%x%z&S&_&f&p&}'R(R)V)^*k*o*t+T+x,P,b,h-u-z.S.].|/_/`/a/c/g/j/l0T0j0t2i3R3f3h3i3x5o5}6W7j8]8oS!xn!k!j:o#]#k&W'w+X+[,m/{1X2q3q6{9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aR:u;`$rXORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#b#e$]$n%[%_%`%c%e%f%g%i%m%x%z&S&_&f&p&}'R(R)V)^*k*o*t+T+x,P,b,h-u-z.S.].|/_/`/a/c/g/j/l0T0j0t2i3R3f3h3i3x5o5}6W7j8]8oQ$[b!Y$em!j$h$i$j&U&j&k&l(k)f)g+]+j+|+}-d.[0Q0W0]0h1u3{4Q6Z7k8^S$kn!kQ)c$fQ*]%TW/R*^*_*`*aU3W/S/T/UQ5a2sS5s3X3YU7O5b5c5fQ7]5tU7}7P7Q7SS8e8O8PS8t8f8gQ9R8u!j:p#]#k&W'w+X+[,m/{1X2q3q6{9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aQ:z;_R:{;`$f]OSTjk}!S!W!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#b#e$]$n%[%_%c%e%f%g%i%m%z&S&_&f&p&}'R(R)V)^*k*o*t+T+x,P,b,h-u-z.S.].|/_/`/a/c/g/j/l0T0j0t2i3R3f3h3i3x5o5}6W7j8]8oY!hRU!]!`%xv$wrs!r!u$Z$u&`&t&w)x)y)z*m+Y+h,S,U/o0lQ*j%`!h:q#]#k'w+X+[,m/{1X2q3q6{9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aR:t&WS&[!b$vR0O+c$p[ORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#b#e$]$n%[%_%c%e%f%g%i%m%x%z&S&_&f&p&}'R(R)V)^*k*o*t+T+x,P,b,h-u-z.S.].|/_/`/a/c/g/j/l0T0j0t2i3R3f3h3i3x5o5}6W7j8]8o!j'e#]#k&W'w+X+[,m/{1X2q3q6{9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aR*i%`$roORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#b#e$]$n%[%_%`%c%e%f%g%i%m%x%z&S&_&f&p&}'R(R)V)^*k*o*t+T+x,P,b,h-u-z.S.].|/_/`/a/c/g/j/l0T0j0t2i3R3f3h3i3x5o5}6W7j8]8oQ'U!{!k:r#]#k&W'w+X+[,m/{1X2q3q6{9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;a!h#VZ!_$a%w%}&y'Q'_'`'a'b'g'k)p+R+g,O,^,d,w-x0i0s1T2O2[3v4W4[6V7g8Z8m8y9_!R9k'd'u+^,i/v/y0w1P1Q1R1S1W1]3s4]4b4c5`6S6b6f6g7z:|!d#XZ!_$a%w%}&y'Q'a'b'g'k)p+R+g,O,^,d,w-x0i0s1T2O2[3v4W4[6V7g8Z8m8y9_}9m'd'u+^,i/v/y0w1R1S1W1]3s4]4b4c5`6S6b6f6g7z:|!`#]Z!_$a%w%}&y'Q'g'k)p+R+g,O,^,d,w-x0i0s1T2O2[3v4W4[6V7g8Z8m8y9_Q1a-Px;a'd'u+^,i/v/y0w1W1]3s4]4b4c5`6S6b6f6g7z:|Q;i;pQ;j;qR;k;r&^cORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#]#b#e#k$]$n%[%_%`%c%e%f%g%i%m%x%z&S&W&_&f&p&}'R'w(R)V)^*k*o*t+T+X+[+x,P,b,h,m-u-z.S.].|/_/`/a/c/g/j/l/{0T0j0t1X2i2q3R3f3h3i3q3x5o5}6W6{7j8]8o9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aS#l`#mR1Y,l&e_ORSTU`jk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#]#b#e#k#m$]$n%[%_%`%c%e%f%g%i%m%x%z&S&W&_&f&p&}'R'w(R)V)^*k*o*t+T+X+[+x,P,b,h,l,m-u-z.S.].|/_/`/a/c/g/j/l/{0T0j0t1X2i2q3R3f3h3i3q3x5o5}6W6{7j8]8o9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aS#g^#nT'n#i'rT#h^#nT'p#i'r&e`ORSTU`jk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#]#b#e#k#m$]$n%[%_%`%c%e%f%g%i%m%x%z&S&W&_&f&p&}'R'w(R)V)^*k*o*t+T+X+[+x,P,b,h,l,m-u-z.S.].|/_/`/a/c/g/j/l/{0T0j0t1X2i2q3R3f3h3i3q3x5o5}6W6{7j8]8o9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;aT#l`#mQ#o`R'y#m$rbORSTUjk}!S!W!]!`!n!v!z!|#P#Q#R#S#T#U#V#W#X#Y#Z#b#e$]$n%[%_%`%c%e%f%g%i%m%x%z&S&_&f&p&}'R(R)V)^*k*o*t+T+x,P,b,h-u-z.S.].|/_/`/a/c/g/j/l0T0j0t2i3R3f3h3i3x5o5}6W7j8]8o!k;_#]#k&W'w+X+[,m/{1X2q3q6{9^9`9c9e9f9g9h9i9j9k9l9m9n9o9p9s:Q:R:T:_:`:g:h;a#RdOSUj}!S!W!n!|#k$]%[%_%`%c%e%f%g%i%m&S&f'w)^*k*o*t+x,m-u.S.|/_/`/a/c/g/j/l1X2i3R3f3h3i5o5}x#{a!y$T$U$Y(W(Y(b(w(x,_-Y-w1a1y6i;^;i;j;k#[&|!w#d#v#y&g'}(Z(h)])_)a*O*R+y-Z-].R.T.p.s.{.}1k1s2Q2T2X2j3Q3S4l4u4}5k5p6z7W8T9w9z9}:U:X:[:a:d:j;l;n;t;u;vQ)S$WQ,x(Sd1V9r9y9|:P:W:Z:^:c:f:le8q9d9x9{:O:V:Y:]:b:e:kx#wa!y$T$U$Y(W(Y(b(w(x,_-Y-w1a1y6i;^;i;j;kQ(d#xS(n#z(qQ)T$XQ-g(o#[:w!w#d#v#y&g'}(Z(h)])_)a*O*R+y-Z-].R.T.p.s.{.}1k1s2Q2T2X2j3Q3S4l4u4}5k5p6z7W8T9w9z9}:U:X:[:a:d:j;l;n;t;u;vd:x9d9x9{:O:V:Y:]:b:e:kd:y9r9y9|:P:W:Z:^:c:f:lQ:};bQ;O;cQ;P;dQ;Q;eQ;R;fR;S;gx#{a!y$T$U$Y(W(Y(b(w(x,_-Y-w1a1y6i;^;i;j;k#[&|!w#d#v#y&g'}(Z(h)])_)a*O*R+y-Z-].R.T.p.s.{.}1k1s2Q2T2X2j3Q3S4l4u4}5k5p6z7W8T9w9z9}:U:X:[:a:d:j;l;n;t;u;vd1V9r9y9|:P:W:Z:^:c:f:le8q9d9x9{:O:V:Y:]:b:e:klfOSj}!n$]%c%f%g%i*o*t/g/jQ(g#yQ*}%pQ+O%rR1j-Z%O#|a!w!y#d#v#y$T$U$Y&g'}(W(Y(Z(b(h(w(x)])_)a*O*R+y,_-Y-Z-]-w.R.T.p.s.{.}1a1k1s1y2Q2T2X2j3Q3S4l4u4}5k5p6i6z7W8T9d9r9w9x9y9z9{9|9}:O:P:U:V:W:X:Y:Z:[:]:^:a:b:c:d:e:f:j:k:l;^;i;j;k;l;n;t;u;vQ*Q$}Q.r*SQ2m.qR5]2nT(p#z(qS(p#z(qT2u.y2vQ)b$eQ-f(nQ.X)cQ/Q*]Q3V/RQ5r3WQ6}5aQ7[5sQ7|7OQ8V7]Q8d7}Q8s8eQ9Q8tR9X9Rp(W#t'O)U-X-o-p0q1h1}4f4w7q:v;W;X;Y!n:U&z'i(^(f+v,[,t-P-^-|.P.o.q0e0p1i1m2W2l2n3O4Y4Z4m4q4y5O5Z5n6m6q7Y8`;Z;];p;q;r[:V8p9O9V9Y9Z9]]:W1U4a6c7o7p8zr(Y#t'O)U,}-X-o-p0q1h1}4f4w7q:v;W;X;Y!p:X&z'i(^(f+v,[,t-P-^-|.P.o.q0e0n0p1i1m2W2l2n3O4Y4Z4m4q4y5O5Z5n6m6q7Y8`;Z;];p;q;r^:Y8p9O9T9V9Y9Z9]_:Z1U4a6c6d7o7p8zpeOSjy}!n$]%Y%c%f%g%i*o*t/g/jQ%VxR*k%`peOSjy}!n$]%Y%c%f%g%i*o*t/g/jR%VxQ*U%OR.n)}qeOSjy}!n$]%Y%c%f%g%i*o*t/g/jQ.z*ZS3P/O/PW5j2|2}3O3TU7V5l5m5nU8R7U7X7YQ8h8SR8v8iQ%^yR*e%YR3^/XR7_5uS$mp$rR.d)nQ%czR*o%dR*u%jT/h*t/jR*y%kQ*x%kR/q*yQjOQ!nST$`j!nQ(P#sR,u(PQ!YQR%u!YQ!^RU%{!^%|+UQ%|!_R+U%}Q+a&XR/}+aQ,`'OR0r,`Q,c'QS0u,c0vR0v,dQ+m&dR0X+mS!eR$uU&a!e&b+VQ&b!fR+V&OQ+d&[R0P+dQ&u!sQ,R&sU,V&u,R0mR0m,WQ'r#iR,n'rQ#m`R'x#mQ#cZU'h#c+Q9qQ+Q9_R9q'uQ-S(_W1d-S1e4j6lU1e-T-U-VS4j1f1gR6l4k$k(U#t&z'O'i(^(f)P)Q)U+v,Y,Z,[,t,}-O-P-X-^-o-p-|.P.o.q0e0n0o0p0q1U1h1i1m1}2W2l2n3O4Y4Z4_4`4a4f4m4q4w4y5O5Z5n6c6d6e6m6q7Y7o7p7q8`8p8z8|8}9O9T9U9V9Y9Z9]:v;W;X;Y;Z;];p;q;rQ-[(fU1l-[1n4nQ1n-^R4n1mQ(q#zR-i(qQ(z$OR-r(zQ2R-|R4z2RQ){$xR.m){Q2p.tS5_2p6|R6|5`Q*W%PR.w*WQ2v.yR5d2vQ/W*bS3[/W5vR5v3^Q._)jW2a._2c5T6wQ2c.bQ5T2bR6w5UQ)o$mR.e)oQ/j*tR3l/jWiOSj!nQ%h}Q)X$]Q*n%cQ*p%fQ*q%gQ*s%iQ/e*oS/h*t/jR3k/gQ$_gQ%l!RQ%o!TQ%q!UQ%s!VQ)v$sQ)|$yQ*d%^Q*{%nQ-h(pS/Z*e*hQ/r*zQ/s*}Q/t+OS0S+j2sQ2f.hQ2k.oQ3U/QQ3`/]Q3j/fY3w0U0V0]0b5fQ5X2hQ5[2lQ5q3VQ5w3_[6U3v3y3}4P4Q7SQ6x5VQ7Z5rQ7`5xW7f6V6[6^6`Q7x6yQ7{6}Q8U7[U8X7g7l7nQ8c7|Q8j8VS8k8Z8_Q8r8dQ8w8mQ9P8sQ9S8yQ9W9QR9[9XQ$gmQ&i!jU)e$h$i$jQ+Z&UU+{&j&k&lQ-`(kS.Z)f)gQ/z+]Q0R+jS0g+|+}Q1q-dQ2Z.[Q3t0QS3z0W0]Q4V0hQ4r1uS6Y3{4QQ7i6ZQ8[7kR8n8^S#ua;^R({$PU$Oa$P;^R-q(yQ#taS&z!w)aQ'O!yQ'i#dQ(^#vQ(f#yQ)P$TQ)Q$UQ)U$YQ+v&gQ,Y9wQ,Z9zQ,[9}Q,t'}Q,}(WQ-O(YQ-P(ZQ-X(bQ-^(hQ-o(wQ-p(xd-|)].R.{2T3Q4}5k6z7W8TQ.P)_Q.o*OQ.q*RQ0e+yQ0n:UQ0o:XQ0p:[Q0q,_Q1U9rQ1h-YQ1i-ZQ1m-]Q1}-wQ2W.TQ2l.pQ2n.sQ3O.}Q4Y:aQ4Z:dQ4_9yQ4`9|Q4a:PQ4f1aQ4m1kQ4q1sQ4w1yQ4y2QQ5O2XQ5Z2jQ5n3SQ6c:^Q6d:WQ6e:ZQ6m4lQ6q4uQ7Y5pQ7o:cQ7p:fQ7q6iQ8`:jQ8p9dQ8z:lQ8|9xQ8}9{Q9O:OQ9T:VQ9U:YQ9V:]Q9Y:bQ9Z:eQ9]:kQ:v;^Q;W;iQ;X;jQ;Y;kQ;Z;lQ;];nQ;p;tQ;q;uR;r;vlgOSj}!n$]%c%f%g%i*o*t/g/jS!pU%eQ%n!SQ%t!WQ'V!|Q'v#kS*h%[%_Q*l%`Q*z%mQ+W&SQ+u&fQ,r'wQ.O)^Q/b*kQ0d+xQ1[,mQ1{-uQ2V.SQ2}.|Q3b/_Q3c/`Q3e/aQ3g/cQ3n/lQ4d1XQ5Y2iQ5m3RQ5|3fQ6O3hQ6P3iQ7X5oR7b5}!vZOSUj}!S!n!|$]%[%_%`%c%e%f%g%i%m&S&f)^*k*o*t+x-u.S.|/_/`/a/c/g/j/l2i3R3f3h3i5o5}Q!_RQ!oTQ$akS%w!]%zQ%}!`Q&y!vQ'Q!zQ'W#PQ'X#QQ'Y#RQ'Z#SQ'[#TQ']#UQ'^#VQ'_#WQ'`#XQ'a#YQ'b#ZQ'd#]Q'g#bQ'k#eW'u#k'w,m1XQ)p$nS+R%x+TS+^&W/{Q+g&_Q,O&pQ,^&}Q,d'RQ,g9^Q,i9`Q,w(RQ-x)VQ/v+XQ/y+[Q0i,PQ0s,bQ0w9cQ0x9eQ0y9fQ0z9gQ0{9hQ0|9iQ0}9jQ1O9kQ1P9lQ1Q9mQ1R9nQ1S9oQ1T,hQ1W9sQ1]9pQ2O-zQ2[.]Q3s:QQ3v0TQ4W0jQ4[0tQ4]:RQ4b:TQ4c:_Q5`2qQ6S3qQ6V3xQ6b:`Q6f:gQ6g:hQ7g6WQ7z6{Q8Z7jQ8m8]Q8y8oQ9_!WR:|;aR!aRR&Y!bS&U!b+`S+]&V&^R0Q+fR'P!yR'S!zT!tU$ZS!sU$ZU$xrs*mS&s!r!uQ,T&tQ,W&wQ.l)zS0k,S,UR4X0l`!dR!]!`$u%x&`)x+hh!qUrs!r!u$Z&t&w)z,S,U0lQ/d*mQ/w+YQ3p/oT:s&W)yT!gR$uS!fR$uS%y!]&`S&O!`)xS+S%x+hT+_&W)yT&]!b$vQ#i^R'{#nT'q#i'rR1Z,lT(a#v(cR(i#yQ-})]Q2U.RQ2|.{Q4{2TQ5l3QQ6t4}Q7U5kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"\u26a0 extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:u,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[p],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R^p%Tpq%cqr'crs(kst0htu2`uv4pvw5ewx6cxy<yyz=Zz{=k{|>k|}?O}!O>k!O!P?`!P!QCl!Q!R!0[!R![!1q![!]!7s!]!^!8V!^!_!8g!_!`!9d!`!a!:[!a!b!<R!b!c%T!c!}2`!}#O!=d#O#P%T#P#Q!=t#Q#R!>U#R#S2`#S#T!>i#T#o2`#o#p!>y#p#q!?O#q#r!?f#r#s!?x#s$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$I|2`$I|$I}!Bq$I}$JO!Bq$JO$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`W%YR$UWO!^%T!_#o%T#p~%T7Z%jg$UW'Y7ROX%TXY%cYZ%TZ[%c[p%Tpq%cq!^%T!_#o%T#p$f%T$f$g%c$g#BY%T#BY#BZ%c#BZ$IS%T$IS$I_%c$I_$JT%T$JT$JU%c$JU$KV%T$KV$KW%c$KW&FU%T&FU&FV%c&FV?HT%T?HT?HU%c?HU~%T7Z'YR$UW'Z7RO!^%T!_#o%T#p~%T$T'jS$UW!j#{O!^%T!_!`'v!`#o%T#p~%T$O'}S#e#v$UWO!^%T!_!`(Z!`#o%T#p~%T$O(bR#e#v$UWO!^%T!_#o%T#p~%T)X(rZ$UW]#eOY(kYZ)eZr(krs*rs!^(k!^!_+U!_#O(k#O#P-b#P#o(k#o#p+U#p~(k&r)jV$UWOr)ers*Ps!^)e!^!_*a!_#o)e#o#p*a#p~)e&r*WR$P&j$UWO!^%T!_#o%T#p~%T&j*dROr*ars*ms~*a&j*rO$P&j)X*{R$P&j$UW]#eO!^%T!_#o%T#p~%T)P+ZV]#eOY+UYZ*aZr+Urs+ps#O+U#O#P+w#P~+U)P+wO$P&j]#e)P+zROr+Urs,Ts~+U)P,[U$P&j]#eOY,nZr,nrs-Vs#O,n#O#P-[#P~,n#e,sU]#eOY,nZr,nrs-Vs#O,n#O#P-[#P~,n#e-[O]#e#e-_PO~,n)X-gV$UWOr(krs-|s!^(k!^!_+U!_#o(k#o#p+U#p~(k)X.VZ$P&j$UW]#eOY.xYZ%TZr.xrs/rs!^.x!^!_,n!_#O.x#O#P0S#P#o.x#o#p,n#p~.x#m/PZ$UW]#eOY.xYZ%TZr.xrs/rs!^.x!^!_,n!_#O.x#O#P0S#P#o.x#o#p,n#p~.x#m/yR$UW]#eO!^%T!_#o%T#p~%T#m0XT$UWO!^.x!^!_,n!_#o.x#o#p,n#p~.x3]0mZ$UWOt%Ttu1`u!^%T!_!c%T!c!}1`!}#R%T#R#S1`#S#T%T#T#o1`#p$g%T$g~1`3]1g]$UW'o3TOt%Ttu1`u!Q%T!Q![1`![!^%T!_!c%T!c!}1`!}#R%T#R#S1`#S#T%T#T#o1`#p$g%T$g~1`7Z2k_$UW#zS']$y'g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`[3q_$UW#zSOt%Ttu3ju}%T}!O3j!O!Q%T!Q![3j![!^%T!_!c%T!c!}3j!}#R%T#R#S3j#S#T%T#T#o3j#p$g%T$g~3j$O4wS#^#v$UWO!^%T!_!`5T!`#o%T#p~%T$O5[R$UW#o#vO!^%T!_#o%T#p~%T5b5lU'x5Y$UWOv%Tvw6Ow!^%T!_!`5T!`#o%T#p~%T$O6VS$UW#i#vO!^%T!_!`5T!`#o%T#p~%T)X6jZ$UW]#eOY6cYZ7]Zw6cwx*rx!^6c!^!_8T!_#O6c#O#P:T#P#o6c#o#p8T#p~6c&r7bV$UWOw7]wx*Px!^7]!^!_7w!_#o7]#o#p7w#p~7]&j7zROw7wwx*mx~7w)P8YV]#eOY8TYZ7wZw8Twx+px#O8T#O#P8o#P~8T)P8rROw8Twx8{x~8T)P9SU$P&j]#eOY9fZw9fwx-Vx#O9f#O#P9}#P~9f#e9kU]#eOY9fZw9fwx-Vx#O9f#O#P9}#P~9f#e:QPO~9f)X:YV$UWOw6cwx:ox!^6c!^!_8T!_#o6c#o#p8T#p~6c)X:xZ$P&j$UW]#eOY;kYZ%TZw;kwx/rx!^;k!^!_9f!_#O;k#O#P<e#P#o;k#o#p9f#p~;k#m;rZ$UW]#eOY;kYZ%TZw;kwx/rx!^;k!^!_9f!_#O;k#O#P<e#P#o;k#o#p9f#p~;k#m<jT$UWO!^;k!^!_9f!_#o;k#o#p9f#p~;k&i=QR!d&a$UWO!^%T!_#o%T#p~%Tk=bR!cc$UWO!^%T!_#o%T#p~%T7V=tU'^4V#_#v$UWOz%Tz{>W{!^%T!_!`5T!`#o%T#p~%T$O>_S#[#v$UWO!^%T!_!`5T!`#o%T#p~%T%w>rSj%o$UWO!^%T!_!`5T!`#o%T#p~%T&i?VR!R&a$UWO!^%T!_#o%T#p~%T7Z?gVu5^$UWO!O%T!O!P?|!P!Q%T!Q![@r![!^%T!_#o%T#p~%T!{@RT$UWO!O%T!O!P@b!P!^%T!_#o%T#p~%T!{@iR!Q!s$UWO!^%T!_#o%T#p~%T!{@yZ$UWk!sO!Q%T!Q![@r![!^%T!_!g%T!g!hAl!h#R%T#R#S@r#S#X%T#X#YAl#Y#o%T#p~%T!{AqZ$UWO{%T{|Bd|}%T}!OBd!O!Q%T!Q![CO![!^%T!_#R%T#R#SCO#S#o%T#p~%T!{BiV$UWO!Q%T!Q![CO![!^%T!_#R%T#R#SCO#S#o%T#p~%T!{CVV$UWk!sO!Q%T!Q![CO![!^%T!_#R%T#R#SCO#S#o%T#p~%T7ZCs`$UW#]#vOYDuYZ%TZzDuz{Jl{!PDu!P!Q!-e!Q!^Du!^!_Fx!_!`!.^!`!a!/]!a!}Du!}#OHq#O#PJQ#P#oDu#o#pFx#p~DuXD|[$UW}POYDuYZ%TZ!PDu!P!QEr!Q!^Du!^!_Fx!_!}Du!}#OHq#O#PJQ#P#oDu#o#pFx#p~DuXEy_$UW}PO!^%T!_#Z%T#Z#[Er#[#]%T#]#^Er#^#a%T#a#bEr#b#g%T#g#hEr#h#i%T#i#jEr#j#m%T#m#nEr#n#o%T#p~%TPF}V}POYFxZ!PFx!P!QGd!Q!}Fx!}#OG{#O#PHh#P~FxPGiU}P#Z#[Gd#]#^Gd#a#bGd#g#hGd#i#jGd#m#nGdPHOTOYG{Z#OG{#O#PH_#P#QFx#Q~G{PHbQOYG{Z~G{PHkQOYFxZ~FxXHvY$UWOYHqYZ%TZ!^Hq!^!_G{!_#OHq#O#PIf#P#QDu#Q#oHq#o#pG{#p~HqXIkV$UWOYHqYZ%TZ!^Hq!^!_G{!_#oHq#o#pG{#p~HqXJVV$UWOYDuYZ%TZ!^Du!^!_Fx!_#oDu#o#pFx#p~Du7ZJs^$UW}POYJlYZKoZzJlz{NQ{!PJl!P!Q!,R!Q!^Jl!^!_!!]!_!}Jl!}#O!'|#O#P!+a#P#oJl#o#p!!]#p~Jl7ZKtV$UWOzKoz{LZ{!^Ko!^!_M]!_#oKo#o#pM]#p~Ko7ZL`X$UWOzKoz{LZ{!PKo!P!QL{!Q!^Ko!^!_M]!_#oKo#o#pM]#p~Ko7ZMSR$UWU7RO!^%T!_#o%T#p~%T7RM`ROzM]z{Mi{~M]7RMlTOzM]z{Mi{!PM]!P!QM{!Q~M]7RNQOU7R7ZNX^$UW}POYJlYZKoZzJlz{NQ{!PJl!P!Q! T!Q!^Jl!^!_!!]!_!}Jl!}#O!'|#O#P!+a#P#oJl#o#p!!]#p~Jl7Z! ^_$UWU7R}PO!^%T!_#Z%T#Z#[Er#[#]%T#]#^Er#^#a%T#a#bEr#b#g%T#g#hEr#h#i%T#i#jEr#j#m%T#m#nEr#n#o%T#p~%T7R!!bY}POY!!]YZM]Zz!!]z{!#Q{!P!!]!P!Q!&x!Q!}!!]!}#O!$`#O#P!&f#P~!!]7R!#VY}POY!!]YZM]Zz!!]z{!#Q{!P!!]!P!Q!#u!Q!}!!]!}#O!$`#O#P!&f#P~!!]7R!#|UU7R}P#Z#[Gd#]#^Gd#a#bGd#g#hGd#i#jGd#m#nGd7R!$cWOY!$`YZM]Zz!$`z{!${{#O!$`#O#P!&S#P#Q!!]#Q~!$`7R!%OYOY!$`YZM]Zz!$`z{!${{!P!$`!P!Q!%n!Q#O!$`#O#P!&S#P#Q!!]#Q~!$`7R!%sTU7ROYG{Z#OG{#O#PH_#P#QFx#Q~G{7R!&VTOY!$`YZM]Zz!$`z{!${{~!$`7R!&iTOY!!]YZM]Zz!!]z{!#Q{~!!]7R!&}_}POzM]z{Mi{#ZM]#Z#[!&x#[#]M]#]#^!&x#^#aM]#a#b!&x#b#gM]#g#h!&x#h#iM]#i#j!&x#j#mM]#m#n!&x#n~M]7Z!(R[$UWOY!'|YZKoZz!'|z{!(w{!^!'|!^!_!$`!_#O!'|#O#P!*o#P#QJl#Q#o!'|#o#p!$`#p~!'|7Z!(|^$UWOY!'|YZKoZz!'|z{!(w{!P!'|!P!Q!)x!Q!^!'|!^!_!$`!_#O!'|#O#P!*o#P#QJl#Q#o!'|#o#p!$`#p~!'|7Z!*PY$UWU7ROYHqYZ%TZ!^Hq!^!_G{!_#OHq#O#PIf#P#QDu#Q#oHq#o#pG{#p~Hq7Z!*tX$UWOY!'|YZKoZz!'|z{!(w{!^!'|!^!_!$`!_#o!'|#o#p!$`#p~!'|7Z!+fX$UWOYJlYZKoZzJlz{NQ{!^Jl!^!_!!]!_#oJl#o#p!!]#p~Jl7Z!,Yc$UW}POzKoz{LZ{!^Ko!^!_M]!_#ZKo#Z#[!,R#[#]Ko#]#^!,R#^#aKo#a#b!,R#b#gKo#g#h!,R#h#iKo#i#j!,R#j#mKo#m#n!,R#n#oKo#o#pM]#p~Ko7Z!-lV$UWT7ROY!-eYZ%TZ!^!-e!^!_!.R!_#o!-e#o#p!.R#p~!-e7R!.WQT7ROY!.RZ~!.R$P!.g[$UW#o#v}POYDuYZ%TZ!PDu!P!QEr!Q!^Du!^!_Fx!_!}Du!}#OHq#O#PJQ#P#oDu#o#pFx#p~Du]!/f[#wS$UW}POYDuYZ%TZ!PDu!P!QEr!Q!^Du!^!_Fx!_!}Du!}#OHq#O#PJQ#P#oDu#o#pFx#p~Du!{!0cd$UWk!sO!O%T!O!P@r!P!Q%T!Q![!1q![!^%T!_!g%T!g!hAl!h#R%T#R#S!1q#S#U%T#U#V!3X#V#X%T#X#YAl#Y#b%T#b#c!2w#c#d!4m#d#l%T#l#m!5{#m#o%T#p~%T!{!1x_$UWk!sO!O%T!O!P@r!P!Q%T!Q![!1q![!^%T!_!g%T!g!hAl!h#R%T#R#S!1q#S#X%T#X#YAl#Y#b%T#b#c!2w#c#o%T#p~%T!{!3OR$UWk!sO!^%T!_#o%T#p~%T!{!3^W$UWO!Q%T!Q!R!3v!R!S!3v!S!^%T!_#R%T#R#S!3v#S#o%T#p~%T!{!3}Y$UWk!sO!Q%T!Q!R!3v!R!S!3v!S!^%T!_#R%T#R#S!3v#S#b%T#b#c!2w#c#o%T#p~%T!{!4rV$UWO!Q%T!Q!Y!5X!Y!^%T!_#R%T#R#S!5X#S#o%T#p~%T!{!5`X$UWk!sO!Q%T!Q!Y!5X!Y!^%T!_#R%T#R#S!5X#S#b%T#b#c!2w#c#o%T#p~%T!{!6QZ$UWO!Q%T!Q![!6s![!^%T!_!c%T!c!i!6s!i#R%T#R#S!6s#S#T%T#T#Z!6s#Z#o%T#p~%T!{!6z]$UWk!sO!Q%T!Q![!6s![!^%T!_!c%T!c!i!6s!i#R%T#R#S!6s#S#T%T#T#Z!6s#Z#b%T#b#c!2w#c#o%T#p~%T$u!7|R!]V$UW#m$fO!^%T!_#o%T#p~%T!q!8^R_!i$UWO!^%T!_#o%T#p~%T5w!8rR'bd!a/n#x&s'|P!P!Q!8{!^!_!9Q!_!`!9_W!9QO$WW#v!9VP#`#v!_!`!9Y#v!9_O#o#v#v!9dO#a#v$u!9kT!{$m$UWO!^%T!_!`'v!`!a!9z!a#o%T#p~%T$P!:RR#W#w$UWO!^%T!_#o%T#p~%T%V!:gT'a!R#a#v$RS$UWO!^%T!_!`!:v!`!a!;W!a#o%T#p~%T$O!:}R#a#v$UWO!^%T!_#o%T#p~%T$O!;_T#`#v$UWO!^%T!_!`5T!`!a!;n!a#o%T#p~%T$O!;uS#`#v$UWO!^%T!_!`5T!`#o%T#p~%T*a!<YV'p#{$UWO!O%T!O!P!<o!P!^%T!_!a%T!a!b!=P!b#o%T#p~%T*[!<vRv*S$UWO!^%T!_#o%T#p~%T$O!=WS$UW#j#vO!^%T!_!`5T!`#o%T#p~%T7V!=kRx6}$UWO!^%T!_#o%T#p~%Tk!={R!Oc$UWO!^%T!_#o%T#p~%T$O!>]S#g#v$UWO!^%T!_!`5T!`#o%T#p~%T$a!>pR$UW'f$XO!^%T!_#o%T#p~%T~!?OO!T~5b!?VT'w5Y$UWO!^%T!_!`5T!`#o%T#p#q!=P#q~%T6X!?oR!S5}nQ$UWO!^%T!_#o%T#p~%TX!@PR!kP$UWO!^%T!_#o%T#p~%T7Z!@gr$UW'Y7R#zS']$y'g3SOX%TXY%cYZ%TZ[%c[p%Tpq%cqt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`7Z!CO_$UW'Z7R#zS']$y'g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[d,c,h,f,0,1,2,3,4,5,6,7,8,9,l],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{149:1,176:1},specialized:[{term:289,get:function(e){return m[e]||-1}},{term:299,get:function(e){return g[e]||-1}},{term:63,get:function(e){return v[e]||-1}}],tokenPrec:12130}),y=n(9973),k=n(7989),b=n(1701),x=n(2027),T=n(1514),w=[(0,x.Gn)("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,x.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,x.Gn)("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,x.Gn)("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,x.Gn)("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,x.Gn)("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,x.Gn)("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,x.Gn)("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,x.Gn)("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),(0,x.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,x.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],S=new T.hr,C=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function E(e){return function(t,n){var r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}var A=["FunctionDeclaration"],_={FunctionDeclaration:E("function"),ClassDeclaration:E("class"),ClassExpression:function(){return!0},EnumDeclaration:E("constant"),TypeAliasDeclaration:E("type"),NamespaceDeclaration:E("namespace"),VariableDefinition:function(e,t){e.matchContext(A)||t(e,"variable")},TypeDefinition:function(e,t){t(e,"type")},__proto__:null};function Q(e,t){var n=S.get(t);if(n)return n;var i=[],o=!0;function a(t,n){var r=e.sliceString(t.from,t.to);i.push({label:r,type:n})}return t.cursor(T.vj.IncludeAnonymous).iterate((function(t){if(o)o=!1;else if(t.name){var n=_[t.name];if(n&&n(t,a)||C.has(t.name))return!1}else if(t.to-t.from>8192){var s,u=(0,r.Z)(Q(e,t.node));try{for(u.s();!(s=u.n()).done;){var l=s.value;i.push(l)}}catch(c){u.e(c)}finally{u.f()}return!1}})),S.set(t,i),i}var P=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,R=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function D(e){var t=(0,y.qz)(e.state).resolveInner(e.pos,-1);if(R.indexOf(t.name)>-1)return null;var n=t.to-t.from<20&&P.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;for(var r=[],i=t;i;i=i.parent)C.has(i.name)&&(r=r.concat(Q(e.state.doc,i)));return{options:r,from:n?t.from:e.pos,validFor:P}}var N=y.qp.define({parser:O.configure({props:[y.uj.add({IfStatement:(0,y.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,y.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:y.ze,SwitchBody:function(e){var t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:(0,y.vw)({closing:"}"}),ArrowFunction:function(e){return e.baseIndent+e.unit},"TemplateString BlockComment":function(){return null},"Statement Property":(0,y.tC)({except:/^{/}),JSXElement:function(e){var t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape:function(e){var t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":function(e){return e.column(e.node.from)+e.unit}}),y.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":y.Dv,BlockComment:function(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),M=N.configure({dialect:"ts"}),I=N.configure({dialect:"jsx"}),L=N.configure({dialect:"jsx ts"}),F="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map((function(e){return{label:e,type:"keyword"}}));function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.jsx?e.typescript?L:I:e.typescript?M:N;return new y.ri(t,[N.data.of({autocomplete:(0,x.eC)(R,(0,x.Mb)(w.concat(F)))}),N.data.of({autocomplete:D}),e.jsx?B:[]])}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length;if(!t)return"";var r=t.getChild("JSXIdentifier");return r?e.sliceString(r.from,Math.min(r.to,n)):""}var j="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),B=b.tk.inputHandler.of((function(e,t,n,r){if((j?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!N.isActiveAt(e.state,t,-1))return!1;var i=e.state,o=i.changeByRange((function(e){var t,n,o,a,s=e.head,u=(0,y.qz)(i).resolveInner(s,-1);if("JSXStartTag"==u.name&&(u=u.parent),">"==r&&"JSXFragmentTag"==u.name)return{range:k.jT.cursor(s+1),changes:{from:s,insert:"><>"}};if(">"==r&&"JSXIdentifier"==u.name){if("JSXEndTag"!=(null===(n=null===(t=u.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(a=$(i.doc,u.parent,s)))return{range:k.jT.cursor(s+1),changes:{from:s,insert:"></".concat(a,">")}}}else if("/"==r&&"JSXFragmentTag"==u.name){var l=u.parent,c=null===l||void 0===l?void 0:l.parent;if(l.from==s-1&&"JSXEndTag"!=(null===(o=c.lastChild)||void 0===o?void 0:o.name)&&(a=$(i.doc,null===c||void 0===c?void 0:c.firstChild,s))){var h="/".concat(a,">");return{range:k.jT.cursor(s+h.length),changes:{from:s,insert:h}}}}return{range:e}}));return!o.changes.empty&&(e.dispatch(o,{userEvent:"input.type",scrollIntoView:!0}),!0)}));function z(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((function(e,n){e.meta.docs.recommended&&(t.rules[n]=2)}))),function(n){var i,o=n.state,a=[],s=(0,r.Z)(N.findRegions(o));try{for(s.s();!(i=s.n()).done;){var u,l=i.value,c=l.from,h=l.to,f=o.doc.lineAt(c),d={line:f.number-1,col:c-f.from,pos:c},p=(0,r.Z)(e.verify(o.sliceDoc(c,h),t));try{for(p.s();!(u=p.n()).done;){var m=u.value;a.push(W(m,o.doc,d))}}catch(g){p.e(g)}finally{p.f()}}}catch(g){s.e(g)}finally{s.f()}return a}}function H(e,t,n,r){return n.line(e+r.line).from+t+(1==e?r.col-1:-1)}function W(e,t,n){var r=H(e.line,e.column,t,n),i={from:r,to:null!=e.endLine&&1!=e.endColumn?H(e.endLine,e.endColumn,t,n):r,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){var o=e.fix,a=o.range,s=o.text,u=a[0]+n.pos-r,l=a[1]+n.pos-r;i.actions=[{name:"fix",apply:function(e,t){e.dispatch({changes:{from:t+u,to:t+l,insert:s},scrollIntoView:!0})}}]}return i}},5506:function(e,t,n){"use strict";n.r(t),n.d(t,{commonmarkLanguage:function(){return He},deleteMarkupBackward:function(){return et},insertNewlineContinueMarkup:function(){return Ye},markdown:function(){return rt},markdownKeymap:function(){return tt},markdownLanguage:function(){return We}});var r,i,o=n(2951),a=n(1976),s=n(7989),u=n(1701),l=n(9973),c=n(7591),h=n(9616),f=n(649),d=n(726),p=n(4649),m=n(1514),g=n(2029),v=function(){function e(t,n,r,i,a,s,u){(0,o.Z)(this,e),this.type=t,this.value=n,this.from=r,this.hash=i,this.end=a,this.children=s,this.positions=u,this.hashProp=[[m.md.contextHash,i]]}return(0,a.Z)(e,[{key:"addChild",value:function(e,t){e.prop(m.md.contextHash)!=this.hash&&(e=new m.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}},{key:"toTree",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.end,r=this.children.length-1;r>=0&&(n=Math.max(n,this.positions[r]+this.children[r].length+this.from));var i=new m.mp(e.types[this.type],this.children,this.positions,n-this.from).balance({makeTree:function(e,n,r){return new m.mp(m.Jq.none,e,n,r,t.hashProp)}});return i}}],[{key:"create",value:function(t,n,r,i,o){return new e(t,n,r,i+(i<<8)+t+(n<<4)|0,o,[],[])}}]),e}();!function(e){e[e.Document=1]="Document",e[e.CodeBlock=2]="CodeBlock",e[e.FencedCode=3]="FencedCode",e[e.Blockquote=4]="Blockquote",e[e.HorizontalRule=5]="HorizontalRule",e[e.BulletList=6]="BulletList",e[e.OrderedList=7]="OrderedList",e[e.ListItem=8]="ListItem",e[e.ATXHeading1=9]="ATXHeading1",e[e.ATXHeading2=10]="ATXHeading2",e[e.ATXHeading3=11]="ATXHeading3",e[e.ATXHeading4=12]="ATXHeading4",e[e.ATXHeading5=13]="ATXHeading5",e[e.ATXHeading6=14]="ATXHeading6",e[e.SetextHeading1=15]="SetextHeading1",e[e.SetextHeading2=16]="SetextHeading2",e[e.HTMLBlock=17]="HTMLBlock",e[e.LinkReference=18]="LinkReference",e[e.Paragraph=19]="Paragraph",e[e.CommentBlock=20]="CommentBlock",e[e.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",e[e.Escape=22]="Escape",e[e.Entity=23]="Entity",e[e.HardBreak=24]="HardBreak",e[e.Emphasis=25]="Emphasis",e[e.StrongEmphasis=26]="StrongEmphasis",e[e.Link=27]="Link",e[e.Image=28]="Image",e[e.InlineCode=29]="InlineCode",e[e.HTMLTag=30]="HTMLTag",e[e.Comment=31]="Comment",e[e.ProcessingInstruction=32]="ProcessingInstruction",e[e.URL=33]="URL",e[e.HeaderMark=34]="HeaderMark",e[e.QuoteMark=35]="QuoteMark",e[e.ListMark=36]="ListMark",e[e.LinkMark=37]="LinkMark",e[e.EmphasisMark=38]="EmphasisMark",e[e.CodeMark=39]="CodeMark",e[e.CodeText=40]="CodeText",e[e.CodeInfo=41]="CodeInfo",e[e.LinkTitle=42]="LinkTitle",e[e.LinkLabel=43]="LinkLabel"}(i||(i={}));var O=(0,a.Z)((function e(t,n){(0,o.Z)(this,e),this.start=t,this.content=n,this.marks=[],this.parsers=[]})),y=function(){function e(){(0,o.Z)(this,e),this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}return(0,a.Z)(e,[{key:"forward",value:function(){this.basePos>this.pos&&this.forwardInner()}},{key:"forwardInner",value:function(){var e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}},{key:"skipSpace",value:function(e){return T(this.text,e)}},{key:"reset",value:function(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}},{key:"moveBase",value:function(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}},{key:"moveBaseColumn",value:function(e){this.baseIndent=e,this.basePos=this.findColumn(e)}},{key:"addMarker",value:function(e){this.markers.push(e)}},{key:"countIndent",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=t;r<e;r++)n+=9==this.text.charCodeAt(r)?4-n%4:1;return n}},{key:"findColumn",value:function(e){for(var t=0,n=0;t<this.text.length&&n<e;t++)n+=9==this.text.charCodeAt(t)?4-n%4:1;return t}},{key:"scrub",value:function(){if(!this.baseIndent)return this.text;for(var e="",t=0;t<this.basePos;t++)e+=" ";return e+this.text.slice(this.basePos)}}]),e}();function k(e,t,n){if(n.pos==n.text.length||e!=t.block&&n.indent>=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;var r=(e.type==i.OrderedList?Q:_)(n,t,!1);return r>0&&(e.type!=i.BulletList||E(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}var b=(r={},(0,p.Z)(r,i.Blockquote,(function(e,t,n){return 62==n.next&&(n.markers.push(ae(i.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(x(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0)})),(0,p.Z)(r,i.ListItem,(function(e,t,n){return!(n.indent<n.baseIndent+e.value&&n.next>-1)&&(n.moveBaseColumn(n.baseIndent+e.value),!0)})),(0,p.Z)(r,i.OrderedList,k),(0,p.Z)(r,i.BulletList,k),(0,p.Z)(r,i.Document,(function(){return!0})),r);function x(e){return 32==e||9==e||10==e||13==e}function T(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t<e.length&&x(e.charCodeAt(t));)t++;return t}function w(e,t,n){for(;t>n&&x(e.charCodeAt(t-1));)t--;return t}function S(e){if(96!=e.next&&126!=e.next)return-1;for(var t=e.pos+1;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;if(t<e.pos+3)return-1;if(96==e.next)for(var n=t;n<e.text.length;n++)if(96==e.text.charCodeAt(n))return-1;return t}function C(e){return 62!=e.next?-1:32==e.text.charCodeAt(e.pos+1)?2:1}function E(e,t,n){if(42!=e.next&&45!=e.next&&95!=e.next)return-1;for(var r=1,i=e.pos+1;i<e.text.length;i++){var o=e.text.charCodeAt(i);if(o==e.next)r++;else if(!x(o))return-1}return n&&45==e.next&&R(e)>-1&&e.depth==t.stack.length||r<3?-1:1}function A(e,t){for(var n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function _(e,t,n){return 45!=e.next&&43!=e.next&&42!=e.next||e.pos!=e.text.length-1&&!x(e.text.charCodeAt(e.pos+1))||!(!n||A(t,i.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?-1:1}function Q(e,t,n){for(var r=e.pos,o=e.next;o>=48&&o<=57;){if(++r==e.text.length)return-1;o=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||46!=o&&41!=o||r<e.text.length-1&&!x(e.text.charCodeAt(r+1))||n&&!A(t,i.OrderedList)&&(e.skipSpace(r+1)==e.text.length||r>e.pos+1||49!=e.next)?-1:r+1-e.pos}function P(e){if(35!=e.next)return-1;for(var t=e.pos+1;t<e.text.length&&35==e.text.charCodeAt(t);)t++;if(t<e.text.length&&32!=e.text.charCodeAt(t))return-1;var n=t-e.pos;return n>6?-1:n}function R(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return-1;for(var t=e.pos+1;t<e.text.length&&e.text.charCodeAt(t)==e.next;)t++;for(var n=t;t<e.text.length&&x(e.text.charCodeAt(t));)t++;return t==e.text.length?n:-1}var D=/^[ \t]*$/,N=/-->/,M=/\?>/,I=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,N],[/^\s*<\?/,M],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,D],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,D]];function L(e,t,n){if(60!=e.next)return-1;for(var r=e.text.slice(e.pos),i=0,o=I.length-(n?1:0);i<o;i++)if(I[i][0].test(r))return i;return-1}function F(e,t){var n=e.countIndent(t,e.pos,e.indent),r=e.countIndent(e.skipSpace(t),t,n);return r>=n+5?n+1:r}function Z(e,t,n){var r=e.length-1;r>=0&&e[r].to==t&&e[r].type==i.CodeText?e[r].to=n:e.push(ae(i.CodeText,t,n))}var $={LinkReference:void 0,IndentedCode:function(e,t){var n=t.baseIndent+4;if(t.indent<n)return!1;var r=t.findColumn(n),o=e.lineStart+r,a=e.lineStart+t.text.length,s=[],u=[];for(Z(s,o,a);e.nextLine()&&t.depth>=e.stack.length;)if(t.pos==t.text.length){Z(u,e.lineStart-1,e.lineStart);var l,c=(0,d.Z)(t.markers);try{for(c.s();!(l=c.n()).done;){var h=l.value;u.push(h)}}catch(k){c.e(k)}finally{c.f()}}else{if(t.indent<n)break;if(u.length){var f,p=(0,d.Z)(u);try{for(p.s();!(f=p.n()).done;){var m=f.value;m.type==i.CodeText?Z(s,m.from,m.to):s.push(m)}}catch(k){p.e(k)}finally{p.f()}u=[]}Z(s,e.lineStart-1,e.lineStart);var g,v=(0,d.Z)(t.markers);try{for(v.s();!(g=v.n()).done;){var O=g.value;s.push(O)}}catch(k){v.e(k)}finally{v.f()}a=e.lineStart+t.text.length;var y=e.lineStart+t.findColumn(t.baseIndent+4);y<a&&Z(s,y,a)}return u.length&&(u=u.filter((function(e){return e.type!=i.CodeText})),u.length&&(t.markers=u.concat(t.markers))),e.addNode(e.buffer.writeElements(s,-o).finish(i.CodeBlock,a-o),o),!0},FencedCode:function(e,t){var n=S(t);if(n<0)return!1;var r=e.lineStart+t.pos,o=t.next,a=n-t.pos,s=t.skipSpace(n),u=w(t.text,t.text.length,s),l=[ae(i.CodeMark,r,r+a)];s<u&&l.push(ae(i.CodeInfo,e.lineStart+s,e.lineStart+u));for(var c=!0;e.nextLine()&&t.depth>=e.stack.length;c=!1){var h=t.pos;if(t.indent-t.baseIndent<4)for(;h<t.text.length&&t.text.charCodeAt(h)==o;)h++;if(h-t.pos>=a&&t.skipSpace(h)==t.text.length){var f,p=(0,d.Z)(t.markers);try{for(p.s();!(f=p.n()).done;){var m=f.value;l.push(m)}}catch(b){p.e(b)}finally{p.f()}l.push(ae(i.CodeMark,e.lineStart+t.pos,e.lineStart+h)),e.nextLine();break}c||Z(l,e.lineStart-1,e.lineStart);var g,v=(0,d.Z)(t.markers);try{for(v.s();!(g=v.n()).done;){var O=g.value;l.push(O)}}catch(b){v.e(b)}finally{v.f()}var y=e.lineStart+t.basePos,k=e.lineStart+t.text.length;y<k&&Z(l,y,k)}return e.addNode(e.buffer.writeElements(l,-r).finish(i.FencedCode,e.prevLineEnd()-r),r),!0},Blockquote:function(e,t){var n=C(t);return!(n<0)&&(e.startContext(i.Blockquote,t.pos),e.addNode(i.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1),t.moveBase(t.pos+n),null)},HorizontalRule:function(e,t){if(E(t,e,!1)<0)return!1;var n=e.lineStart+t.pos;return e.nextLine(),e.addNode(i.HorizontalRule,n),!0},BulletList:function(e,t){var n=_(t,e,!1);if(n<0)return!1;e.block.type!=i.BulletList&&e.startContext(i.BulletList,t.basePos,t.next);var r=F(t,t.pos+1);return e.startContext(i.ListItem,t.basePos,r-t.baseIndent),e.addNode(i.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},OrderedList:function(e,t){var n=Q(t,e,!1);if(n<0)return!1;e.block.type!=i.OrderedList&&e.startContext(i.OrderedList,t.basePos,t.text.charCodeAt(t.pos+n-1));var r=F(t,t.pos+n);return e.startContext(i.ListItem,t.basePos,r-t.baseIndent),e.addNode(i.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+n),t.moveBaseColumn(r),null},ATXHeading:function(e,t){var n=P(t);if(n<0)return!1;for(var r=t.pos,o=e.lineStart+r,a=w(t.text,t.text.length,r),s=a;s>r&&t.text.charCodeAt(s-1)==t.next;)s--;s!=a&&s!=r&&x(t.text.charCodeAt(s-1))||(s=t.text.length);var u=e.buffer.write(i.HeaderMark,0,n).writeElements(e.parser.parseInline(t.text.slice(r+n+1,s),o+n+1),-o);s<t.text.length&&u.write(i.HeaderMark,s-r,a-r);var l=u.finish(i.ATXHeading1-1+n,t.text.length-r);return e.nextLine(),e.addNode(l,o),!0},HTMLBlock:function(e,t){var n=L(t,0,!1);if(n<0)return!1;for(var r=e.lineStart+t.pos,o=I[n][1],a=[],s=o!=D;!o.test(t.text)&&e.nextLine();){if(t.depth<e.stack.length){s=!1;break}var u,l=(0,d.Z)(t.markers);try{for(l.s();!(u=l.n()).done;){var c=u.value;a.push(c)}}catch(p){l.e(p)}finally{l.f()}}s&&e.nextLine();var h=o==N?i.CommentBlock:o==M?i.ProcessingInstructionBlock:i.HTMLBlock,f=e.prevLineEnd();return e.addNode(e.buffer.writeElements(a,-r).finish(h,f-r),r),!0},SetextHeading:void 0},j=function(){function e(t){(0,o.Z)(this,e),this.stage=0,this.elts=[],this.pos=0,this.start=t.start,this.advance(t.content)}return(0,a.Z)(e,[{key:"nextLine",value:function(e,t,n){if(-1==this.stage)return!1;var r=n.content+"\n"+t.scrub(),i=this.advance(r);return i>-1&&i<r.length&&this.complete(e,n,i)}},{key:"finish",value:function(e,t){return(2==this.stage||3==this.stage)&&T(t.content,this.pos)==t.content.length&&this.complete(e,t,t.content.length)}},{key:"complete",value:function(e,t,n){return e.addLeafElement(t,ae(i.LinkReference,this.start,this.start+n,this.elts)),!0}},{key:"nextStage",value:function(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(!1===e&&(this.stage=-1),!1)}},{key:"advance",value:function(e){for(;;){if(-1==this.stage)return-1;if(0==this.stage){if(!this.nextStage(Oe(e,this.pos,this.start,!0)))return-1;if(58!=e.charCodeAt(this.pos))return this.stage=-1;this.elts.push(ae(i.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else{if(1!=this.stage){if(2==this.stage){var t=T(e,this.pos),n=0;if(t>this.pos){var r=ve(e,t,this.start);if(r){var o=B(e,r.to-this.start);o>0&&(this.nextStage(r),n=o)}}return n||(n=B(e,this.pos)),n>0&&n<e.length?n:-1}return B(e,this.pos)}if(!this.nextStage(ge(e,T(e,this.pos),this.start)))return-1}}}}]),e}();function B(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(10==n)break;if(!x(n))return-1}return t}var z=function(){function e(){(0,o.Z)(this,e)}return(0,a.Z)(e,[{key:"nextLine",value:function(e,t,n){var r=t.depth<e.stack.length?-1:R(t),o=t.next;if(r<0)return!1;var a=ae(i.HeaderMark,e.lineStart+t.pos,e.lineStart+r);return e.nextLine(),e.addLeafElement(n,ae(61==o?i.SetextHeading1:i.SetextHeading2,n.start,e.prevLineEnd(),[].concat((0,f.Z)(e.parser.parseInline(n.content,n.start)),[a]))),!0}},{key:"finish",value:function(){return!1}}]),e}(),H={LinkReference:function(e,t){return 91==t.content.charCodeAt(0)?new j(t):null},SetextHeading:function(){return new z}},W=[function(e,t){return P(t)>=0},function(e,t){return S(t)>=0},function(e,t){return C(t)>=0},function(e,t){return _(t,e,!0)>=0},function(e,t){return Q(t,e,!0)>=0},function(e,t){return E(t,e,!0)>=0},function(e,t){return L(t,0,!0)>=0}],U={text:"",end:0},q=function(){function e(t,n,r,a){(0,o.Z)(this,e),this.parser=t,this.input=n,this.ranges=a,this.line=new y,this.atEnd=!1,this.dontInject=new Set,this.stoppedAt=null,this.rangeI=0,this.to=a[a.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=a[0].from,this.block=v.create(i.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=r.length?new xe(r,n):null,this.readLine()}return(0,a.Z)(e,[{key:"parsedPos",get:function(){return this.absoluteLineStart}},{key:"advance",value:function(){if(null!=this.stoppedAt&&this.absoluteLineStart>this.stoppedAt)return this.finish();for(var e=this.line;;){for(;e.depth<this.stack.length;)this.finishContext();var t,n=(0,d.Z)(e.markers);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.addNode(r.type,r.from,r.to)}}catch(x){n.e(x)}finally{n.f()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){var i,o=(0,d.Z)(this.parser.blockParsers);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(a){var s=a(this,e);if(0!=s){if(1==s)return null;e.forward();continue e}}}}catch(x){o.e(x)}finally{o.f()}break}var u,l=new O(this.lineStart+e.pos,e.text.slice(e.pos)),c=(0,d.Z)(this.parser.leafBlockParsers);try{for(c.s();!(u=c.n()).done;){var h=u.value;if(h){var f=h(this,l);f&&l.parsers.push(f)}}}catch(x){c.e(x)}finally{c.f()}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){var p,m=(0,d.Z)(this.parser.endLeafBlock);try{for(m.s();!(p=m.n()).done;){if((0,p.value)(this,e,l))break e}}catch(x){m.e(x)}finally{m.f()}}var g,v=(0,d.Z)(l.parsers);try{for(v.s();!(g=v.n()).done;){if(g.value.nextLine(this,e,l))return null}}catch(x){v.e(x)}finally{v.f()}l.content+="\n"+e.scrub();var y,k=(0,d.Z)(e.markers);try{for(k.s();!(y=k.n()).done;){var b=y.value;l.marks.push(b)}}catch(x){k.e(x)}finally{k.f()}}return this.finishLeaf(l),null}},{key:"stopAt",value:function(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}},{key:"reuseFragment",value:function(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;var t=this.fragments.takeNodes(this);if(!t)return!1;for(var n=t,r=this.absoluteLineStart+t,i=1;i<this.ranges.length;i++){var o=this.ranges[i-1].to,a=this.ranges[i].from;o>=this.lineStart&&a<r&&(n-=a-o)}return this.lineStart+=n,this.absoluteLineStart+=t,this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0}},{key:"depth",get:function(){return this.stack.length}},{key:"parentType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.depth-1;return this.parser.nodeSet.types[this.stack[e].type]}},{key:"nextLine",value:function(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}},{key:"moveRangeI",value:function(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}},{key:"scanLine",value:function(e){var t=U;if(t.end=e,e>=this.to)t.text="";else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1)for(var n=this.absoluteLineStart,r=this.rangeI;this.ranges[r].to<t.end;){r++;var i=this.ranges[r].from,o=this.lineChunkAt(i);t.end=i+o.length,t.text=t.text.slice(0,this.ranges[r-1].to-n)+o,n=t.end-t.text.length}return t}},{key:"readLine",value:function(){var e=this.line,t=this.scanLine(this.absoluteLineStart),n=t.text,r=t.end;for(this.absoluteLineEnd=r,e.reset(n);e.depth<this.stack.length;e.depth++){var o=this.stack[e.depth],a=this.parser.skipContextMarkup[o.type];if(!a)throw new Error("Unhandled block context "+i[o.type]);if(!a(o,this,e))break;e.forward()}}},{key:"lineChunkAt",value:function(e){var t,n=this.input.chunk(e);if(this.input.lineChunks)t="\n"==n?"":n;else{var r=n.indexOf("\n");t=r<0?n:n.slice(0,r)}return e+t.length>this.to?t.slice(0,this.to-e):t}},{key:"prevLineEnd",value:function(){return this.atEnd?this.lineStart:this.lineStart-1}},{key:"startContext",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.block=v.create(e,n,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}},{key:"startComposite",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.startContext(this.parser.getNodeType(e),t,n)}},{key:"addNode",value:function(e,t,n){"number"==typeof e&&(e=new m.mp(this.parser.nodeSet.types[e],ne,ne,(null!==n&&void 0!==n?n:this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}},{key:"addElement",value:function(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}},{key:"addLeafElement",value:function(e,t){this.addNode(this.buffer.writeElements(ke(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}},{key:"finishContext",value:function(){var e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}},{key:"finish",value:function(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}},{key:"addGaps",value:function(e){return this.ranges.length>1?X(this.ranges,0,e.topNode,this.ranges[0].from,this.dontInject):e}},{key:"finishLeaf",value:function(e){var t,n=(0,d.Z)(e.parsers);try{for(n.s();!(t=n.n()).done;){if(t.value.finish(this,e))return}}catch(o){n.e(o)}finally{n.f()}var r=ke(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(r,-e.start).finish(i.Paragraph,e.content.length),e.start)}},{key:"elt",value:function(e,t,n,r){return"string"==typeof e?ae(this.parser.getNodeType(e),t,n,r):new oe(e,t)}},{key:"buffer",get:function(){return new re(this.parser.nodeSet)}}]),e}();function X(e,t,n,r,i){if(i.has(n.tree))return n.tree;var o=e[t].to,a=[],s=[],u=n.from+r;function l(n,i){for(;i?n>=o:n>o;){var a=e[t+1].from-o;r+=a,n+=a,t++,o=e[t].to}}for(var c=n.firstChild;c;c=c.nextSibling){l(c.from+r,!0);var h=c.from+r,f=void 0;c.to+r>o?(f=X(e,t,c,r,i),l(c.to+r,!1)):f=c.toTree(),a.push(f),s.push(h-u)}return l(n.to+r,!1),new m.mp(n.type,a,s,n.to+r-u,n.tree?n.tree.propValues:void 0)}var G=function(e){(0,c.Z)(n,e);var t=(0,h.Z)(n);function n(e,r,i,a,s,u,l,c,h){var f;(0,o.Z)(this,n),(f=t.call(this)).nodeSet=e,f.blockParsers=r,f.leafBlockParsers=i,f.blockNames=a,f.endLeafBlock=s,f.skipContextMarkup=u,f.inlineParsers=l,f.inlineNames=c,f.wrappers=h,f.nodeTypes=Object.create(null);var p,m=(0,d.Z)(e.types);try{for(m.s();!(p=m.n()).done;){var g=p.value;f.nodeTypes[g.name]=g.id}}catch(v){m.e(v)}finally{m.f()}return f}return(0,a.Z)(n,[{key:"createParse",value:function(e,t,n){var r,i=new q(this,e,t,n),o=(0,d.Z)(this.wrappers);try{for(o.s();!(r=o.n()).done;){i=(0,r.value)(i,e,t,n)}}catch(a){o.e(a)}finally{o.f()}return i}},{key:"configure",value:function(e){var t,r=V(e);if(!r)return this;var o=this.nodeSet,a=this.skipContextMarkup,s=this.blockParsers.slice(),u=this.leafBlockParsers.slice(),l=this.blockNames.slice(),c=this.inlineParsers.slice(),h=this.inlineNames.slice(),p=this.endLeafBlock.slice(),v=this.wrappers;if(J(r.defineNodes)){a=Object.assign({},a);var O,y,k=o.types.slice(),b=(0,d.Z)(r.defineNodes);try{var x=function(){var e=y.value,t="string"==typeof e?{name:e}:e,n=t.name,r=t.block,o=t.composite,s=t.style;if(k.some((function(e){return e.name==n})))return"continue";o&&(a[k.length]=function(e,t,n){return o(t,n,e.value)});var u=k.length,l=o?["Block","BlockContext"]:r?u>=i.ATXHeading1&&u<=i.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;k.push(m.Jq.define({id:u,name:n,props:l&&[[m.md.group,l]]})),s&&(O||(O={}),Array.isArray(s)||s instanceof g.Vp?O[n]=s:Object.assign(O,s))};for(b.s();!(y=b.n()).done;)x()}catch(F){b.e(F)}finally{b.f()}o=new m.Lj(k),O&&(o=o.extend((0,g.Gv)(O)))}if(J(r.props)&&(o=(t=o).extend.apply(t,(0,f.Z)(r.props))),J(r.remove)){var T,w=(0,d.Z)(r.remove);try{for(w.s();!(T=w.n()).done;){var S=T.value,C=this.blockNames.indexOf(S),E=this.inlineNames.indexOf(S);C>-1&&(s[C]=u[C]=void 0),E>-1&&(c[E]=void 0)}}catch(F){w.e(F)}finally{w.f()}}if(J(r.parseBlock)){var A,_=(0,d.Z)(r.parseBlock);try{for(_.s();!(A=_.n()).done;){var Q=A.value,P=l.indexOf(Q.name);if(P>-1)s[P]=Q.parse,u[P]=Q.leaf;else{var R=Q.before?Y(l,Q.before):Q.after?Y(l,Q.after)+1:l.length-1;s.splice(R,0,Q.parse),u.splice(R,0,Q.leaf),l.splice(R,0,Q.name)}Q.endLeaf&&p.push(Q.endLeaf)}}catch(F){_.e(F)}finally{_.f()}}if(J(r.parseInline)){var D,N=(0,d.Z)(r.parseInline);try{for(N.s();!(D=N.n()).done;){var M=D.value,I=h.indexOf(M.name);if(I>-1)c[I]=M.parse;else{var L=M.before?Y(h,M.before):M.after?Y(h,M.after)+1:h.length-1;c.splice(L,0,M.parse),h.splice(L,0,M.name)}}}catch(F){N.e(F)}finally{N.f()}}return r.wrap&&(v=v.concat(r.wrap)),new n(o,s,u,l,p,a,c,h,v)}},{key:"getNodeType",value:function(e){var t=this.nodeTypes[e];if(null==t)throw new RangeError("Unknown node type '".concat(e,"'"));return t}},{key:"parseInline",value:function(e,t){var n=new ye(this,e,t);e:for(var r=t;r<n.end;){var i,o=n.char(r),a=(0,d.Z)(this.inlineParsers);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(s){var u=s(n,o,r);if(u>=0){r=u;continue e}}}}catch(l){a.e(l)}finally{a.f()}r++}return n.resolveMarkers(0)}}]),n}(m._b);function J(e){return null!=e&&e.length>0}function V(e){if(!Array.isArray(e))return e;if(0==e.length)return null;var t=V(e[0]);if(1==e.length)return t;var n=V(e.slice(1));if(!n||!t)return t||n;var r=function(e,t){return(e||ne).concat(t||ne)},i=t.wrap,o=n.wrap;return{props:r(t.props,n.props),defineNodes:r(t.defineNodes,n.defineNodes),parseBlock:r(t.parseBlock,n.parseBlock),parseInline:r(t.parseInline,n.parseInline),remove:r(t.remove,n.remove),wrap:i?o?function(e,t,n,r){return i(o(e,t,n,r),t,n,r)}:i:o}}function Y(e,t){var n=e.indexOf(t);if(n<0)throw new RangeError("Position specified relative to unknown parser ".concat(t));return n}for(var K,ee=[m.Jq.none],te=1;K=i[te];te++)ee[te]=m.Jq.define({id:te,name:K,props:te>=i.Escape?[]:[[m.md.group,te in b?["Block","BlockContext"]:["Block","LeafBlock"]]]});var ne=[],re=function(){function e(t){(0,o.Z)(this,e),this.nodeSet=t,this.content=[],this.nodes=[]}return(0,a.Z)(e,[{key:"write",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return this.content.push(e,t,n,4+4*r),this}},{key:"writeElements",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(0,d.Z)(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;i.writeTo(this,n)}}catch(o){r.e(o)}finally{r.f()}return this}},{key:"finish",value:function(e,t){return m.mp.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}]),e}(),ie=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ne;(0,o.Z)(this,e),this.type=t,this.from=n,this.to=r,this.children=i}return(0,a.Z)(e,[{key:"writeTo",value:function(e,t){var n=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-n)}},{key:"toTree",value:function(e){return new re(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}]),e}(),oe=function(){function e(t,n){(0,o.Z)(this,e),this.tree=t,this.from=n}return(0,a.Z)(e,[{key:"to",get:function(){return this.from+this.tree.length}},{key:"type",get:function(){return this.tree.type.id}},{key:"children",get:function(){return ne}},{key:"writeTo",value:function(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}},{key:"toTree",value:function(){return this.tree}}]),e}();function ae(e,t,n,r){return new ie(e,t,n,r)}var se={resolve:"Emphasis",mark:"EmphasisMark"},ue={resolve:"Emphasis",mark:"EmphasisMark"},le={},ce={},he=(0,a.Z)((function e(t,n,r,i){(0,o.Z)(this,e),this.type=t,this.from=n,this.to=r,this.side=i})),fe="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~",de=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{de=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(it){}var pe={Escape:function(e,t,n){if(92!=t||n==e.end-1)return-1;for(var r=e.char(n+1),o=0;o<fe.length;o++)if(fe.charCodeAt(o)==r)return e.append(ae(i.Escape,n,n+2));return-1},Entity:function(e,t,n){if(38!=t)return-1;var r=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n+1,n+31));return r?e.append(ae(i.Entity,n,n+1+r[0].length)):-1},InlineCode:function(e,t,n){if(96!=t||n&&96==e.char(n-1))return-1;for(var r=n+1;r<e.end&&96==e.char(r);)r++;for(var o=r-n,a=0;r<e.end;r++)if(96==e.char(r)){if(++a==o&&96!=e.char(r+1))return e.append(ae(i.InlineCode,n,r+1,[ae(i.CodeMark,n,n+o),ae(i.CodeMark,r+1-o,r+1)]))}else a=0;return-1},HTMLTag:function(e,t,n){if(60!=t||n==e.end-1)return-1;var r=e.slice(n+1,e.end),o=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);if(o)return e.append(ae(i.URL,n,n+1+o[0].length));var a=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(a)return e.append(ae(i.Comment,n,n+1+a[0].length));var s=/^\?[^]*?\?>/.exec(r);if(s)return e.append(ae(i.ProcessingInstruction,n,n+1+s[0].length));var u=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return u?e.append(ae(i.HTMLTag,n,n+1+u[0].length)):-1},Emphasis:function(e,t,n){if(95!=t&&42!=t)return-1;for(var r=n+1;e.char(r)==t;)r++;var i=e.slice(n-1,n),o=e.slice(r,r+1),a=de.test(i),s=de.test(o),u=/\s|^$/.test(i),l=/\s|^$/.test(o),c=!l&&(!s||u||a),h=!u&&(!a||l||s),f=c&&(42==t||!h||a),d=h&&(42==t||!c||s);return e.append(new he(95==t?se:ue,n,r,(f?1:0)|(d?2:0)))},HardBreak:function(e,t,n){if(92==t&&10==e.char(n+1))return e.append(ae(i.HardBreak,n,n+2));if(32==t){for(var r=n+1;32==e.char(r);)r++;if(10==e.char(r)&&r>=n+2)return e.append(ae(i.HardBreak,n,r+1))}return-1},Link:function(e,t,n){return 91==t?e.append(new he(le,n,n+1,1)):-1},Image:function(e,t,n){return 33==t&&91==e.char(n+1)?e.append(new he(ce,n,n+2,1)):-1},LinkEnd:function(e,t,n){if(93!=t)return-1;for(var r=e.parts.length-1;r>=0;r--){var o=e.parts[r];if(o instanceof he&&(o.type==le||o.type==ce)){if(!o.side||e.skipSpace(o.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[r]=null,-1;var a=e.takeContent(r),s=e.parts[r]=me(e,a,o.type==le?i.Link:i.Image,o.from,n+1);if(o.type==le)for(var u=0;u<r;u++){var l=e.parts[u];l instanceof he&&l.type==le&&(l.side=0)}return s.to}}return-1}};function me(e,t,n,r,o){var a=e.text,s=e.char(o),u=o;if(t.unshift(ae(i.LinkMark,r,r+(n==i.Image?2:1))),t.push(ae(i.LinkMark,o-1,o)),40==s){var l,c=e.skipSpace(o+1),h=ge(a,c-e.offset,e.offset);h&&(l=ve(a,(c=e.skipSpace(h.to))-e.offset,e.offset))&&(c=e.skipSpace(l.to)),41==e.char(c)&&(t.push(ae(i.LinkMark,o,o+1)),u=c+1,h&&t.push(h),l&&t.push(l),t.push(ae(i.LinkMark,c,u)))}else if(91==s){var f=Oe(a,o-e.offset,e.offset,!1);f&&(t.push(f),u=f.to)}return ae(n,r,u,t)}function ge(e,t,n){if(60==e.charCodeAt(t)){for(var r=t+1;r<e.length;r++){var o=e.charCodeAt(r);if(62==o)return ae(i.URL,t+n,r+1+n);if(60==o||10==o)return!1}return null}for(var a=0,s=t,u=!1;s<e.length;s++){var l=e.charCodeAt(s);if(x(l))break;if(u)u=!1;else if(40==l)a++;else if(41==l){if(!a)break;a--}else 92==l&&(u=!0)}return s>t?ae(i.URL,t+n,s+n):s==e.length&&null}function ve(e,t,n){var r=e.charCodeAt(t);if(39!=r&&34!=r&&40!=r)return!1;for(var o=40==r?41:r,a=t+1,s=!1;a<e.length;a++){var u=e.charCodeAt(a);if(s)s=!1;else{if(u==o)return ae(i.LinkTitle,t+n,a+1+n);92==u&&(s=!0)}}return null}function Oe(e,t,n,r){for(var o=!1,a=t+1,s=Math.min(e.length,a+999);a<s;a++){var u=e.charCodeAt(a);if(o)o=!1;else{if(93==u)return!r&&ae(i.LinkLabel,t+n,a+1+n);if(r&&!x(u)&&(r=!1),91==u)return!1;92==u&&(o=!0)}}return null}var ye=function(){function e(t,n,r){(0,o.Z)(this,e),this.parser=t,this.text=n,this.offset=r,this.parts=[]}return(0,a.Z)(e,[{key:"char",value:function(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}},{key:"end",get:function(){return this.offset+this.text.length}},{key:"slice",value:function(e,t){return this.text.slice(e-this.offset,t-this.offset)}},{key:"append",value:function(e){return this.parts.push(e),e.to}},{key:"addDelimiter",value:function(e,t,n,r,i){return this.append(new he(e,t,n,(r?1:0)|(i?2:0)))}},{key:"addElement",value:function(e){return this.append(e)}},{key:"resolveMarkers",value:function(e){for(var t=e;t<this.parts.length;t++){var n=this.parts[t];if(n instanceof he&&n.type.resolve&&2&n.side){for(var r=n.type==se||n.type==ue,i=n.to-n.from,o=void 0,a=t-1;a>=e;a--){var s=this.parts[a];if(s instanceof he&&1&s.side&&s.type==n.type&&!(r&&(1&n.side||2&s.side)&&(s.to-s.from+i)%3==0&&((s.to-s.from)%3||i%3))){o=s;break}}if(o){var u=n.type.resolve,l=[],c=o.from,h=n.to;if(r){var f=Math.min(2,o.to-o.from,i);c=o.to-f,h=n.from+f,u=1==f?"Emphasis":"StrongEmphasis"}o.type.mark&&l.push(this.elt(o.type.mark,c,o.to));for(var d=a+1;d<t;d++)this.parts[d]instanceof ie&&l.push(this.parts[d]),this.parts[d]=null;n.type.mark&&l.push(this.elt(n.type.mark,n.from,h));var p=this.elt(u,c,h,l);this.parts[a]=r&&o.from!=c?new he(o.type,o.from,c,o.side):null,(this.parts[t]=r&&n.to!=h?new he(n.type,h,n.to,n.side):null)?this.parts.splice(t,0,p):this.parts[t]=p}}}for(var m=[],g=e;g<this.parts.length;g++){var v=this.parts[g];v instanceof ie&&m.push(v)}return m}},{key:"findOpeningDelimiter",value:function(e){for(var t=this.parts.length-1;t>=0;t--){var n=this.parts[t];if(n instanceof he&&n.type==e)return t}return null}},{key:"takeContent",value:function(e){var t=this.resolveMarkers(e);return this.parts.length=e,t}},{key:"skipSpace",value:function(e){return T(this.text,e-this.offset)+this.offset}},{key:"elt",value:function(e,t,n,r){return"string"==typeof e?ae(this.parser.getNodeType(e),t,n,r):new oe(e,t)}}]),e}();function ke(e,t){if(!t.length)return e;if(!e.length)return t;var n,r=e.slice(),i=0,o=(0,d.Z)(t);try{for(o.s();!(n=o.n()).done;){for(var a=n.value;i<r.length&&r[i].to<a.to;)i++;if(i<r.length&&r[i].from<a.from){var s=r[i];s instanceof ie&&(r[i]=new ie(s.type,s.from,s.to,ke(s.children,[a])))}else r.splice(i++,0,a)}}catch(u){o.e(u)}finally{o.f()}return r}var be=[i.CodeBlock,i.ListItem,i.OrderedList,i.BulletList],xe=function(){function e(t,n){(0,o.Z)(this,e),this.fragments=t,this.input=n,this.i=0,this.fragment=null,this.fragmentEnd=-1,this.cursor=null,t.length&&(this.fragment=t[this.i++])}return(0,a.Z)(e,[{key:"nextFragment",value:function(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null,this.cursor=null,this.fragmentEnd=-1}},{key:"moveTo",value:function(e,t){for(;this.fragment&&this.fragment.to<=e;)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return!1;if(this.fragmentEnd<0){for(var n=this.fragment.to;n>0&&"\n"!=this.input.read(n-1,n);)n--;this.fragmentEnd=n?n-1:0}var r=this.cursor;r||(r=this.cursor=this.fragment.tree.cursor()).firstChild();for(var i=e+this.fragment.offset;r.to<=i;)if(!r.parent())return!1;for(;;){if(r.from>=i)return this.fragment.from<=t;if(!r.childAfter(i))return!1}}},{key:"matches",value:function(e){var t=this.cursor.tree;return t&&t.prop(m.md.contextHash)==e}},{key:"takeNodes",value:function(e){for(var t=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),i=e.absoluteLineStart,o=i,a=e.block.children.length,s=o,u=a;;){if(t.to-n>r){if(t.type.isAnonymous&&t.firstChild())continue;break}if(e.dontInject.add(t.tree),e.addNode(t.tree,t.from-n),t.type.is("Block")&&(be.indexOf(t.type.id)<0?(o=t.to-n,a=e.block.children.length):(o=s,a=u,s=t.to-n,u=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>a;)e.block.children.pop(),e.block.positions.pop();return o-i}}]),e}(),Te=(0,g.Gv)({"Blockquote/...":g.pJ.quote,HorizontalRule:g.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":g.pJ.heading1,"ATXHeading2/... SetextHeading2/...":g.pJ.heading2,"ATXHeading3/...":g.pJ.heading3,"ATXHeading4/...":g.pJ.heading4,"ATXHeading5/...":g.pJ.heading5,"ATXHeading6/...":g.pJ.heading6,"Comment CommentBlock":g.pJ.comment,Escape:g.pJ.escape,Entity:g.pJ.character,"Emphasis/...":g.pJ.emphasis,"StrongEmphasis/...":g.pJ.strong,"Link/... Image/...":g.pJ.link,"OrderedList/... BulletList/...":g.pJ.list,"BlockQuote/...":g.pJ.quote,"InlineCode CodeText":g.pJ.monospace,URL:g.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":g.pJ.processingInstruction,"CodeInfo LinkLabel":g.pJ.labelName,LinkTitle:g.pJ.string,Paragraph:g.pJ.content}),we=new G(new m.Lj(ee).extend(Te),Object.keys($).map((function(e){return $[e]})),Object.keys($).map((function(e){return H[e]})),Object.keys($),W,b,Object.keys(pe).map((function(e){return pe[e]})),Object.keys(pe),[]);function Se(e,t,n){for(var r=[],i=e.firstChild,o=t;;i=i.nextSibling){var a=i?i.from:n;if(a>o&&r.push({from:o,to:a}),!i)break;o=i.to}return r}function Ce(e){var t=e.codeParser,n=e.htmlParser;return{wrap:(0,m.FE)((function(e,r){var o=e.type.id;if(!t||o!=i.CodeBlock&&o!=i.FencedCode){if(n&&(o==i.HTMLBlock||o==i.HTMLTag))return{parser:n,overlay:Se(e.node,e.from,e.to)}}else{var a="";if(o==i.FencedCode){var s=e.node.getChild(i.CodeInfo);s&&(a=r.read(s.from,s.to))}var u=t(a);if(u)return{parser:u,overlay:function(e){return e.type.id==i.CodeText}}}return null}))}}var Ee={resolve:"Strikethrough",mark:"StrikethroughMark"},Ae={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":g.pJ.strikethrough}},{name:"StrikethroughMark",style:g.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse:function(e,t,n){return 126!=t||126!=e.char(n+1)?-1:e.addDelimiter(Ee,n,n+2,!0,!0)},after:"Emphasis"}]};function _e(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=0,a=!0,s=-1,u=-1,l=!1,c=function(){r.push(e.elt("TableCell",i+s,i+u,e.parser.parseInline(t.slice(s,u),i+s)))},h=n;h<t.length;h++){var f=t.charCodeAt(h);124!=f||l?(l||32!=f&&9!=f)&&(s<0&&(s=h),u=h+1):((!a||s>-1)&&o++,a=!1,r&&(s>-1&&c(),r.push(e.elt("TableDelimiter",h+i,h+i+1))),s=u=-1),l=!l&&92==f}return s>-1&&(o++,r&&c()),o}function Qe(e,t){for(var n=t;n<e.length;n++){var r=e.charCodeAt(n);if(124==r)return!0;92==r&&n++}return!1}var Pe=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/,Re=function(){function e(){(0,o.Z)(this,e),this.rows=null}return(0,a.Z)(e,[{key:"nextLine",value:function(e,t,n){var r;if(null==this.rows){if(this.rows=!1,(45==t.next||58==t.next||124==t.next)&&Pe.test(r=t.text.slice(t.pos))){var i=[];_e(e,n.content,0,i,n.start)==_e(e,r,t.pos)&&(this.rows=[e.elt("TableHeader",n.start,n.start+n.content.length,i),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)])}}else if(this.rows){var o=[];_e(e,t.text,t.pos,o,e.lineStart),this.rows.push(e.elt("TableRow",e.lineStart+t.pos,e.lineStart+t.text.length,o))}return!1}},{key:"finish",value:function(e,t){return!!this.rows&&(e.addLeafElement(t,e.elt("Table",t.start,t.start+t.content.length,this.rows)),!0)}}]),e}(),De={defineNodes:[{name:"Table",block:!0},{name:"TableHeader",style:{"TableHeader/...":g.pJ.heading}},"TableRow",{name:"TableCell",style:g.pJ.content},{name:"TableDelimiter",style:g.pJ.processingInstruction}],parseBlock:[{name:"Table",leaf:function(e,t){return Qe(t.content,0)?new Re:null},endLeaf:function(e,t,n){if(n.parsers.some((function(e){return e instanceof Re}))||!Qe(t.text,t.basePos))return!1;var r=e.scanLine(e.absoluteLineEnd+1).text;return Pe.test(r)&&_e(e,t.text,t.basePos)==_e(e,r,t.basePos)},before:"SetextHeading"}]},Ne=function(){function e(){(0,o.Z)(this,e)}return(0,a.Z)(e,[{key:"nextLine",value:function(){return!1}},{key:"finish",value:function(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3)].concat((0,f.Z)(e.parser.parseInline(t.content.slice(3),t.start+3))))),!0}}]),e}(),Me=[De,{defineNodes:[{name:"Task",block:!0,style:g.pJ.list},{name:"TaskMarker",style:g.pJ.atom}],parseBlock:[{name:"TaskList",leaf:function(e,t){return/^\[[ xX]\]/.test(t.content)&&"ListItem"==e.parentType().name?new Ne:null},after:"SetextHeading"}]},Ae];function Ie(e,t,n){return function(r,i,o){if(i!=e||r.char(o+1)==e)return-1;for(var a=[r.elt(n,o,o+1)],s=o+1;s<r.end;s++){var u=r.char(s);if(u==e)return r.addElement(r.elt(t,o,s+1,a.concat(r.elt(n,s,s+1))));if(92==u&&a.push(r.elt("Escape",s,2+s++)),x(u))break}return-1}}var Le={defineNodes:[{name:"Superscript",style:g.pJ.special(g.pJ.content)},{name:"SuperscriptMark",style:g.pJ.processingInstruction}],parseInline:[{name:"Superscript",parse:Ie(94,"Superscript","SuperscriptMark")}]},Fe={defineNodes:[{name:"Subscript",style:g.pJ.special(g.pJ.content)},{name:"SubscriptMark",style:g.pJ.processingInstruction}],parseInline:[{name:"Subscript",parse:Ie(126,"Subscript","SubscriptMark")}]},Ze={defineNodes:[{name:"Emoji",style:g.pJ.character}],parseInline:[{name:"Emoji",parse:function(e,t,n){var r;return 58==t&&(r=/^[a-zA-Z_0-9]+:/.exec(e.slice(n+1,e.end)))?e.addElement(e.elt("Emoji",n,n+1+r[0].length)):-1}}]},$e=n(3330),je=(0,l.kU)({block:{open:"\x3c!--",close:"--\x3e"}}),Be=we.configure({props:[l.x0.add((function(e){if(e.is("Block")&&!e.is("Document"))return function(e,t){return{from:t.doc.lineAt(e.from).to,to:e.to}}})),l.uj.add({Document:function(){return null}}),l.pp.add({Document:je})]});function ze(e){return new l.SQ(je,e)}var He=ze(Be),We=ze(Be.configure([Me,Fe,Le,Ze]));function Ue(e,t){return function(n){if(n&&e){var r=null;if(n=/\S*/.exec(n)[0],(r="function"==typeof e?e(n):l.c6.matchLanguageName(e,n,!0))instanceof l.c6)return r.support?r.support.language.parser:l.Be.getSkippingParser(r.load());if(r)return r.parser}return t?t.parser:null}}function qe(e,t){return t.sliceString(e.from,e.from+50)}var Xe=function(){function e(t,n,r,i,a,s,u){(0,o.Z)(this,e),this.node=t,this.from=n,this.to=r,this.spaceBefore=i,this.spaceAfter=a,this.type=s,this.item=u}return(0,a.Z)(e,[{key:"blank",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.spaceBefore;if("Blockquote"==this.node.name)t+=">";else for(var n=this.to-this.from-t.length-this.spaceAfter.length;n>0;n--)t+=" ";return t+(e?this.spaceAfter:"")}},{key:"marker",value:function(e,t){var n="OrderedList"==this.node.name?String(+Je(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}]),e}();function Ge(e,t,n){for(var r=[],i=e;i&&"Document"!=i.name;i=i.parent)"ListItem"!=i.name&&"Blockquote"!=i.name||r.push(i);for(var o=[],a=0,s=r.length-1;s>=0;s--){var u=r[s],l=void 0,c=a;if("Blockquote"==u.name&&(l=/^[ \t]*>( ?)/.exec(t.slice(a))))a+=l[0].length,o.push(new Xe(u,c,a,"",l[1],">",null));else if("ListItem"==u.name&&"OrderedList"==u.parent.name&&(l=/^([ \t]*)\d+([.)])([ \t]*)/.exec(qe(u,n)))){var h=l[3],f=l[0].length;h.length>=4&&(h=h.slice(0,h.length-4),f-=4),a+=f,o.push(new Xe(u.parent,c,a,l[1],h,l[2],u))}else if("ListItem"==u.name&&"BulletList"==u.parent.name&&(l=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(qe(u,n)))){var d=l[4],p=l[0].length;d.length>4&&(d=d.slice(0,d.length-4),p-=4);var m=l[2];l[3]&&(m+=l[3].replace(/[xX]/," ")),a+=p,o.push(new Xe(u.parent,c,a,l[1],d,m,u))}}return o}function Je(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function Ve(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=-1,o=e;;){if("ListItem"==o.name){var a=Je(o,t),s=+a[2];if(i>=0){if(s!=i+1)return;n.push({from:o.from+a[1].length,to:o.from+a[0].length,insert:String(i+2+r)})}i=s}var u=o.nextSibling;if(!u)break;o=u}}var Ye=function(e){var t=e.state,n=e.dispatch,r=(0,l.qz)(t),i=t.doc,o=null,a=t.changeByRange((function(e){if(!e.empty||!We.isActiveAt(t,e.from))return o={range:e};for(var n=e.from,a=i.lineAt(n),u=Ge(r.resolveInner(n,-1),a.text,i);u.length&&u[u.length-1].from>n-a.from;)u.pop();if(!u.length)return o={range:e};var l=u[u.length-1];if(l.to-l.spaceAfter.length>n-a.from)return o={range:e};var c=n>=l.to-l.spaceAfter.length&&!/\S/.test(a.text.slice(l.to));if(l.item&&c){if(l.node.firstChild.to>=n||a.from>0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){var h,f=u.length>1?u[u.length-2]:null,d="";f&&f.item?(h=a.from+f.from,d=f.marker(i,1)):h=a.from+(f?f.to:0);var p=[{from:h,to:n,insert:d}];return"OrderedList"==l.node.name&&Ve(l.item,i,p,-2),f&&"OrderedList"==f.node.name&&Ve(f.item,i,p),{range:s.jT.cursor(h+d.length),changes:p}}for(var m="",g=0,v=u.length-2;g<=v;g++)m+=u[g].blank(g<v);return m+=t.lineBreak,{range:s.jT.cursor(n+m.length),changes:{from:a.from,insert:m}}}if("Blockquote"==l.node.name&&c&&a.from){var O=i.lineAt(a.from-1),y=/>\s*$/.exec(O.text);if(y&&y.index==l.from){var k=t.changes([{from:O.from+y.index,to:O.to},{from:a.from+l.from,to:a.to}]);return{range:e.map(k),changes:k}}}var b=[];"OrderedList"==l.node.name&&Ve(l.item,i,b);var x=t.lineBreak,T=l.item&&l.item.from<a.from;if(!T||/^[\s\d.)\-+*>]*/.exec(a.text)[0].length>=l.to)for(var w=0,S=u.length-1;w<=S;w++)x+=w!=S||T?u[w].blank():u[w].marker(i,1);for(var C=n;C>a.from&&/\s/.test(a.text.charAt(C-a.from-1));)C--;return b.push({from:C,to:n,insert:x}),{range:s.jT.cursor(C+x.length),changes:b}}));return!o&&(n(t.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)};function Ke(e){return"QuoteMark"==e.name||"ListMark"==e.name}var et=function(e){var t=e.state,n=e.dispatch,r=(0,l.qz)(t),i=null,o=t.changeByRange((function(e){var n=e.from,o=t.doc;if(e.empty&&We.isActiveAt(t,e.from)){var a=o.lineAt(n),u=Ge(function(e,t){var n,r=e.resolveInner(t,-1),i=t;for(Ke(r)&&(i=r.from,r=r.parent);n=r.childBefore(i);)if(Ke(n))i=n.from;else{if("OrderedList"!=n.name&&"BulletList"!=n.name)break;i=(r=n.lastChild).to}return r}(r,n),a.text,o);if(u.length){var l=u[u.length-1],c=l.to-l.spaceAfter.length+(l.spaceAfter?1:0);if(n-a.from>c&&!/\S/.test(a.text.slice(c,n-a.from)))return{range:s.jT.cursor(a.from+c),changes:{from:a.from+c,to:n}};if(n-a.from==c){var h=a.from+l.from;if(l.item&&l.node.from<l.item.from&&/\S/.test(a.text.slice(l.from,l.to)))return{range:e,changes:{from:h,to:a.from+l.to,insert:l.blank()}};if(h<n)return{range:s.jT.cursor(h),changes:{from:h,to:n}}}}}return i={range:e}}));return!i&&(n(t.update(o,{scrollIntoView:!0,userEvent:"delete"})),!0)},tt=[{key:"Enter",run:Ye},{key:"Backspace",run:et}],nt=(0,$e.html)({matchClosingTags:!1});function rt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.codeLanguages,n=e.defaultCodeLanguage,r=e.addKeymap,i=void 0===r||r,o=e.base,a=(o=void 0===o?He:o).parser;if(!(a instanceof G))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");var c,h=e.extensions?[e.extensions]:[],f=[nt.support];n instanceof l.ri?(f.push(n.support),c=n.language):n&&(c=n);var d=t||c?Ue(t,c):void 0;return h.push(Ce({codeParser:d,htmlParser:nt.language.parser})),i&&f.push(s.Wl.high(u.$f.of(tt))),new l.ri(ze(a.configure(h)),f)}},9973:function(e,t,n){"use strict";n.d(t,{Be:function(){return S},Dv:function(){return K},Gn:function(){return Z},K0:function(){return F},Qf:function(){return ye},R_:function(){return Ce},SQ:function(){return y},SS:function(){return L},Um:function(){return Le},c:function(){return M},c6:function(){return D},e7:function(){return ce},il:function(){return ze},kU:function(){return O},mi:function(){return ve},n$:function(){return Me},nF:function(){return Te},nY:function(){return J},pp:function(){return v},qp:function(){return b},qz:function(){return x},ri:function(){return R},tC:function(){return G},uj:function(){return $},vw:function(){return U},x0:function(){return Y},y1:function(){return I},ze:function(){return X}});var r,i=n(4649),o=n(1026),a=n(7169),s=n(7591),u=n(9616),l=n(726),c=n(2951),h=n(1976),f=n(1514),d=n(7989),p=n(1701),m=n(2029),g=n(1445),v=new f.md;function O(e){return d.r$.define({combine:e?function(t){return t.concat(e)}:void 0})}var y=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];(0,c.Z)(this,e),this.data=t,d.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(d.yy.prototype,"tree",{get:function(){return x(this)}}),this.parser=n,this.extension=[P.of(this),d.yy.languageData.of((function(e,t,n){return e.facet(k(e,t,n))}))].concat(r)}return(0,h.Z)(e,[{key:"isActiveAt",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return k(e,t,n)==this.data}},{key:"findRegions",value:function(e){var t=this,n=e.facet(P);if((null===n||void 0===n?void 0:n.data)==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];var r=[];return function e(n,i){if(n.prop(v)!=t.data){var o=n.prop(f.md.mounted);if(o){if(o.tree.prop(v)==t.data){if(o.overlay){var a,s=(0,l.Z)(o.overlay);try{for(s.s();!(a=s.n()).done;){var u=a.value;r.push({from:u.from+i,to:u.to+i})}}catch(p){s.e(p)}finally{s.f()}}else r.push({from:i,to:i+n.length});return}if(o.overlay){var c=r.length;if(e(o.tree,o.overlay[0].from+i),r.length>c)return}}for(var h=0;h<n.children.length;h++){var d=n.children[h];d instanceof f.mp&&e(d,n.positions[h]+i)}}else r.push({from:i,to:i+n.length})}(x(e),0),r}},{key:"allowsNesting",get:function(){return!0}}]),e}();function k(e,t,n){var r=e.facet(P);if(!r)return null;var i=r.data;if(r.allowsNesting)for(var o=x(e).topNode;o;o=o.enter(t,n,f.vj.ExcludeBuffers))i=o.type.prop(v)||i;return i}y.setState=d.Py.define();var b=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r){var i;return(0,c.Z)(this,n),(i=t.call(this,e,r)).parser=r,i}return(0,h.Z)(n,[{key:"configure",value:function(e){return new n(this.data,this.parser.configure(e))}},{key:"allowsNesting",get:function(){return this.parser.hasWrappers()}}],[{key:"define",value:function(e){var t=O(e.languageData);return new n(t,e.parser.configure({props:[v.add((function(e){return e.isTop?t:void 0}))]}))}}]),n}(y);function x(e){var t=e.field(y.state,!1);return t?t.tree:f.mp.empty}var T=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length;(0,c.Z)(this,e),this.doc=t,this.length=n,this.cursorPos=0,this.string="",this.cursor=t.iter()}return(0,h.Z)(e,[{key:"syncTo",value:function(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}},{key:"chunk",value:function(e){return this.syncTo(e),this.string}},{key:"lineChunks",get:function(){return!0}},{key:"read",value:function(e,t){var n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}]),e}(),w=null,S=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0;(0,c.Z)(this,e),this.parser=t,this.state=n,this.fragments=r,this.tree=i,this.treeLen=o,this.viewport=a,this.skipped=s,this.scheduleOn=u,this.parse=null,this.tempSkipped=[]}return(0,h.Z)(e,[{key:"startParse",value:function(){return this.parser.startParse(new T(this.state.doc),this.fragments)}},{key:"work",value:function(e,t){var n=this;return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=f.mp.empty&&this.isDone(null!==t&&void 0!==t?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext((function(){var r;if("number"==typeof e){var i=Date.now()+e;e=function(){return Date.now()>i}}for(n.parse||(n.parse=n.startParse()),null!=t&&(null==n.parse.stoppedAt||n.parse.stoppedAt>t)&&t<n.state.doc.length&&n.parse.stopAt(t);;){var o=n.parse.advance();if(o){if(n.fragments=n.withoutTempSkipped(f.i9.addTree(o,n.fragments,null!=n.parse.stoppedAt)),n.treeLen=null!==(r=n.parse.stoppedAt)&&void 0!==r?r:n.state.doc.length,n.tree=o,n.parse=null,!(n.treeLen<(null!==t&&void 0!==t?t:n.state.doc.length)))return!0;n.parse=n.startParse()}if(e())return!1}}))}},{key:"takeTree",value:function(){var e,t,n=this;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext((function(){for(;!(t=n.parse.advance()););})),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(f.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}},{key:"withContext",value:function(e){var t=w;w=this;try{return e()}finally{w=t}}},{key:"withoutTempSkipped",value:function(e){for(var t;t=this.tempSkipped.pop();)e=C(e,t.from,t.to);return e}},{key:"changes",value:function(t,n){var r=this.fragments,i=this.tree,o=this.treeLen,a=this.viewport,s=this.skipped;if(this.takeTree(),!t.empty){var u=[];if(t.iterChangedRanges((function(e,t,n,r){return u.push({fromA:e,toA:t,fromB:n,toB:r})})),r=f.i9.applyChanges(r,u),i=f.mp.empty,o=0,a={from:t.mapPos(a.from,-1),to:t.mapPos(a.to,1)},this.skipped.length){s=[];var c,h=(0,l.Z)(this.skipped);try{for(h.s();!(c=h.n()).done;){var d=c.value,p=t.mapPos(d.from,1),m=t.mapPos(d.to,-1);p<m&&s.push({from:p,to:m})}}catch(g){h.e(g)}finally{h.f()}}}return new e(this.parser,n,r,i,o,a,s,this.scheduleOn)}},{key:"updateViewport",value:function(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;for(var t=this.skipped.length,n=0;n<this.skipped.length;n++){var r=this.skipped[n],i=r.from,o=r.to;i<e.to&&o>e.from&&(this.fragments=C(this.fragments,i,o),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}},{key:"reset",value:function(){this.parse&&(this.takeTree(),this.parse=null)}},{key:"skipUntilInView",value:function(e,t){this.skipped.push({from:e,to:t})}},{key:"isDone",value:function(e){e=Math.min(e,this.state.doc.length);var t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}}],[{key:"create",value:function(t,n,r){return new e(t,n,[],f.mp.empty,0,r,[],null)}},{key:"getSkippingParser",value:function(e){return new(function(t){(0,s.Z)(r,t);var n=(0,u.Z)(r);function r(){return(0,c.Z)(this,r),n.apply(this,arguments)}return(0,h.Z)(r,[{key:"createParse",value:function(t,n,r){var i=r[0].from,o=r[r.length-1].to;return{parsedPos:i,advance:function(){var t=w;if(t){var n,a=(0,l.Z)(r);try{for(a.s();!(n=a.n()).done;){var s=n.value;t.tempSkipped.push(s)}}catch(u){a.e(u)}finally{a.f()}e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new f.mp(f.Jq.none,[],[],o-i)},stoppedAt:null,stopAt:function(){}}}}]),r}(f._b))}},{key:"get",value:function(){return w}}]),e}();function C(e,t,n){return f.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}var E=function(){function e(t){(0,c.Z)(this,e),this.context=t,this.tree=t.tree}return(0,h.Z)(e,[{key:"apply",value:function(t){if(!t.docChanged&&this.tree==this.context.tree)return this;var n=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new e(n)}}],[{key:"init",value:function(t){var n=Math.min(3e3,t.doc.length),r=S.create(t.facet(P).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new e(r)}}]),e}();y.state=d.QQ.define({create:E.init,update:function(e,t){var n,r=(0,l.Z)(t.effects);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.is(y.setState))return i.value}}catch(o){r.e(o)}finally{r.f()}return t.startState.facet(P)!=t.state.facet(P)?E.init(t.state):e.apply(t)}});var A=function(e){var t=setTimeout((function(){return e()}),500);return function(){return clearTimeout(t)}};"undefined"!=typeof requestIdleCallback&&(A=function(e){var t=-1,n=setTimeout((function(){t=requestIdleCallback(e,{timeout:400})}),100);return function(){return t<0?clearTimeout(n):cancelIdleCallback(t)}});var _="undefined"!=typeof navigator&&(null===(r=navigator.scheduling)||void 0===r?void 0:r.isInputPending)?function(){return navigator.scheduling.isInputPending()}:null,Q=p.lg.fromClass(function(){function e(t){(0,c.Z)(this,e),this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}return(0,h.Z)(e,[{key:"update",value:function(e){var t=this.view.state.field(y.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}},{key:"scheduleWork",value:function(){if(!this.working){var e=this.view.state,t=e.field(y.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=A(this.work))}}},{key:"work",value:function(e){this.working=null;var t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),!(this.chunkBudget<=0)){var n=this.view,r=n.state,i=n.viewport.to,o=r.field(y.state);if(o.tree!=o.context.tree||!o.context.isDone(i+1e5)){var a=Date.now()+Math.min(this.chunkBudget,100,e&&!_?Math.max(25,e.timeRemaining()-5):1e9),s=o.context.treeLen<i&&r.doc.length>i+1e3,u=o.context.work((function(){return _&&_()||Date.now()>a}),i+(s?0:1e5));this.chunkBudget-=Date.now()-t,(u||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:y.setState.of(new E(o.context))})),this.chunkBudget>0&&(!u||s)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}}}},{key:"checkAsyncSchedule",value:function(e){var t=this;e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then((function(){return t.scheduleWork()})).catch((function(e){return(0,p.OO)(t.view.state,e)})).then((function(){return t.workScheduled--})),e.scheduleOn=null)}},{key:"destroy",value:function(){this.working&&this.working()}},{key:"isWorking",value:function(){return!!(this.working||this.workScheduled>0)}}]),e}(),{eventHandlers:{focus:function(){this.scheduleWork()}}}),P=d.r$.define({combine:function(e){return e.length?e[0]:null},enables:[y.state,Q]}),R=(0,h.Z)((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,c.Z)(this,e),this.language=t,this.support=n,this.extension=[t,n]})),D=function(){function e(t,n,r,i,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:void 0;(0,c.Z)(this,e),this.name=t,this.alias=n,this.extensions=r,this.filename=i,this.loadFunc=o,this.support=a,this.loading=null}return(0,h.Z)(e,[{key:"load",value:function(){var e=this;return this.loading||(this.loading=this.loadFunc().then((function(t){return e.support=t}),(function(t){throw e.loading=null,t})))}}],[{key:"of",value:function(t){var n=t.load,r=t.support;if(!n){if(!r)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");n=function(){return Promise.resolve(r)}}return new e(t.name,(t.alias||[]).concat(t.name).map((function(e){return e.toLowerCase()})),t.extensions||[],t.filename,n,r)}},{key:"matchFilename",value:function(e,t){var n,r=(0,l.Z)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.filename&&i.filename.test(t))return i}}catch(c){r.e(c)}finally{r.f()}var o=/\.([^.]+)$/.exec(t);if(o){var a,s=(0,l.Z)(e);try{for(s.s();!(a=s.n()).done;){var u=a.value;if(u.extensions.indexOf(o[1])>-1)return u}}catch(c){s.e(c)}finally{s.f()}}return null}},{key:"matchLanguageName",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t=t.toLowerCase();var r,i=(0,l.Z)(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.alias.some((function(e){return e==t})))return o}}catch(p){i.e(p)}finally{i.f()}if(n){var a,s=(0,l.Z)(e);try{for(s.s();!(a=s.n()).done;){var u,c=a.value,h=(0,l.Z)(c.alias);try{for(h.s();!(u=h.n()).done;){var f=u.value,d=t.indexOf(f);if(d>-1&&(f.length>2||!/\w/.test(t[d-1])&&!/\w/.test(t[d+f.length])))return c}}catch(p){h.e(p)}finally{h.f()}}}catch(p){s.e(p)}finally{s.f()}}return null}}]),e}(),N=d.r$.define(),M=d.r$.define({combine:function(e){if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function I(e){var t=e.facet(M);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function L(e,t){var n="",r=e.tabSize;if(9==e.facet(M).charCodeAt(0))for(;t>=r;)n+="\t",t-=r;for(var i=0;i<t;i++)n+=" ";return n}function F(e,t){e instanceof d.yy&&(e=new Z(e));var n,r=(0,l.Z)(e.state.facet(N));try{for(r.s();!(n=r.n()).done;){var i=(0,n.value)(e,t);if(null!=i)return i}}catch(a){r.e(a)}finally{r.f()}var o=x(e.state);return o?function(e,t,n){return B(t.resolveInner(n).enterUnfinishedNodesBefore(n),n,e)}(e,o,t):null}var Z=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,c.Z)(this,e),this.state=t,this.options=n,this.unit=I(t)}return(0,h.Z)(e,[{key:"lineAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.state.doc.lineAt(e),r=this.options,i=r.simulateBreak,o=r.simulateDoubleBreak;return null!=i&&i>=n.from&&i<=n.to?o&&i==e?{text:"",from:e}:(t<0?i<e:i<=e)?{text:n.text.slice(i-n.from),from:i}:{text:n.text.slice(0,i-n.from),from:n.from}:n}},{key:"textAfterPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";var n=this.lineAt(e,t),r=n.text,i=n.from;return r.slice(e-i,Math.min(r.length,e+100-i))}},{key:"column",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.lineAt(e,t),r=n.text,i=n.from,o=this.countColumn(r,e-i),a=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return a>-1&&(o+=a-this.countColumn(r,r.search(/\S|$/))),o}},{key:"countColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;return(0,d.IS)(e,this.state.tabSize,t)}},{key:"lineIndent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.lineAt(e,t),r=n.text,i=n.from,o=this.options.overrideIndentation;if(o){var a=o(i);if(a>-1)return a}return this.countColumn(r,r.search(/\S|$/))}},{key:"simulatedBreak",get:function(){return this.options.simulateBreak||null}}]),e}(),$=new f.md;function j(e){var t=e.type.prop($);if(t)return t;var n,r=e.firstChild;if(r&&(n=r.type.prop(f.md.closedBy))){var i=e.lastChild,o=i&&n.indexOf(i.name)>-1;return function(e){return q(e,!0,1,void 0,o&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?i.from:void 0)}}return null==e.parent?z:null}function B(e,t,n){for(;e;e=e.parent){var r=j(e);if(r)return r(H.create(n,t,e))}return null}function z(){return 0}var H=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r,i){var o;return(0,c.Z)(this,n),(o=t.call(this,e.state,e.options)).base=e,o.pos=r,o.node=i,o}return(0,h.Z)(n,[{key:"textAfter",get:function(){return this.textAfterPos(this.pos)}},{key:"baseIndent",get:function(){for(var e=this.state.doc.lineAt(this.node.from);;){for(var t=this.node.resolve(e.from);t.parent&&t.parent.from==t.from;)t=t.parent;if(W(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}},{key:"continue",value:function(){var e=this.node.parent;return e?B(e,this.pos,this.base):0}}],[{key:"create",value:function(e,t,r){return new n(e,t,r)}}]),n}(Z);function W(e,t){for(var n=t;n;n=n.parent)if(e==n)return!0;return!1}function U(e){var t=e.closing,n=e.align,r=void 0===n||n,i=e.units,o=void 0===i?1:i;return function(e){return q(e,r,o,t)}}function q(e,t,n,r,i){var o=e.textAfter,a=o.match(/^\s*/)[0].length,s=r&&o.slice(a,a+r.length)==r||i==e.pos+a,u=t?function(e){var t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;for(var i=e.options.simulateBreak,o=e.state.doc.lineAt(n.from),a=null==i||i<=o.from?o.to:Math.min(o.to,i),s=n.to;;){var u=t.childAfter(s);if(!u||u==r)return null;if(!u.type.isSkipped)return u.from<a?n:null;s=u.to}}(e):null;return u?s?e.column(u.from):e.column(u.to):e.baseIndent+(s?0:e.unit*n)}var X=function(e){return e.baseIndent};function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.except,n=e.units,r=void 0===n?1:n;return function(e){var n=t&&t.test(e.textAfter);return e.baseIndent+(n?0:r*e.unit)}}function J(){return d.yy.transactionFilter.of((function(e){if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;var t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;var n=e.newDoc,r=e.newSelection.main.head,i=n.lineAt(r);if(r>i.from+200)return e;var o=n.sliceString(i.from,r);if(!t.some((function(e){return e.test(o)})))return e;var a,s=e.state,u=-1,c=[],h=(0,l.Z)(s.selection.ranges);try{for(h.s();!(a=h.n()).done;){var f=a.value.head,d=s.doc.lineAt(f);if(d.from!=u){u=d.from;var p=F(s,d.from);if(null!=p){var m=/^\s*/.exec(d.text)[0],g=L(s,p);m!=g&&c.push({from:d.from,to:d.from+m.length,insert:g})}}}}catch(v){h.e(v)}finally{h.f()}return c.length?[e,{changes:c,sequential:!0}]:e}))}var V=d.r$.define(),Y=new f.md;function K(e){var t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,to:n.type.isError?e.to:n.from}:null}function ee(e){var t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function te(e,t,n){var r,i=(0,l.Z)(e.facet(V));try{for(i.s();!(r=i.n()).done;){var o=(0,r.value)(e,t,n);if(o)return o}}catch(a){i.e(a)}finally{i.f()}return function(e,t,n){var r=x(e);if(r.length<n)return null;for(var i=null,o=r.resolveInner(n);o;o=o.parent)if(!(o.to<=n||o.from>n)){if(i&&o.from<t)break;var a=o.type.prop(Y);if(a&&(o.to<r.length-50||r.length==e.doc.length||!ee(o))){var s=a(o,e);s&&s.from<=n&&s.from>=t&&s.to>n&&(i=s)}}return i}(e,t,n)}function ne(e,t){var n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}var re=d.Py.define({map:ne}),ie=d.Py.define({map:ne});function oe(e){var t,n=[],r=(0,l.Z)(e.state.selection.ranges);try{var i=function(){var r=t.value.head;if(n.some((function(e){return e.from<=r&&e.to>=r})))return"continue";n.push(e.lineBlockAt(r))};for(r.s();!(t=r.n()).done;)i()}catch(o){r.e(o)}finally{r.f()}return n}var ae=d.QQ.define({create:function(){return p.p.none},update:function(e,t){e=e.map(t.changes);var n,r=(0,l.Z)(t.effects);try{var i=function(){var t=n.value;t.is(re)&&!function(e,t,n){var r=!1;return e.between(t,t,(function(e,i){e==t&&i==n&&(r=!0)})),r}(e,t.value.from,t.value.to)?e=e.update({add:[pe.range(t.value.from,t.value.to)]}):t.is(ie)&&(e=e.update({filter:function(e,n){return t.value.from!=e||t.value.to!=n},filterFrom:t.value.from,filterTo:t.value.to}))};for(r.s();!(n=r.n()).done;)i()}catch(s){r.e(s)}finally{r.f()}if(t.selection){var o=!1,a=t.selection.main.head;e.between(a,a,(function(e,t){e<a&&t>a&&(o=!0)})),o&&(e=e.update({filterFrom:a,filterTo:a,filter:function(e,t){return t<=a||e>=a}}))}return e},provide:function(e){return p.tk.decorations.from(e)},toJSON:function(e,t){var n=[];return e.between(0,t.doc.length,(function(e,t){n.push(e,t)})),n},fromJSON:function(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");for(var t=[],n=0;n<e.length;){var r=e[n++],i=e[n++];if("number"!=typeof r||"number"!=typeof i)throw new RangeError("Invalid JSON for fold state");t.push(pe.range(r,i))}return p.p.set(t,!0)}});function se(e,t,n){var r,i=null;return null===(r=e.field(ae,!1))||void 0===r||r.between(t,n,(function(e,t){(!i||i.from>e)&&(i={from:e,to:t})})),i}function ue(e,t){return e.field(ae,!1)?t:t.concat(d.Py.appendConfig.of(de()))}function le(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return p.tk.announce.of("".concat(e.state.phrase(n?"Folded lines":"Unfolded lines")," ").concat(r," ").concat(e.state.phrase("to")," ").concat(i,"."))}var ce=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:function(e){var t,n=(0,l.Z)(oe(e));try{for(n.s();!(t=n.n()).done;){var r=t.value,i=te(e.state,r.from,r.to);if(i)return e.dispatch({effects:ue(e.state,[re.of(i),le(e,i)])}),!0}}catch(o){n.e(o)}finally{n.f()}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:function(e){if(!e.state.field(ae,!1))return!1;var t,n=[],r=(0,l.Z)(oe(e));try{for(r.s();!(t=r.n()).done;){var i=t.value,o=se(e.state,i.from,i.to);o&&n.push(ie.of(o),le(e,o,!1))}}catch(a){r.e(a)}finally{r.f()}return n.length&&e.dispatch({effects:n}),n.length>0}},{key:"Ctrl-Alt-[",run:function(e){for(var t=e.state,n=[],r=0;r<t.doc.length;){var i=e.lineBlockAt(r),o=te(t,i.from,i.to);o&&n.push(re.of(o)),r=(o?e.lineBlockAt(o.to):i).to+1}return n.length&&e.dispatch({effects:ue(e.state,n)}),!!n.length}},{key:"Ctrl-Alt-]",run:function(e){var t=e.state.field(ae,!1);if(!t||!t.size)return!1;var n=[];return t.between(0,e.state.doc.length,(function(e,t){n.push(ie.of({from:e,to:t}))})),e.dispatch({effects:n}),!0}}],he={placeholderDOM:null,placeholderText:"\u2026"},fe=d.r$.define({combine:function(e){return(0,d.BO)(e,he)}});function de(e){var t=[ae,Oe];return e&&t.push(fe.of(e)),t}var pe=p.p.replace({widget:new(function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){return(0,c.Z)(this,n),t.apply(this,arguments)}return(0,h.Z)(n,[{key:"toDOM",value:function(e){var t=e.state,n=t.facet(fe),r=function(t){var n=e.lineBlockAt(e.posAtDOM(t.target)),r=se(e.state,n.from,n.to);r&&e.dispatch({effects:ie.of(r)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,r);var i=document.createElement("span");return i.textContent=n.placeholderText,i.setAttribute("aria-label",t.phrase("folded code")),i.title=t.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=r,i}}]),n}(p.l9))}),me={openText:"\u2304",closedText:"\u203a",markerDOM:null,domEventHandlers:{},foldingChanged:function(){return!1}},ge=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r){var i;return(0,c.Z)(this,n),(i=t.call(this)).config=e,i.open=r,i}return(0,h.Z)(n,[{key:"eq",value:function(e){return this.config==e.config&&this.open==e.open}},{key:"toDOM",value:function(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);var t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}]),n}(p.SJ);function ve(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign(Object.assign({},me),e),n=new ge(t,!0),r=new ge(t,!1),i=p.lg.fromClass(function(){function e(t){(0,c.Z)(this,e),this.from=t.viewport.from,this.markers=this.buildMarkers(t)}return(0,h.Z)(e,[{key:"update",value:function(e){(e.docChanged||e.viewportChanged||e.startState.facet(P)!=e.state.facet(P)||e.startState.field(ae,!1)!=e.state.field(ae,!1)||x(e.startState)!=x(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}},{key:"buildMarkers",value:function(e){var t,i=new d.f_,o=(0,l.Z)(e.viewportLineBlocks);try{for(o.s();!(t=o.n()).done;){var a=t.value,s=se(e.state,a.from,a.to)?r:te(e.state,a.from,a.to)?n:null;s&&i.add(a.from,a.from,s)}}catch(u){o.e(u)}finally{o.f()}return i.finish()}}]),e}()),o=t.domEventHandlers;return[i,(0,p.v5)({class:"cm-foldGutter",markers:function(e){var t;return(null===(t=e.plugin(i))||void 0===t?void 0:t.markers)||d.Xs.empty},initialSpacer:function(){return new ge(t,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:function(e,t,n){if(o.click&&o.click(e,t,n))return!0;var r=se(e.state,t.from,t.to);if(r)return e.dispatch({effects:ie.of(r)}),!0;var i=te(e.state,t.from,t.to);return!!i&&(e.dispatch({effects:re.of(i)}),!0)}})}),de()]}var Oe=p.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}}),ye=function(){function e(t,n){var r;function i(e){var t=g.V.newName();return(r||(r=Object.create(null)))["."+t]=e,t}(0,c.Z)(this,e);var o="string"==typeof n.all?n.all:n.all?i(n.all):void 0,a=n.scope;this.scope=a instanceof y?function(e){return e.prop(v)==a.data}:a?function(e){return e==a}:void 0,this.style=(0,m.QR)(t.map((function(e){return{tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))}})),{all:o}).style,this.module=r?new g.V(r):null,this.themeType=n.themeType}return(0,h.Z)(e,null,[{key:"define",value:function(t,n){return new e(t,n||{})}}]),e}(),ke=d.r$.define(),be=d.r$.define({combine:function(e){return e.length?[e[0]]:null}});function xe(e){var t=e.facet(ke);return t.length?t:e.facet(be)}function Te(e,t){var n,r=[Se];return e instanceof ye&&(e.module&&r.push(p.tk.styleModule.of(e.module)),n=e.themeType),(null===t||void 0===t?void 0:t.fallback)?r.push(be.of(e)):n?r.push(ke.computeN([p.tk.darkTheme],(function(t){return t.facet(p.tk.darkTheme)==("dark"==n)?[e]:[]}))):r.push(ke.of(e)),r}var we=function(){function e(t){(0,c.Z)(this,e),this.markCache=Object.create(null),this.tree=x(t.state),this.decorations=this.buildDeco(t,xe(t.state))}return(0,h.Z)(e,[{key:"update",value:function(e){var t=x(e.state),n=xe(e.state),r=n!=xe(e.startState);t.length<e.view.viewport.to&&!r&&t.type==this.tree.type?this.decorations=this.decorations.map(e.changes):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n))}},{key:"buildDeco",value:function(e,t){var n=this;if(!t||!this.tree.length)return p.p.none;var r,i=new d.f_,o=(0,l.Z)(e.visibleRanges);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.from,u=a.to;(0,m.bW)(this.tree,t,(function(e,t,r){i.add(e,t,n.markCache[r]||(n.markCache[r]=p.p.mark({class:r})))}),s,u)}}catch(c){o.e(c)}finally{o.f()}return i.finish()}}]),e}(),Se=d.Wl.high(p.lg.fromClass(we,{decorations:function(e){return e.decorations}})),Ce=ye.define([{tag:m.pJ.meta,color:"#7a757a"},{tag:m.pJ.link,textDecoration:"underline"},{tag:m.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:m.pJ.emphasis,fontStyle:"italic"},{tag:m.pJ.strong,fontWeight:"bold"},{tag:m.pJ.strikethrough,textDecoration:"line-through"},{tag:m.pJ.keyword,color:"#708"},{tag:[m.pJ.atom,m.pJ.bool,m.pJ.url,m.pJ.contentSeparator,m.pJ.labelName],color:"#219"},{tag:[m.pJ.literal,m.pJ.inserted],color:"#164"},{tag:[m.pJ.string,m.pJ.deleted],color:"#a11"},{tag:[m.pJ.regexp,m.pJ.escape,m.pJ.special(m.pJ.string)],color:"#e40"},{tag:m.pJ.definition(m.pJ.variableName),color:"#00f"},{tag:m.pJ.local(m.pJ.variableName),color:"#30a"},{tag:[m.pJ.typeName,m.pJ.namespace],color:"#085"},{tag:m.pJ.className,color:"#167"},{tag:[m.pJ.special(m.pJ.variableName),m.pJ.macroName],color:"#256"},{tag:m.pJ.definition(m.pJ.propertyName),color:"#00c"},{tag:m.pJ.comment,color:"#940"},{tag:m.pJ.invalid,color:"#f00"}]),Ee=p.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),Ae=1e4,_e="()[]{}",Qe=d.r$.define({combine:function(e){return(0,d.BO)(e,{afterCursor:!0,brackets:_e,maxScanDistance:Ae,renderMatch:De})}}),Pe=p.p.mark({class:"cm-matchingBracket"}),Re=p.p.mark({class:"cm-nonmatchingBracket"});function De(e){var t=[],n=e.matched?Pe:Re;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}var Ne=[d.QQ.define({create:function(){return p.p.none},update:function(e,t){if(!t.docChanged&&!t.selection)return e;var n,r=[],i=t.state.facet(Qe),o=(0,l.Z)(t.state.selection.ranges);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(a.empty){var s=Le(t.state,a.head,-1,i)||a.head>0&&Le(t.state,a.head-1,1,i)||i.afterCursor&&(Le(t.state,a.head,1,i)||a.head<t.state.doc.length&&Le(t.state,a.head+1,-1,i));s&&(r=r.concat(i.renderMatch(s,t.state)))}}}catch(u){o.e(u)}finally{o.f()}return p.p.set(r,!0)},provide:function(e){return p.tk.decorations.from(e)}}),Ee];function Me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Qe.of(e),Ne]}function Ie(e,t,n){var r=e.prop(t<0?f.md.openedBy:f.md.closedBy);if(r)return r;if(1==e.name.length){var i=n.indexOf(e.name);if(i>-1&&i%2==(t<0?1:0))return[n[i+t]]}return null}function Le(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.maxScanDistance||Ae,o=r.brackets||_e,a=x(e),s=a.resolveInner(t,n),u=s;u;u=u.parent){var l=Ie(u.type,n,o);if(l&&u.from<u.to)return Fe(e,t,n,u,l,o)}return Ze(e,t,n,a,s.type,i,o)}function Fe(e,t,n,r,i,o){var a=r.parent,s={from:r.from,to:r.to},u=0,l=null===a||void 0===a?void 0:a.cursor();if(l&&(n<0?l.childBefore(r.from):l.childAfter(r.to)))do{if(n<0?l.to<=r.from:l.from>=r.to){if(0==u&&i.indexOf(l.type.name)>-1&&l.from<l.to)return{start:s,end:{from:l.from,to:l.to},matched:!0};if(Ie(l.type,n,o))u++;else if(Ie(l.type,-n,o)){if(0==u)return{start:s,end:l.from==l.to?void 0:{from:l.from,to:l.to},matched:!1};u--}}}while(n<0?l.prevSibling():l.nextSibling());return{start:s,matched:!1}}function Ze(e,t,n,r,i,o,a){var s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),u=a.indexOf(s);if(u<0||u%2==0!=n>0)return null;for(var l={from:n<0?t-1:t,to:n>0?t+1:t},c=e.doc.iterRange(t,n>0?e.doc.length:0),h=0,f=0;!c.next().done&&f<=o;){var d=c.value;n<0&&(f+=d.length);for(var p=t+f*n,m=n>0?0:d.length-1,g=n>0?d.length:-1;m!=g;m+=n){var v=a.indexOf(d[m]);if(!(v<0||r.resolveInner(p+m,1).type!=i))if(v%2==0==n>0)h++;else{if(1==h)return{start:l,end:{from:p+m,to:p+m+1},matched:v>>1==u>>1};h--}}n>0&&(f+=d.length)}return c.done?{start:l,matched:!1}:null}function $e(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=i,a=r;a<t;a++)9==e.charCodeAt(a)?o+=n-o%n:o++;return o}var je=function(){function e(t,n,r){(0,c.Z)(this,e),this.string=t,this.tabSize=n,this.indentUnit=r,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}return(0,h.Z)(e,[{key:"eol",value:function(){return this.pos>=this.string.length}},{key:"sol",value:function(){return 0==this.pos}},{key:"peek",value:function(){return this.string.charAt(this.pos)||void 0}},{key:"next",value:function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}},{key:"eat",value:function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e instanceof RegExp?e.test(t):e(t)))return++this.pos,t}},{key:"eatWhile",value:function(e){for(var t=this.pos;this.eat(e););return this.pos>t}},{key:"eatSpace",value:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}},{key:"skipToEnd",value:function(){this.pos=this.string.length}},{key:"skipTo",value:function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}},{key:"backUp",value:function(e){this.pos-=e}},{key:"column",value:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=$e(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}},{key:"indentation",value:function(){return $e(this.string,null,this.tabSize)}},{key:"match",value:function(e,t,n){if("string"==typeof e){var r=function(e){return n?e.toLowerCase():e};return r(this.string.substr(this.pos,e.length))==r(e)?(!1!==t&&(this.pos+=e.length),!0):null}var i=this.string.slice(this.pos).match(e);return i&&i.index>0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}},{key:"current",value:function(){return this.string.slice(this.start,this.pos)}}]),e}();function Be(e){if("object"!=typeof e)return e;var t={};for(var n in e){var r=e[n];t[n]=r instanceof Array?r.slice():r}return t}var ze=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;(0,c.Z)(this,n);var i,o,l=O(e.languageData),d={token:(o=e).token,blankLine:o.blankLine||function(){},startState:o.startState||function(){return!0},copyState:o.copyState||Be,indent:o.indent||function(){return null},languageData:o.languageData||{},tokenTable:o.tokenTable||Xe},p=new(function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){return(0,c.Z)(this,n),t.apply(this,arguments)}return(0,h.Z)(n,[{key:"createParse",value:function(e,t,n){return new Ue(i,e,t,n)}}]),n}(f._b));return(r=t.call(this,l,p,[N.of((function(e,t){return r.getIndent(e,t)}))])).topNode=function(e){var t=f.Jq.define({id:Ge.length,name:"Document",props:[v.add((function(){return e}))]});return Ge.push(t),t}(l),i=(0,a.Z)(r),r.streamParser=d,r.stateAfter=new f.md({perNode:!0}),r.tokenTable=e.tokenTable?new it(d.tokenTable):ot,r}return(0,h.Z)(n,[{key:"getIndent",value:function(e,t){for(var n=x(e.state),r=n.resolve(t);r&&r.type!=this.topNode;)r=r.parent;if(!r)return null;var i,o,a=He(this,n,0,r.from,t);if(a?(o=a.state,i=a.pos+1):(o=this.streamParser.startState(e.unit),i=0),t-i>1e4)return null;for(;i<t;){var s=e.state.doc.lineAt(i),u=Math.min(t,s.to);if(s.length)for(var l=new je(s.text,e.state.tabSize,e.unit);l.pos<u-s.from;)qe(this.streamParser.token,l,o);else this.streamParser.blankLine(o,e.unit);if(u==t)break;i=s.to+1}var c=e.lineAt(t).text;return this.streamParser.indent(o,/^\s*(.*)/.exec(c)[1],e)}},{key:"allowsNesting",get:function(){return!1}}],[{key:"define",value:function(e){return new n(e)}}]),n}(y);function He(e,t,n,r,i){var o=n>=r&&n+t.length<=i&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(var a=t.children.length-1;a>=0;a--){var s=t.children[a],u=n+t.positions[a],l=s instanceof f.mp&&u<i&&He(e,s,u,r,i);if(l)return l}return null}function We(e,t,n,r,i){if(i&&n<=0&&r>=t.length)return t;i||t.type!=e.topNode||(i=!0);for(var o=t.children.length-1;o>=0;o--){var a=t.positions[o],s=t.children[o],u=void 0;if(a<r&&s instanceof f.mp){if(!(u=We(e,s,n-a,r-a,i)))break;return i?new f.mp(t.type,t.children.slice(0,o).concat(u),t.positions.slice(0,o+1),a+u.length):u}}return null}var Ue=function(){function e(t,n,r,i){(0,c.Z)(this,e),this.lang=t,this.input=n,this.fragments=r,this.ranges=i,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=i[i.length-1].to;var o=S.get(),a=i[0].from,s=function(e,t,n,r){var i,o=(0,l.Z)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=a.from+(a.openStart?25:0),u=a.to-(a.openEnd?25:0),c=s<=n&&u>n&&He(e,a.tree,0-a.offset,n,u),h=void 0;if(c&&(h=We(e,a.tree,n+a.offset,c.pos+a.offset,!1)))return{state:c.state,tree:h}}}catch(d){o.e(d)}finally{o.f()}return{state:e.streamParser.startState(r?I(r):4),tree:f.mp.empty}}(t,r,a,null===o||void 0===o?void 0:o.state),u=s.state,h=s.tree;this.state=u,this.parsedPos=this.chunkStart=a+h.length;for(var d=0;d<h.children.length;d++)this.chunks.push(h.children[d]),this.chunkPos.push(h.positions[d]);o&&this.parsedPos<o.viewport.from-1e5&&(this.state=this.lang.streamParser.startState(I(o.state)),o.skipUntilInView(this.parsedPos,o.viewport.from),this.parsedPos=o.viewport.from),this.moveRangeIndex()}return(0,h.Z)(e,[{key:"advance",value:function(){var e=S.get(),t=null==this.stoppedAt?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(t,this.chunkStart+2048);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos<n;)this.parseLine(e);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=t?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}},{key:"stopAt",value:function(e){this.stoppedAt=e}},{key:"lineAfter",value:function(e){var t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{var n=t.indexOf("\n");n>-1&&(t=t.slice(0,n))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}},{key:"nextLine",value:function(){for(var e=this.parsedPos,t=this.lineAfter(e),n=e+t.length,r=this.rangeIndex;;){var i=this.ranges[r].to;if(i>=n)break;if(t=t.slice(0,i-(n-t.length)),++r==this.ranges.length)break;var o=this.ranges[r].from,a=this.lineAfter(o);t+=a,n=o+a.length}return{line:t,end:n}}},{key:"skipGapsTo",value:function(e,t,n){for(;;){var r=this.ranges[this.rangeIndex].to,i=e+t;if(n>0?r>i:r>=i)break;t+=this.ranges[++this.rangeIndex].from-r}return t}},{key:"moveRangeIndex",value:function(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}},{key:"emitToken",value:function(e,t,n,r,i){if(this.ranges.length>1){t+=i=this.skipGapsTo(t,i,1);var o=this.chunk.length;n+=i=this.skipGapsTo(n,i,-1),r+=this.chunk.length-o}return this.chunk.push(e,t,n,r),i}},{key:"parseLine",value:function(e){var t=this.nextLine(),n=t.line,r=t.end,i=0,o=this.lang.streamParser,a=new je(n,e?e.state.tabSize:4,e?I(e.state):2);if(a.eol())o.blankLine(this.state,a.indentUnit);else for(;!a.eol();){var s=qe(o.token,a,this.state);if(s&&(i=this.emitToken(this.lang.tokenTable.resolve(s),this.parsedPos+a.start,this.parsedPos+a.pos,4,i)),a.start>1e4)break}this.parsedPos=r,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}},{key:"finishChunk",value:function(){var e=f.mp.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:Je,topID:0,maxBufferLength:2048,reused:this.chunkReused});e=new f.mp(e.type,e.children,e.positions,e.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(e),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}},{key:"finish",value:function(){return new f.mp(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}]),e}();function qe(e,t,n){t.start=t.pos;for(var r=0;r<10;r++){var i=e(t,n);if(t.pos>t.start)return i}throw new Error("Stream parser failed to advance stream.")}for(var Xe=Object.create(null),Ge=[f.Jq.none],Je=new f.Lj(Ge),Ve=[],Ye=Object.create(null),Ke=0,et=[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]];Ke<et.length;Ke++){var tt=(0,o.Z)(et[Ke],2),nt=tt[0],rt=tt[1];Ye[nt]=st(Xe,rt)}var it=function(){function e(t){(0,c.Z)(this,e),this.extra=t,this.table=Object.assign(Object.create(null),Ye)}return(0,h.Z)(e,[{key:"resolve",value:function(e){return e?this.table[e]||(this.table[e]=st(this.extra,e)):0}}]),e}(),ot=new it(Xe);function at(e,t){Ve.indexOf(e)>-1||(Ve.push(e),console.warn(t))}function st(e,t){var n,r=null,o=(0,l.Z)(t.split("."));try{for(o.s();!(n=o.n()).done;){var a=n.value,s=e[a]||m.pJ[a];s?"function"==typeof s?r?r=s(r):at(a,"Modifier ".concat(a," used at start of tag")):r?at(a,"Tag ".concat(a," used as modifier")):r=s:at(a,"Unknown highlighting tag ".concat(a))}}catch(h){o.e(h)}finally{o.f()}if(!r)return 0;var u=t.replace(/ /g,"_"),c=f.Jq.define({id:Ge.length,name:u,props:[(0,m.Gv)((0,i.Z)({},u,r))]});return Ge.push(c),c.id}},7989:function(e,t,n){"use strict";n.d(t,{BO:function(){return Me},D0:function(){return Pe},Gz:function(){return et},IS:function(){return Ke},Py:function(){return xe},QQ:function(){return K},Wl:function(){return oe},Xs:function(){return $e},YW:function(){return Te},as:function(){return I},bg:function(){return P},cp:function(){return S},f_:function(){return Be},gc:function(){return N},gm:function(){return Q},jT:function(){return H},n0:function(){return M},nZ:function(){return R},q6:function(){return ye},r$:function(){return q},uU:function(){return Ie},xv:function(){return h},yy:function(){return Ne}});var r=n(1026),i=n(726),o=n(3243),a=n(7597),s=n(7591),u=n(9616),l=n(2951),c=n(1976),h=function(){function e(){(0,l.Z)(this,e)}return(0,c.Z)(e,[{key:"lineAt",value:function(e){if(e<0||e>this.length)throw new RangeError("Invalid position ".concat(e," in document of length ").concat(this.length));return this.lineInner(e,!1,1,0)}},{key:"line",value:function(e){if(e<1||e>this.lines)throw new RangeError("Invalid line number ".concat(e," in ").concat(this.lines,"-line document"));return this.lineInner(e,!0,1,0)}},{key:"replace",value:function(e,t,n){var r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),d.from(r,this.length-(t-e)+n.length)}},{key:"append",value:function(e){return this.replace(this.length,this.length,e)}},{key:"slice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length,n=[];return this.decompose(e,t,n,0),d.from(n,t-e)}},{key:"eq",value:function(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;for(var t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new v(this),i=new v(e),o=t,a=t;;){if(r.next(o),i.next(o),o=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(a+=r.value.length,r.done||a>=n)return!0}}},{key:"iter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return new v(this,e)}},{key:"iterRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length;return new O(this,e,t)}},{key:"iterLines",value:function(e,t){var n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);var r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new y(n)}},{key:"toString",value:function(){return this.sliceString(0)}},{key:"toJSON",value:function(){var e=[];return this.flatten(e),e}}],[{key:"of",value:function(t){if(0==t.length)throw new RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new f(t):d.from(f.split(t,[])):e.empty}}]),e}(),f=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p(e);return(0,l.Z)(this,n),(r=t.call(this)).text=e,r.length=i,r}return(0,c.Z)(n,[{key:"lines",get:function(){return this.text.length}},{key:"children",get:function(){return null}},{key:"lineInner",value:function(e,t,n,r){for(var i=0;;i++){var o=this.text[i],a=r+o.length;if((t?n:a)>=e)return new k(r,a,n,o);r=a+1,n++}}},{key:"decompose",value:function(e,t,r,i){var o=e<=0&&t>=this.length?this:new n(g(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){var a=r.pop(),s=m(o.text,a.text.slice(),0,o.length);if(s.length<=32)r.push(new n(s,a.length+o.length));else{var u=s.length>>1;r.push(new n(s.slice(0,u)),new n(s.slice(u)))}}else r.push(o)}},{key:"replace",value:function(e,t,r){if(!(r instanceof n))return(0,o.Z)((0,a.Z)(n.prototype),"replace",this).call(this,e,t,r);var i=m(this.text,m(r.text,g(this.text,0,e)),t),s=this.length+r.length-(t-e);return i.length<=32?new n(i,s):d.from(n.split(i,[]),s)}},{key:"sliceString",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"\n",r="",i=0,o=0;i<=t&&o<this.text.length;o++){var a=this.text[o],s=i+a.length;i>e&&o&&(r+=n),e<s&&t>i&&(r+=a.slice(Math.max(0,e-i),t-i)),i=s+1}return r}},{key:"flatten",value:function(e){var t,n=(0,i.Z)(this.text);try{for(n.s();!(t=n.n()).done;){var r=t.value;e.push(r)}}catch(o){n.e(o)}finally{n.f()}}},{key:"scanIdentical",value:function(){return 0}}],[{key:"split",value:function(e,t){var r,o=[],a=-1,s=(0,i.Z)(e);try{for(s.s();!(r=s.n()).done;){var u=r.value;o.push(u),a+=u.length+1,32==o.length&&(t.push(new n(o,a)),o=[],a=-1)}}catch(l){s.e(l)}finally{s.f()}return a>-1&&t.push(new n(o,a)),t}}]),n}(h),d=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r){var o;(0,l.Z)(this,n),(o=t.call(this)).children=e,o.length=r,o.lines=0;var a,s=(0,i.Z)(e);try{for(s.s();!(a=s.n()).done;){var u=a.value;o.lines+=u.lines}}catch(c){s.e(c)}finally{s.f()}return o}return(0,c.Z)(n,[{key:"lineInner",value:function(e,t,n,r){for(var i=0;;i++){var o=this.children[i],a=r+o.length,s=n+o.lines-1;if((t?s:a)>=e)return o.lineInner(e,t,n,r);r=a+1,n=s+1}}},{key:"decompose",value:function(e,t,n,r){for(var i=0,o=0;o<=t&&i<this.children.length;i++){var a=this.children[i],s=o+a.length;if(e<=s&&t>=o){var u=r&((o<=e?1:0)|(s>=t?2:0));o>=e&&s<=t&&!u?n.push(a):a.decompose(e-o,t-o,n,u)}o=s+1}}},{key:"replace",value:function(e,t,r){if(r.lines<this.lines)for(var i=0,s=0;i<this.children.length;i++){var u=this.children[i],l=s+u.length;if(e>=s&&t<=l){var c=u.replace(e-s,t-s,r),h=this.lines-u.lines+c.lines;if(c.lines<h>>4&&c.lines>h>>6){var f=this.children.slice();return f[i]=c,new n(f,this.length-(t-e)+r.length)}return(0,o.Z)((0,a.Z)(n.prototype),"replace",this).call(this,s,l,c)}s=l+1}return(0,o.Z)((0,a.Z)(n.prototype),"replace",this).call(this,e,t,r)}},{key:"sliceString",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.length,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"\n",r="",i=0,o=0;i<this.children.length&&o<=t;i++){var a=this.children[i],s=o+a.length;o>e&&i&&(r+=n),e<s&&t>o&&(r+=a.sliceString(e-o,t-o,n)),o=s+1}return r}},{key:"flatten",value:function(e){var t,n=(0,i.Z)(this.children);try{for(n.s();!(t=n.n()).done;){t.value.flatten(e)}}catch(r){n.e(r)}finally{n.f()}}},{key:"scanIdentical",value:function(e,t){if(!(e instanceof n))return 0;for(var i=0,o=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1],a=(0,r.Z)(o,4),s=a[0],u=a[1],l=a[2],c=a[3];;s+=t,u+=t){if(s==l||u==c)return i;var h=this.children[s],f=e.children[u];if(h!=f)return i+h.scanIdentical(f,t);i+=h.length+1}}}],[{key:"from",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.reduce((function(e,t){return e+t.length+1}),-1),o=0,a=(0,i.Z)(e);try{for(a.s();!(t=a.n()).done;){var s=t.value;o+=s.lines}}catch(S){a.e(S)}finally{a.f()}if(o<32){var u,l=[],c=(0,i.Z)(e);try{for(c.s();!(u=c.n()).done;){var h=u.value;h.flatten(l)}}catch(S){c.e(S)}finally{c.f()}return new f(l,r)}var d=Math.max(32,o>>5),p=d<<1,m=d>>1,g=[],v=0,O=-1,y=[];function k(e){var t;if(e.lines>p&&e instanceof n){var r,o=(0,i.Z)(e.children);try{for(o.s();!(r=o.n()).done;){k(r.value)}}catch(S){o.e(S)}finally{o.f()}}else e.lines>m&&(v>m||!v)?(b(),g.push(e)):e instanceof f&&v&&(t=y[y.length-1])instanceof f&&e.lines+t.lines<=32?(v+=e.lines,O+=e.length+1,y[y.length-1]=new f(t.text.concat(e.text),t.length+1+e.length)):(v+e.lines>d&&b(),v+=e.lines,O+=e.length+1,y.push(e))}function b(){0!=v&&(g.push(1==y.length?y[0]:n.from(y,O)),O=-1,v=y.length=0)}var x,T=(0,i.Z)(e);try{for(T.s();!(x=T.n()).done;){var w=x.value;k(w)}}catch(S){T.e(S)}finally{T.f()}return b(),1==g.length?g[0]:new n(g,r)}}]),n}(h);function p(e){var t,n=-1,r=(0,i.Z)(e);try{for(r.s();!(t=r.n()).done;){n+=t.value.length+1}}catch(o){r.e(o)}finally{r.f()}return n}function m(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e9,i=0,o=0,a=!0;o<e.length&&i<=r;o++){var s=e[o],u=i+s.length;u>=n&&(u>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),a?(t[t.length-1]+=s,a=!1):t.push(s)),i=u+1}return t}function g(e,t,n){return m(e,[""],t,n)}h.empty=new f([""],0);var v=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(0,l.Z)(this,e),this.dir=n,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[t],this.offsets=[n>0?1:(t instanceof f?t.text.length:t.children.length)<<1]}return(0,c.Z)(e,[{key:"nextInner",value:function(e,t){for(this.done=this.lineBreak=!1;;){var n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],o=i>>1,a=r instanceof f?r.text.length:r.children.length;if(o==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&i)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof f){var s=r.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,s.length>Math.max(0,e))return this.value=0==e?s:t>0?s.slice(e):s.slice(0,s.length-e),this;e-=s.length}else{var u=r.children[o+(t<0?-1:0)];e>u.length?(e-=u.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(u),this.offsets.push(t>0?1:(u instanceof f?u.text.length:u.children.length)<<1))}}}},{key:"next",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}]),e}(),O=function(){function e(t,n,r){(0,l.Z)(this,e),this.value="",this.done=!1,this.cursor=new v(t,n>r?-1:1),this.pos=n>r?t.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}return(0,c.Z)(e,[{key:"nextInner",value:function(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);var n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;var r=this.cursor.next(e).value;return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}},{key:"next",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}},{key:"lineBreak",get:function(){return this.cursor.lineBreak&&""!=this.value}}]),e}(),y=function(){function e(t){(0,l.Z)(this,e),this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}return(0,c.Z)(e,[{key:"next",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.inner.next(e),n=t.done,r=t.lineBreak,i=t.value;return n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}},{key:"lineBreak",get:function(){return!1}}]),e}();"undefined"!=typeof Symbol&&(h.prototype[Symbol.iterator]=function(){return this.iter()},v.prototype[Symbol.iterator]=O.prototype[Symbol.iterator]=y.prototype[Symbol.iterator]=function(){return this});for(var k=function(){function e(t,n,r,i){(0,l.Z)(this,e),this.from=t,this.to=n,this.number=r,this.text=i}return(0,c.Z)(e,[{key:"length",get:function(){return this.to-this.from}}]),e}(),b="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((function(e){return e?parseInt(e,36):1})),x=1;x<b.length;x++)b[x]+=b[x-1];function T(e){for(var t=1;t<b.length;t+=2)if(b[t]>e)return b[t-1]<=e;return!1}function w(e){return e>=127462&&e<=127487}function S(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return(n?C:E)(e,t,r)}function C(e,t,n){if(t==e.length)return t;t&&A(e.charCodeAt(t))&&_(e.charCodeAt(t-1))&&t--;var r=Q(e,t);for(t+=R(r);t<e.length;){var i=Q(e,t);if(8205==r||8205==i||n&&T(i))t+=R(i),r=i;else{if(!w(i))break;for(var o=0,a=t-2;a>=0&&w(Q(e,a));)o++,a-=2;if(o%2==0)break;t+=2}}return t}function E(e,t,n){for(;t>0;){var r=C(e,t-2,n);if(r<t)return r;t--}return 0}function A(e){return e>=56320&&e<57344}function _(e){return e>=55296&&e<56320}function Q(e,t){var n=e.charCodeAt(t);if(!_(n)||t+1==e.length)return n;var r=e.charCodeAt(t+1);return A(r)?r-56320+(n-55296<<10)+65536:n}function P(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function R(e){return e<65536?1:2}var D=/\r\n?|\n/,N=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(N||(N={})),M=function(){function e(t){(0,l.Z)(this,e),this.sections=t}return(0,c.Z)(e,[{key:"length",get:function(){for(var e=0,t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}},{key:"newLength",get:function(){for(var e=0,t=0;t<this.sections.length;t+=2){var n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}},{key:"empty",get:function(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}},{key:"iterGaps",value:function(e){for(var t=0,n=0,r=0;t<this.sections.length;){var i=this.sections[t++],o=this.sections[t++];o<0?(e(n,r,i),r+=i):r+=o,n+=i}}},{key:"iterChangedRanges",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Z(this,e,t)}},{key:"invertedDesc",get:function(){for(var t=[],n=0;n<this.sections.length;){var r=this.sections[n++],i=this.sections[n++];i<0?t.push(r,i):t.push(i,r)}return new e(t)}},{key:"composeDesc",value:function(e){return this.empty?e:e.empty?this:j(this,e)}},{key:"mapDesc",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.empty?this:$(this,e,t)}},{key:"mapPos",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N.Simple,r=0,i=0,o=0;o<this.sections.length;){var a=this.sections[o++],s=this.sections[o++],u=r+a;if(s<0){if(u>e)return i+(e-r);i+=a}else{if(n!=N.Simple&&u>=e&&(n==N.TrackDel&&r<e&&u>e||n==N.TrackBefore&&r<e||n==N.TrackAfter&&u>e))return null;if(u>e||u==e&&t<0&&!a)return e==r||t<0?i:i+s;i+=s}r=u}if(e>r)throw new RangeError("Position ".concat(e," is out of range for changeset of length ").concat(r));return i}},{key:"touchesRange",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=0,r=0;n<this.sections.length&&r<=t;){var i=this.sections[n++],o=this.sections[n++],a=r+i;if(o>=0&&r<=t&&a>=e)return!(r<e&&a>t)||"cover";r=a}return!1}},{key:"toString",value:function(){for(var e="",t=0;t<this.sections.length;){var n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}return e}},{key:"toJSON",value:function(){return this.sections}}],[{key:"fromJSON",value:function(t){if(!Array.isArray(t)||t.length%2||t.some((function(e){return"number"!=typeof e})))throw new RangeError("Invalid JSON representation of ChangeDesc");return new e(t)}},{key:"create",value:function(t){return new e(t)}}]),e}(),I=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r){var i;return(0,l.Z)(this,n),(i=t.call(this,e)).inserted=r,i}return(0,c.Z)(n,[{key:"apply",value:function(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Z(this,(function(t,n,r,i,o){return e=e.replace(r,r+(n-t),o)}),!1),e}},{key:"mapDesc",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return $(this,e,t,!0)}},{key:"invert",value:function(e){for(var t=this.sections.slice(),r=[],i=0,o=0;i<t.length;i+=2){var a=t[i],s=t[i+1];if(s>=0){t[i]=s,t[i+1]=a;for(var u=i>>1;r.length<u;)r.push(h.empty);r.push(a?e.slice(o,o+a):h.empty)}o+=a}return new n(t,r)}},{key:"compose",value:function(e){return this.empty?e:e.empty?this:j(this,e,!0)}},{key:"map",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.empty?this:$(this,e,t,!0)}},{key:"iterChanges",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Z(this,e,t)}},{key:"desc",get:function(){return M.create(this.sections)}},{key:"filter",value:function(e){var t=[],r=[],i=[],o=new B(this);e:for(var a=0,s=0;;){for(var u=a==e.length?1e9:e[a++];s<u||s==u&&0==o.len;){if(o.done)break e;var l=Math.min(o.len,u-s);L(i,l,-1);var c=-1==o.ins?-1:0==o.off?o.ins:0;L(t,l,c),c>0&&F(r,t,o.text),o.forward(l),s+=l}for(var h=e[a++];s<h;){if(o.done)break e;var f=Math.min(o.len,h-s);L(t,f,-1),L(i,f,-1==o.ins?-1:0==o.off?o.ins:0),o.forward(f),s+=f}}return{changes:new n(t,r),filtered:M.create(i)}}},{key:"toJSON",value:function(){for(var e=[],t=0;t<this.sections.length;t+=2){var n=this.sections[t],r=this.sections[t+1];r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}}],[{key:"of",value:function(e,t,r){var o=[],a=[],s=0,u=null;function l(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||o.length){s<t&&L(o,t-s,-1);var r=new n(o,a);u=u?u.compose(r.map(u)):r,o=[],a=[],s=0}}return function e(c){if(Array.isArray(c)){var f,d=(0,i.Z)(c);try{for(d.s();!(f=d.n()).done;){e(f.value)}}catch(k){d.e(k)}finally{d.f()}}else if(c instanceof n){if(c.length!=t)throw new RangeError("Mismatched change set length (got ".concat(c.length,", expected ").concat(t,")"));l(),u=u?u.compose(c.map(u)):c}else{var p=c.from,m=c.to,g=void 0===m?p:m,v=c.insert;if(p>g||p<0||g>t)throw new RangeError("Invalid change range ".concat(p," to ").concat(g," (in doc of length ").concat(t,")"));var O=v?"string"==typeof v?h.of(v.split(r||D)):v:h.empty,y=O.length;if(p==g&&0==y)return;p<s&&l(),p>s&&L(o,p-s,-1),L(o,g-p,y),F(a,o,O),s=g}}(e),l(!u),u}},{key:"empty",value:function(e){return new n(e?[e,-1]:[],[])}},{key:"fromJSON",value:function(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");for(var t=[],r=[],i=0;i<e.length;i++){var o=e[i];if("number"==typeof o)t.push(o,-1);else{if(!Array.isArray(o)||"number"!=typeof o[0]||o.some((function(e,t){return t&&"string"!=typeof e})))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==o.length)t.push(o[0],0);else{for(;r.length<i;)r.push(h.empty);r[i]=h.of(o.slice(1)),t.push(o[0],r[i].length)}}}return new n(t,r)}},{key:"createSet",value:function(e,t){return new n(e,t)}}]),n}(M);function L(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!(0==t&&n<=0)){var i=e.length-2;i>=0&&n<=0&&n==e[i+1]?e[i]+=t:0==t&&0==e[i]?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}}function F(e,t,n){if(0!=n.length){var r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{for(;e.length<r;)e.push(h.empty);e.push(n)}}}function Z(e,t,n){for(var r=e.inserted,i=0,o=0,a=0;a<e.sections.length;){var s=e.sections[a++],u=e.sections[a++];if(u<0)i+=s,o+=s;else{for(var l=i,c=o,f=h.empty;l+=s,c+=u,u&&r&&(f=f.append(r[a-2>>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)s=e.sections[a++],u=e.sections[a++];t(i,l,o,c,f),i=l,o=c}}}function $(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=[],o=r?[]:null,a=new B(e),s=new B(t),u=-1;;)if(-1==a.ins&&-1==s.ins){var l=Math.min(a.len,s.len);L(i,l,-1),a.forward(l),s.forward(l)}else if(s.ins>=0&&(a.ins<0||u==a.i||0==a.off&&(s.len<a.len||s.len==a.len&&!n))){var c=s.len;for(L(i,s.ins,-1);c;){var h=Math.min(a.len,c);a.ins>=0&&u<a.i&&a.len<=h&&(L(i,0,a.ins),o&&F(o,i,a.text),u=a.i),a.forward(h),c-=h}s.next()}else{if(!(a.ins>=0)){if(a.done&&s.done)return o?I.createSet(i,o):M.create(i);throw new Error("Mismatched change set lengths")}for(var f=0,d=a.len;d;)if(-1==s.ins){var p=Math.min(d,s.len);f+=p,d-=p,s.forward(p)}else{if(!(0==s.ins&&s.len<d))break;d-=s.len,s.next()}L(i,f,u<a.i?a.ins:0),o&&u<a.i&&F(o,i,a.text),u=a.i,a.forward(a.len-d)}}function j(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=[],i=n?[]:null,o=new B(e),a=new B(t),s=!1;;){if(o.done&&a.done)return i?I.createSet(r,i):M.create(r);if(0==o.ins)L(r,o.len,0,s),o.next();else if(0!=a.len||a.done){if(o.done||a.done)throw new Error("Mismatched change set lengths");var u=Math.min(o.len2,a.len),l=r.length;if(-1==o.ins){var c=-1==a.ins?-1:a.off?0:a.ins;L(r,u,c,s),i&&c&&F(i,r,a.text)}else-1==a.ins?(L(r,o.off?0:o.len,u,s),i&&F(i,r,o.textBit(u))):(L(r,o.off?0:o.len,a.off?0:a.ins,s),i&&!a.off&&F(i,r,a.text));s=(o.ins>u||a.ins>=0&&a.len>u)&&(s||r.length>l),o.forward2(u),a.forward(u)}else L(r,0,a.ins,s),i&&F(i,r,a.text),a.next()}}var B=function(){function e(t){(0,l.Z)(this,e),this.set=t,this.i=0,this.next()}return(0,c.Z)(e,[{key:"next",value:function(){var e=this.set.sections;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}},{key:"done",get:function(){return-2==this.ins}},{key:"len2",get:function(){return this.ins<0?this.len:this.ins}},{key:"text",get:function(){var e=this.set.inserted,t=this.i-2>>1;return t>=e.length?h.empty:e[t]}},{key:"textBit",value:function(e){var t=this.set.inserted,n=this.i-2>>1;return n>=t.length&&!e?h.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}},{key:"forward",value:function(e){e==this.len?this.next():(this.len-=e,this.off+=e)}},{key:"forward2",value:function(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}]),e}(),z=function(){function e(t,n,r){(0,l.Z)(this,e),this.from=t,this.to=n,this.flags=r}return(0,c.Z)(e,[{key:"anchor",get:function(){return 16&this.flags?this.to:this.from}},{key:"head",get:function(){return 16&this.flags?this.from:this.to}},{key:"empty",get:function(){return this.from==this.to}},{key:"assoc",get:function(){return 4&this.flags?-1:8&this.flags?1:0}},{key:"bidiLevel",get:function(){var e=3&this.flags;return 3==e?null:e}},{key:"goalColumn",get:function(){var e=this.flags>>5;return 33554431==e?void 0:e}},{key:"map",value:function(t){var n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return this.empty?n=r=t.mapPos(this.from,i):(n=t.mapPos(this.from,1),r=t.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new e(n,r,this.flags)}},{key:"extend",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(e<=this.anchor&&t>=this.anchor)return H.range(e,t);var n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return H.range(this.anchor,n)}},{key:"eq",value:function(e){return this.anchor==e.anchor&&this.head==e.head}},{key:"toJSON",value:function(){return{anchor:this.anchor,head:this.head}}}],[{key:"fromJSON",value:function(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return H.range(e.anchor,e.head)}},{key:"create",value:function(t,n,r){return new e(t,n,r)}}]),e}(),H=function(){function e(t,n){(0,l.Z)(this,e),this.ranges=t,this.mainIndex=n}return(0,c.Z)(e,[{key:"map",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return t.empty?this:e.create(this.ranges.map((function(e){return e.map(t,n)})),this.mainIndex)}},{key:"eq",value:function(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(var t=0;t<this.ranges.length;t++)if(!this.ranges[t].eq(e.ranges[t]))return!1;return!0}},{key:"main",get:function(){return this.ranges[this.mainIndex]}},{key:"asSingle",value:function(){return 1==this.ranges.length?this:new e([this.main],0)}},{key:"addRange",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.create([t].concat(this.ranges),n?0:this.mainIndex+1)}},{key:"replaceRange",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.mainIndex,r=this.ranges.slice();return r[n]=t,e.create(r,this.mainIndex)}},{key:"toJSON",value:function(){return{ranges:this.ranges.map((function(e){return e.toJSON()})),main:this.mainIndex}}}],[{key:"fromJSON",value:function(t){if(!t||!Array.isArray(t.ranges)||"number"!=typeof t.main||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new e(t.ranges.map((function(e){return z.fromJSON(e)})),t.main)}},{key:"single",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return new e([e.range(t,n)],0)}},{key:"create",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0==t.length)throw new RangeError("A selection needs at least one range");for(var r=0,i=0;i<t.length;i++){var o=t[i];if(o.empty?o.from<=r:o.from<r)return e.normalized(t.slice(),n);r=o.to}return new e(t,n)}},{key:"cursor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return z.create(e,e,(0==t?0:t<0?4:8)|(null==n?3:Math.min(2,n))|(null!==r&&void 0!==r?r:33554431)<<5)}},{key:"range",value:function(e,t,n){var r=(null!==n&&void 0!==n?n:33554431)<<5;return t<e?z.create(t,e,24|r):z.create(e,t,r|(t>e?4:0))}},{key:"normalized",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=t[n];t.sort((function(e,t){return e.from-t.from})),n=t.indexOf(r);for(var i=1;i<t.length;i++){var o=t[i],a=t[i-1];if(o.empty?o.from<=a.to:o.from<a.to){var s=a.from,u=Math.max(o.to,a.to);i<=n&&n--,t.splice(--i,2,o.anchor>o.head?e.range(u,s):e.range(s,u))}}return new e(t,n)}}]),e}();function W(e,t){var n,r=(0,i.Z)(e.ranges);try{for(r.s();!(n=r.n()).done;){if(n.value.to>t)throw new RangeError("Selection points outside of document")}}catch(o){r.e(o)}finally{r.f()}}var U=0,q=function(){function e(t,n,r,i,o){(0,l.Z)(this,e),this.combine=t,this.compareInput=n,this.compare=r,this.isStatic=i,this.id=U++,this.default=t([]),this.extensions="function"==typeof o?o(this):o}return(0,c.Z)(e,[{key:"of",value:function(e){return new G([],this,0,e)}},{key:"compute",value:function(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new G(e,this,1,t)}},{key:"computeN",value:function(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new G(e,this,2,t)}},{key:"from",value:function(e,t){return t||(t=function(e){return e}),this.compute([e],(function(n){return t(n.field(e))}))}}],[{key:"define",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e(t.combine||function(e){return e},t.compareInput||function(e,t){return e===t},t.compare||(t.combine?function(e,t){return e===t}:X),!!t.static,t.enables)}}]),e}();function X(e,t){return e==t||e.length==t.length&&e.every((function(e,n){return e===t[n]}))}var G=function(){function e(t,n,r,i){(0,l.Z)(this,e),this.dependencies=t,this.facet=n,this.type=r,this.value=i,this.id=U++}return(0,c.Z)(e,[{key:"dynamicSlot",value:function(e){var t,n,r=this,o=this.value,a=this.facet.compareInput,s=this.id,u=e[s]>>1,l=2==this.type,c=!1,h=!1,f=[],d=(0,i.Z)(this.dependencies);try{for(d.s();!(n=d.n()).done;){var p=n.value;"doc"==p?c=!0:"selection"==p?h=!0:0==(1&(null!==(t=e[p.id])&&void 0!==t?t:1))&&f.push(e[p.id])}}catch(m){d.e(m)}finally{d.f()}return{create:function(e){return e.values[u]=o(e),1},update:function(e,t){if(c&&t.docChanged||h&&(t.docChanged||t.selection)||V(e,f)){var n=o(e);if(l?!J(n,e.values[u],a):!a(n,e.values[u]))return e.values[u]=n,1}return 0},reconfigure:function(e,t){var n=o(e),i=t.config.address[s];if(null!=i){var c=he(t,i);if(r.dependencies.every((function(n){return n instanceof q?t.facet(n)===e.facet(n):!(n instanceof K)||t.field(n,!1)==e.field(n,!1)}))||(l?J(n,c,a):a(n,c)))return e.values[u]=c,0}return e.values[u]=n,1}}}}]),e}();function J(e,t,n){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function V(e,t){var n,r=!1,o=(0,i.Z)(t);try{for(o.s();!(n=o.n()).done;){1&ce(e,n.value)&&(r=!0)}}catch(a){o.e(a)}finally{o.f()}return r}var Y=q.define({static:!0}),K=function(){function e(t,n,r,i,o){(0,l.Z)(this,e),this.id=t,this.createF=n,this.updateF=r,this.compareF=i,this.spec=o,this.provides=void 0}return(0,c.Z)(e,[{key:"create",value:function(e){var t=this,n=e.facet(Y).find((function(e){return e.field==t}));return((null===n||void 0===n?void 0:n.create)||this.createF)(e)}},{key:"slot",value:function(e){var t=this,n=e[this.id]>>1;return{create:function(e){return e.values[n]=t.create(e),1},update:function(e,r){var i=e.values[n],o=t.updateF(i,r);return t.compareF(i,o)?0:(e.values[n]=o,1)},reconfigure:function(e,r){return null!=r.config.address[t.id]?(e.values[n]=r.field(t),0):(e.values[n]=t.create(e),1)}}}},{key:"init",value:function(e){return[this,Y.of({field:this,create:e})]}},{key:"extension",get:function(){return this}}],[{key:"define",value:function(t){var n=new e(U++,t.create,t.update,t.compare||function(e,t){return e===t},t);return t.provide&&(n.provides=t.provide(n)),n}}]),e}(),ee=4,te=3,ne=2,re=1;function ie(e){return function(t){return new ae(t,e)}}var oe={highest:ie(0),high:ie(re),default:ie(ne),low:ie(te),lowest:ie(ee)},ae=(0,c.Z)((function e(t,n){(0,l.Z)(this,e),this.inner=t,this.prec=n})),se=function(){function e(){(0,l.Z)(this,e)}return(0,c.Z)(e,[{key:"of",value:function(e){return new ue(this,e)}},{key:"reconfigure",value:function(t){return e.reconfigure.of({compartment:this,extension:t})}},{key:"get",value:function(e){return e.config.compartments.get(this)}}]),e}(),ue=(0,c.Z)((function e(t,n){(0,l.Z)(this,e),this.compartment=t,this.inner=n})),le=function(){function e(t,n,r,i,o,a){for((0,l.Z)(this,e),this.base=t,this.compartments=n,this.dynamicSlots=r,this.address=i,this.staticValues=o,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<r.length;)this.statusTemplate.push(0)}return(0,c.Z)(e,[{key:"staticFacet",value:function(e){var t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}}],[{key:"resolve",value:function(t,n,r){var o,a=[],s=Object.create(null),u=new Map,l=(0,i.Z)(function(e,t,n){var r=[[],[],[],[],[]],o=new Map;function a(e,s){var u=o.get(e);if(null!=u){if(u<=s)return;var l=r[u].indexOf(e);l>-1&&r[u].splice(l,1),e instanceof ue&&n.delete(e.compartment)}if(o.set(e,s),Array.isArray(e)){var c,h=(0,i.Z)(e);try{for(h.s();!(c=h.n()).done;){a(c.value,s)}}catch(p){h.e(p)}finally{h.f()}}else if(e instanceof ue){if(n.has(e.compartment))throw new RangeError("Duplicate use of compartment in extensions");var f=t.get(e.compartment)||e.inner;n.set(e.compartment,f),a(f,s)}else if(e instanceof ae)a(e.inner,e.prec);else if(e instanceof K)r[s].push(e),e.provides&&a(e.provides,s);else if(e instanceof G)r[s].push(e),e.facet.extensions&&a(e.facet.extensions,ne);else{var d=e.extension;if(!d)throw new Error("Unrecognized extension value in extension set (".concat(e,"). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks."));a(d,s)}}return a(e,ne),r.reduce((function(e,t){return e.concat(t)}))}(t,n,u));try{for(l.s();!(o=l.n()).done;){var c=o.value;c instanceof K?a.push(c):(s[c.facet.id]||(s[c.facet.id]=[])).push(c)}}catch(k){l.e(k)}finally{l.f()}for(var h=Object.create(null),f=[],d=[],p=function(){var e=g[m];h[e.id]=d.length<<1,d.push((function(t){return e.slot(t)}))},m=0,g=a;m<g.length;m++)p();var v=null===r||void 0===r?void 0:r.config.facets,O=function(e){var t=s[e],n=t[0].facet,o=v&&v[e]||[];if(t.every((function(e){return 0==e.type})))if(h[n.id]=f.length<<1|1,X(o,t))f.push(r.facet(n));else{var a=n.combine(t.map((function(e){return e.value})));f.push(r&&n.compare(a,r.facet(n))?r.facet(n):a)}else{var u,l=(0,i.Z)(t);try{var c=function(){var e=u.value;0==e.type?(h[e.id]=f.length<<1|1,f.push(e.value)):(h[e.id]=d.length<<1,d.push((function(t){return e.dynamicSlot(t)})))};for(l.s();!(u=l.n()).done;)c()}catch(k){l.e(k)}finally{l.f()}h[n.id]=d.length<<1,d.push((function(e){return function(e,t,n){var r=n.map((function(t){return e[t.id]})),o=n.map((function(e){return e.type})),a=r.filter((function(e){return!(1&e)})),s=e[t.id]>>1;function u(e){for(var n=[],a=0;a<r.length;a++){var s=he(e,r[a]);if(2==o[a]){var u,l=(0,i.Z)(s);try{for(l.s();!(u=l.n()).done;){var c=u.value;n.push(c)}}catch(k){l.e(k)}finally{l.f()}}else n.push(s)}return t.combine(n)}return{create:function(e){var t,n=(0,i.Z)(r);try{for(n.s();!(t=n.n()).done;)ce(e,t.value)}catch(k){n.e(k)}finally{n.f()}return e.values[s]=u(e),1},update:function(e,n){if(!V(e,a))return 0;var r=u(e);return t.compare(r,e.values[s])?0:(e.values[s]=r,1)},reconfigure:function(e,i){var o=V(e,r),a=i.config.facets[t.id],l=i.facet(t);if(a&&!o&&X(n,a))return e.values[s]=l,0;var c=u(e);return t.compare(c,l)?(e.values[s]=l,0):(e.values[s]=c,1)}}}(e,n,t)}))}};for(var y in s)O(y);return new e(t,u,d.map((function(e){return e(h)})),h,f,s)}}]),e}();function ce(e,t){if(1&t)return 2;var n=t>>1,r=e.status[n];if(4==r)throw new Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[n]=4;var i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function he(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}var fe=q.define(),de=q.define({combine:function(e){return e.some((function(e){return e}))},static:!0}),pe=q.define({combine:function(e){return e.length?e[0]:void 0},static:!0}),me=q.define(),ge=q.define(),ve=q.define(),Oe=q.define({combine:function(e){return!!e.length&&e[0]}}),ye=function(){function e(t,n){(0,l.Z)(this,e),this.type=t,this.value=n}return(0,c.Z)(e,null,[{key:"define",value:function(){return new ke}}]),e}(),ke=function(){function e(){(0,l.Z)(this,e)}return(0,c.Z)(e,[{key:"of",value:function(e){return new ye(this,e)}}]),e}(),be=function(){function e(t){(0,l.Z)(this,e),this.map=t}return(0,c.Z)(e,[{key:"of",value:function(e){return new xe(this,e)}}]),e}(),xe=function(){function e(t,n){(0,l.Z)(this,e),this.type=t,this.value=n}return(0,c.Z)(e,[{key:"map",value:function(t){var n=this.type.map(this.value,t);return void 0===n?void 0:n==this.value?this:new e(this.type,n)}},{key:"is",value:function(e){return this.type==e}}],[{key:"define",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new be(e.map||function(e){return e})}},{key:"mapEffects",value:function(e,t){if(!e.length)return e;var n,r=[],o=(0,i.Z)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value.map(t);a&&r.push(a)}}catch(s){o.e(s)}finally{o.f()}return r}}]),e}();xe.reconfigure=xe.define(),xe.appendConfig=xe.define();var Te=function(){function e(t,n,r,i,o,a){(0,l.Z)(this,e),this.startState=t,this.changes=n,this.selection=r,this.effects=i,this.annotations=o,this.scrollIntoView=a,this._doc=null,this._state=null,r&&W(r,n.newLength),o.some((function(t){return t.type==e.time}))||(this.annotations=o.concat(e.time.of(Date.now())))}return(0,c.Z)(e,[{key:"newDoc",get:function(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}},{key:"newSelection",get:function(){return this.selection||this.startState.selection.map(this.changes)}},{key:"state",get:function(){return this._state||this.startState.applyTransaction(this),this._state}},{key:"annotation",value:function(e){var t,n=(0,i.Z)(this.annotations);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.type==e)return r.value}}catch(o){n.e(o)}finally{n.f()}}},{key:"docChanged",get:function(){return!this.changes.empty}},{key:"reconfigured",get:function(){return this.startState.config!=this.state.config}},{key:"isUserEvent",value:function(t){var n=this.annotation(e.userEvent);return!(!n||!(n==t||n.length>t.length&&n.slice(0,t.length)==t&&"."==n[t.length]))}}],[{key:"create",value:function(t,n,r,i,o,a){return new e(t,n,r,i,o,a)}}]),e}();function we(e,t){for(var n=[],r=0,i=0;;){var o=void 0,a=void 0;if(r<e.length&&(i==t.length||t[i]>=e[r]))o=e[r++],a=e[r++];else{if(!(i<t.length))return n;o=t[i++],a=t[i++]}!n.length||n[n.length-1]<o?n.push(o,a):n[n.length-1]<a&&(n[n.length-1]=a)}}function Se(e,t,n){var r,i,o,a;return n?(i=t.changes,o=I.empty(t.changes.length),a=e.changes.compose(t.changes)):(i=t.changes.map(e.changes),o=e.changes.mapDesc(t.changes,!0),a=e.changes.compose(i)),{changes:a,selection:t.selection?t.selection.map(o):null===(r=e.selection)||void 0===r?void 0:r.map(i),effects:xe.mapEffects(e.effects,i).concat(xe.mapEffects(t.effects,o)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function Ce(e,t,n){var r=t.selection,i=_e(t.annotations);return t.userEvent&&(i=i.concat(Te.userEvent.of(t.userEvent))),{changes:t.changes instanceof I?t.changes:I.of(t.changes||[],n,e.facet(pe)),selection:r&&(r instanceof H?r:H.single(r.anchor,r.head)),effects:_e(t.effects),annotations:i,scrollIntoView:!!t.scrollIntoView}}function Ee(e,t,n){var r=Ce(e,t.length?t[0]:{},e.doc.length);t.length&&!1===t[0].filter&&(n=!1);for(var o=1;o<t.length;o++){!1===t[o].filter&&(n=!1);var a=!!t[o].sequential;r=Se(r,Ce(e,t[o],a?r.changes.newLength:e.doc.length),a)}var s=Te.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){for(var t=e.startState,n=t.facet(ve),r=e,i=n.length-1;i>=0;i--){var o=n[i](e);o&&Object.keys(o).length&&(r=Se(e,Ce(t,o,e.changes.newLength),!0))}return r==e?e:Te.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(n?function(e){var t,n=e.startState,r=!0,o=(0,i.Z)(n.facet(me));try{for(o.s();!(t=o.n()).done;){var a=(0,t.value)(e);if(!1===a){r=!1;break}Array.isArray(a)&&(r=!0===r?a:we(r,a))}}catch(d){o.e(d)}finally{o.f()}if(!0!==r){var s,u;if(!1===r)u=e.changes.invertedDesc,s=I.empty(n.doc.length);else{var l=e.changes.filter(r);s=l.changes,u=l.filtered.mapDesc(l.changes).invertedDesc}e=Te.create(n,s,e.selection&&e.selection.map(u),xe.mapEffects(e.effects,u),e.annotations,e.scrollIntoView)}for(var c=n.facet(ge),h=c.length-1;h>=0;h--){var f=c[h](e);e=f instanceof Te?f:Array.isArray(f)&&1==f.length&&f[0]instanceof Te?f[0]:Ee(n,_e(f),!1)}return e}(s):s)}Te.time=ye.define(),Te.userEvent=ye.define(),Te.addToHistory=ye.define(),Te.remote=ye.define();var Ae=[];function _e(e){return null==e?Ae:Array.isArray(e)?e:[e]}var Qe,Pe=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(Pe||(Pe={})),Re=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{Qe=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(tt){}function De(e){return function(t){if(!/\S/.test(t))return Pe.Space;if(function(e){if(Qe)return Qe.test(e);for(var t=0;t<e.length;t++){var n=e[t];if(/\w/.test(n)||n>"\x80"&&(n.toUpperCase()!=n.toLowerCase()||Re.test(n)))return!0}return!1}(t))return Pe.Word;for(var n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return Pe.Word;return Pe.Other}}var Ne=function(){function e(t,n,r,i,o,a){(0,l.Z)(this,e),this.config=t,this.doc=n,this.selection=r,this.values=i,this.status=t.statusTemplate.slice(),this.computeSlot=o,a&&(a._state=this);for(var s=0;s<this.config.dynamicSlots.length;s++)ce(this,s<<1);this.computeSlot=null}return(0,c.Z)(e,[{key:"field",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.config.address[e.id];if(null!=n)return ce(this,n),he(this,n);if(t)throw new RangeError("Field is not present in this state")}},{key:"update",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ee(this,t,!0)}},{key:"applyTransaction",value:function(t){var n,r,o=this,a=this.config,s=a,u=s.base,l=s.compartments,c=(0,i.Z)(t.effects);try{for(c.s();!(n=c.n()).done;){var h=n.value;h.is(se.reconfigure)?(a&&(l=new Map,a.compartments.forEach((function(e,t){return l.set(t,e)})),a=null),l.set(h.value.compartment,h.value.extension)):h.is(xe.reconfigure)?(a=null,u=h.value):h.is(xe.appendConfig)&&(a=null,u=_e(u).concat(h.value))}}catch(f){c.e(f)}finally{c.f()}a?r=t.startState.values.slice():r=new e(a=le.resolve(u,l,this),this.doc,this.selection,a.dynamicSlots.map((function(){return null})),(function(e,t){return t.reconfigure(e,o)}),null).values;new e(a,t.newDoc,t.newSelection,r,(function(e,n){return n.update(e,t)}),t)}},{key:"replaceSelection",value:function(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange((function(t){return{changes:{from:t.from,to:t.to,insert:e},range:H.cursor(t.from+e.length)}}))}},{key:"changeByRange",value:function(e){for(var t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),i=[n.range],o=_e(n.effects),a=1;a<t.ranges.length;a++){for(var s=e(t.ranges[a]),u=this.changes(s.changes),l=u.map(r),c=0;c<a;c++)i[c]=i[c].map(l);var h=r.mapDesc(u,!0);i.push(s.range.map(h)),r=r.compose(l),o=xe.mapEffects(o,l).concat(xe.mapEffects(_e(s.effects),h))}return{changes:r,selection:H.create(i,t.mainIndex),effects:o}}},{key:"changes",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t instanceof I?t:I.of(t,this.doc.length,this.facet(e.lineSeparator))}},{key:"toText",value:function(t){return h.of(t.split(this.facet(e.lineSeparator)||D))}},{key:"sliceDoc",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.doc.length;return this.doc.sliceString(e,t,this.lineBreak)}},{key:"facet",value:function(e){var t=this.config.address[e.id];return null==t?e.default:(ce(this,t),he(this,t))}},{key:"toJSON",value:function(e){var t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(var n in e){var r=e[n];r instanceof K&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))}return t}},{key:"tabSize",get:function(){return this.facet(e.tabSize)}},{key:"lineBreak",get:function(){return this.facet(e.lineSeparator)||"\n"}},{key:"readOnly",get:function(){return this.facet(Oe)}},{key:"phrase",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a,s=(0,i.Z)(this.facet(e.phrases));try{for(s.s();!(a=s.n()).done;){var u=a.value;if(Object.prototype.hasOwnProperty.call(u,t)){t=u[t];break}}}catch(l){s.e(l)}finally{s.f()}return r.length&&(t=t.replace(/\$(\$|\d*)/g,(function(e,t){if("$"==t)return"$";var n=+(t||1);return!n||n>r.length?e:r[n-1]}))),t}},{key:"languageDataAt",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,o=[],a=(0,i.Z)(this.facet(fe));try{for(a.s();!(n=a.n()).done;){var s,u=n.value,l=(0,i.Z)(u(this,t,r));try{for(l.s();!(s=l.n()).done;){var c=s.value;Object.prototype.hasOwnProperty.call(c,e)&&o.push(c[e])}}catch(h){l.e(h)}finally{l.f()}}}catch(h){a.e(h)}finally{a.f()}return o}},{key:"charCategorizer",value:function(e){return De(this.languageDataAt("wordChars",e).join(""))}},{key:"wordAt",value:function(e){for(var t=this.doc.lineAt(e),n=t.text,r=t.from,i=t.length,o=this.charCategorizer(e),a=e-r,s=e-r;a>0;){var u=S(n,a,!1);if(o(n.slice(u,a))!=Pe.Word)break;a=u}for(;s<i;){var l=S(n,s);if(o(n.slice(s,l))!=Pe.Word)break;s=l}return a==s?null:H.range(a+r,s+r)}}],[{key:"fromJSON",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t||"string"!=typeof t.doc)throw new RangeError("Invalid JSON representation for EditorState");var i=[];if(r)for(var o in r)Object.prototype.hasOwnProperty.call(t,o)&&function(){var e=r[o],n=t[o];i.push(e.init((function(t){return e.spec.fromJSON(n,t)})))}();return e.create({doc:t.doc,selection:H.fromJSON(t.selection),extensions:n.extensions?i.concat([n.extensions]):i})}},{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=le.resolve(t.extensions||[],new Map),r=t.doc instanceof h?t.doc:h.of((t.doc||"").split(n.staticFacet(e.lineSeparator)||D)),i=t.selection?t.selection instanceof H?t.selection:H.single(t.selection.anchor,t.selection.head):H.single(0);return W(i,r.length),n.staticFacet(de)||(i=i.asSingle()),new e(n,r,i,n.dynamicSlots.map((function(){return null})),(function(e,t){return t.create(e)}),null)}}]),e}();function Me(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={},a=(0,i.Z)(e);try{for(a.s();!(n=a.n()).done;)for(var s=n.value,u=0,l=Object.keys(s);u<l.length;u++){var c=l[u],h=s[c],f=o[c];if(void 0===f)o[c]=h;else if(f===h||void 0===h);else{if(!Object.hasOwnProperty.call(r,c))throw new Error("Config merge conflict for field "+c);o[c]=r[c](f,h)}}}catch(p){a.e(p)}finally{a.f()}for(var d in t)void 0===o[d]&&(o[d]=t[d]);return o}Ne.allowMultipleSelections=de,Ne.tabSize=q.define({combine:function(e){return e.length?e[0]:4}}),Ne.lineSeparator=pe,Ne.readOnly=Oe,Ne.phrases=q.define({compare:function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every((function(n){return e[n]==t[n]}))}}),Ne.languageData=fe,Ne.changeFilter=me,Ne.transactionFilter=ge,Ne.transactionExtender=ve,se.reconfigure=xe.define();var Ie=function(){function e(){(0,l.Z)(this,e)}return(0,c.Z)(e,[{key:"eq",value:function(e){return this==e}},{key:"range",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return Le.create(e,t,this)}}]),e}();Ie.prototype.startSide=Ie.prototype.endSide=0,Ie.prototype.point=!1,Ie.prototype.mapMode=N.TrackDel;var Le=function(){function e(t,n,r){(0,l.Z)(this,e),this.from=t,this.to=n,this.value=r}return(0,c.Z)(e,null,[{key:"create",value:function(t,n,r){return new e(t,n,r)}}]),e}();function Fe(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}var Ze=function(){function e(t,n,r,i){(0,l.Z)(this,e),this.from=t,this.to=n,this.value=r,this.maxPoint=i}return(0,c.Z)(e,[{key:"length",get:function(){return this.to[this.to.length-1]}},{key:"findIndex",value:function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=n?this.to:this.from,o=r,a=i.length;;){if(o==a)return o;var s=o+a>>1,u=i[s]-e||(n?this.value[s].endSide:this.value[s].startSide)-t;if(s==o)return u>=0?o:a;u>=0?a=s:o=s+1}}},{key:"between",value:function(e,t,n,r){for(var i=this.findIndex(t,-1e9,!0),o=this.findIndex(n,1e9,!1,i);i<o;i++)if(!1===r(this.from[i]+e,this.to[i]+e,this.value[i]))return!1}},{key:"map",value:function(t,n){for(var r=[],i=[],o=[],a=-1,s=-1,u=0;u<this.value.length;u++){var l=this.value[u],c=this.from[u]+t,h=this.to[u]+t,f=void 0,d=void 0;if(c==h){var p=n.mapPos(c,l.startSide,l.mapMode);if(null==p)continue;if(f=d=p,l.startSide!=l.endSide&&(d=n.mapPos(c,l.endSide))<f)continue}else if((f=n.mapPos(c,l.startSide))>(d=n.mapPos(h,l.endSide))||f==d&&l.startSide>0&&l.endSide<=0)continue;(d-f||l.endSide-l.startSide)<0||(a<0&&(a=f),l.point&&(s=Math.max(s,d-f)),r.push(l),i.push(f-a),o.push(d-a))}return{mapped:r.length?new e(i,o,r,s):null,pos:a}}}]),e}(),$e=function(){function e(t,n,r,i){(0,l.Z)(this,e),this.chunkPos=t,this.chunk=n,this.nextLayer=r,this.maxPoint=i}return(0,c.Z)(e,[{key:"length",get:function(){var e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}},{key:"size",get:function(){if(this.isEmpty)return 0;var e,t=this.nextLayer.size,n=(0,i.Z)(this.chunk);try{for(n.s();!(e=n.n()).done;){t+=e.value.value.length}}catch(r){n.e(r)}finally{n.f()}return t}},{key:"chunkEnd",value:function(e){return this.chunkPos[e]+this.chunk[e].length}},{key:"update",value:function(t){var n=t.add,r=void 0===n?[]:n,i=t.sort,o=void 0!==i&&i,a=t.filterFrom,s=void 0===a?0:a,u=t.filterTo,l=void 0===u?this.length:u,c=t.filter;if(0==r.length&&!c)return this;if(o&&(r=r.slice().sort(Fe)),this.isEmpty)return r.length?e.of(r):this;for(var h=new He(this,null,-1).goto(0),f=0,d=[],p=new Be;h.value||f<r.length;)if(f<r.length&&(h.from-r[f].from||h.startSide-r[f].value.startSide)>=0){var m=r[f++];p.addInner(m.from,m.to,m.value)||d.push(m)}else 1==h.rangeIndex&&h.chunkIndex<this.chunk.length&&(f==r.length||this.chunkEnd(h.chunkIndex)<r[f].from)&&(!c||s>this.chunkEnd(h.chunkIndex)||l<this.chunkPos[h.chunkIndex])&&p.addChunk(this.chunkPos[h.chunkIndex],this.chunk[h.chunkIndex])?h.nextChunk():((!c||s>h.to||l<h.from||c(h.from,h.to,h.value))&&(p.addInner(h.from,h.to,h.value)||d.push(Le.create(h.from,h.to,h.value))),h.next());return p.finishInner(this.nextLayer.isEmpty&&!d.length?e.empty:this.nextLayer.update({add:d,filter:c,filterFrom:s,filterTo:l}))}},{key:"map",value:function(t){if(t.empty||this.isEmpty)return this;for(var n=[],r=[],i=-1,o=0;o<this.chunk.length;o++){var a=this.chunkPos[o],s=this.chunk[o],u=t.touchesRange(a,a+s.length);if(!1===u)i=Math.max(i,s.maxPoint),n.push(s),r.push(t.mapPos(a));else if(!0===u){var l=s.map(a,t),c=l.mapped,h=l.pos;c&&(i=Math.max(i,c.maxPoint),n.push(c),r.push(h))}}var f=this.nextLayer.map(t);return 0==n.length?f:new e(r,n,f||e.empty,i)}},{key:"between",value:function(e,t,n){if(!this.isEmpty){for(var r=0;r<this.chunk.length;r++){var i=this.chunkPos[r],o=this.chunk[r];if(t>=i&&e<=i+o.length&&!1===o.between(i,e-i,t-i,n))return}this.nextLayer.between(e,t,n)}}},{key:"iter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return We.from([this]).goto(e)}},{key:"isEmpty",get:function(){return this.nextLayer==this}}],[{key:"create",value:function(t,n,r,i){return new e(t,n,r,i)}},{key:"iter",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return We.from(e).goto(t)}},{key:"compare",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,o=e.filter((function(e){return e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i})),a=t.filter((function(e){return e.maxPoint>0||!e.isEmpty&&e.maxPoint>=i})),s=ze(o,a,n),u=new qe(o,s,i),l=new qe(a,s,i);n.iterGaps((function(e,t,n){return Xe(u,e,l,t,n,r)})),n.empty&&0==n.length&&Xe(u,0,l,0,0,r)}},{key:"eq",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0;null==r&&(r=1e9);var i=e.filter((function(e){return!e.isEmpty&&t.indexOf(e)<0})),o=t.filter((function(t){return!t.isEmpty&&e.indexOf(t)<0}));if(i.length!=o.length)return!1;if(!i.length)return!0;for(var a=ze(i,o),s=new qe(i,a,0).goto(n),u=new qe(o,a,0).goto(n);;){if(s.to!=u.to||!Ge(s.active,u.active)||s.point&&(!u.point||!s.point.eq(u.point)))return!1;if(s.to>r)return!0;s.next(),u.next()}}},{key:"spans",value:function(e,t,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,o=new qe(e,null,i).goto(t),a=t,s=o.openStart;;){var u=Math.min(o.to,n);if(o.point?(r.point(a,u,o.point,o.activeForPoint(o.to),s,o.pointRank),s=o.openEnd(u)+(o.to>u?1:0)):u>a&&(r.span(a,u,o.active,s),s=o.openEnd(u)),o.to>n)break;a=o.to,o.next()}return s}},{key:"of",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=new Be,o=(0,i.Z)(e instanceof Le?[e]:n?je(e):e);try{for(o.s();!(t=o.n()).done;){var a=t.value;r.add(a.from,a.to,a.value)}}catch(s){o.e(s)}finally{o.f()}return r.finish()}}]),e}();function je(e){if(e.length>1)for(var t=e[0],n=1;n<e.length;n++){var r=e[n];if(Fe(t,r)>0)return e.slice().sort(Fe);t=r}return e}$e.empty=new $e([],[],null,-1),$e.empty.nextLayer=$e.empty;var Be=function(){function e(){(0,l.Z)(this,e),this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}return(0,c.Z)(e,[{key:"finishChunk",value:function(e){this.chunks.push(new Ze(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}},{key:"add",value:function(t,n,r){this.addInner(t,n,r)||(this.nextLayer||(this.nextLayer=new e)).add(t,n,r)}},{key:"addInner",value:function(e,t,n){var r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}},{key:"addChunk",value:function(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);var n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}},{key:"finish",value:function(){return this.finishInner($e.empty)}},{key:"finishInner",value:function(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;var t=$e.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}]),e}();function ze(e,t,n){var r,o=new Map,a=(0,i.Z)(e);try{for(a.s();!(r=a.n()).done;)for(var s=r.value,u=0;u<s.chunk.length;u++)s.chunk[u].maxPoint<=0&&o.set(s.chunk[u],s.chunkPos[u])}catch(m){a.e(m)}finally{a.f()}var l,c=new Set,h=(0,i.Z)(t);try{for(h.s();!(l=h.n()).done;)for(var f=l.value,d=0;d<f.chunk.length;d++){var p=o.get(f.chunk[d]);null==p||(n?n.mapPos(p):p)!=f.chunkPos[d]||(null===n||void 0===n?void 0:n.touchesRange(p,p+f.chunk[d].length))||c.add(f.chunk[d])}}catch(m){h.e(m)}finally{h.f()}return c}var He=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;(0,l.Z)(this,e),this.layer=t,this.skip=n,this.minPoint=r,this.rank=i}return(0,c.Z)(e,[{key:"startSide",get:function(){return this.value?this.value.startSide:0}},{key:"endSide",get:function(){return this.value?this.value.endSide:0}},{key:"goto",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1e9;return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}},{key:"gotoInner",value:function(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){var r=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(r)||this.layer.chunkEnd(this.chunkIndex)<e||r.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){var i=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}},{key:"forward",value:function(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}},{key:"next",value:function(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}var e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}},{key:"setRangeIndex",value:function(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}},{key:"nextChunk",value:function(){this.chunkIndex++,this.rangeIndex=0,this.next()}},{key:"compare",value:function(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}]),e}(),We=function(){function e(t){(0,l.Z)(this,e),this.heap=t}return(0,c.Z)(e,[{key:"startSide",get:function(){return this.value?this.value.startSide:0}},{key:"goto",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1e9,r=(0,i.Z)(this.heap);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.goto(e,n)}}catch(s){r.e(s)}finally{r.f()}for(var a=this.heap.length>>1;a>=0;a--)Ue(this.heap,a);return this.next(),this}},{key:"forward",value:function(e,t){var n,r=(0,i.Z)(this.heap);try{for(r.s();!(n=r.n()).done;){n.value.forward(e,t)}}catch(a){r.e(a)}finally{r.f()}for(var o=this.heap.length>>1;o>=0;o--)Ue(this.heap,o);(this.to-e||this.value.endSide-t)<0&&this.next()}},{key:"next",value:function(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{var e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Ue(this.heap,0)}}}],[{key:"from",value:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=[],o=0;o<t.length;o++)for(var a=t[o];!a.isEmpty;a=a.nextLayer)a.maxPoint>=r&&i.push(new He(a,n,r,o));return 1==i.length?i[0]:new e(i)}}]),e}();function Ue(e,t){for(var n=e[t];;){var r=1+(t<<1);if(r>=e.length)break;var i=e[r];if(r+1<e.length&&i.compare(e[r+1])>=0&&(i=e[r+1],r++),n.compare(i)<0)break;e[r]=n,e[t]=i,t=r}}var qe=function(){function e(t,n,r){(0,l.Z)(this,e),this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=We.from(t,n,r)}return(0,c.Z)(e,[{key:"goto",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1e9;return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}},{key:"forward",value:function(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}},{key:"removeActive",value:function(e){Je(this.active,e),Je(this.activeTo,e),Je(this.activeRank,e),this.minActive=Ye(this.active,this.activeTo)}},{key:"addActive",value:function(e){for(var t=0,n=this.cursor,r=n.value,i=n.to,o=n.rank;t<this.activeRank.length&&this.activeRank[t]<=o;)t++;Ve(this.active,t,r),Ve(this.activeTo,t,i),Ve(this.activeRank,t,o),e&&Ve(e,t,this.cursor.from),this.minActive=Ye(this.active,this.activeTo)}},{key:"next",value:function(){var e=this.to,t=this.point;this.point=null;for(var n=this.openStart<0?[]:null,r=0;;){var i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&Je(n,i)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}var o=this.cursor.value;if(o.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=o,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=o.endSide,this.cursor.from<e&&(r=1),this.cursor.next(),this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(n),this.cursor.from<e&&this.cursor.to>e&&r++,this.cursor.next()}}if(n){for(var a=0;a<n.length&&n[a]<e;)a++;this.openStart=a+r}}},{key:"activeForPoint",value:function(e){if(!this.active.length)return this.active;for(var t=[],n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}},{key:"openEnd",value:function(e){for(var t=0,n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}]),e}();function Xe(e,t,n,r,i,o){e.goto(t),n.goto(r);for(var a=r+i,s=r,u=r-t;;){var l=e.to+u-n.to||e.endSide-n.endSide,c=l<0?e.to+u:n.to,h=Math.min(c,a);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&Ge(e.activeForPoint(e.to+u),n.activeForPoint(n.to))||o.comparePoint(s,h,e.point,n.point):h>s&&!Ge(e.active,n.active)&&o.compareRange(s,h,e.active,n.active),c>a)break;s=c,l<=0&&e.next(),l>=0&&n.next()}}function Ge(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].eq(t[n]))return!1;return!0}function Je(e,t){for(var n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}function Ve(e,t,n){for(var r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=n}function Ye(e,t){for(var n=-1,r=1e9,i=0;i<t.length;i++)(t[i]-r||e[i].endSide-e[n].endSide)<0&&(n=i,r=t[i]);return n}function Ke(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0;i<n;)9==e.charCodeAt(i)?(r+=t-r%t,i++):(r++,i=S(e,i));return r}function et(e,t,n,r){for(var i=0,o=0;;){if(o>=t)return i;if(i==e.length)break;o+=9==e.charCodeAt(i)?n-o%n:1,i=S(e,i)}return!0===r?-1:e.length}},1701:function(e,t,n){"use strict";n.d(t,{p:function(){return Te},Nm:function(){return rt},tk:function(){return sr},SJ:function(){return _i},lg:function(){return qe},l9:function(){return be},S2:function(){return si},Uw:function(){return Sr},qr:function(){return Lr},Sd:function(){return wi},gB:function(){return bi},v5:function(){return Di},ZO:function(){return Jr},HQ:function(){return Vi},AE:function(){return Wr},bF:function(){return ki},$f:function(){return gr},Eu:function(){return qi},OO:function(){return ze},W$:function(){return ei},Zs:function(){return ii},$1:function(){return yr},mH:function(){return Ai},hJ:function(){return mi}});for(var r=n(1026),i=n(7169),o=n(3243),a=n(7597),s=n(7591),u=n(9616),l=n(649),c=n(726),h=n(2951),f=n(1976),d=n(7989),p=n(1445),m={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},g={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},v="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),O=("undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)),y="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),k=O||v&&+v[1]<57,b=0;b<10;b++)m[48+b]=m[96+b]=String(b);for(b=1;b<=24;b++)m[b+111]="F"+b;for(b=65;b<=90;b++)m[b]=String.fromCharCode(b+32),g[b]=String.fromCharCode(b);for(var x in m)g.hasOwnProperty(x)||(g[x]=m[x]);function T(e){return(11==e.nodeType?e.getSelection?e:e.ownerDocument:e).getSelection()}function w(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}function S(e,t){if(!t.anchorNode)return!1;try{return w(e,t.anchorNode)}catch(n){return!1}}function C(e){return 3==e.nodeType?F(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function E(e,t,n,r){return!!n&&(_(e,t,n,r,-1)||_(e,t,n,r,1))}function A(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function _(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:Q(e))){if("DIV"==e.nodeName)return!1;var o=e.parentNode;if(!o||1!=o.nodeType)return!1;t=A(e)+(i<0?0:1),e=o}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(i<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=i<0?Q(e):0}}}function Q(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}var P={left:0,right:0,top:0,bottom:0};function R(e,t){var n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function D(e){return{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}var N,M=function(){function e(){(0,h.Z)(this,e),this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}return(0,f.Z)(e,[{key:"eq",value:function(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}},{key:"setRange",value:function(e){this.set(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset)}},{key:"set",value:function(e,t,n,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}]),e}(),I=null;function L(e){if(e.setActive)return e.setActive();if(I)return e.focus(I);for(var t=[],n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==I?{get preventScroll(){return I={preventScroll:!0},!0}}:void 0),!I){I=!1;for(var r=0;r<t.length;){var i=t[r++],o=t[r++],a=t[r++];i.scrollTop!=o&&(i.scrollTop=o),i.scrollLeft!=a&&(i.scrollLeft=a)}}}function F(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=N||(N=document.createRange());return r.setEnd(e,n),r.setStart(e,t),r}function Z(e,t,n){var r={key:t,code:t,keyCode:n,which:n,cancelable:!0},i=new KeyboardEvent("keydown",r);i.synthetic=!0,e.dispatchEvent(i);var o=new KeyboardEvent("keyup",r);return o.synthetic=!0,e.dispatchEvent(o),i.defaultPrevented||o.defaultPrevented}function $(e){for(;e;){if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}function j(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}var B=function(){function e(t,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,h.Z)(this,e),this.node=t,this.offset=n,this.precise=r}return(0,f.Z)(e,null,[{key:"before",value:function(t,n){return new e(t.parentNode,A(t),n)}},{key:"after",value:function(t,n){return new e(t.parentNode,A(t)+1,n)}}]),e}(),z=[],H=function(){function e(){(0,h.Z)(this,e),this.parent=null,this.dom=null,this.dirty=2}return(0,f.Z)(e,[{key:"editorView",get:function(){if(!this.parent)throw new Error("Accessing view in orphan content view");return this.parent.editorView}},{key:"overrideDOMText",get:function(){return null}},{key:"posAtStart",get:function(){return this.parent?this.parent.posBefore(this):0}},{key:"posAtEnd",get:function(){return this.posAtStart+this.length}},{key:"posBefore",value:function(e){var t,n=this.posAtStart,r=(0,c.Z)(this.children);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i==e)return n;n+=i.length+i.breakAfter}}catch(o){r.e(o)}finally{r.f()}throw new RangeError("Invalid child in posBefore")}},{key:"posAfter",value:function(e){return this.posBefore(e)+e.length}},{key:"coordsAt",value:function(e,t){return null}},{key:"sync",value:function(t){if(2&this.dirty){var n,r,i=this.dom,o=null,a=(0,c.Z)(this.children);try{for(a.s();!(r=a.n()).done;){var s=r.value;if(s.dirty){if(!s.dom&&(n=o?o.nextSibling:i.firstChild)){var u=e.get(n);u&&(u.parent||u.constructor!=s.constructor)||s.reuseDOM(n)}s.sync(t),s.dirty=0}if(n=o?o.nextSibling:i.firstChild,t&&!t.written&&t.node==i&&n!=s.dom&&(t.written=!0),s.dom.parentNode==i)for(;n&&n!=s.dom;)n=W(n);else i.insertBefore(s.dom,n);o=s.dom}}catch(d){a.e(d)}finally{a.f()}for((n=o?o.nextSibling:i.firstChild)&&t&&t.node==i&&(t.written=!0);n;)n=W(n)}else if(1&this.dirty){var l,h=(0,c.Z)(this.children);try{for(h.s();!(l=h.n()).done;){var f=l.value;f.dirty&&(f.sync(t),f.dirty=0)}}catch(d){h.e(d)}finally{h.f()}}}},{key:"reuseDOM",value:function(e){}},{key:"localPosFromDOM",value:function(t,n){var r;if(t==this.dom)r=this.dom.childNodes[n];else{for(var i=0==Q(t)?0:0==n?-1:1;;){var o=t.parentNode;if(o==this.dom)break;0==i&&o.firstChild!=o.lastChild&&(i=t==o.firstChild?-1:1),t=o}r=i<0?t:t.nextSibling}if(r==this.dom.firstChild)return 0;for(;r&&!e.get(r);)r=r.nextSibling;if(!r)return this.length;for(var a=0,s=0;;a++){var u=this.children[a];if(u.dom==r)return s;s+=u.length+u.breakAfter}}},{key:"domBoundsAround",value:function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=-1,i=-1,o=-1,a=-1,s=0,u=n,l=n;s<this.children.length;s++){var c=this.children[s],h=u+c.length;if(u<e&&h>t)return c.domBoundsAround(e,t,u);if(h>=e&&-1==r&&(r=s,i=u),u>t&&c.dom.parentNode==this.dom){o=s,a=l;break}l=h,u=h+c.breakAfter}return{from:i,to:a<0?n+this.length:a,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o<this.children.length&&o>=0?this.children[o].dom:null}}},{key:"markDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.dirty|=2,this.markParentsDirty(e)}},{key:"markParentsDirty",value:function(e){for(var t=this.parent;t;t=t.parent){if(e&&(t.dirty|=2),1&t.dirty)return;t.dirty|=1,e=!1}}},{key:"setParent",value:function(e){this.parent!=e&&(this.parent=e,this.dirty&&this.markParentsDirty(!0))}},{key:"setDOM",value:function(e){this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this}},{key:"rootView",get:function(){for(var e=this;;){var t=e.parent;if(!t)return e;e=t}}},{key:"replaceChildren",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z;this.markDirty();for(var i=e;i<t;i++){var o=this.children[i];o.parent==this&&o.destroy()}(n=this.children).splice.apply(n,[e,t-e].concat((0,l.Z)(r)));for(var a=0;a<r.length;a++)r[a].setParent(this)}},{key:"ignoreMutation",value:function(e){return!1}},{key:"ignoreEvent",value:function(e){return!1}},{key:"childCursor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length;return new U(this.children,e,this.children.length)}},{key:"childPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.childCursor().findPos(e,t)}},{key:"toString",value:function(){var e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==e?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}},{key:"isEditable",get:function(){return!0}},{key:"merge",value:function(e,t,n,r,i,o){return!1}},{key:"become",value:function(e){return!1}},{key:"getSide",value:function(){return 0}},{key:"destroy",value:function(){this.parent=null}}],[{key:"get",value:function(e){return e.cmView}}]),e}();function W(e){var t=e.nextSibling;return e.parentNode.removeChild(e),t}H.prototype.breakAfter=0;var U=function(){function e(t,n,r){(0,h.Z)(this,e),this.children=t,this.pos=n,this.i=r,this.off=0}return(0,f.Z)(e,[{key:"findPos",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;;){if(e>this.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;var n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}]),e}();function q(e,t,n,r,i,o,a,s,u){var l=e.children,c=l.length?l[t]:null,h=o.length?o[o.length-1]:null,f=h?h.breakAfter:a;if(!(t==r&&c&&!a&&!f&&o.length<2&&c.merge(n,i,o.length?h:null,0==n,s,u))){if(r<l.length){var d=l[r];d&&i<d.length?(t==r&&(d=d.split(i),i=0),!f&&h&&d.merge(0,i,h,!0,0,u)?o[o.length-1]=d:(i&&d.merge(0,i,null,!1,0,u),o.push(d))):(null===d||void 0===d?void 0:d.breakAfter)&&(h?h.breakAfter=1:a=1),r++}for(c&&(c.breakAfter=a,n>0&&(!a&&o.length&&c.merge(n,c.length,o[0],!1,s,0)?c.breakAfter=o.shift().breakAfter:(n<c.length||c.children.length&&0==c.children[c.children.length-1].length)&&c.merge(n,c.length,null,!1,s,0),t++));t<r&&o.length;)if(l[r-1].become(o[o.length-1]))r--,o.pop(),u=o.length?0:s;else{if(!l[t].become(o[0]))break;t++,o.shift(),s=o.length?0:u}!o.length&&t&&r<l.length&&!l[t-1].breakAfter&&l[r].merge(0,0,l[t-1],!1,s,u)&&t--,(t<r||o.length)&&e.replaceChildren(t,r,o)}}function X(e,t,n,r,i,o){var a,s=e.childCursor(),u=s.findPos(n,1),l=u.i,h=u.off,f=s.findPos(t,-1),d=f.i,p=f.off,m=t-n,g=(0,c.Z)(r);try{for(g.s();!(a=g.n()).done;){m+=a.value.length}}catch(v){g.e(v)}finally{g.f()}e.length+=m,q(e,d,p,l,h,r,0,i,o)}var G="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",platform:""},J="undefined"!=typeof document?document:{documentElement:{style:{}}},V=/Edge\/(\d+)/.exec(G.userAgent),Y=/MSIE \d/.test(G.userAgent),K=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(G.userAgent),ee=!!(Y||K||V),te=!ee&&/gecko\/(\d+)/i.test(G.userAgent),ne=!ee&&/Chrome\/(\d+)/.exec(G.userAgent),re="webkitFontSmoothing"in J.documentElement.style,ie=!ee&&/Apple Computer/.test(G.vendor),oe=ie&&(/Mobile\/\w+/.test(G.userAgent)||G.maxTouchPoints>2),ae={mac:oe||/Mac/.test(G.platform),windows:/Win/.test(G.platform),linux:/Linux|X11/.test(G.platform),ie:ee,ie_version:Y?J.documentMode||6:K?+K[1]:V?+V[1]:0,gecko:te,gecko_version:te?+(/Firefox\/(\d+)/.exec(G.userAgent)||[0,0])[1]:0,chrome:!!ne,chrome_version:ne?+ne[1]:0,ios:oe,android:/Android\b/.test(G.userAgent),webkit:re,safari:ie,webkit_version:re?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:null!=J.documentElement.style.tabSize?"tab-size":"-moz-tab-size"},se=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).text=e,r}return(0,f.Z)(n,[{key:"length",get:function(){return this.text.length}},{key:"createDOM",value:function(e){this.setDOM(e||document.createTextNode(this.text))}},{key:"sync",value:function(e){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(e&&e.node==this.dom&&(e.written=!0),this.dom.nodeValue=this.text)}},{key:"reuseDOM",value:function(e){3==e.nodeType&&this.createDOM(e)}},{key:"merge",value:function(e,t,r){return(!r||r instanceof n&&!(this.length-(t-e)+r.length>256))&&(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(t),this.markDirty(),!0)}},{key:"split",value:function(e){var t=new n(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t}},{key:"localPosFromDOM",value:function(e,t){return e==this.dom?t:t?this.text.length:0}},{key:"domAtPos",value:function(e){return new B(this.dom,e)}},{key:"domBoundsAround",value:function(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}},{key:"coordsAt",value:function(e,t){return le(this.dom,e,t)}}]),n}(H),ue=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;(0,h.Z)(this,n),(r=t.call(this)).mark=e,r.children=o,r.length=a;var s,u=(0,c.Z)(o);try{for(u.s();!(s=u.n()).done;){var l=s.value;l.setParent((0,i.Z)(r))}}catch(f){u.e(f)}finally{u.f()}return r}return(0,f.Z)(n,[{key:"setAttrs",value:function(e){if(j(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(var t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}},{key:"reuseDOM",value:function(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.dirty|=6)}},{key:"sync",value:function(e){this.dom?4&this.dirty&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),(0,o.Z)((0,a.Z)(n.prototype),"sync",this).call(this,e)}},{key:"merge",value:function(e,t,r,i,o,a){return(!r||!(!(r instanceof n&&r.mark.eq(this.mark))||e&&o<=0||t<this.length&&a<=0))&&(X(this,e,t,r?r.children:[],o-1,a-1),this.markDirty(),!0)}},{key:"split",value:function(e){var t,r=[],i=0,o=-1,a=0,s=(0,c.Z)(this.children);try{for(s.s();!(t=s.n()).done;){var u=t.value,l=i+u.length;l>e&&r.push(i<e?u.split(e-i):u),o<0&&i>=e&&(o=a),i=l,a++}}catch(f){s.e(f)}finally{s.f()}var h=this.length-e;return this.length=e,o>-1&&(this.children.length=o,this.markDirty()),new n(this.mark,r,h)}},{key:"domAtPos",value:function(e){return me(this,e)}},{key:"coordsAt",value:function(e,t){return ve(this,e,t)}}]),n}(H);function le(e,t,n){var r=e.nodeValue.length;t>r&&(t=r);var i=t,o=t,a=0;0==t&&n<0||t==r&&n>=0?ae.chrome||ae.gecko||(t?(i--,a=1):o<r&&(o++,a=-1)):n<0?i--:o<r&&o++;var s=F(e,i,o).getClientRects();if(!s.length)return P;var u=s[(a?a<0:n>=0)?0:s.length-1];return ae.safari&&!a&&0==u.width&&(u=Array.prototype.find.call(s,(function(e){return e.width}))||u),a?R(u,a<0):u||null}var ce=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r,i){var o;return(0,h.Z)(this,n),(o=t.call(this)).widget=e,o.length=r,o.side=i,o.prevWidget=null,o}return(0,f.Z)(n,[{key:"split",value:function(e){var t=n.create(this.widget,this.length-e,this.side);return this.length-=e,t}},{key:"sync",value:function(){this.dom&&this.widget.updateDOM(this.dom)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}},{key:"getSide",value:function(){return this.side}},{key:"merge",value:function(e,t,r,i,o,a){return!(r&&(!(r instanceof n&&this.widget.compare(r.widget))||e>0&&o<=0||t<this.length&&a<=0))&&(this.length=e+(r?r.length:0)+(this.length-t),!0)}},{key:"become",value:function(e){return e.length==this.length&&e instanceof n&&e.side==this.side&&this.widget.constructor==e.widget.constructor&&(this.widget.eq(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,!0)}},{key:"ignoreMutation",value:function(){return!0}},{key:"ignoreEvent",value:function(e){return this.widget.ignoreEvent(e)}},{key:"overrideDOMText",get:function(){if(0==this.length)return d.xv.empty;for(var e=this;e.parent;)e=e.parent;var t=e.editorView,n=t&&t.state.doc,r=this.posAtStart;return n?n.slice(r,r+this.length):d.xv.empty}},{key:"domAtPos",value:function(e){return 0==e?B.before(this.dom):B.after(this.dom,e==this.length)}},{key:"domBoundsAround",value:function(){return null}},{key:"coordsAt",value:function(e,t){var n=this.dom.getClientRects(),r=null;if(!n.length)return P;for(var i=e>0?n.length-1:0;r=n[i],!(e>0?0==i:i==n.length-1||r.top<r.bottom);i+=e>0?-1:1);return 0==e&&t>0||e==this.length&&t<=0?r:R(r,0==e)}},{key:"isEditable",get:function(){return!1}},{key:"destroy",value:function(){(0,o.Z)((0,a.Z)(n.prototype),"destroy",this).call(this),this.dom&&this.widget.destroy(this.dom)}}],[{key:"create",value:function(e,t,r){return new(e.customView||n)(e,t,r)}}]),n}(H),he=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){return(0,h.Z)(this,n),t.apply(this,arguments)}return(0,f.Z)(n,[{key:"domAtPos",value:function(e){var t=this.widget,n=t.topView,r=t.text;return n?fe(e,0,n,r,(function(e,t){return e.domAtPos(t)}),(function(e){return new B(r,Math.min(e,r.nodeValue.length))})):new B(r,Math.min(e,r.nodeValue.length))}},{key:"sync",value:function(){this.setDOM(this.widget.toDOM())}},{key:"localPosFromDOM",value:function(e,t){var n=this.widget,r=n.topView,i=n.text;return r?de(e,t,r,i):Math.min(t,this.length)}},{key:"ignoreMutation",value:function(){return!1}},{key:"overrideDOMText",get:function(){return null}},{key:"coordsAt",value:function(e,t){var n=this.widget,r=n.topView,i=n.text;return r?fe(e,t,r,i,(function(e,t,n){return e.coordsAt(t,n)}),(function(e,t){return le(i,e,t)})):le(i,e,t)}},{key:"destroy",value:function(){var e;(0,o.Z)((0,a.Z)(n.prototype),"destroy",this).call(this),null===(e=this.widget.topView)||void 0===e||e.destroy()}},{key:"isEditable",get:function(){return!0}}]),n}(ce);function fe(e,t,n,r,i,o){if(n instanceof ue){for(var a=n.dom.firstChild;a;a=a.nextSibling){var s=H.get(a);if(!s)return o(e,t);var u=w(a,r),l=s.length+(u?r.nodeValue.length:0);if(e<l||e==l&&s.getSide()<=0)return u?fe(e,t,s,r,i,o):i(s,e,t);e-=l}return i(n,n.length,-1)}return n.dom==r?o(e,t):i(n,e,t)}function de(e,t,n,r){if(n instanceof ue){var i,o=(0,c.Z)(n.children);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=0,u=w(a.dom,r);if(w(a.dom,e))return s+(u?de(e,t,a,r):a.localPosFromDOM(e,t));s+=u?r.nodeValue.length:a.length}}catch(l){o.e(l)}finally{o.f()}}else if(n.dom==r)return Math.min(t,r.nodeValue.length);return n.localPosFromDOM(e,t)}var pe=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).side=e,r}return(0,f.Z)(n,[{key:"length",get:function(){return 0}},{key:"merge",value:function(){return!1}},{key:"become",value:function(e){return e instanceof n&&e.side==this.side}},{key:"split",value:function(){return new n(this.side)}},{key:"sync",value:function(){if(!this.dom){var e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}},{key:"getSide",value:function(){return this.side}},{key:"domAtPos",value:function(e){return B.before(this.dom)}},{key:"localPosFromDOM",value:function(){return 0}},{key:"domBoundsAround",value:function(){return null}},{key:"coordsAt",value:function(e){var t=this.dom.getBoundingClientRect(),n=function(e,t){var n=e.parent,r=n?n.children.indexOf(e):-1;for(;n&&r>=0;)if(t<0?r>0:r<n.children.length){var i=n.children[r+t];if(i instanceof se){var o=i.coordsAt(t<0?i.length:0,t);if(o)return o}r+=t}else{if(!(n instanceof ue&&n.parent)){var a=n.dom.lastChild;if(a&&"BR"==a.nodeName)return a.getClientRects()[0];break}r=n.parent.children.indexOf(n)+(t<0?0:1),n=n.parent}return}(this,this.side>0?-1:1);return n&&n.top<t.bottom&&n.bottom>t.top?{left:t.left,right:t.right,top:n.top,bottom:n.bottom}:t}},{key:"overrideDOMText",get:function(){return d.xv.empty}}]),n}(H);function me(e,t){for(var n=e.dom,r=e.children,i=0,o=0;i<r.length;i++){var a=r[i],s=o+a.length;if(!(s==o&&a.getSide()<=0)){if(t>o&&t<s&&a.dom.parentNode==n)return a.domAtPos(t-o);if(t<=o)break;o=s}}for(var u=i;u>0;u--){var l=r[u-1];if(l.dom.parentNode==n)return l.domAtPos(l.length)}for(var c=i;c<r.length;c++){var h=r[c];if(h.dom.parentNode==n)return h.domAtPos(0)}return new B(n,0)}function ge(e,t,n){var r,i=e.children;n>0&&t instanceof ue&&i.length&&(r=i[i.length-1])instanceof ue&&r.mark.eq(t.mark)?ge(r,t.children[0],n-1):(i.push(t),t.setParent(e)),e.length+=t.length}function ve(e,t,n){for(var r=0,i=0;i<e.children.length;i++){var o=e.children[i],a=r+o.length,s=void 0;if((n<=0||a==e.length||o.getSide()>0?a>=t:a>t)&&(t<a||i+1==e.children.length||(s=e.children[i+1]).length||s.getSide()>0)){var u=0;if(a==r){if(o.getSide()<=0)continue;u=n=-o.getSide()}var l=o.coordsAt(Math.max(0,t-r),n);return u&&l?R(l,n<0):l}r=a}var c=e.dom.lastChild;if(!c)return e.dom.getBoundingClientRect();var h=C(c);return h[h.length-1]||null}function Oe(e,t){for(var n in e)"class"==n&&t.class?t.class+=" "+e.class:"style"==n&&t.style?t.style+=";"+e.style:t[n]=e[n];return t}function ye(e,t){if(e==t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0,o=n;i<o.length;i++){var a=o[i];if(-1==r.indexOf(a)||e[a]!==t[a])return!1}return!0}function ke(e,t,n){var r=null;if(t)for(var i in t)n&&i in n||e.removeAttribute(r=i);if(n)for(var o in n)t&&t[o]==n[o]||e.setAttribute(r=o,n[o]);return!!r}se.prototype.children=ce.prototype.children=pe.prototype.children=z;var be=function(){function e(){(0,h.Z)(this,e)}return(0,f.Z)(e,[{key:"eq",value:function(e){return!1}},{key:"updateDOM",value:function(e){return!1}},{key:"compare",value:function(e){return this==e||this.constructor==e.constructor&&this.eq(e)}},{key:"estimatedHeight",get:function(){return-1}},{key:"ignoreEvent",value:function(e){return!0}},{key:"customView",get:function(){return null}},{key:"destroy",value:function(e){}}]),e}(),xe=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(xe||(xe={})),Te=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r,i,o){var a;return(0,h.Z)(this,n),(a=t.call(this)).startSide=e,a.endSide=r,a.widget=i,a.spec=o,a}return(0,f.Z)(n,[{key:"heightRelevant",get:function(){return!1}},{key:"hasHeight",value:function(){return!!this.widget&&this.widget.estimatedHeight>-1}}],[{key:"mark",value:function(e){return new we(e)}},{key:"widget",value:function(e){var t=e.side||0,n=!!e.block;return new Ce(e,t+=n?t>0?3e8:-4e8:t>0?1e8:-1e8,t,n,e.widget||null,!1)}},{key:"replace",value:function(e){var t,n,r=!!e.block;if(e.isBlockGap)t=-5e8,n=4e8;else{var i=Ee(e,r);t=(i.start?r?-3e8:-1:5e8)-1,n=1+(i.end?r?2e8:1:-6e8)}return new Ce(e,t,n,r,e.widget||null,!0)}},{key:"line",value:function(e){return new Se(e)}},{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return d.Xs.of(e,t)}}]),n}(d.uU);Te.none=d.Xs.empty;var we=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;(0,h.Z)(this,n);var i=Ee(e),o=i.start,a=i.end;return(r=t.call(this,o?-1:5e8,a?1:-6e8,null,e)).tagName=e.tagName||"span",r.class=e.class||"",r.attrs=e.attributes||null,r}return(0,f.Z)(n,[{key:"eq",value:function(e){return this==e||e instanceof n&&this.tagName==e.tagName&&this.class==e.class&&ye(this.attrs,e.attrs)}},{key:"range",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(e>=t)throw new RangeError("Mark decorations may not be empty");return(0,o.Z)((0,a.Z)(n.prototype),"range",this).call(this,e,t)}}]),n}(Te);we.prototype.point=!1;var Se=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){return(0,h.Z)(this,n),t.call(this,-2e8,-2e8,null,e)}return(0,f.Z)(n,[{key:"eq",value:function(e){return e instanceof n&&ye(this.spec.attributes,e.spec.attributes)}},{key:"range",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return(0,o.Z)((0,a.Z)(n.prototype),"range",this).call(this,e,t)}}]),n}(Te);Se.prototype.mapMode=d.gc.TrackBefore,Se.prototype.point=!0;var Ce=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r,i,o,a,s){var u;return(0,h.Z)(this,n),(u=t.call(this,r,i,a,e)).block=o,u.isReplace=s,u.mapMode=o?r<=0?d.gc.TrackBefore:d.gc.TrackAfter:d.gc.TrackDel,u}return(0,f.Z)(n,[{key:"type",get:function(){return this.startSide<this.endSide?xe.WidgetRange:this.startSide<=0?xe.WidgetBefore:xe.WidgetAfter}},{key:"heightRelevant",get:function(){return this.block||!!this.widget&&this.widget.estimatedHeight>=5}},{key:"eq",value:function(e){return e instanceof n&&(t=this.widget,r=e.widget,t==r||!!(t&&r&&t.compare(r)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide;var t,r}},{key:"range",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return(0,o.Z)((0,a.Z)(n.prototype),"range",this).call(this,e,t)}}]),n}(Te);function Ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.inclusiveStart,r=e.inclusiveEnd;return null==n&&(n=e.inclusive),null==r&&(r=e.inclusive),{start:null!==n&&void 0!==n?n:t,end:null!==r&&void 0!==r?r:t}}function Ae(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=n.length-1;i>=0&&n[i]+r>=e?n[i]=Math.max(n[i],t):n.push(e,t)}Ce.prototype.point=!0;var _e=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;return(0,h.Z)(this,n),(e=t.apply(this,arguments)).children=[],e.length=0,e.prevAttrs=void 0,e.attrs=null,e.breakAfter=0,e}return(0,f.Z)(n,[{key:"merge",value:function(e,t,r,i,o,a){if(r){if(!(r instanceof n))return!1;this.dom||r.transferDOM(this)}return i&&this.setDeco(r?r.attrs:null),X(this,e,t,r?r.children:[],o,a),!0}},{key:"split",value:function(e){var t=new n;if(t.breakAfter=this.breakAfter,0==this.length)return t;var r=this.childPos(e),i=r.i,o=r.off;o&&(t.append(this.children[i].split(o),0),this.children[i].merge(o,this.children[i].length,null,!1,0,0),i++);for(var a=i;a<this.children.length;a++)t.append(this.children[a],0);for(;i>0&&0==this.children[i-1].length;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=e,t}},{key:"transferDOM",value:function(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}},{key:"setDeco",value:function(e){ye(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}},{key:"append",value:function(e,t){ge(this,e,t)}},{key:"addLineDeco",value:function(e){var t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=Oe(t,this.attrs||{})),n&&(this.attrs=Oe({class:n},this.attrs||{}))}},{key:"domAtPos",value:function(e){return me(this,e)}},{key:"reuseDOM",value:function(e){"DIV"==e.nodeName&&(this.setDOM(e),this.dirty|=6)}},{key:"sync",value:function(e){var t;this.dom?4&this.dirty&&(j(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(ke(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),(0,o.Z)((0,a.Z)(n.prototype),"sync",this).call(this,e);for(var r=this.dom.lastChild;r&&H.get(r)instanceof ue;)r=r.lastChild;if(!r||!this.length||"BR"!=r.nodeName&&0==(null===(t=H.get(r))||void 0===t?void 0:t.isEditable)&&(!ae.ios||!this.children.some((function(e){return e instanceof se})))){var i=document.createElement("BR");i.cmIgnore=!0,this.dom.appendChild(i)}}},{key:"measureTextSize",value:function(){if(0==this.children.length||this.length>20)return null;var e,t=0,n=(0,c.Z)(this.children);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(!(r instanceof se)||/[^ -~]/.test(r.text))return null;var i=C(r.dom);if(1!=i.length)return null;t+=i[0].width}}catch(o){n.e(o)}finally{n.f()}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length}:null}},{key:"coordsAt",value:function(e,t){return ve(this,e,t)}},{key:"become",value:function(e){return!1}},{key:"type",get:function(){return xe.Text}}],[{key:"find",value:function(e,t){for(var r=0,i=0;r<e.children.length;r++){var o=e.children[r],a=i+o.length;if(a>=t){if(o instanceof n)return o;if(a>t)break}i=a+o.breakAfter}return null}}]),n}(H),Qe=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r,i){var o;return(0,h.Z)(this,n),(o=t.call(this)).widget=e,o.length=r,o.type=i,o.breakAfter=0,o.prevWidget=null,o}return(0,f.Z)(n,[{key:"merge",value:function(e,t,r,i,o,a){return!(r&&(!(r instanceof n&&this.widget.compare(r.widget))||e>0&&o<=0||t<this.length&&a<=0))&&(this.length=e+(r?r.length:0)+(this.length-t),!0)}},{key:"domAtPos",value:function(e){return 0==e?B.before(this.dom):B.after(this.dom,e==this.length)}},{key:"split",value:function(e){var t=this.length-e;this.length=e;var r=new n(this.widget,t,this.type);return r.breakAfter=this.breakAfter,r}},{key:"children",get:function(){return z}},{key:"sync",value:function(){this.dom&&this.widget.updateDOM(this.dom)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}},{key:"overrideDOMText",get:function(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):d.xv.empty}},{key:"domBoundsAround",value:function(){return null}},{key:"become",value:function(e){return e instanceof n&&e.type==this.type&&e.widget.constructor==this.widget.constructor&&(e.widget.eq(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.breakAfter=e.breakAfter,!0)}},{key:"ignoreMutation",value:function(){return!0}},{key:"ignoreEvent",value:function(e){return this.widget.ignoreEvent(e)}},{key:"destroy",value:function(){(0,o.Z)((0,a.Z)(n.prototype),"destroy",this).call(this),this.dom&&this.widget.destroy(this.dom)}}]),n}(H),Pe=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.doc=t,this.pos=n,this.end=r,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=t.iter(),this.skip=n}return(0,f.Z)(e,[{key:"posCovered",value:function(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;var e=this.content[this.content.length-1];return!e.breakAfter&&!(e instanceof Qe&&e.type==xe.WidgetBefore)}},{key:"getLine",value:function(){return this.curLine||(this.content.push(this.curLine=new _e),this.atCursorPos=!0),this.curLine}},{key:"flushBuffer",value:function(e){this.pendingBuffer&&(this.curLine.append(Re(new pe(-1),e),e.length),this.pendingBuffer=0)}},{key:"addBlockWidget",value:function(e){this.flushBuffer([]),this.curLine=null,this.content.push(e)}},{key:"finish",value:function(e){e?this.pendingBuffer=0:this.flushBuffer([]),this.posCovered()||this.getLine()}},{key:"buildText",value:function(e,t,n){for(;e>0;){if(this.textOff==this.text.length){var r=this.cursor.next(this.skip),i=r.value,o=r.lineBreak,a=r.done;if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,e--;continue}this.text=i,this.textOff=0}var s=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(0,n)),this.getLine().append(Re(new se(this.text.slice(this.textOff,this.textOff+s)),t),n),this.atCursorPos=!0,this.textOff+=s,e-=s,n=0}}},{key:"span",value:function(e,t,n,r){this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}},{key:"point",value:function(e,t,n,r,i,o){if(this.disallowBlockEffectsFor[o]&&n instanceof Ce){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}var a=t-e;if(n instanceof Ce)if(n.block){var s=n.type;s!=xe.WidgetAfter||this.posCovered()||this.getLine(),this.addBlockWidget(new Qe(n.widget||new De("div"),a,s))}else{var u=ce.create(n.widget||new De("span"),a,n.startSide),l=this.atCursorPos&&!u.isEditable&&i<=r.length&&(e<t||n.startSide>0),c=!u.isEditable&&(e<t||n.startSide<=0),h=this.getLine();2!=this.pendingBuffer||l||(this.pendingBuffer=0),this.flushBuffer(r),l&&(h.append(Re(new pe(1),r),i),i=r.length+Math.max(0,i-r.length)),h.append(Re(u,r),i),this.atCursorPos=c,this.pendingBuffer=c?e<t?1:2:0}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=i)}}],[{key:"build",value:function(t,n,r,i,o){var a=new e(t,n,r,o);return a.openEnd=d.Xs.spans(i,n,r,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}]),e}();function Re(e,t){var n,r=(0,c.Z)(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;e=new ue(i,[e],e.length)}}catch(o){r.e(o)}finally{r.f()}return e}var De=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).tag=e,r}return(0,f.Z)(n,[{key:"eq",value:function(e){return e.tag==this.tag}},{key:"toDOM",value:function(){return document.createElement(this.tag)}},{key:"updateDOM",value:function(e){return e.nodeName.toLowerCase()==this.tag}}]),n}(be),Ne=d.r$.define(),Me=d.r$.define(),Ie=d.r$.define(),Le=d.r$.define(),Fe=d.r$.define(),Ze=d.r$.define(),$e=d.r$.define({combine:function(e){return e.some((function(e){return e}))}}),je=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nearest",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"nearest",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:5;(0,h.Z)(this,e),this.range=t,this.y=n,this.x=r,this.yMargin=i,this.xMargin=o}return(0,f.Z)(e,[{key:"map",value:function(t){return t.empty?this:new e(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin)}}]),e}(),Be=d.Py.define({map:function(e,t){return e.map(t)}});function ze(e,t,n){var r=e.facet(Le);r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+":",t):console.error(t)}var He=d.r$.define({combine:function(e){return!e.length||e[0]}}),We=0,Ue=d.r$.define(),qe=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.id=t,this.create=n,this.domEventHandlers=r,this.extension=i(this)}return(0,f.Z)(e,null,[{key:"define",value:function(t,n){var r=n||{},i=r.eventHandlers,o=r.provide,a=r.decorations;return new e(We++,t,i,(function(e){var t=[Ue.of(e)];return a&&t.push(Ve.of((function(t){var n=t.plugin(e);return n?a(n):Te.none}))),o&&t.push(o(e)),t}))}},{key:"fromClass",value:function(t,n){return e.define((function(e){return new t(e)}),n)}}]),e}(),Xe=function(){function e(t){(0,h.Z)(this,e),this.spec=t,this.mustUpdate=null,this.value=null}return(0,f.Z)(e,[{key:"update",value:function(e){if(this.value){if(this.mustUpdate){var t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(ze(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(r){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(n){ze(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}},{key:"destroy",value:function(e){var t;if(null===(t=this.value)||void 0===t?void 0:t.destroy)try{this.value.destroy()}catch(n){ze(e.state,n,"CodeMirror plugin crashed")}}},{key:"deactivate",value:function(){this.spec=this.value=null}}]),e}(),Ge=d.r$.define(),Je=d.r$.define(),Ve=d.r$.define(),Ye=d.r$.define(),Ke=d.r$.define(),et=d.r$.define(),tt=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.fromA=t,this.toA=n,this.fromB=r,this.toB=i}return(0,f.Z)(e,[{key:"join",value:function(t){return new e(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}},{key:"addToSet",value:function(e){for(var t=e.length,n=this;t>0;t--){var r=e[t-1];if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}return e.splice(t,0,n),e}}],[{key:"extendWithRanges",value:function(t,n){if(0==n.length)return t;for(var r=[],i=0,o=0,a=0,s=0;;i++){for(var u=i==t.length?null:t[i],l=a-s,c=u?u.fromB:1e9;o<n.length&&n[o]<c;){var h=n[o],f=n[o+1],d=Math.max(s,h),p=Math.min(c,f);if(d<=p&&new e(d+l,p+l,d,p).addToSet(r),f>c)break;o+=2}if(!u)return r;new e(u.fromA,u.toA,u.fromB,u.toB).addToSet(r),a=u.toA,s=u.toB}}}]),e}(),nt=function(){function e(t,n,r){(0,h.Z)(this,e),this.view=t,this.state=n,this.transactions=r,this.flags=0,this.startState=t.state,this.changes=d.as.empty(this.startState.doc.length);var i,o=(0,c.Z)(r);try{for(o.s();!(i=o.n()).done;){var a=i.value;this.changes=this.changes.compose(a.changes)}}catch(l){o.e(l)}finally{o.f()}var s=[];this.changes.iterChangedRanges((function(e,t,n,r){return s.push(new tt(e,t,n,r))})),this.changedRanges=s;var u=t.hasFocus;u!=t.inputState.notifiedFocused&&(t.inputState.notifiedFocused=u,this.flags|=1)}return(0,f.Z)(e,[{key:"viewportChanged",get:function(){return(4&this.flags)>0}},{key:"heightChanged",get:function(){return(2&this.flags)>0}},{key:"geometryChanged",get:function(){return this.docChanged||(10&this.flags)>0}},{key:"focusChanged",get:function(){return(1&this.flags)>0}},{key:"docChanged",get:function(){return!this.changes.empty}},{key:"selectionSet",get:function(){return this.transactions.some((function(e){return e.selection}))}},{key:"empty",get:function(){return 0==this.flags&&0==this.transactions.length}}],[{key:"create",value:function(t,n,r){return new e(t,n,r)}}]),e}(),rt=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(rt||(rt={})),it=rt.LTR,ot=rt.RTL;function at(e){for(var t=[],n=0;n<e.length;n++)t.push(1<<+e[n]);return t}for(var st=at("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),ut=at("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),lt=Object.create(null),ct=[],ht=0,ft=["()","[]","{}"];ht<ft.length;ht++){var dt=ft[ht],pt=dt.charCodeAt(0),mt=dt.charCodeAt(1);lt[pt]=mt,lt[mt]=-pt}function gt(e){return e<=247?st[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?ut[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8203?256:64336<=e&&e<=65023?4:8204==e?256:1}var vt=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,Ot=function(){function e(t,n,r){(0,h.Z)(this,e),this.from=t,this.to=n,this.level=r}return(0,f.Z)(e,[{key:"dir",get:function(){return this.level%2?ot:it}},{key:"side",value:function(e,t){return this.dir==t==e?this.to:this.from}}],[{key:"find",value:function(e,t,n,r){for(var i=-1,o=0;o<e.length;o++){var a=e[o];if(a.from<=t&&a.to>=t){if(a.level==n)return o;(i<0||(0!=r?r<0?a.from<t:a.to>t:e[i].level>a.level))&&(i=o)}}if(i<0)throw new RangeError("Index out of range");return i}}]),e}(),yt=[];function kt(e,t){var n=e.length,r=t==it?1:2,i=t==it?2:1;if(!e||1==r&&!vt.test(e))return bt(n);for(var o=0,a=r,s=r;o<n;o++){var u=gt(e.charCodeAt(o));512==u?u=a:8==u&&4==s&&(u=16),yt[o]=4==u?2:u,7&u&&(s=u),a=u}for(var l=0,c=r,h=r;l<n;l++){var f=yt[l];if(128==f)l<n-1&&c==yt[l+1]&&24&c?f=yt[l]=c:yt[l]=256;else if(64==f){for(var d=l+1;d<n&&64==yt[d];)d++;for(var p=l&&8==c||d<n&&8==yt[d]?1==h?1:8:256,m=l;m<d;m++)yt[m]=p;l=d-1}else 8==f&&1==h&&(yt[l]=1);c=f,7&f&&(h=f)}for(var g,v,O,y=0,k=0,b=0;y<n;y++)if(v=lt[g=e.charCodeAt(y)])if(v<0){for(var x=k-3;x>=0;x-=3)if(ct[x+1]==-v){var T=ct[x+2],w=2&T?r:4&T?1&T?i:r:0;w&&(yt[y]=yt[ct[x]]=w),k=x;break}}else{if(189==ct.length)break;ct[k++]=y,ct[k++]=g,ct[k++]=b}else if(2==(O=yt[y])||1==O){var S=O==r;b=S?0:1;for(var C=k-3;C>=0;C-=3){var E=ct[C+2];if(2&E)break;if(S)ct[C+2]|=2;else{if(4&E)break;ct[C+2]|=4}}}for(var A=0;A<n;A++)if(256==yt[A]){for(var _=A+1;_<n&&256==yt[_];)_++;for(var Q=1==(A?yt[A-1]:r),P=Q==(1==(_<n?yt[_]:r))?Q?1:2:r,R=A;R<_;R++)yt[R]=P;A=_-1}var D=[];if(1==r)for(var N=0;N<n;){for(var M=N,I=1!=yt[N++];N<n&&I==(1!=yt[N]);)N++;if(I)for(var L=N;L>M;){for(var F=L,Z=2!=yt[--L];L>M&&Z==(2!=yt[L-1]);)L--;D.push(new Ot(L,F,Z?2:1))}else D.push(new Ot(M,N,0))}else for(var $=0;$<n;){for(var j=$,B=2==yt[$++];$<n&&B==(2==yt[$]);)$++;D.push(new Ot(j,$,B?1:2))}return D}function bt(e){return[new Ot(0,e,0)]}var xt="";function Tt(e,t,n,r,i){var o,a=r.head-e.from,s=-1;if(0==a){if(!i||!e.length)return null;t[0].level!=n&&(a=t[0].side(!1,n),s=0)}else if(a==e.length){if(i)return null;var u=t[t.length-1];u.level!=n&&(a=u.side(!0,n),s=t.length-1)}s<0&&(s=Ot.find(t,a,null!==(o=r.bidiLevel)&&void 0!==o?o:-1,r.assoc));var l=t[s];a==l.side(i,n)&&(a=(l=t[s+=i?1:-1]).side(!i,n));var c=i==(l.dir==n),h=(0,d.cp)(e.text,a,c);if(xt=e.text.slice(Math.min(a,h),Math.max(a,h)),h!=l.side(i,n))return d.jT.cursor(h+e.from,c?-1:1,l.level);var f=s==(i?t.length-1:0)?null:t[s+(i?1:-1)];return f||l.level==n?f&&f.level<l.level?d.jT.cursor(f.side(!i,n)+e.from,i?1:-1,f.level):d.jT.cursor(h+e.from,i?-1:1,l.level):d.jT.cursor(i?e.to:e.from,i?-1:1,n)}var wt="\uffff",St=function(){function e(t,n){(0,h.Z)(this,e),this.points=t,this.text="",this.lineSeparator=n.facet(d.yy.lineSeparator)}return(0,f.Z)(e,[{key:"append",value:function(e){this.text+=e}},{key:"lineBreak",value:function(){this.text+=wt}},{key:"readRange",value:function(e,t){if(!e)return this;for(var n=e.parentNode,r=e;;){this.findPointBefore(n,r),this.readNode(r);var i=r.nextSibling;if(i==t)break;var o=H.get(r),a=H.get(i);(o&&a?o.breakAfter:(o?o.breakAfter:Ct(r))||Ct(i)&&("BR"!=r.nodeName||r.cmIgnore))&&this.lineBreak(),r=i}return this.findPointBefore(n,t),this}},{key:"readTextNode",value:function(e){var t,n=e.nodeValue,r=(0,c.Z)(this.points);try{for(r.s();!(t=r.n()).done;){var i=t.value;i.node==e&&(i.pos=this.text.length+Math.min(i.offset,n.length))}}catch(p){r.e(p)}finally{r.f()}for(var o=0,a=this.lineSeparator?null:/\r\n?|\n/g;;){var s=-1,u=1,l=void 0;if(this.lineSeparator?(s=n.indexOf(this.lineSeparator,o),u=this.lineSeparator.length):(l=a.exec(n))&&(s=l.index,u=l[0].length),this.append(n.slice(o,s<0?n.length:s)),s<0)break;if(this.lineBreak(),u>1){var h,f=(0,c.Z)(this.points);try{for(f.s();!(h=f.n()).done;){var d=h.value;d.node==e&&d.pos>this.text.length&&(d.pos-=u-1)}}catch(p){f.e(p)}finally{f.f()}}o=s+u}}},{key:"readNode",value:function(e){if(!e.cmIgnore){var t=H.get(e),n=t&&t.overrideDOMText;if(null!=n){this.findPointInside(e,n.length);for(var r=n.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}}},{key:"findPointBefore",value:function(e,t){var n,r=(0,c.Z)(this.points);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.node==e&&e.childNodes[i.offset]==t&&(i.pos=this.text.length)}}catch(o){r.e(o)}finally{r.f()}}},{key:"findPointInside",value:function(e,t){var n,r=(0,c.Z)(this.points);try{for(r.s();!(n=r.n()).done;){var i=n.value;(3==e.nodeType?i.node==e:e.contains(i.node))&&(i.pos=this.text.length+Math.min(t,i.offset))}}catch(o){r.e(o)}finally{r.f()}}}]),e}();function Ct(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}var Et=(0,f.Z)((function e(t,n){(0,h.Z)(this,e),this.node=t,this.offset=n,this.pos=-1})),At=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).view=e,r.compositionDeco=Te.none,r.decorations=[],r.dynamicDecorationMap=[],r.minWidth=0,r.minWidthFrom=0,r.minWidthTo=0,r.impreciseAnchor=null,r.impreciseHead=null,r.forceSelection=!1,r.lastUpdate=Date.now(),r.setDOM(e.contentDOM),r.children=[new _e],r.children[0].setParent((0,i.Z)(r)),r.updateDeco(),r.updateInner([new tt(0,0,0,e.state.doc.length)],0),r}return(0,f.Z)(n,[{key:"editorView",get:function(){return this.view}},{key:"length",get:function(){return this.view.state.doc.length}},{key:"update",value:function(e){var t=this,n=e.changedRanges;this.minWidth>0&&n.length&&(n.every((function(e){var n=e.fromA;return e.toA<t.minWidthFrom||n>t.minWidthTo}))?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=Te.none:(e.transactions.length||this.dirty)&&(this.compositionDeco=function(e,t){var n=Pt(e);if(!n)return Te.none;var r=n.from,i=n.to,o=n.node,a=n.text,s=t.mapPos(r,1),u=Math.max(s,t.mapPos(i,-1)),l=e.state,c=3==o.nodeType?o.nodeValue:new St([],l).readRange(o.firstChild,null).text;if(u-s<c.length)if(l.doc.sliceString(s,Math.min(l.doc.length,s+c.length),wt)==c)u=s+c.length;else{if(l.doc.sliceString(Math.max(0,u-c.length),u,wt)!=c)return Te.none;s=u-c.length}else if(l.doc.sliceString(s,u,wt)!=c)return Te.none;var h=H.get(o);h instanceof he?h=h.widget.topView:h&&(h.parent=null);return Te.set(Te.replace({widget:new Rt(o,a,h),inclusive:!0}).range(s,u))}(this.view,e.changes)),(ae.ie||ae.chrome)&&!this.compositionDeco.size&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);var r=function(e,t,n){var r=new Mt;return d.Xs.compare(e,t,n,r),r.changes}(this.decorations,this.updateDeco(),e.changes);return n=tt.extendWithRanges(n,r),(0!=this.dirty||0!=n.length)&&(this.updateInner(n,e.startState.doc.length),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}},{key:"updateInner",value:function(e,t){var n=this;this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t);var r=this.view.observer;r.ignore((function(){n.dom.style.height=n.view.viewState.contentHeight+"px",n.dom.style.flexBasis=n.minWidth?n.minWidth+"px":"";var e=ae.chrome||ae.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;n.sync(e),n.dirty=0,e&&(e.written||r.selectionRange.focusNode!=e.node)&&(n.forceSelection=!0),n.dom.style.height=""}));var i=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length){var o,a=(0,c.Z)(this.children);try{for(a.s();!(o=a.n()).done;){var s=o.value;s instanceof Qe&&s.widget instanceof Qt&&i.push(s.dom)}}catch(u){a.e(u)}finally{a.f()}}r.updateGaps(i)}},{key:"updateChildren",value:function(e,t){for(var n=this.childCursor(t),r=e.length-1;;r--){var i=r>=0?e[r]:null;if(!i)break;var o=i.fromA,a=i.toA,s=i.fromB,u=i.toB,l=Pe.build(this.view.state.doc,s,u,this.decorations,this.dynamicDecorationMap),c=l.content,h=l.breakAtStart,f=l.openStart,d=l.openEnd,p=n.findPos(a,1),m=p.i,g=p.off,v=n.findPos(o,-1);q(this,v.i,v.off,m,g,c,h,f,d)}}},{key:"updateSelection",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange(),n||this.mayControlSelection()){var r=this.forceSelection;this.forceSelection=!1;var i=this.view.state.selection.main,o=this.domAtPos(i.anchor),a=i.empty?o:this.domAtPos(i.head);if(ae.gecko&&i.empty&&_t(o)){var s=document.createTextNode("");this.view.observer.ignore((function(){return o.node.insertBefore(s,o.node.childNodes[o.offset]||null)})),o=a=new B(s,0),r=!0}var u=this.view.observer.selectionRange;!r&&u.focusNode&&E(o.node,o.offset,u.anchorNode,u.anchorOffset)&&E(a.node,a.offset,u.focusNode,u.focusOffset)||(this.view.observer.ignore((function(){ae.android&&ae.chrome&&e.dom.contains(u.focusNode)&&It(u.focusNode,e.dom)&&(e.dom.blur(),e.dom.focus({preventScroll:!0}));var t=T(e.view.root);if(t)if(i.empty){if(ae.gecko){var n=Nt(o.node,o.offset);if(n&&3!=n){var r=Dt(o.node,o.offset,1==n?1:-1);r&&(o=new B(r,1==n?0:r.nodeValue.length))}}t.collapse(o.node,o.offset),null!=i.bidiLevel&&null!=u.cursorBidiLevel&&(u.cursorBidiLevel=i.bidiLevel)}else if(t.extend)t.collapse(o.node,o.offset),t.extend(a.node,a.offset);else{var s=document.createRange();if(i.anchor>i.head){var l=[a,o];o=l[0],a=l[1]}s.setEnd(a.node,a.offset),s.setStart(o.node,o.offset),t.removeAllRanges(),t.addRange(s)}else;})),this.view.observer.setSelectionRange(o,a)),this.impreciseAnchor=o.precise?null:new B(u.anchorNode,u.anchorOffset),this.impreciseHead=a.precise?null:new B(u.focusNode,u.focusOffset)}}},{key:"enforceCursorAssoc",value:function(){if(!this.compositionDeco.size){var e=this.view.state.selection.main,t=T(this.view.root);if(t&&e.empty&&e.assoc&&t.modify){var n=_e.find(this,e.head);if(n){var r=n.posAtStart;if(e.head!=r&&e.head!=r+n.length){var i=this.coordsAt(e.head,-1),o=this.coordsAt(e.head,1);if(i&&o&&!(i.bottom>o.top)){var a=this.domAtPos(e.head+e.assoc);t.collapse(a.node,a.offset),t.modify("move",e.assoc<0?"forward":"backward","lineboundary")}}}}}}},{key:"mayControlSelection",value:function(){var e=this.view.root.activeElement;return e==this.dom||S(this.dom,this.view.observer.selectionRange)&&!(e&&this.dom.contains(e))}},{key:"nearest",value:function(e){for(var t=e;t;){var n=H.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}},{key:"posFromDOM",value:function(e,t){var n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}},{key:"domAtPos",value:function(e){for(var t=this.childCursor().findPos(e,-1),n=t.i,r=t.off;n<this.children.length-1;){var i=this.children[n];if(r<i.length||i instanceof _e)break;n++,r=0}return this.children[n].domAtPos(r)}},{key:"coordsAt",value:function(e,t){for(var n=this.length,r=this.children.length-1;;r--){var i=this.children[r],o=n-i.breakAfter-i.length;if(e>o||e==o&&i.type!=xe.WidgetBefore&&i.type!=xe.WidgetAfter&&(!r||2==t||this.children[r-1].breakAfter||this.children[r-1].type==xe.WidgetBefore&&t>-2))return i.coordsAt(e-o,t);n=o}}},{key:"measureVisibleLineHeights",value:function(e){for(var t=[],n=e.from,r=e.to,i=this.view.contentDOM.clientWidth,o=i>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,s=this.view.textDirection==rt.LTR,u=0,l=0;l<this.children.length;l++){var c=this.children[l],h=u+c.length;if(h>r)break;if(u>=n){var f=c.dom.getBoundingClientRect();if(t.push(f.height),o){var d=c.dom.lastChild,p=d?C(d):[];if(p.length){var m=p[p.length-1],g=s?m.right-f.left:f.right-m.left;g>a&&(a=g,this.minWidth=i,this.minWidthFrom=u,this.minWidthTo=h)}}}u=h+c.breakAfter}return t}},{key:"textDirectionAt",value:function(e){var t=this.childPos(e,1).i;return"rtl"==getComputedStyle(this.children[t].dom).direction?rt.RTL:rt.LTR}},{key:"measureTextSize",value:function(){var e,t=this,n=(0,c.Z)(this.children);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r instanceof _e){var i=r.measureTextSize();if(i)return i}}}catch(u){n.e(u)}finally{n.f()}var o,a,s=document.createElement("div");return s.className="cm-line",s.style.width="99999px",s.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((function(){t.dom.appendChild(s);var e=C(s.firstChild)[0];o=s.getBoundingClientRect().height,a=e?e.width/27:7,s.remove()})),{lineHeight:o,charWidth:a}}},{key:"childCursor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.length,t=this.children.length;return t&&(e-=this.children[--t].length),new U(this.children,e,t)}},{key:"computeBlockGapDeco",value:function(){for(var e=[],t=this.view.viewState,n=0,r=0;;r++){var i=r==t.viewports.length?null:t.viewports[r],o=i?i.from-1:this.length;if(o>n){var a=t.lineBlockAt(o).bottom-t.lineBlockAt(n).top;e.push(Te.replace({widget:new Qt(a),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!i)break;n=i.to+1}return Te.set(e)}},{key:"updateDeco",value:function(){for(var e=this,t=this.view.state.facet(Ve).map((function(t,n){return(e.dynamicDecorationMap[n]="function"==typeof t)?t(e.view):t})),n=t.length;n<t.length+3;n++)this.dynamicDecorationMap[n]=!1;return this.decorations=[].concat((0,l.Z)(t),[this.compositionDeco,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco])}},{key:"scrollIntoView",value:function(e){var t,n=this,r=e.range,i=this.coordsAt(r.head,r.empty?r.assoc:r.head>r.anchor?-1:1);if(i){!r.empty&&(t=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(i={left:Math.min(i.left,t.left),top:Math.min(i.top,t.top),right:Math.max(i.right,t.right),bottom:Math.max(i.bottom,t.bottom)});var o,a=0,s=0,u=0,l=0,h=(0,c.Z)(this.view.state.facet(Ke).map((function(e){return e(n.view)})));try{for(h.s();!(o=h.n()).done;){var f=o.value;if(f){var d=f.left,p=f.right,m=f.top,g=f.bottom;null!=d&&(a=Math.max(a,d)),null!=p&&(s=Math.max(s,p)),null!=m&&(u=Math.max(u,m)),null!=g&&(l=Math.max(l,g))}}}catch(O){h.e(O)}finally{h.f()}var v={left:i.left-a,top:i.top-u,right:i.right+s,bottom:i.bottom+l};!function(e,t,n,r,i,o,a,s){for(var u=e.ownerDocument,l=u.defaultView,c=e;c;)if(1==c.nodeType){var h=void 0,f=c==u.body;if(f)h=D(l);else{if(c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.parentNode;continue}var d=c.getBoundingClientRect();h={left:d.left,right:d.left+c.clientWidth,top:d.top,bottom:d.top+c.clientHeight}}var p=0,m=0;if("nearest"==i)t.top<h.top?(m=-(h.top-t.top+a),n>0&&t.bottom>h.bottom+m&&(m=t.bottom-h.bottom+m+a)):t.bottom>h.bottom&&(m=t.bottom-h.bottom+a,n<0&&t.top-m<h.top&&(m=-(h.top+m-t.top+a)));else{var g=t.bottom-t.top,v=h.bottom-h.top;m=("center"==i&&g<=v?t.top+g/2-v/2:"start"==i||"center"==i&&n<0?t.top-a:t.bottom-v+a)-h.top}if("nearest"==r?t.left<h.left?(p=-(h.left-t.left+o),n>0&&t.right>h.right+p&&(p=t.right-h.right+p+o)):t.right>h.right&&(p=t.right-h.right+o,n<0&&t.left<h.left+p&&(p=-(h.left+p-t.left+o))):p=("center"==r?t.left+(t.right-t.left)/2-(h.right-h.left)/2:"start"==r==s?t.left-o:t.right-(h.right-h.left)+o)-h.left,p||m)if(f)l.scrollBy(p,m);else{if(m){var O=c.scrollTop;c.scrollTop+=m,m=c.scrollTop-O}if(p){var y=c.scrollLeft;c.scrollLeft+=p,p=c.scrollLeft-y}t={left:t.left-p,top:t.top-m,right:t.right-p,bottom:t.bottom-m}}if(f)break;c=c.assignedSlot||c.parentNode,r=i="nearest"}else{if(11!=c.nodeType)break;c=c.host}}(this.view.scrollDOM,v,r.head<r.anchor?-1:1,e.x,e.y,e.xMargin,e.yMargin,this.view.textDirection==rt.LTR)}}}]),n}(H);function _t(e){return 1==e.node.nodeType&&e.node.firstChild&&(0==e.offset||"false"==e.node.childNodes[e.offset-1].contentEditable)&&(e.offset==e.node.childNodes.length||"false"==e.node.childNodes[e.offset].contentEditable)}var Qt=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).height=e,r}return(0,f.Z)(n,[{key:"toDOM",value:function(){var e=document.createElement("div");return this.updateDOM(e),e}},{key:"eq",value:function(e){return e.height==this.height}},{key:"updateDOM",value:function(e){return e.style.height=this.height+"px",!0}},{key:"estimatedHeight",get:function(){return this.height}}]),n}(be);function Pt(e){var t=e.observer.selectionRange,n=t.focusNode&&Dt(t.focusNode,t.focusOffset,0);if(!n)return null;var r=e.docView.nearest(n);if(!r)return null;if(r instanceof _e){for(var i=n;i.parentNode!=r.dom;)i=i.parentNode;for(var o=i.previousSibling;o&&!H.get(o);)o=o.previousSibling;var a=o?H.get(o).posAtEnd:r.posAtStart;return{from:a,to:a,node:i,text:n}}for(;;){var s=r.parent;if(!s)return null;if(s instanceof _e)break;r=s}var u=r.posAtStart;return{from:u,to:u+r.length,node:r.dom,text:n}}var Rt=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r,i){var o;return(0,h.Z)(this,n),(o=t.call(this)).top=e,o.text=r,o.topView=i,o}return(0,f.Z)(n,[{key:"eq",value:function(e){return this.top==e.top&&this.text==e.text}},{key:"toDOM",value:function(){return this.top}},{key:"ignoreEvent",value:function(){return!1}},{key:"customView",get:function(){return he}}]),n}(be);function Dt(e,t,n){for(;;){if(3==e.nodeType)return e;if(1==e.nodeType&&t>0&&n<=0)t=Q(e=e.childNodes[t-1]);else{if(!(1==e.nodeType&&t<e.childNodes.length&&n>=0))return null;e=e.childNodes[t],t=0}}}function Nt(e,t){return 1!=e.nodeType?0:(t&&"false"==e.childNodes[t-1].contentEditable?1:0)|(t<e.childNodes.length&&"false"==e.childNodes[t].contentEditable?2:0)}var Mt=function(){function e(){(0,h.Z)(this,e),this.changes=[]}return(0,f.Z)(e,[{key:"compareRange",value:function(e,t){Ae(e,t,this.changes)}},{key:"comparePoint",value:function(e,t){Ae(e,t,this.changes)}}]),e}();function It(e,t){for(var n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0;return!1}function Lt(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function Ft(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function Zt(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function $t(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function jt(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function Bt(e,t,n){for(var r,i,o,a,s,u,l,c,h=!1,f=e.firstChild;f;f=f.nextSibling)for(var d=C(f),p=0;p<d.length;p++){var m=d[p];i&&Zt(i,m)&&(m=$t(jt(m,i.bottom),i.top));var g=Lt(t,m),v=Ft(n,m);if(0==g&&0==v)return 3==f.nodeType?zt(f,t,n):Bt(f,t,n);(!r||a>v||a==v&&o>g)&&(r=f,i=m,o=g,a=v,h=!g||(g>0?p<d.length-1:p>0)),0==g?n>m.bottom&&(!l||l.bottom<m.bottom)?(s=f,l=m):n<m.top&&(!c||c.top>m.top)&&(u=f,c=m):l&&Zt(l,m)?l=jt(l,m.bottom):c&&Zt(c,m)&&(c=$t(c,m.top))}if(l&&l.bottom>=n?(r=s,i=l):c&&c.top<=n&&(r=u,i=c),!r)return{node:e,offset:0};var O=Math.max(i.left,Math.min(i.right,t));return 3==r.nodeType?zt(r,O,n):h&&"false"!=r.contentEditable?Bt(r,O,n):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,r)+(t>=(i.left+i.right)/2?1:0)}}function zt(e,t,n){for(var r=e.nodeValue.length,i=-1,o=1e9,a=0,s=0;s<r;s++)for(var u=F(e,s,s+1).getClientRects(),l=0;l<u.length;l++){var c=u[l];if(c.top!=c.bottom){a||(a=t-c.left);var h=(c.top>n?c.top-n:n-c.bottom)-1;if(c.left-1<=t&&c.right+1>=t&&h<o){var f=t>=(c.left+c.right)/2,d=f;if(ae.chrome||ae.gecko)F(e,s).getBoundingClientRect().left==c.right&&(d=!f);if(h<=0)return{node:e,offset:s+(d?1:0)};i=s+(d?1:0),o=h}}}return{node:e,offset:i>-1?i:a>0?e.nodeValue.length:0}}function Ht(e,t,n){var r,i,o=t.x,a=t.y,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,u=e.contentDOM.getBoundingClientRect(),l=u.top+e.viewState.paddingTop,c=e.viewState.docHeight,h=a-l;if(h<0)return 0;if(h>c)return e.state.doc.length;for(var f=e.defaultLineHeight/2,d=!1;(i=e.elementAtHeight(h)).type!=xe.Text;)for(;!((h=s>0?i.bottom+f:i.top-f)>=0&&h<=c);){if(d)return n?null:0;d=!0,s=-s}a=l+h;var p=i.from;if(p<e.viewport.from)return 0==e.viewport.from?0:n?null:Wt(e,u,i,o,a);if(p>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:Wt(e,u,i,o,a);var m=e.dom.ownerDocument,g=e.root.elementFromPoint?e.root:m,v=g.elementFromPoint(o,a);v&&!e.contentDOM.contains(v)&&(v=null),v||(o=Math.max(u.left+1,Math.min(u.right-1,o)),(v=g.elementFromPoint(o,a))&&!e.contentDOM.contains(v)&&(v=null));var O,y=-1;if(v&&0!=(null===(r=e.docView.nearest(v))||void 0===r?void 0:r.isEditable))if(m.caretPositionFromPoint){var k=m.caretPositionFromPoint(o,a);k&&(O=k.offsetNode,y=k.offset)}else if(m.caretRangeFromPoint){var b=m.caretRangeFromPoint(o,a);b&&(O=b.startContainer,y=b.startOffset,(!e.contentDOM.contains(O)||ae.safari&&Ut(O,y,o)||ae.chrome&&qt(O,y,o))&&(O=void 0))}if(!O||!e.docView.dom.contains(O)){var x=_e.find(e.docView,p);if(!x)return h>i.top+i.height/2?i.to:i.from;var T=Bt(x.dom,o,a);O=T.node,y=T.offset}return e.docView.posFromDOM(O,y)}function Wt(e,t,n,r,i){var o=Math.round((r-t.left)*e.defaultCharacterWidth);e.lineWrapping&&n.height>1.5*e.defaultLineHeight&&(o+=Math.floor((i-n.top)/e.defaultLineHeight)*e.viewState.heightOracle.lineLength);var a=e.state.sliceDoc(n.from,n.to);return n.from+(0,d.Gz)(a,o,e.state.tabSize)}function Ut(e,t,n){var r;if(3!=e.nodeType||t!=(r=e.nodeValue.length))return!1;for(var i=e.nextSibling;i;i=i.nextSibling)if(1!=i.nodeType||"BR"!=i.nodeName)return!1;return F(e,r-1,r).getBoundingClientRect().left>n}function qt(e,t,n){if(0!=t)return!1;for(var r=e;;){var i=r.parentNode;if(!i||1!=i.nodeType||i.firstChild!=r)return!1;if(i.classList.contains("cm-line"))break;r=i}return n-(1==e.nodeType?e.getBoundingClientRect():F(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}function Xt(e,t,n,r){var i=e.state.doc.lineAt(t.head),o=r&&e.lineWrapping?e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head):null;if(o){var a=e.dom.getBoundingClientRect(),s=e.textDirectionAt(i.from),u=e.posAtCoords({x:n==(s==rt.LTR)?a.right-1:a.left+1,y:(o.top+o.bottom)/2});if(null!=u)return d.jT.cursor(u,n?-1:1)}var l=_e.find(e.docView,t.head),c=l?n?l.posAtEnd:l.posAtStart:n?i.to:i.from;return d.jT.cursor(c,n?-1:1)}function Gt(e,t,n,r){for(var i=e.state.doc.lineAt(t.head),o=e.bidiSpans(i),a=e.textDirectionAt(i.from),s=t,u=null;;){var l=Tt(i,o,a,s,n),c=xt;if(!l){if(i.number==(n?e.state.doc.lines:1))return s;c="\n",i=e.state.doc.line(i.number+(n?1:-1)),o=e.bidiSpans(i),l=d.jT.cursor(n?i.from:i.to)}if(u){if(!u(c))return s}else{if(!r)return l;u=r(c)}s=l}}function Jt(e,t,n){for(var r=e.state.facet(Ye).map((function(t){return t(e)}));;){var i,o=!1,a=(0,c.Z)(r);try{for(a.s();!(i=a.n()).done;){i.value.between(n.from-1,n.from+1,(function(e,r,i){n.from>e&&n.from<r&&(n=t.head>n.from?d.jT.cursor(e,1):d.jT.cursor(r,-1),o=!0)}))}}catch(s){a.e(s)}finally{a.f()}if(!o)return n}}var Vt=function(){function e(t){var n=this;(0,h.Z)(this,e),this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null;var r=function(e){var r=rn[e];t.contentDOM.addEventListener(e,(function(i){nn(t,i)&&!n.ignoreDuringComposition(i)&&("keydown"==e&&n.keydown(t,i)||(n.mustFlushObserver(i)&&t.observer.forceFlush(),n.runCustomHandlers(e,t,i)?i.preventDefault():r(t,i)))}),on[e]),n.registeredEvents.push(e)};for(var i in rn)r(i);ae.chrome&&102==ae.chrome_version&&t.scrollDOM.addEventListener("wheel",(function(){n.chromeScrollHack<0?t.contentDOM.style.pointerEvents="none":window.clearTimeout(n.chromeScrollHack),n.chromeScrollHack=setTimeout((function(){n.chromeScrollHack=-1,t.contentDOM.style.pointerEvents=""}),100)}),{passive:!0}),this.notifiedFocused=t.hasFocus,ae.safari&&t.contentDOM.addEventListener("input",(function(){return null}))}return(0,f.Z)(e,[{key:"setSelectionOrigin",value:function(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}},{key:"ensureHandlers",value:function(e,t){var n,r,i=this;this.customHandlers=[];var o,a=(0,c.Z)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(r=null===(n=s.update(e).spec)||void 0===n?void 0:n.domEventHandlers){this.customHandlers.push({plugin:s.value,handlers:r});var u=function(t){i.registeredEvents.indexOf(t)<0&&"scroll"!=t&&(i.registeredEvents.push(t),e.contentDOM.addEventListener(t,(function(n){nn(e,n)&&i.runCustomHandlers(t,e,n)&&n.preventDefault()})))};for(var l in r)u(l)}}}catch(h){a.e(h)}finally{a.f()}}},{key:"runCustomHandlers",value:function(e,t,n){var r,i=(0,c.Z)(this.customHandlers);try{for(i.s();!(r=i.n()).done;){var o=r.value,a=o.handlers[e];if(a)try{if(a.call(o.plugin,n,t)||n.defaultPrevented)return!0}catch(s){ze(t.state,s)}}}catch(u){i.e(u)}finally{i.f()}return!1}},{key:"runScrollHandlers",value:function(e,t){this.lastScrollTop=e.scrollDOM.scrollTop,this.lastScrollLeft=e.scrollDOM.scrollLeft;var n,r=(0,c.Z)(this.customHandlers);try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.handlers.scroll;if(o)try{o.call(i.plugin,t,e)}catch(a){ze(e.state,a)}}}catch(s){r.e(s)}finally{r.f()}}},{key:"keydown",value:function(e,t){var n,r=this;return this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),9==t.keyCode&&Date.now()<this.lastEscPress+2e3||(!ae.android||!ae.chrome||t.synthetic||13!=t.keyCode&&8!=t.keyCode?!(!ae.ios||t.synthetic||t.altKey||t.metaKey||!((n=Yt.find((function(e){return e.keyCode==t.keyCode})))&&!t.ctrlKey||Kt.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey))&&(this.pendingIOSKey=n||t,setTimeout((function(){return r.flushIOSKey(e)}),250),!0):(e.observer.delayAndroidKey(t.key,t.keyCode),!0))}},{key:"flushIOSKey",value:function(e){var t=this.pendingIOSKey;return!!t&&(this.pendingIOSKey=void 0,Z(e.contentDOM,t.key,t.keyCode))}},{key:"ignoreDuringComposition",value:function(e){return!!/^key/.test(e.type)&&(this.composing>0||!!(ae.safari&&!ae.ios&&Date.now()-this.compositionEndedAt<100)&&(this.compositionEndedAt=0,!0))}},{key:"mustFlushObserver",value:function(e){return"keydown"==e.type&&229!=e.keyCode}},{key:"startMouseSelection",value:function(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}},{key:"update",value:function(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}},{key:"destroy",value:function(){this.mouseSelection&&this.mouseSelection.destroy()}}]),e}(),Yt=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Kt="dthko",en=[16,17,18,20,91,92,224,225],tn=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.view=t,this.style=r,this.mustSelect=i,this.lastEvent=n;var o=t.contentDOM.ownerDocument;o.addEventListener("mousemove",this.move=this.move.bind(this)),o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=t.state.facet(d.yy.allowMultipleSelections)&&function(e,t){var n=e.state.facet(Ne);return n.length?n[0](t):ae.mac?t.metaKey:t.ctrlKey}(t,n),this.dragMove=function(e,t){var n=e.state.facet(Me);return n.length?n[0](t):ae.mac?!t.altKey:!t.ctrlKey}(t,n),this.dragging=!(!function(e,t){if(e.state.selection.main.empty)return!1;var n=T(e.root);if(!n||0==n.rangeCount)return!0;for(var r=n.getRangeAt(0).getClientRects(),i=0;i<r.length;i++){var o=r[i];if(o.left<=t.clientX&&o.right>=t.clientX&&o.top<=t.clientY&&o.bottom>=t.clientY)return!0}return!1}(t,n)||1!=vn(n))&&null,!1===this.dragging&&(n.preventDefault(),this.select(n))}return(0,f.Z)(e,[{key:"move",value:function(e){if(0==e.buttons)return this.destroy();!1===this.dragging&&this.select(this.lastEvent=e)}},{key:"up",value:function(e){null==this.dragging&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}},{key:"destroy",value:function(){var e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}},{key:"select",value:function(e){var t=this.style.get(e,this.extend,this.multiple);!this.mustSelect&&t.eq(this.view.state.selection)&&t.main.assoc==this.view.state.selection.main.assoc||this.view.dispatch({selection:t,userEvent:"select.pointer",scrollIntoView:!0}),this.mustSelect=!1}},{key:"update",value:function(e){var t=this;e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout((function(){return t.select(t.lastEvent)}),20)}}]),e}();function nn(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(var n,r=t.target;r!=e.contentDOM;r=r.parentNode)if(!r||11==r.nodeType||(n=H.get(r))&&n.ignoreEvent(t))return!1;return!0}var rn=Object.create(null),on=Object.create(null),an=ae.ie&&ae.ie_version<15||ae.ios&&ae.webkit_version<604;function sn(e,t){var n,r=e.state,i=1,o=r.toText(t),a=o.lines==r.selection.ranges.length,s=null!=yn&&r.selection.ranges.every((function(e){return e.empty}))&&yn==o.toString();if(s){var u=-1;n=r.changeByRange((function(e){var n=r.doc.lineAt(e.from);if(n.from==u)return{range:e};u=n.from;var s=r.toText((a?o.line(i++).text:t)+r.lineBreak);return{changes:{from:n.from,insert:s},range:d.jT.cursor(e.from+s.length)}}))}else n=a?r.changeByRange((function(e){var t=o.line(i++);return{changes:{from:e.from,to:e.to,insert:t.text},range:d.jT.cursor(e.from+t.length)}})):r.replaceSelection(o);e.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}function un(e,t,n,r){if(1==r)return d.jT.cursor(t,n);if(2==r)return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=e.charCategorizer(t),i=e.doc.lineAt(t),o=t-i.from;if(0==i.length)return d.jT.cursor(t);0==o?n=1:o==i.length&&(n=-1);var a=o,s=o;n<0?a=(0,d.cp)(i.text,o,!1):s=(0,d.cp)(i.text,o);for(var u=r(i.text.slice(a,s));a>0;){var l=(0,d.cp)(i.text,a,!1);if(r(i.text.slice(l,a))!=u)break;a=l}for(;s<i.length;){var c=(0,d.cp)(i.text,s);if(r(i.text.slice(s,c))!=u)break;s=c}return d.jT.range(a+i.from,s+i.from)}(e.state,t,n);var i=_e.find(e.docView,t),o=e.state.doc.lineAt(i?i.posAtEnd:t),a=i?i.posAtStart:o.from,s=i?i.posAtEnd:o.to;return s<e.state.doc.length&&s==o.to&&s++,d.jT.range(a,s)}rn.keydown=function(e,t){e.inputState.setSelectionOrigin("select"),27==t.keyCode?e.inputState.lastEscPress=Date.now():en.indexOf(t.keyCode)<0&&(e.inputState.lastEscPress=0)},rn.touchstart=function(e,t){e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},rn.touchmove=function(e){e.inputState.setSelectionOrigin("select.pointer")},on.touchstart=on.touchmove={passive:!0},rn.mousedown=function(e,t){if(e.observer.flush(),!(e.inputState.lastTouchTime>Date.now()-2e3&&1==vn(t))){var n,r=null,i=(0,c.Z)(e.state.facet(Ie));try{for(i.s();!(n=i.n()).done;){if(r=(0,n.value)(e,t))break}}catch(a){i.e(a)}finally{i.f()}if(r||0!=t.button||(r=function(e,t){var n=fn(e,t),r=vn(t),i=e.state.selection,o=n,a=t;return{update:function(e){e.docChanged&&(n.pos=e.changes.mapPos(n.pos),i=i.map(e.changes),a=null)},get:function(t,s,u){var l;a&&t.clientX==a.clientX&&t.clientY==a.clientY?l=o:(l=o=fn(e,t),a=t);var c=un(e,l.pos,l.bias,r);if(n.pos!=l.pos&&!s){var h=un(e,n.pos,n.bias,r),f=Math.min(h.from,c.from),p=Math.max(h.to,c.to);c=f<c.from?d.jT.range(f,p):d.jT.range(p,f)}return s?i.replaceRange(i.main.extend(c.from,c.to)):u&&i.ranges.length>1&&i.ranges.some((function(e){return e.eq(c)}))?function(e,t){for(var n=0;;n++)if(e.ranges[n].eq(t))return d.jT.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}(i,c):u?i.addRange(c):d.jT.create([c])}}}(e,t)),r){var o=e.root.activeElement!=e.contentDOM;o&&e.observer.ignore((function(){return L(e.contentDOM)})),e.inputState.startMouseSelection(new tn(e,t,r,o))}}};var ln=function(e,t){return e>=t.top&&e<=t.bottom},cn=function(e,t,n){return ln(t,n)&&e>=n.left&&e<=n.right};function hn(e,t,n,r){var i=_e.find(e.docView,t);if(!i)return 1;var o=t-i.posAtStart;if(0==o)return 1;if(o==i.length)return-1;var a=i.coordsAt(o,-1);if(a&&cn(n,r,a))return-1;var s=i.coordsAt(o,1);return s&&cn(n,r,s)?1:a&&ln(r,a)?-1:1}function fn(e,t){var n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:hn(e,n,t.clientX,t.clientY)}}var dn=ae.ie&&ae.ie_version<=11,pn=null,mn=0,gn=0;function vn(e){if(!dn)return e.detail;var t=pn,n=gn;return pn=e,gn=Date.now(),mn=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(mn+1)%3:1}function On(e,t,n,r){if(n){var i=e.posAtCoords({x:t.clientX,y:t.clientY},!1);t.preventDefault();var o=e.inputState.mouseSelection,a=r&&o&&o.dragging&&o.dragMove?{from:o.dragging.from,to:o.dragging.to}:null,s={from:i,insert:n},u=e.state.changes(a?[a,s]:s);e.focus(),e.dispatch({changes:u,selection:{anchor:u.mapPos(i,-1),head:u.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"})}}rn.dragstart=function(e,t){var n=e.state.selection.main,r=e.inputState.mouseSelection;r&&(r.dragging=n),t.dataTransfer&&(t.dataTransfer.setData("Text",e.state.sliceDoc(n.from,n.to)),t.dataTransfer.effectAllowed="copyMove")},rn.drop=function(e,t){if(t.dataTransfer){if(e.state.readOnly)return t.preventDefault();var n=t.dataTransfer.files;n&&n.length?function(){t.preventDefault();for(var r=Array(n.length),i=0,o=function(){++i==n.length&&On(e,t,r.filter((function(e){return null!=e})).join(e.state.lineBreak),!1)},a=function(e){var t=new FileReader;t.onerror=o,t.onload=function(){/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),o()},t.readAsText(n[e])},s=0;s<n.length;s++)a(s)}():On(e,t,t.dataTransfer.getData("Text"),!0)}},rn.paste=function(e,t){if(e.state.readOnly)return t.preventDefault();e.observer.flush();var n=an?null:t.clipboardData;n?(sn(e,n.getData("text/plain")),t.preventDefault()):function(e){var t=e.dom.parentNode;if(t){var n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout((function(){e.focus(),n.remove(),sn(e,n.value)}),50)}}(e)};var yn=null;function kn(e){setTimeout((function(){e.hasFocus!=e.inputState.notifiedFocused&&e.update([])}),10)}rn.copy=rn.cut=function(e,t){var n=function(e){var t,n=[],r=[],i=!1,o=(0,c.Z)(e.selection.ranges);try{for(o.s();!(t=o.n()).done;){var a=t.value;a.empty||(n.push(e.sliceDoc(a.from,a.to)),r.push(a))}}catch(d){o.e(d)}finally{o.f()}if(!n.length){var s,u=-1,l=(0,c.Z)(e.selection.ranges);try{for(l.s();!(s=l.n()).done;){var h=s.value.from,f=e.doc.lineAt(h);f.number>u&&(n.push(f.text),r.push({from:f.from,to:Math.min(e.doc.length,f.to+1)})),u=f.number}}catch(d){l.e(d)}finally{l.f()}i=!0}return{text:n.join(e.lineBreak),ranges:r,linewise:i}}(e.state),r=n.text,i=n.ranges,o=n.linewise;if(r||o){yn=o?r:null;var a=an?null:t.clipboardData;a?(t.preventDefault(),a.clearData(),a.setData("text/plain",r)):function(e,t){var n=e.dom.parentNode;if(n){var r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout((function(){r.remove(),e.focus()}),50)}}(e,r),"cut"!=t.type||e.state.readOnly||e.dispatch({changes:i,scrollIntoView:!0,userEvent:"delete.cut"})}},rn.focus=function(e){e.inputState.lastFocusTime=Date.now(),e.scrollDOM.scrollTop||!e.inputState.lastScrollTop&&!e.inputState.lastScrollLeft||(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),kn(e)},rn.blur=function(e){e.observer.clearSelectionRange(),kn(e)},rn.compositionstart=rn.compositionupdate=function(e){null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0)},rn.compositionend=function(e){e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionFirstChange=null,ae.chrome&&ae.android&&e.observer.flushSoon(),setTimeout((function(){e.inputState.composing<0&&e.docView.compositionDeco.size&&e.update([])}),50)},rn.contextmenu=function(e){e.inputState.lastContextMenu=Date.now()},rn.beforeinput=function(e,t){var n,r;if(ae.chrome&&ae.android&&(r=Yt.find((function(e){return e.inputType==t.inputType})))&&(e.observer.delayAndroidKey(r.key,r.keyCode),"Backspace"==r.key||"Delete"==r.key)){var i=(null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0;setTimeout((function(){var t;((null===(t=window.visualViewport)||void 0===t?void 0:t.height)||0)>i+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())}),100)}};var bn=["pre-wrap","normal","pre-line","break-spaces"],xn=function(){function e(){(0,h.Z)(this,e),this.doc=d.xv.empty,this.lineWrapping=!1,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}return(0,f.Z)(e,[{key:"heightForGap",value:function(e,t){var n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength)),this.lineHeight*n}},{key:"heightForLine",value:function(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}},{key:"setDoc",value:function(e){return this.doc=e,this}},{key:"mustRefreshForWrapping",value:function(e){return bn.indexOf(e)>-1!=this.lineWrapping}},{key:"mustRefreshForHeights",value:function(e){for(var t=!1,n=0;n<e.length;n++){var r=e[n];r<0?n++:this.heightSamples[Math.floor(10*r)]||(t=!0,this.heightSamples[Math.floor(10*r)]=!0)}return t}},{key:"refresh",value:function(e,t,n,r,i){var o=bn.indexOf(e)>-1,a=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=t,this.charWidth=n,this.lineLength=r,a){this.heightSamples={};for(var s=0;s<i.length;s++){var u=i[s];u<0?s++:this.heightSamples[Math.floor(10*u)]=!0}}return a}}]),e}(),Tn=function(){function e(t,n){(0,h.Z)(this,e),this.from=t,this.heights=n,this.index=0}return(0,f.Z)(e,[{key:"more",get:function(){return this.index<this.heights.length}}]),e}(),wn=function(){function e(t,n,r,i,o){(0,h.Z)(this,e),this.from=t,this.length=n,this.top=r,this.height=i,this.type=o}return(0,f.Z)(e,[{key:"to",get:function(){return this.from+this.length}},{key:"bottom",get:function(){return this.top+this.height}},{key:"join",value:function(t){var n=(Array.isArray(this.type)?this.type:[this]).concat(Array.isArray(t.type)?t.type:[t]);return new e(this.from,this.length+t.length,this.top,this.height+t.height,n)}}]),e}(),Sn=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(Sn||(Sn={})),Cn=.001,En=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;(0,h.Z)(this,e),this.length=t,this.height=n,this.flags=r}return(0,f.Z)(e,[{key:"outdated",get:function(){return(2&this.flags)>0},set:function(e){this.flags=(e?2:0)|-3&this.flags}},{key:"setHeight",value:function(e,t){this.height!=t&&(Math.abs(this.height-t)>Cn&&(e.heightChanged=!0),this.height=t)}},{key:"replace",value:function(t,n,r){return e.of(r)}},{key:"decomposeLeft",value:function(e,t){t.push(this)}},{key:"decomposeRight",value:function(e,t){t.push(this)}},{key:"applyChanges",value:function(e,t,n,r){for(var i=this,o=r.length-1;o>=0;o--){var a=r[o],s=a.fromA,u=a.toA,l=a.fromB,c=a.toB,h=i.lineAt(s,Sn.ByPosNoHeight,t,0,0),f=h.to>=u?h:i.lineAt(u,Sn.ByPosNoHeight,t,0,0);for(c+=f.to-u,u=f.to;o>0&&h.from<=r[o-1].toA;)s=r[o-1].fromA,l=r[o-1].fromB,o--,s<h.from&&(h=i.lineAt(s,Sn.ByPosNoHeight,t,0,0));l+=h.from-s,s=h.from;var d=Dn.build(n,e,l,c);i=i.replace(s,u,d)}return i.updateHeight(n,0)}}],[{key:"empty",value:function(){return new _n(0,0)}},{key:"of",value:function(t){if(1==t.length)return t[0];for(var n=0,r=t.length,i=0,o=0;;)if(n==r)if(i>2*o){var a=t[n-1];a.break?t.splice(--n,1,a.left,null,a.right):t.splice(--n,1,a.left,a.right),r+=1+a.break,i-=a.size}else{if(!(o>2*i))break;var s=t[r];s.break?t.splice(r,1,s.left,null,s.right):t.splice(r,1,s.left,s.right),r+=2+s.break,o-=s.size}else if(i<o){var u=t[n++];u&&(i+=u.size)}else{var l=t[--r];l&&(o+=l.size)}var c=0;return null==t[n-1]?(c=1,n--):null==t[n]&&(c=1,r++),new Pn(e.of(t.slice(0,n)),c,e.of(t.slice(r)))}}]),e}();En.prototype.size=1;var An=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r,i){var o;return(0,h.Z)(this,n),(o=t.call(this,e,r)).type=i,o}return(0,f.Z)(n,[{key:"blockAt",value:function(e,t,n,r){return new wn(r,this.length,n,this.height,this.type)}},{key:"lineAt",value:function(e,t,n,r,i){return this.blockAt(0,n,r,i)}},{key:"forEachLine",value:function(e,t,n,r,i,o){e<=i+this.length&&t>=i&&o(this.blockAt(0,n,r,i))}},{key:"updateHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>3?arguments[3]:void 0;return n&&n.from<=t&&n.more&&this.setHeight(e,n.heights[n.index++]),this.outdated=!1,this}},{key:"toString",value:function(){return"block(".concat(this.length,")")}}]),n}(En),_n=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r){var i;return(0,h.Z)(this,n),(i=t.call(this,e,r,xe.Text)).collapsed=0,i.widgetHeight=0,i}return(0,f.Z)(n,[{key:"replace",value:function(e,t,r){var i=r[0];return 1==r.length&&(i instanceof n||i instanceof Qn&&4&i.flags)&&Math.abs(this.length-i.length)<10?(i instanceof Qn?i=new n(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):En.of(r)}},{key:"updateHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;return r&&r.from<=t&&r.more?this.setHeight(e,r.heights[r.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}},{key:"toString",value:function(){return"line(".concat(this.length).concat(this.collapsed?-this.collapsed:"").concat(this.widgetHeight?":"+this.widgetHeight:"",")")}}]),n}(An),Qn=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){return(0,h.Z)(this,n),t.call(this,e,0)}return(0,f.Z)(n,[{key:"lines",value:function(e,t){var n=e.lineAt(t).number,r=e.lineAt(t+this.length).number;return{firstLine:n,lastLine:r,lineHeight:this.height/(r-n+1)}}},{key:"blockAt",value:function(e,t,n,r){var i=this.lines(t,r),o=i.firstLine,a=i.lastLine,s=i.lineHeight,u=Math.max(0,Math.min(a-o,Math.floor((e-n)/s))),l=t.line(o+u),c=l.from,h=l.length;return new wn(c,h,n+s*u,s,xe.Text)}},{key:"lineAt",value:function(e,t,n,r,i){if(t==Sn.ByHeight)return this.blockAt(e,n,r,i);if(t==Sn.ByPosNoHeight){var o=n.lineAt(e),a=o.from,s=o.to;return new wn(a,s-a,0,0,xe.Text)}var u=this.lines(n,i),l=u.firstLine,c=u.lineHeight,h=n.lineAt(e),f=h.from,d=h.length,p=h.number;return new wn(f,d,r+c*(p-l),c,xe.Text)}},{key:"forEachLine",value:function(e,t,n,r,i,o){for(var a=this.lines(n,i),s=a.firstLine,u=a.lineHeight,l=Math.max(e,i),c=Math.min(i+this.length,t);l<=c;){var h=n.lineAt(l);l==e&&(r+=u*(h.number-s)),o(new wn(h.from,h.length,r,u,xe.Text)),r+=u,l=h.to+1}}},{key:"replace",value:function(e,t,r){var i=this.length-t;if(i>0){var o=r[r.length-1];o instanceof n?r[r.length-1]=new n(o.length+i):r.push(null,new n(i-1))}if(e>0){var a=r[0];a instanceof n?r[0]=new n(e+a.length):r.unshift(new n(e-1),null)}return En.of(r)}},{key:"decomposeLeft",value:function(e,t){t.push(new n(e-1),null)}},{key:"decomposeRight",value:function(e,t){t.push(null,new n(this.length-e-1))}},{key:"updateHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,o=t+this.length;if(i&&i.from<=t+this.length&&i.more){var a=[],s=Math.max(t,i.from),u=-1,l=e.heightChanged;for(i.from>t&&a.push(new n(i.from-t-1).updateHeight(e,t));s<=o&&i.more;){var c=e.doc.lineAt(s).length;a.length&&a.push(null);var h=i.heights[i.index++];-1==u?u=h:Math.abs(h-u)>=Cn&&(u=-2);var f=new _n(c,h);f.outdated=!1,a.push(f),s+=c+1}s<=o&&a.push(null,new n(o-s).updateHeight(e,s));var d=En.of(a);return e.heightChanged=l||u<0||Math.abs(d.height-this.height)>=Cn||Math.abs(u-this.lines(e.doc,t).lineHeight)>=Cn,d}return(r||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1),this}},{key:"toString",value:function(){return"gap(".concat(this.length,")")}}]),n}(En),Pn=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r,i){var o;return(0,h.Z)(this,n),(o=t.call(this,e.length+r+i.length,e.height+i.height,r|(e.outdated||i.outdated?2:0))).left=e,o.right=i,o.size=e.size+i.size,o}return(0,f.Z)(n,[{key:"break",get:function(){return 1&this.flags}},{key:"blockAt",value:function(e,t,n,r){var i=n+this.left.height;return e<i?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,i,r+this.left.length+this.break)}},{key:"lineAt",value:function(e,t,n,r,i){var o=r+this.left.height,a=i+this.left.length+this.break,s=t==Sn.ByHeight?e<o:e<a,u=s?this.left.lineAt(e,t,n,r,i):this.right.lineAt(e,t,n,o,a);if(this.break||(s?u.to<a:u.from>a))return u;var l=t==Sn.ByPosNoHeight?Sn.ByPosNoHeight:Sn.ByPos;return s?u.join(this.right.lineAt(a,l,n,o,a)):this.left.lineAt(a,l,n,r,i).join(u)}},{key:"forEachLine",value:function(e,t,n,r,i,o){var a=r+this.left.height,s=i+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,i,o),t>=s&&this.right.forEachLine(e,t,n,a,s,o);else{var u=this.lineAt(s,Sn.ByPos,n,r,i);e<u.from&&this.left.forEachLine(e,u.from-1,n,r,i,o),u.to>=e&&u.from<=t&&o(u),t>u.to&&this.right.forEachLine(u.to+1,t,n,a,s,o)}}},{key:"replace",value:function(e,t,n){var r=this.left.length+this.break;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n));var i=[];e>0&&this.decomposeLeft(e,i);var o,a=i.length,s=(0,c.Z)(n);try{for(s.s();!(o=s.n()).done;){var u=o.value;i.push(u)}}catch(h){s.e(h)}finally{s.f()}if(e>0&&Rn(i,a-1),t<this.length){var l=i.length;this.decomposeRight(t,i),Rn(i,l)}return En.of(i)}},{key:"decomposeLeft",value:function(e,t){var n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&e>=++n&&t.push(null),e>n&&this.right.decomposeLeft(e-n,t)}},{key:"decomposeRight",value:function(e,t){var n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<r&&t.push(null),t.push(this.right)}},{key:"balanced",value:function(e,t){return e.size>2*t.size||t.size>2*e.size?En.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}},{key:"updateHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=this.left,o=this.right,a=t+i.length+this.break,s=null;return r&&r.from<=t+i.length&&r.more?s=i=i.updateHeight(e,t,n,r):i.updateHeight(e,t,n),r&&r.from<=a+o.length&&r.more?s=o=o.updateHeight(e,a,n,r):o.updateHeight(e,a,n),s?this.balanced(i,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}},{key:"toString",value:function(){return this.left+(this.break?" ":"-")+this.right}}]),n}(En);function Rn(e,t){var n,r;null==e[t]&&(n=e[t-1])instanceof Qn&&(r=e[t+1])instanceof Qn&&e.splice(t-1,3,new Qn(n.length+1+r.length))}var Dn=function(){function e(t,n){(0,h.Z)(this,e),this.pos=t,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}return(0,f.Z)(e,[{key:"isCovered",get:function(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}},{key:"span",value:function(e,t){if(this.lineStart>-1){var n=Math.min(t,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof _n?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new _n(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}},{key:"point",value:function(e,t,n){if(e<t||n.heightRelevant){var r=n.widget?n.widget.estimatedHeight:0;r<0&&(r=this.oracle.lineHeight);var i=t-e;n.block?this.addBlock(new An(i,r,n.type)):(i||r>=5)&&this.addLineDeco(r,i)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}},{key:"enterLine",value:function(){if(!(this.lineStart>-1)){var e=this.oracle.doc.lineAt(this.pos),t=e.from,n=e.to;this.lineStart=t,this.lineEnd=n,this.writtenTo<t&&((this.writtenTo<t-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,t-1)),this.nodes.push(null)),this.pos>t&&this.nodes.push(new _n(this.pos-t,-1)),this.writtenTo=this.pos}}},{key:"blankContent",value:function(e,t){var n=new Qn(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}},{key:"ensureLine",value:function(){this.enterLine();var e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof _n)return e;var t=new _n(0,-1);return this.nodes.push(t),t}},{key:"addBlock",value:function(e){this.enterLine(),e.type!=xe.WidgetAfter||this.isCovered||this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,e.type!=xe.WidgetBefore&&(this.covering=e)}},{key:"addLineDeco",value:function(e,t){var n=this.ensureLine();n.length+=t,n.collapsed+=t,n.widgetHeight=Math.max(n.widgetHeight,e),this.writtenTo=this.pos=this.pos+t}},{key:"finish",value:function(e){var t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof _n||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new _n(0,-1));var n,r=e,i=(0,c.Z)(this.nodes);try{for(i.s();!(n=i.n()).done;){var o=n.value;o instanceof _n&&o.updateHeight(this.oracle,r),r+=o?o.length:1}}catch(a){i.e(a)}finally{i.f()}return this.nodes}}],[{key:"build",value:function(t,n,r,i){var o=new e(r,t);return d.Xs.spans(n,r,i,o,0),o.finish(r)}}]),e}();function Nn(e,t,n){var r=new Mn;return d.Xs.compare(e,t,n,r,0),r.changes}var Mn=function(){function e(){(0,h.Z)(this,e),this.changes=[]}return(0,f.Z)(e,[{key:"compareRange",value:function(){}},{key:"comparePoint",value:function(e,t,n,r){(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&Ae(e,t,this.changes,5)}}]),e}();function In(e,t){for(var n=e.getBoundingClientRect(),r=Math.max(0,n.left),i=Math.min(innerWidth,n.right),o=Math.max(0,n.top),a=Math.min(innerHeight,n.bottom),s=e.ownerDocument.body,u=e.parentNode;u&&u!=s;)if(1==u.nodeType){var l=u,c=window.getComputedStyle(l);if((l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth)&&"visible"!=c.overflow){var h=l.getBoundingClientRect();r=Math.max(r,h.left),i=Math.min(i,h.right),o=Math.max(o,h.top),a=u==e.parentNode?h.bottom:Math.min(a,h.bottom)}u="absolute"==c.position||"fixed"==c.position?l.offsetParent:l.parentNode}else{if(11!=u.nodeType)break;u=u.host}return{left:r-n.left,right:Math.max(r,i)-n.left,top:o-(n.top+t),bottom:Math.max(o,a)-(n.top+t)}}function Ln(e,t){var n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}var Fn=function(){function e(t,n,r){(0,h.Z)(this,e),this.from=t,this.to=n,this.size=r}return(0,f.Z)(e,[{key:"draw",value:function(e){return Te.replace({widget:new Zn(this.size,e)}).range(this.from,this.to)}}],[{key:"same",value:function(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],i=t[n];if(r.from!=i.from||r.to!=i.to||r.size!=i.size)return!1}return!0}}]),e}(),Zn=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r){var i;return(0,h.Z)(this,n),(i=t.call(this)).size=e,i.vertical=r,i}return(0,f.Z)(n,[{key:"eq",value:function(e){return e.size==this.size&&e.vertical==this.vertical}},{key:"toDOM",value:function(){var e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}},{key:"estimatedHeight",get:function(){return this.vertical?this.size:-1}}]),n}(be),$n=function(){function e(t){(0,h.Z)(this,e),this.state=t,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.heightOracle=new xn,this.scaler=Wn,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=rt.RTL,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1,this.stateDeco=t.facet(Ve).filter((function(e){return"function"!=typeof e})),this.heightMap=En.empty().applyChanges(this.stateDeco,d.xv.empty,this.heightOracle.setDoc(t.doc),[new tt(0,0,0,t.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Te.set(this.lineGaps.map((function(e){return e.draw(!1)}))),this.computeVisibleRanges()}return(0,f.Z)(e,[{key:"updateForViewport",value:function(){for(var e=this,t=[this.viewport],n=this.state.selection.main,r=function(r){var i=r?n.head:n.anchor;if(!t.some((function(e){var t=e.from,n=e.to;return i>=t&&i<=n}))){var o=e.lineBlockAt(i),a=o.from,s=o.to;t.push(new jn(a,s))}},i=0;i<=1;i++)r(i);this.viewports=t.sort((function(e,t){return e.from-t.from})),this.scaler=this.heightMap.height<=7e6?Wn:new Un(this.heightOracle.doc,this.heightMap,this.viewports)}},{key:"updateViewportLines",value:function(){var e=this;this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,(function(t){e.viewportLines.push(1==e.scaler.scale?t:qn(t,e.scaler))}))}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.state=e.state;var n=this.stateDeco;this.stateDeco=this.state.facet(Ve).filter((function(e){return"function"!=typeof e}));var r=e.changedRanges,i=tt.extendWithRanges(r,Nn(n,this.stateDeco,e?e.changes:d.as.empty(this.state.doc.length))),o=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),i),this.heightMap.height!=o&&(e.flags|=2);var a=i.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<a.from||t.range.head>a.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,t));var s=!e.changes.empty||2&e.flags||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),s&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&(this.mustEnforceCursorAssoc=!0)}},{key:"measure",value:function(e){var t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,i=n.whiteSpace;this.defaultTextDirection="rtl"==n.direction?rt.RTL:rt.LTR;var o=this.heightOracle.mustRefreshForWrapping(i),a=o||this.mustMeasureContent||this.contentDOMHeight!=t.clientHeight;this.contentDOMHeight=t.clientHeight,this.mustMeasureContent=!1;var s=0,u=0,l=parseInt(n.paddingTop)||0,h=parseInt(n.paddingBottom)||0;this.paddingTop==l&&this.paddingBottom==h||(this.paddingTop=l,this.paddingBottom=h,s|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,s|=8);var f=(this.printing?Ln:In)(t,this.paddingTop),d=f.top-this.pixelViewport.top,p=f.bottom-this.pixelViewport.bottom;this.pixelViewport=f;var m=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(m!=this.inView&&(this.inView=m,m&&(a=!0)),!this.inView)return 0;var g=t.clientWidth;if(this.contentDOMWidth==g&&this.editorHeight==e.scrollDOM.clientHeight||(this.contentDOMWidth=g,this.editorHeight=e.scrollDOM.clientHeight,s|=8),a){var v=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(v)&&(o=!0),o||r.lineWrapping&&Math.abs(g-this.contentDOMWidth)>r.charWidth){var O=e.docView.measureTextSize(),y=O.lineHeight,k=O.charWidth;(o=r.refresh(i,y,k,g/k,v))&&(e.docView.minWidth=0,s|=8)}d>0&&p>0?u=Math.max(d,p):d<0&&p<0&&(u=Math.min(d,p)),r.heightChanged=!1;var b,x=(0,c.Z)(this.viewports);try{for(x.s();!(b=x.n()).done;){var T=b.value,w=T.from==this.viewport.from?v:e.docView.measureVisibleLineHeights(T);this.heightMap=this.heightMap.updateHeight(r,0,o,new Tn(T.from,w))}}catch(C){x.e(C)}finally{x.f()}r.heightChanged&&(s|=2)}var S=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return S&&(this.viewport=this.getViewport(u,this.scrollTarget)),this.updateForViewport(),(2&s||S)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps)),s|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),s}},{key:"visibleTop",get:function(){return this.scaler.fromDOM(this.pixelViewport.top)}},{key:"visibleBottom",get:function(){return this.scaler.fromDOM(this.pixelViewport.bottom)}},{key:"getViewport",value:function(e,t){var n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,i=this.state.doc,o=this.visibleTop,a=this.visibleBottom,s=new jn(r.lineAt(o-1e3*n,Sn.ByHeight,i,0,0).from,r.lineAt(a+1e3*(1-n),Sn.ByHeight,i,0,0).to);if(t){var u=t.range.head;if(u<s.from||u>s.to){var l,c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=r.lineAt(u,Sn.ByPos,i,0,0);l="center"==t.y?(h.top+h.bottom)/2-c/2:"start"==t.y||"nearest"==t.y&&u<s.from?h.top:h.bottom-c,s=new jn(r.lineAt(l-500,Sn.ByHeight,i,0,0).from,r.lineAt(l+c+500,Sn.ByHeight,i,0,0).to)}}return s}},{key:"mapViewport",value:function(e,t){var n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1);return new jn(this.heightMap.lineAt(n,Sn.ByPos,this.state.doc,0,0).from,this.heightMap.lineAt(r,Sn.ByPos,this.state.doc,0,0).to)}},{key:"viewportIsAppropriate",value:function(e){var t=e.from,n=e.to,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!this.inView)return!0;var i=this.heightMap.lineAt(t,Sn.ByPos,this.state.doc,0,0),o=i.top,a=this.heightMap.lineAt(n,Sn.ByPos,this.state.doc,0,0),s=a.bottom,u=this.visibleTop,l=this.visibleBottom;return(0==t||o<=u-Math.max(10,Math.min(-r,250)))&&(n==this.state.doc.length||s>=l+Math.max(10,Math.min(r,250)))&&o>u-2e3&&s<l+2e3}},{key:"mapLineGaps",value:function(e,t){if(!e.length||t.empty)return e;var n,r=[],i=(0,c.Z)(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;t.touchesRange(o.from,o.to)||r.push(new Fn(t.mapPos(o.from),t.mapPos(o.to),o.size))}}catch(a){i.e(a)}finally{i.f()}return r}},{key:"ensureLineGaps",value:function(e){var t=this,n=[];if(this.defaultTextDirection!=rt.LTR)return n;var r,i=(0,c.Z)(this.viewportLines);try{var o=function(){var i=r.value;if(i.length<4e3)return"continue";var o=function(e,t,n){var r=[],i=e,o=0;d.Xs.spans(n,e,t,{span:function(){},point:function(e,t){e>i&&(r.push({from:i,to:e}),o+=e-i),i=t}},20),i<t&&(r.push({from:i,to:t}),o+=t-i);return{total:o,ranges:r}}(i.from,i.to,t.stateDeco);if(o.total<4e3)return"continue";var a=void 0,s=void 0;if(t.heightOracle.lineWrapping){var u=2e3/t.heightOracle.lineLength*t.heightOracle.lineHeight;a=Bn(o,(t.visibleTop-i.top-u)/i.height),s=Bn(o,(t.visibleBottom-i.top+u)/i.height)}else{var l=o.total*t.heightOracle.charWidth,h=2e3*t.heightOracle.charWidth;a=Bn(o,(t.pixelViewport.left-h)/l),s=Bn(o,(t.pixelViewport.right+h)/l)}var f=[];a>i.from&&f.push({from:i.from,to:a}),s<i.to&&f.push({from:s,to:i.to});var p=t.state.selection.main;p.from>=i.from&&p.from<=i.to&&Hn(f,p.from-10,p.from+10),!p.empty&&p.to>=i.from&&p.to<=i.to&&Hn(f,p.to-10,p.to+10);for(var m=function(){var r=v[g],a=r.from,s=r.to;s-a>1e3&&n.push(function(e,t){var n,r=(0,c.Z)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(t(i))return i}}catch(o){r.e(o)}finally{r.f()}return}(e,(function(e){return e.from>=i.from&&e.to<=i.to&&Math.abs(e.from-a)<1e3&&Math.abs(e.to-s)<1e3}))||new Fn(a,s,t.gapSize(i,a,s,o)))},g=0,v=f;g<v.length;g++)m()};for(i.s();!(r=i.n()).done;)o()}catch(a){i.e(a)}finally{i.f()}return n}},{key:"gapSize",value:function(e,t,n,r){var i=zn(r,n)-zn(r,t);return this.heightOracle.lineWrapping?e.height*i:r.total*this.heightOracle.charWidth*i}},{key:"updateLineGaps",value:function(e){var t=this;Fn.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=Te.set(e.map((function(e){return e.draw(t.heightOracle.lineWrapping)}))))}},{key:"computeVisibleRanges",value:function(){var e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));var t=[];d.Xs.spans(e,this.viewport.from,this.viewport.to,{span:function(e,n){t.push({from:e,to:n})},point:function(){}},20);var n=t.length!=this.visibleRanges.length||this.visibleRanges.some((function(e,n){return e.from!=t[n].from||e.to!=t[n].to}));return this.visibleRanges=t,n?4:0}},{key:"lineBlockAt",value:function(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find((function(t){return t.from<=e&&t.to>=e}))||qn(this.heightMap.lineAt(e,Sn.ByPos,this.state.doc,0,0),this.scaler)}},{key:"lineBlockAtHeight",value:function(e){return qn(this.heightMap.lineAt(this.scaler.fromDOM(e),Sn.ByHeight,this.state.doc,0,0),this.scaler)}},{key:"elementAtHeight",value:function(e){return qn(this.heightMap.blockAt(this.scaler.fromDOM(e),this.state.doc,0,0),this.scaler)}},{key:"docHeight",get:function(){return this.scaler.toDOM(this.heightMap.height)}},{key:"contentHeight",get:function(){return this.docHeight+this.paddingTop+this.paddingBottom}}]),e}(),jn=(0,f.Z)((function e(t,n){(0,h.Z)(this,e),this.from=t,this.to=n}));function Bn(e,t){var n=e.total,r=e.ranges;if(t<=0)return r[0].from;if(t>=1)return r[r.length-1].to;for(var i=Math.floor(n*t),o=0;;o++){var a=r[o],s=a.from,u=a.to-s;if(i<=u)return s+i;i-=u}}function zn(e,t){var n,r=0,i=(0,c.Z)(e.ranges);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=o.from,s=o.to;if(t<=s){r+=t-a;break}r+=s-a}}catch(u){i.e(u)}finally{i.f()}return r/e.total}function Hn(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];if(i.from<n&&i.to>t){var o=[];i.from<t&&o.push({from:i.from,to:t}),i.to>n&&o.push({from:n,to:i.to}),e.splice.apply(e,[r,1].concat(o)),r+=o.length-1}}}var Wn={toDOM:function(e){return e},fromDOM:function(e){return e},scale:1},Un=function(){function e(t,n,r){(0,h.Z)(this,e);var i=0,o=0,a=0;this.viewports=r.map((function(e){var r=e.from,o=e.to,a=n.lineAt(r,Sn.ByPos,t,0,0).top,s=n.lineAt(o,Sn.ByPos,t,0,0).bottom;return i+=s-a,{from:r,to:o,top:a,bottom:s,domTop:0,domBottom:0}})),this.scale=(7e6-i)/(n.height-i);var s,u=(0,c.Z)(this.viewports);try{for(u.s();!(s=u.n()).done;){var l=s.value;l.domTop=a+(l.top-o)*this.scale,a=l.domBottom=l.domTop+(l.bottom-l.top),o=l.bottom}}catch(f){u.e(f)}finally{u.f()}}return(0,f.Z)(e,[{key:"toDOM",value:function(e){for(var t=0,n=0,r=0;;t++){var i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.top)return r+(e-n)*this.scale;if(e<=i.bottom)return i.domTop+(e-i.top);n=i.bottom,r=i.domBottom}}},{key:"fromDOM",value:function(e){for(var t=0,n=0,r=0;;t++){var i=t<this.viewports.length?this.viewports[t]:null;if(!i||e<i.domTop)return n+(e-r)/this.scale;if(e<=i.domBottom)return i.top+(e-i.domTop);n=i.bottom,r=i.domBottom}}}]),e}();function qn(e,t){if(1==t.scale)return e;var n=t.toDOM(e.top),r=t.toDOM(e.bottom);return new wn(e.from,e.length,n,r-n,Array.isArray(e.type)?e.type.map((function(e){return qn(e,t)})):e.type)}var Xn=d.r$.define({combine:function(e){return e.join(" ")}}),Gn=d.r$.define({combine:function(e){return e.indexOf(!0)>-1}}),Jn=p.V.newName(),Vn=p.V.newName(),Yn=p.V.newName(),Kn={"&light":"."+Vn,"&dark":"."+Yn};function er(e,t,n){return new p.V(t,{finish:function(t){return/&/.test(t)?t.replace(/&\w*/,(function(t){if("&"==t)return e;if(!n||!n[t])throw new RangeError("Unsupported selector: ".concat(t));return n[t]})):e+" "+t}})}var tr=er("."+Jn,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#f3f9ff"},"&dark .cm-activeLine":{backgroundColor:"#223039"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Kn),nr={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},rr=ae.ie&&ae.ie_version<=11,ir=function(){function e(t,n,r){var i=this;(0,h.Z)(this,e),this.view=t,this.onChange=n,this.onScrollChanged=r,this.active=!1,this.selectionRange=new M,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver((function(e){var n,r=(0,c.Z)(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;i.queue.push(o)}}catch(a){r.e(a)}finally{r.f()}(ae.ie&&ae.ie_version<=11||ae.ios&&t.composing)&&e.some((function(e){return"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length}))?i.flushSoon():i.flush()})),rr&&(this.onCharData=function(e){i.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),i.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),"function"==typeof ResizeObserver&&(this.resize=new ResizeObserver((function(){i.view.docView.lastUpdate<Date.now()-75&&i.onResize()})),this.resize.observe(t.scrollDOM)),this.addWindowListeners(this.win=t.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver((function(e){i.parentCheck<0&&(i.parentCheck=setTimeout(i.listenForScroll.bind(i),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=i.intersecting&&(i.intersecting=!i.intersecting,i.intersecting!=i.view.inView&&i.onScrollChanged(document.createEvent("Event")))}),{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver((function(e){e.length>0&&e[e.length-1].intersectionRatio>0&&i.onScrollChanged(document.createEvent("Event"))}),{})),this.listenForScroll(),this.readSelectionRange()}return(0,f.Z)(e,[{key:"onScroll",value:function(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}},{key:"onResize",value:function(){var e=this;this.resizeTimeout<0&&(this.resizeTimeout=setTimeout((function(){e.resizeTimeout=-1,e.view.requestMeasure()}),50))}},{key:"onPrint",value:function(){var e=this;this.view.viewState.printing=!0,this.view.measure(),setTimeout((function(){e.view.viewState.printing=!1,e.view.requestMeasure()}),500)}},{key:"updateGaps",value:function(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((function(t,n){return t!=e[n]})))){this.gapIntersection.disconnect();var t,n=(0,c.Z)(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.gapIntersection.observe(r)}}catch(i){n.e(i)}finally{n.f()}this.gaps=e}}},{key:"onSelectionChange",value:function(e){var t=this.selectionChanged;if(this.readSelectionRange()&&!this.delayedAndroidKey){var n=this.view,r=this.selectionRange;if(n.state.facet(He)?n.root.activeElement==this.dom:S(n.dom,r)){var i=r.anchorNode&&n.docView.nearest(r.anchorNode);i&&i.ignoreEvent(e)?t||(this.selectionChanged=!1):(ae.ie&&ae.ie_version<=11||ae.android&&ae.chrome)&&!n.state.selection.main.empty&&r.focusNode&&E(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}}}},{key:"readSelectionRange",value:function(){var e=this.view,t=ae.safari&&11==e.root.nodeType&&function(e){for(var t=e.activeElement;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}(this.dom.ownerDocument)==this.dom&&function(e){var t=null;function n(e){e.preventDefault(),e.stopImmediatePropagation(),t=e.getTargetRanges()[0]}if(e.contentDOM.addEventListener("beforeinput",n,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",n,!0),!t)return null;var r=t.startContainer,i=t.startOffset,o=t.endContainer,a=t.endOffset,s=e.docView.domAtPos(e.state.selection.main.anchor);if(E(s.node,s.offset,o,a)){var u=[o,a,r,i];r=u[0],i=u[1],o=u[2],a=u[3]}return{anchorNode:r,anchorOffset:i,focusNode:o,focusOffset:a}}(this.view)||T(e.root);if(!t||this.selectionRange.eq(t))return!1;var n=S(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){var n=t.focusNode,r=t.focusOffset;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1;for(;;)if(r){if(1!=n.nodeType)return!1;var i=n.childNodes[r-1];"false"==i.contentEditable?r--:r=Q(n=i)}else{if(n==e)return!0;r=A(n),n=n.parentNode}}(this.dom,t)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(t),n&&(this.selectionChanged=!0),!0)}},{key:"setSelectionRange",value:function(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}},{key:"clearSelectionRange",value:function(){this.selectionRange.set(null,0,null,0)}},{key:"listenForScroll",value:function(){this.parentCheck=-1;for(var e=0,t=null,n=this.dom;n;)if(1==n.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break;n=n.host}if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){var r,i=(0,c.Z)(this.scrollTargets);try{for(i.s();!(r=i.n()).done;){r.value.removeEventListener("scroll",this.onScroll)}}catch(s){i.e(s)}finally{i.f()}var o,a=(0,c.Z)(this.scrollTargets=t);try{for(a.s();!(o=a.n()).done;){o.value.addEventListener("scroll",this.onScroll)}}catch(s){a.e(s)}finally{a.f()}}}},{key:"ignore",value:function(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}},{key:"start",value:function(){this.active||(this.observer.observe(this.dom,nr),rr&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}},{key:"stop",value:function(){this.active&&(this.active=!1,this.observer.disconnect(),rr&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}},{key:"clear",value:function(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}},{key:"delayAndroidKey",value:function(e,t){var n,r=this;this.delayedAndroidKey||this.view.win.requestAnimationFrame((function(){var e=r.delayedAndroidKey;r.delayedAndroidKey=null,r.delayedFlush=-1,!r.flush()&&e.force&&Z(r.dom,e.key,e.keyCode)})),this.delayedAndroidKey&&"Enter"!=e||(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(null===(n=this.delayedAndroidKey)||void 0===n?void 0:n.force)})}},{key:"flushSoon",value:function(){var e=this;this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame((function(){e.delayedFlush=-1,e.flush()})))}},{key:"forceFlush",value:function(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}},{key:"processRecords",value:function(){var e,t=this.queue,n=(0,c.Z)(this.observer.takeRecords());try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(r)}}catch(f){n.e(f)}finally{n.f()}t.length&&(this.queue=[]);var i,o=-1,a=-1,s=!1,u=(0,c.Z)(t);try{for(u.s();!(i=u.n()).done;){var l=i.value,h=this.readMutation(l);h&&(h.typeOver&&(s=!0),-1==o?(o=h.from,a=h.to):(o=Math.min(h.from,o),a=Math.max(h.to,a)))}}catch(f){u.e(f)}finally{u.f()}return{from:o,to:a,typeOver:s}}},{key:"flush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();var t=this.processRecords(),n=t.from,r=t.to,i=t.typeOver,o=this.selectionChanged&&S(this.dom,this.selectionRange);if(n<0&&!o)return!1;n>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;var a=this.view.state,s=this.onChange(n,r,i);return this.view.state==a&&this.view.update([]),s}},{key:"readMutation",value:function(e){var t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty("attributes"==e.type),"attributes"==e.type&&(t.dirty|=4),"childList"==e.type){var n=or(t,e.previousSibling||e.target.previousSibling,-1),r=or(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}},{key:"setWindow",value:function(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}},{key:"addWindowListeners",value:function(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"removeWindowListeners",value:function(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"destroy",value:function(){var e,t,n;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),null===(t=this.gapIntersection)||void 0===t||t.disconnect(),null===(n=this.resize)||void 0===n||n.disconnect();var r,i=(0,c.Z)(this.scrollTargets);try{for(i.s();!(r=i.n()).done;){r.value.removeEventListener("scroll",this.onScroll)}}catch(o){i.e(o)}finally{i.f()}this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout)}}]),e}();function or(e,t,n){for(;t;){var r=H.get(t);if(r&&r.parent==e)return r;var i=t.parentNode;t=i!=e.dom?i:n>0?t.nextSibling:t.previousSibling}return null}function ar(e,t,n,r){var i,o,a=e.state.selection.main;if(t>-1){var s=e.docView.domBoundsAround(t,n,0);if(!s||e.state.readOnly)return!1;var u=s.from,l=s.to,c=e.docView.impreciseHead||e.docView.impreciseAnchor?[]:function(e){var t=[];if(e.root.activeElement!=e.contentDOM)return t;var n=e.observer.selectionRange,r=n.anchorNode,i=n.anchorOffset,o=n.focusNode,a=n.focusOffset;r&&(t.push(new Et(r,i)),o==r&&a==i||t.push(new Et(o,a)));return t}(e),h=new St(c,e.state);h.readRange(s.startDOM,s.endDOM);var f=a.from,p=null;(8===e.inputState.lastKeyCode&&e.inputState.lastKeyTime>Date.now()-100||ae.android&&h.text.length<l-u)&&(f=a.to,p="end");var m=function(e,t,n,r){var i=Math.min(e.length,t.length),o=0;for(;o<i&&e.charCodeAt(o)==t.charCodeAt(o);)o++;if(o==i&&e.length==t.length)return null;var a=e.length,s=t.length;for(;a>0&&s>0&&e.charCodeAt(a-1)==t.charCodeAt(s-1);)a--,s--;if("end"==r){n-=a+Math.max(0,o-Math.min(a,s))-o}if(a<o&&e.length<t.length){s=(o-=n<=o&&n>=a?o-n:0)+(s-a),a=o}else if(s<o){a=(o-=n<=o&&n>=s?o-n:0)+(a-s),s=o}return{from:o,toA:a,toB:s}}(e.state.doc.sliceString(u,l,wt),h.text,f-u,p);m&&(ae.chrome&&13==e.inputState.lastKeyCode&&m.toB==m.from+2&&"\uffff\uffff"==h.text.slice(m.from,m.toB)&&m.toB--,i={from:u+m.from,to:u+m.toA,insert:d.xv.of(h.text.slice(m.from,m.toB).split(wt))}),o=function(e,t){if(0==e.length)return null;var n=e[0].pos,r=2==e.length?e[1].pos:n;return n>-1&&r>-1?d.jT.single(n+t,r+t):null}(c,u)}else if(e.hasFocus||!e.state.facet(He)){var g=e.observer.selectionRange,v=e.docView,O=v.impreciseHead,y=v.impreciseAnchor,k=O&&O.node==g.focusNode&&O.offset==g.focusOffset||!w(e.contentDOM,g.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(g.focusNode,g.focusOffset),b=y&&y.node==g.anchorNode&&y.offset==g.anchorOffset||!w(e.contentDOM,g.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(g.anchorNode,g.anchorOffset);k==a.head&&b==a.anchor||(o=d.jT.single(b,k))}if(!i&&!o)return!1;if(!i&&r&&!a.empty&&o&&o.main.empty?i={from:a.from,to:a.to,insert:e.state.doc.slice(a.from,a.to)}:i&&i.from>=a.from&&i.to<=a.to&&(i.from!=a.from||i.to!=a.to)&&a.to-a.from-(i.to-i.from)<=4?i={from:a.from,to:a.to,insert:e.state.doc.slice(a.from,i.from).append(i.insert).append(e.state.doc.slice(i.to,a.to))}:(ae.mac||ae.android)&&i&&i.from==i.to&&i.from==a.head-1&&"."==i.insert.toString()&&(i={from:a.from,to:a.to,insert:d.xv.of([" "])}),i){var x=e.state;if(ae.ios&&e.inputState.flushIOSKey(e))return!0;if(ae.android&&(i.from==a.from&&i.to==a.to&&1==i.insert.length&&2==i.insert.lines&&Z(e.contentDOM,"Enter",13)||i.from==a.from-1&&i.to==a.to&&0==i.insert.length&&Z(e.contentDOM,"Backspace",8)||i.from==a.from&&i.to==a.to+1&&0==i.insert.length&&Z(e.contentDOM,"Delete",46)))return!0;var T,S=i.insert.toString();if(e.state.facet(Ze).some((function(t){return t(e,i.from,i.to,S)})))return!0;if(e.inputState.composing>=0&&e.inputState.composing++,i.from>=a.from&&i.to<=a.to&&i.to-i.from>=(a.to-a.from)/3&&(!o||o.main.empty&&o.main.from==i.from+i.insert.length)&&e.inputState.composing<0){var C=a.from<i.from?x.sliceDoc(a.from,i.from):"",E=a.to>i.to?x.sliceDoc(i.to,a.to):"";T=x.replaceSelection(e.state.toText(C+i.insert.sliceString(0,void 0,e.state.lineBreak)+E))}else{var A=x.changes(i),_=o&&!x.selection.main.eq(o.main)&&o.main.to<=A.newLength?o.main:void 0;if(x.selection.ranges.length>1&&e.inputState.composing>=0&&i.to<=a.to&&i.to>=a.to-10){var Q=e.state.sliceDoc(i.from,i.to),P=Pt(e)||e.state.doc.lineAt(a.head),R=a.to-i.to,D=a.to-a.from;T=x.changeByRange((function(t){if(t.from==a.from&&t.to==a.to)return{changes:A,range:_||t.map(A)};var n=t.to-R,r=n-Q.length;if(t.to-t.from!=D||e.state.sliceDoc(r,n)!=Q||P&&t.to>=P.from&&t.from<=P.to)return{range:t};var o=x.changes({from:r,to:n,insert:i.insert}),s=t.to-a.to;return{changes:o,range:_?d.jT.range(Math.max(0,_.anchor+s),Math.max(0,_.head+s)):t.map(o)}}))}else T={changes:A,selection:_&&x.selection.replaceRange(_)}}var N="input.type";return e.composing&&(N+=".compose",e.inputState.compositionFirstChange&&(N+=".start",e.inputState.compositionFirstChange=!1)),e.dispatch(T,{scrollIntoView:!0,userEvent:N}),!0}if(o&&!o.main.eq(a)){var M=!1,I="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(M=!0),I=e.inputState.lastSelectionOrigin),e.dispatch({selection:o,scrollIntoView:M,userEvent:I}),!0}return!1}var sr=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,h.Z)(this,e),this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=n.dispatch||function(e){return t.update([e])},this.dispatch=this.dispatch.bind(this),this._root=n.root||$(n.parent)||document,this.viewState=new $n(n.state||d.yy.create(n)),this.plugins=this.state.facet(Ue).map((function(e){return new Xe(e)}));var r,i=(0,c.Z)(this.plugins);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.update(this)}}catch(a){i.e(a)}finally{i.f()}this.observer=new ir(this,(function(e,n,r){return ar(t,e,n,r)}),(function(e){t.inputState.runScrollHandlers(t,e),t.observer.intersecting&&t.measure()})),this.inputState=new Vt(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new At(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),n.parent&&n.parent.appendChild(this.dom)}return(0,f.Z)(e,[{key:"state",get:function(){return this.viewState.state}},{key:"viewport",get:function(){return this.viewState.viewport}},{key:"visibleRanges",get:function(){return this.viewState.visibleRanges}},{key:"inView",get:function(){return this.viewState.inView}},{key:"composing",get:function(){return this.inputState.composing>0}},{key:"compositionStarted",get:function(){return this.inputState.composing>=0}},{key:"root",get:function(){return this._root}},{key:"win",get:function(){return this.dom.ownerDocument.defaultView}},{key:"dispatch",value:function(){var e;this._dispatch(1==arguments.length&&(arguments.length<=0?void 0:arguments[0])instanceof d.YW?arguments.length<=0?void 0:arguments[0]:(e=this.state).update.apply(e,arguments))}},{key:"update",value:function(e){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");var t,n,r=!1,i=!1,o=this.state,a=(0,c.Z)(e);try{for(a.s();!(n=a.n()).done;){var s=n.value;if(s.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");o=s.state}}catch(k){a.e(k)}finally{a.f()}if(this.destroyed)this.viewState.state=o;else{if(this.observer.clear(),o.facet(d.yy.phrases)!=this.state.facet(d.yy.phrases))return this.setState(o);t=nt.create(this,o,e);var u=this.viewState.scrollTarget;try{this.updateState=2;var l,h=(0,c.Z)(e);try{for(h.s();!(l=h.n()).done;){var f=l.value;if(u&&(u=u.map(f.changes)),f.scrollIntoView){var p=f.state.selection.main;u=new je(p.empty?p:d.jT.cursor(p.head,p.head>p.anchor?-1:1))}var m,g=(0,c.Z)(f.effects);try{for(g.s();!(m=g.n()).done;){var v=m.value;v.is(Be)&&(u=v.value)}}catch(k){g.e(k)}finally{g.f()}}}catch(k){h.e(k)}finally{h.f()}this.viewState.update(t,u),this.bidiCache=cr.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),this.inputState.update(t)),r=this.docView.update(t),this.state.facet(et)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(r,e.some((function(e){return e.isUserEvent("select.pointer")})))}finally{this.updateState=0}if(t.startState.facet(Xn)!=t.state.facet(Xn)&&(this.viewState.mustMeasureContent=!0),(r||i||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!t.empty){var O,y=(0,c.Z)(this.state.facet(Fe));try{for(y.s();!(O=y.n()).done;){(0,O.value)(t)}}catch(k){y.e(k)}finally{y.f()}}}}},{key:"setState",value:function(e){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)this.viewState.state=e;else{this.updateState=2;var t=this.hasFocus;try{var n,r=(0,c.Z)(this.plugins);try{for(r.s();!(n=r.n()).done;){n.value.destroy(this)}}catch(a){r.e(a)}finally{r.f()}this.viewState=new $n(e),this.plugins=e.facet(Ue).map((function(e){return new Xe(e)})),this.pluginMap.clear();var i,o=(0,c.Z)(this.plugins);try{for(o.s();!(i=o.n()).done;){i.value.update(this)}}catch(a){o.e(a)}finally{o.f()}this.docView=new At(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}}},{key:"updatePlugins",value:function(e){var t=e.startState.facet(Ue),n=e.state.facet(Ue);if(t!=n){var r,i=[],o=(0,c.Z)(n);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=t.indexOf(a);if(s<0)i.push(new Xe(a));else{var u=this.plugins[s];u.mustUpdate=e,i.push(u)}}}catch(g){o.e(g)}finally{o.f()}var l,h=(0,c.Z)(this.plugins);try{for(h.s();!(l=h.n()).done;){var f=l.value;f.mustUpdate!=e&&f.destroy(this)}}catch(g){h.e(g)}finally{h.f()}this.plugins=i,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else{var d,p=(0,c.Z)(this.plugins);try{for(p.s();!(d=p.n()).done;){d.value.mustUpdate=e}}catch(g){p.e(g)}finally{p.f()}}for(var m=0;m<this.plugins.length;m++)this.plugins[m].update(this)}},{key:"measure",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.destroyed){this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,t&&this.observer.forceFlush();var n=null,r=this.scrollDOM,i=r.scrollHeight,o=r.scrollTop,a=r.clientHeight,s=o>i-a-4?i:o;try{for(var u=0;;u++){this.updateState=1;var l=this.viewport,h=this.viewState.lineBlockAtHeight(s),f=this.viewState.measure(this);if(!f&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(u>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}var d=[];if(!(4&f)){var p=[d,this.measureRequests];this.measureRequests=p[0],d=p[1]}var m=d.map((function(t){try{return t.read(e)}catch(n){return ze(e.state,n),lr}})),g=nt.create(this,this.state,[]),v=!1,O=!1;g.flags|=f,n?n.flags|=f:n=g,this.updateState=2,g.empty||(this.updatePlugins(g),this.inputState.update(g),this.updateAttrs(),v=this.docView.update(g));for(var y=0;y<d.length;y++)if(m[y]!=lr)try{var k=d[y];k.write&&k.write(m[y],this)}catch(S){ze(this.state,S)}if(this.viewState.scrollTarget)this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,O=!0;else{var b=this.viewState.lineBlockAt(h.from).top-h.top;(b>1||b<-1)&&(this.scrollDOM.scrollTop+=b,O=!0)}if(v&&this.docView.updateSelection(!0),this.viewport.from==l.from&&this.viewport.to==l.to&&!O&&0==this.measureRequests.length)break}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty){var x,T=(0,c.Z)(this.state.facet(Fe));try{for(T.s();!(x=T.n()).done;){var w=x.value;w(n)}}catch(C){T.e(C)}finally{T.f()}}}}},{key:"themeClasses",get:function(){return Jn+" "+(this.state.facet(Gn)?Yn:Vn)+" "+this.state.facet(Xn)}},{key:"updateAttrs",value:function(){var e=this,t=hr(this,Ge,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(He)?"true":"false",class:"cm-content",style:"".concat(ae.tabSize,": ").concat(this.state.tabSize),role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),hr(this,Je,n);var r=this.observer.ignore((function(){var r=ke(e.contentDOM,e.contentAttrs,n),i=ke(e.dom,e.editorAttrs,t);return r||i}));return this.editorAttrs=t,this.contentAttrs=n,r}},{key:"showAnnouncements",value:function(t){var n,r=!0,i=(0,c.Z)(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value,s=(0,c.Z)(a.effects);try{for(s.s();!(o=s.n()).done;){var u=o.value;if(u.is(e.announce))r&&(this.announceDOM.textContent=""),r=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=u.value}}catch(l){s.e(l)}finally{s.f()}}}catch(l){i.e(l)}finally{i.f()}}},{key:"mountStyles",value:function(){this.styleModules=this.state.facet(et),p.V.mount(this.root,this.styleModules.concat(tr).reverse())}},{key:"readMeasured",value:function(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}},{key:"requestMeasure",value:function(e){var t=this;if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame((function(){return t.measure()}))),e){if(null!=e.key)for(var n=0;n<this.measureRequests.length;n++)if(this.measureRequests[n].key===e.key)return void(this.measureRequests[n]=e);this.measureRequests.push(e)}}},{key:"plugin",value:function(e){var t=this.pluginMap.get(e);return(void 0===t||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find((function(t){return t.spec==e}))||null),t&&t.update(this).value}},{key:"documentTop",get:function(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}},{key:"documentPadding",get:function(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}},{key:"elementAtHeight",value:function(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}},{key:"lineBlockAtHeight",value:function(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}},{key:"viewportLineBlocks",get:function(){return this.viewState.viewportLines}},{key:"lineBlockAt",value:function(e){return this.viewState.lineBlockAt(e)}},{key:"contentHeight",get:function(){return this.viewState.contentHeight}},{key:"moveByChar",value:function(e,t,n){return Jt(this,e,Gt(this,e,t,n))}},{key:"moveByGroup",value:function(e,t){var n=this;return Jt(this,e,Gt(this,e,t,(function(t){return function(e,t,n){var r=e.state.charCategorizer(t),i=r(n);return function(e){var t=r(e);return i==d.D0.Space&&(i=t),i==t}}(n,e.head,t)})))}},{key:"moveToLineBoundary",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Xt(this,e,t,n)}},{key:"moveVertically",value:function(e,t,n){return Jt(this,e,function(e,t,n,r){var i=t.head,o=n?1:-1;if(i==(n?e.state.doc.length:0))return d.jT.cursor(i,t.assoc);var a,s=t.goalColumn,u=e.contentDOM.getBoundingClientRect(),l=e.coordsAtPos(i),c=e.documentTop;if(l)null==s&&(s=l.left-u.left),a=o<0?l.top:l.bottom;else{var h=e.viewState.lineBlockAt(i);null==s&&(s=Math.min(u.right-u.left,e.defaultCharacterWidth*(i-h.from))),a=(o<0?h.top:h.bottom)+c}for(var f=u.left+s,p=null!==r&&void 0!==r?r:e.defaultLineHeight>>1,m=0;;m+=10){var g=a+(p+m)*o,v=Ht(e,{x:f,y:g},!1,o);if(g<u.top||g>u.bottom||(o<0?v<i:v>i))return d.jT.cursor(v,t.assoc,void 0,s)}}(this,e,t,n))}},{key:"domAtPos",value:function(e){return this.docView.domAtPos(e)}},{key:"posAtDOM",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.docView.posFromDOM(e,t)}},{key:"posAtCoords",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.readMeasured(),Ht(this,e,t)}},{key:"coordsAtPos",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.readMeasured();var n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;var r=this.state.doc.lineAt(e),i=this.bidiSpans(r),o=i[Ot.find(i,e-r.from,-1,t)];return R(n,o.dir==rt.LTR==t>0)}},{key:"defaultCharacterWidth",get:function(){return this.viewState.heightOracle.charWidth}},{key:"defaultLineHeight",get:function(){return this.viewState.heightOracle.lineHeight}},{key:"textDirection",get:function(){return this.viewState.defaultTextDirection}},{key:"textDirectionAt",value:function(e){return!this.state.facet($e)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}},{key:"lineWrapping",get:function(){return this.viewState.heightOracle.lineWrapping}},{key:"bidiSpans",value:function(e){if(e.length>ur)return bt(e.length);var t,n=this.textDirectionAt(e.from),r=(0,c.Z)(this.bidiCache);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i.from==e.from&&i.dir==n)return i.order}}catch(a){r.e(a)}finally{r.f()}var o=kt(e.text,n);return this.bidiCache.push(new cr(e.from,e.to,n,o)),o}},{key:"hasFocus",get:function(){var e;return(this.dom.ownerDocument.hasFocus()||ae.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}},{key:"focus",value:function(){var e=this;this.observer.ignore((function(){L(e.contentDOM),e.docView.updateSelection()}))}},{key:"setRoot",value:function(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView),this.mountStyles())}},{key:"destroy",value:function(){var e,t=(0,c.Z)(this.plugins);try{for(t.s();!(e=t.n()).done;){e.value.destroy(this)}}catch(n){t.e(n)}finally{t.f()}this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}}],[{key:"scrollIntoView",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Be.of(new je("number"==typeof e?d.jT.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}},{key:"domEventHandlers",value:function(e){return qe.define((function(){return{}}),{eventHandlers:e})}},{key:"theme",value:function(e,t){var n=p.V.newName(),r=[Xn.of(n),et.of(er(".".concat(n),e))];return t&&t.dark&&r.push(Gn.of(!0)),r}},{key:"baseTheme",value:function(e){return d.Wl.lowest(et.of(er("."+Jn,e,Kn)))}},{key:"findFromDOM",value:function(e){var t,n=e.querySelector(".cm-content"),r=n&&H.get(n)||H.get(e);return(null===(t=null===r||void 0===r?void 0:r.rootView)||void 0===t?void 0:t.view)||null}}]),e}();sr.styleModule=et,sr.inputHandler=Ze,sr.perLineTextDirection=$e,sr.exceptionSink=Le,sr.updateListener=Fe,sr.editable=He,sr.mouseSelectionStyle=Ie,sr.dragMovesSelection=Me,sr.clickAddsSelectionRange=Ne,sr.decorations=Ve,sr.atomicRanges=Ye,sr.scrollMargins=Ke,sr.darkTheme=Gn,sr.contentAttributes=Je,sr.editorAttributes=Ge,sr.lineWrapping=sr.contentAttributes.of({class:"cm-lineWrapping"}),sr.announce=d.Py.define();var ur=4096,lr={},cr=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.from=t,this.to=n,this.dir=r,this.order=i}return(0,f.Z)(e,null,[{key:"update",value:function(t,n){if(n.empty)return t;for(var r=[],i=t.length?t[t.length-1].dir:rt.LTR,o=Math.max(0,t.length-10);o<t.length;o++){var a=t[o];a.dir!=i||n.touchesRange(a.from,a.to)||r.push(new e(n.mapPos(a.from,1),n.mapPos(a.to,-1),a.dir,a.order))}return r}}]),e}();function hr(e,t,n){for(var r=e.state.facet(t),i=r.length-1;i>=0;i--){var o=r[i],a="function"==typeof o?o(e):o;a&&Oe(a,n)}return n}var fr=ae.mac?"mac":ae.windows?"win":ae.linux?"linux":"key";function dr(e,t){var n,r,i,o,a=e.split(/-(?!$)/),s=a[a.length-1];"Space"==s&&(s=" ");for(var u=0;u<a.length-1;++u){var l=a[u];if(/^(cmd|meta|m)$/i.test(l))o=!0;else if(/^a(lt)?$/i.test(l))n=!0;else if(/^(c|ctrl|control)$/i.test(l))r=!0;else if(/^s(hift)?$/i.test(l))i=!0;else{if(!/^mod$/i.test(l))throw new Error("Unrecognized modifier name: "+l);"mac"==t?o=!0:r=!0}}return n&&(s="Alt-"+s),r&&(s="Ctrl-"+s),o&&(s="Meta-"+s),i&&(s="Shift-"+s),s}function pr(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==n&&t.shiftKey&&(e="Shift-"+e),e}var mr=d.Wl.default(sr.domEventHandlers({keydown:function(e,t){return xr(Or(t.state),e,t,"editor")}})),gr=d.r$.define({enables:mr}),vr=new WeakMap;function Or(e){var t=e.facet(gr),n=vr.get(t);return n||vr.set(t,n=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fr,r=Object.create(null),i=Object.create(null),o=function(e,t){var n=i[e];if(null==n)i[e]=t;else if(n!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},a=function(e,t,i,a){for(var s=r[e]||(r[e]=Object.create(null)),u=t.split(/ (?!$)/).map((function(e){return dr(e,n)})),l=function(t){var n=u.slice(0,t).join(" ");o(n,!0),s[n]||(s[n]={preventDefault:!0,commands:[function(t){var r=kr={view:t,prefix:n,scope:e};return setTimeout((function(){kr==r&&(kr=null)}),br),!0}]})},c=1;c<u.length;c++)l(c);var h=u.join(" ");o(h,!1);var f=s[h]||(s[h]={preventDefault:!1,commands:[]});f.commands.push(i),a&&(f.preventDefault=!0)},s=(0,c.Z)(e);try{for(s.s();!(t=s.n()).done;){var u=t.value,l=u[n]||u.key;if(l){var h,f=(0,c.Z)(u.scope?u.scope.split(" "):["editor"]);try{for(f.s();!(h=f.n()).done;){var d=h.value;a(d,l,u.run,u.preventDefault),u.shift&&a(d,"Shift-"+l,u.shift,u.preventDefault)}}catch(p){f.e(p)}finally{f.f()}}}}catch(p){s.e(p)}finally{s.f()}return r}(t.reduce((function(e,t){return e.concat(t)}),[]))),n}function yr(e,t,n){return xr(Or(e.state),t,e,n)}var kr=null,br=4e3;function xr(e,t,n,r){var i=function(e){var t=!(k&&(e.ctrlKey||e.altKey||e.metaKey)||y&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?g:m)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(t),o=(0,d.gm)(i,0),a=(0,d.nZ)(o)==i.length&&" "!=i,s="",u=!1;kr&&kr.view==n&&kr.scope==r&&(s=kr.prefix+" ",(u=en.indexOf(t.keyCode)<0)&&(kr=null));var l,h,f=function(e){if(e){var t,r=(0,c.Z)(e.commands);try{for(r.s();!(t=r.n()).done;){if((0,t.value)(n))return!0}}catch(i){r.e(i)}finally{r.f()}e.preventDefault&&(u=!0)}return!1},p=e[r];if(p){if(f(p[s+pr(i,t,!a)]))return!0;if(a&&(t.shiftKey||t.altKey||t.metaKey||o>127)&&(l=m[t.keyCode])&&l!=i){if(f(p[s+pr(l,t,!0)]))return!0;if(t.shiftKey&&(h=g[t.keyCode])!=i&&h!=l&&f(p[s+pr(h,t,!1)]))return!0}else if(a&&t.shiftKey&&f(p[s+pr(i,t,!0)]))return!0}return u}var Tr=!ae.ios,wr=d.r$.define({combine:function(e){return(0,d.BO)(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:function(e,t){return Math.min(e,t)},drawRangeCursor:function(e,t){return e||t}})}});function Sr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[wr.of(e),Er,_r]}var Cr=function(){function e(t,n,r,i,o){(0,h.Z)(this,e),this.left=t,this.top=n,this.width=r,this.height=i,this.className=o}return(0,f.Z)(e,[{key:"draw",value:function(){var e=document.createElement("div");return e.className=this.className,this.adjust(e),e}},{key:"adjust",value:function(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width>=0&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}},{key:"eq",value:function(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}}]),e}(),Er=qe.fromClass(function(){function e(t){(0,h.Z)(this,e),this.view=t,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.selectionLayer=t.scrollDOM.appendChild(document.createElement("div")),this.selectionLayer.className="cm-selectionLayer",this.selectionLayer.setAttribute("aria-hidden","true"),this.cursorLayer=t.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),t.requestMeasure(this.measureReq),this.setBlinkRate()}return(0,f.Z)(e,[{key:"setBlinkRate",value:function(){this.cursorLayer.style.animationDuration=this.view.state.facet(wr).cursorBlinkRate+"ms"}},{key:"update",value:function(e){var t=e.startState.facet(wr)!=e.state.facet(wr);(t||e.selectionSet||e.geometryChanged||e.viewportChanged)&&this.view.requestMeasure(this.measureReq),e.transactions.some((function(e){return e.scrollIntoView}))&&(this.cursorLayer.style.animationName="cm-blink"==this.cursorLayer.style.animationName?"cm-blink2":"cm-blink"),t&&this.setBlinkRate()}},{key:"readPos",value:function(){var e,t=this,n=this.view.state,r=n.facet(wr),i=n.selection.ranges.map((function(e){return e.empty?[]:function(e,t){if(t.to<=e.viewport.from||t.from>=e.viewport.to)return[];var n=Math.max(t.from,e.viewport.from),r=Math.min(t.to,e.viewport.to),i=e.textDirection==rt.LTR,o=e.contentDOM,a=o.getBoundingClientRect(),s=Qr(e),u=window.getComputedStyle(o.firstChild),l=a.left+parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)),h=a.right-parseInt(u.paddingRight),f=Rr(e,n),d=Rr(e,r),p=f.type==xe.Text?f:null,m=d.type==xe.Text?d:null;e.lineWrapping&&(p&&(p=Pr(e,n,p)),m&&(m=Pr(e,r,m)));if(p&&m&&p.from==m.from)return k(b(t.from,t.to,p));var g=p?b(t.from,null,p):x(f,!1),v=m?b(null,t.to,m):x(d,!0),O=[];return(p||f).to<(m||d).from-1?O.push(y(l,g.bottom,h,v.top)):g.bottom<v.top&&e.elementAtHeight((g.bottom+v.top)/2).type==xe.Text&&(g.bottom=v.top=(g.bottom+v.top)/2),k(g).concat(O).concat(k(v));function y(e,t,n,r){return new Cr(e-s.left,t-s.top-.01,n-e,r-t+.01,"cm-selectionBackground")}function k(e){for(var t=e.top,n=e.bottom,r=e.horizontal,i=[],o=0;o<r.length;o+=2)i.push(y(r[o],t,r[o+1],n));return i}function b(t,n,r){var o=1e9,a=-1e9,s=[];function u(t,n,u,c,f){var d=e.coordsAtPos(t,t==r.to?-2:2),p=e.coordsAtPos(u,u==r.from?2:-2);o=Math.min(d.top,p.top,o),a=Math.max(d.bottom,p.bottom,a),f==rt.LTR?s.push(i&&n?l:d.left,i&&c?h:p.right):s.push(!i&&c?l:p.left,!i&&n?h:d.right)}var f,d=null!==t&&void 0!==t?t:r.from,p=null!==n&&void 0!==n?n:r.to,m=(0,c.Z)(e.visibleRanges);try{for(m.s();!(f=m.n()).done;){var g=f.value;if(g.to>d&&g.from<p)for(var v=Math.max(g.from,d),O=Math.min(g.to,p);;){var y,k=e.state.doc.lineAt(v),b=(0,c.Z)(e.bidiSpans(k));try{for(b.s();!(y=b.n()).done;){var x=y.value,T=x.from+k.from,w=x.to+k.from;if(T>=O)break;w>v&&u(Math.max(T,v),null==t&&T<=d,Math.min(w,O),null==n&&w>=p,x.dir)}}catch(S){b.e(S)}finally{b.f()}if((v=k.to+1)>=O)break}}}catch(S){m.e(S)}finally{m.f()}return 0==s.length&&u(d,null==t,p,null==n,e.textDirection),{top:o,bottom:a,horizontal:s}}function x(e,t){var n=a.top+(t?e.top:e.bottom);return{top:n,bottom:n,horizontal:[]}}}(t.view,e)})).reduce((function(e,t){return e.concat(t)})),o=[],a=(0,c.Z)(n.selection.ranges);try{for(a.s();!(e=a.n()).done;){var s=e.value,u=s==n.selection.main;if(s.empty?!u||Tr:r.drawRangeCursor){var l=Dr(this.view,s,u);l&&o.push(l)}}}catch(h){a.e(h)}finally{a.f()}return{rangePieces:i,cursors:o}}},{key:"drawSel",value:function(e){var t=this,n=e.rangePieces,r=e.cursors;if(n.length!=this.rangePieces.length||n.some((function(e,n){return!e.eq(t.rangePieces[n])}))){this.selectionLayer.textContent="";var i,o=(0,c.Z)(n);try{for(o.s();!(i=o.n()).done;){var a=i.value;this.selectionLayer.appendChild(a.draw())}}catch(f){o.e(f)}finally{o.f()}this.rangePieces=n}if(r.length!=this.cursors.length||r.some((function(e,n){return!e.eq(t.cursors[n])}))){var s=this.cursorLayer.children;if(s.length!==r.length){this.cursorLayer.textContent="";var u,l=(0,c.Z)(r);try{for(l.s();!(u=l.n()).done;){var h=u.value;this.cursorLayer.appendChild(h.draw())}}catch(f){l.e(f)}finally{l.f()}}else r.forEach((function(e,t){return e.adjust(s[t])}));this.cursors=r}}},{key:"destroy",value:function(){this.selectionLayer.remove(),this.cursorLayer.remove()}}]),e}()),Ar={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Tr&&(Ar[".cm-line"].caretColor="transparent !important");var _r=d.Wl.highest(sr.theme(Ar));function Qr(e){var t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==rt.LTR?t.left:t.right-e.scrollDOM.clientWidth)-e.scrollDOM.scrollLeft,top:t.top-e.scrollDOM.scrollTop}}function Pr(e,t,n){var r=d.jT.cursor(t);return{from:Math.max(n.from,e.moveToLineBoundary(r,!1,!0).from),to:Math.min(n.to,e.moveToLineBoundary(r,!0,!0).from),type:xe.Text}}function Rr(e,t){var n=e.lineBlockAt(t);if(Array.isArray(n.type)){var r,i=(0,c.Z)(n.type);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(o.to>t||o.to==t&&(o.to==n.to||o.type==xe.Text))return o}}catch(a){i.e(a)}finally{i.f()}}return n}function Dr(e,t,n){var r=e.coordsAtPos(t.head,t.assoc||1);if(!r)return null;var i=Qr(e);return new Cr(r.left-i.left,r.top-i.top,-1,r.bottom-r.top,n?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary")}var Nr=d.Py.define({map:function(e,t){return null==e?null:t.mapPos(e)}}),Mr=d.QQ.define({create:function(){return null},update:function(e,t){return null!=e&&(e=t.changes.mapPos(e)),t.effects.reduce((function(e,t){return t.is(Nr)?t.value:e}),e)}}),Ir=qe.fromClass(function(){function e(t){(0,h.Z)(this,e),this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}return(0,f.Z)(e,[{key:"update",value:function(e){var t,n=e.state.field(Mr);null==n?null!=this.cursor&&(null===(t=this.cursor)||void 0===t||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(Mr)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}},{key:"readPos",value:function(){var e=this.view.state.field(Mr),t=null!=e&&this.view.coordsAtPos(e);if(!t)return null;var n=this.view.scrollDOM.getBoundingClientRect();return{left:t.left-n.left+this.view.scrollDOM.scrollLeft,top:t.top-n.top+this.view.scrollDOM.scrollTop,height:t.bottom-t.top}}},{key:"drawCursor",value:function(e){this.cursor&&(e?(this.cursor.style.left=e.left+"px",this.cursor.style.top=e.top+"px",this.cursor.style.height=e.height+"px"):this.cursor.style.left="-100000px")}},{key:"destroy",value:function(){this.cursor&&this.cursor.remove()}},{key:"setDropPos",value:function(e){this.view.state.field(Mr)!=e&&this.view.dispatch({effects:Nr.of(e)})}}]),e}(),{eventHandlers:{dragover:function(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave:function(e){e.target!=this.view.contentDOM&&this.view.contentDOM.contains(e.relatedTarget)||this.setDropPos(null)},dragend:function(){this.setDropPos(null)},drop:function(){this.setDropPos(null)}}});function Lr(){return[Mr,Ir]}function Fr(e,t,n,r,i){t.lastIndex=0;for(var o,a=e.iterRange(n,r),s=n;!a.next().done;s+=a.value.length)if(!a.lineBreak)for(;o=t.exec(a.value);)i(s+o.index,o)}var Zr=function(){function e(t){(0,h.Z)(this,e);var n=t.regexp,r=t.decoration,i=t.decorate,o=t.boundary,a=t.maxLength,s=void 0===a?1e3:a;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,i)this.addMatch=function(e,t,n,r){return i(r,n,n+e[0].length,e,t)};else{if(!r)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");var u="function"==typeof r?r:function(){return r};this.addMatch=function(e,t,n,r){return r(n,n+e[0].length,u(e,t,n))}}this.boundary=o,this.maxLength=s}return(0,f.Z)(e,[{key:"createDeco",value:function(e){var t,n=this,r=new d.f_,i=r.add.bind(r),o=(0,c.Z)(function(e,t){var n=e.visibleRanges;if(1==n.length&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;var r,i=[],o=(0,c.Z)(n);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=a.from,u=a.to;s=Math.max(e.state.doc.lineAt(s).from,s-t),u=Math.min(e.state.doc.lineAt(u).to,u+t),i.length&&i[i.length-1].to>=s?i[i.length-1].to=u:i.push({from:s,to:u})}}catch(l){o.e(l)}finally{o.f()}return i}(e,this.maxLength));try{for(o.s();!(t=o.n()).done;){var a=t.value,s=a.from,u=a.to;Fr(e.state.doc,this.regexp,s,u,(function(t,r){return n.addMatch(r,e,t,i)}))}}catch(l){o.e(l)}finally{o.f()}return r.finish()}},{key:"updateDeco",value:function(e,t){var n=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((function(t,i,o,a){a>e.view.viewport.from&&o<e.view.viewport.to&&(n=Math.min(o,n),r=Math.max(a,r))})),e.viewportChanged||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t}},{key:"updateRange",value:function(e,t,n,r){var i,o=this,a=(0,c.Z)(e.visibleRanges);try{for(a.s();!(i=a.n()).done;){var s=i.value,u=Math.max(s.from,n),l=Math.min(s.to,r);l>u&&function(){var n=e.state.doc.lineAt(u),r=n.to<l?e.state.doc.lineAt(l):n,i=Math.max(s.from,n.from),a=Math.min(s.to,r.to);if(o.boundary){for(;u>n.from;u--)if(o.boundary.test(n.text[u-1-n.from])){i=u;break}for(;l<r.to;l++)if(o.boundary.test(r.text[l-r.from])){a=l;break}}var c=[],h=void 0,f=function(e,t,n){return c.push(n.range(e,t))};if(n==r)for(o.regexp.lastIndex=i-n.from;(h=o.regexp.exec(n.text))&&h.index<a-n.from;)o.addMatch(h,e,h.index+n.from,f);else Fr(e.state.doc,o.regexp,i,a,(function(t,n){return o.addMatch(n,e,t,f)}));t=t.update({filterFrom:i,filterTo:a,filter:function(e,t){return e<i||t>a},add:c})}()}}catch(h){a.e(h)}finally{a.f()}return t}}]),e}(),$r=null!=/x/.unicode?"gu":"g",jr=new RegExp("[\0-\b\n-\x1f\x7f-\x9f\xad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]",$r),Br={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"},zr=null;var Hr=d.r$.define({combine:function(e){var t=(0,d.BO)(e,{render:null,specialChars:jr,addSpecialChars:null});return(t.replaceTabs=!function(){var e;if(null==zr&&"undefined"!=typeof document&&document.body){var t=document.body.style;zr=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return zr||!1}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,$r)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,$r)),t}});function Wr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[Hr.of(e),qr()]}var Ur=null;function qr(){return Ur||(Ur=qe.fromClass(function(){function e(t){(0,h.Z)(this,e),this.view=t,this.decorations=Te.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(Hr)),this.decorations=this.decorator.createDeco(t)}return(0,f.Z)(e,[{key:"makeDecorator",value:function(e){var t=this;return new Zr({regexp:e.specialChars,decoration:function(n,r,i){var o=r.state.doc,a=(0,d.gm)(n[0],0);if(9==a){var s=o.lineAt(i),u=r.state.tabSize,l=(0,d.IS)(s.text,u,i-s.from);return Te.replace({widget:new Gr((u-l%u)*t.view.defaultCharacterWidth)})}return t.decorationCache[a]||(t.decorationCache[a]=Te.replace({widget:new Xr(e,a)}))},boundary:e.replaceTabs?void 0:/[^]/})}},{key:"update",value:function(e){var t=e.state.facet(Hr);e.startState.facet(Hr)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}}]),e}(),{decorations:function(e){return e.decorations}}))}var Xr=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e,r){var i;return(0,h.Z)(this,n),(i=t.call(this)).options=e,i.code=r,i}return(0,f.Z)(n,[{key:"eq",value:function(e){return e.code==this.code}},{key:"toDOM",value:function(e){var t=function(e){return e>=32?"\u2022":10==e?"\u2424":String.fromCharCode(9216+e)}(this.code),n=e.state.phrase("Control character")+" "+(Br[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,n,t);if(r)return r;var i=document.createElement("span");return i.textContent=t,i.title=n,i.setAttribute("aria-label",n),i.className="cm-specialChar",i}},{key:"ignoreEvent",value:function(){return!1}}]),n}(be),Gr=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).width=e,r}return(0,f.Z)(n,[{key:"eq",value:function(e){return e.width==this.width}},{key:"toDOM",value:function(){var e=document.createElement("span");return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}},{key:"ignoreEvent",value:function(){return!1}}]),n}(be);function Jr(){return Yr}var Vr=Te.line({class:"cm-activeLine"}),Yr=qe.fromClass(function(){function e(t){(0,h.Z)(this,e),this.decorations=this.getDeco(t)}return(0,f.Z)(e,[{key:"update",value:function(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}},{key:"getDeco",value:function(e){var t,n=-1,r=[],i=(0,c.Z)(e.state.selection.ranges);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(!o.empty)return Te.none;var a=e.lineBlockAt(o.head);a.from>n&&(r.push(Vr.range(a.from)),n=a.from)}}catch(s){i.e(s)}finally{i.f()}return Te.set(r)}}]),e}(),{decorations:function(e){return e.decorations}}),Kr=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).content=e,r}return(0,f.Z)(n,[{key:"toDOM",value:function(){var e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild("string"==typeof this.content?document.createTextNode(this.content):this.content),"string"==typeof this.content?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}},{key:"ignoreEvent",value:function(){return!1}}]),n}(be);function ei(e){return qe.fromClass(function(){function t(n){(0,h.Z)(this,t),this.view=n,this.placeholder=Te.set([Te.widget({widget:new Kr(e),side:1}).range(0)])}return(0,f.Z)(t,[{key:"decorations",get:function(){return this.view.state.doc.length?Te.none:this.placeholder}}]),t}(),{decorations:function(e){return e.decorations}})}var ti=2e3;function ni(e,t){var n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),r=e.state.doc.lineAt(n),i=n-r.from,o=i>ti?-1:i==r.length?function(e,t){var n=e.coordsAtPos(e.viewport.from);return n?Math.round(Math.abs((n.left-t)/e.defaultCharacterWidth)):-1}(e,t.clientX):(0,d.IS)(r.text,e.state.tabSize,n-r.from);return{line:r.number,col:o,off:i}}function ri(e,t){var n=ni(e,t),r=e.state.selection;return n?{update:function(e){if(e.docChanged){var t=e.changes.mapPos(e.startState.doc.line(n.line).from),i=e.state.doc.lineAt(t);n={line:i.number,col:n.col,off:Math.min(n.off,i.length)},r=r.map(e.changes)}},get:function(t,i,o){var a=ni(e,t);if(!a)return r;var s=function(e,t,n){var r=Math.min(t.line,n.line),i=Math.max(t.line,n.line),o=[];if(t.off>ti||n.off>ti||t.col<0||n.col<0)for(var a=Math.min(t.off,n.off),s=Math.max(t.off,n.off),u=r;u<=i;u++){var l=e.doc.line(u);l.length<=s&&o.push(d.jT.range(l.from+a,l.to+s))}else for(var c=Math.min(t.col,n.col),h=Math.max(t.col,n.col),f=r;f<=i;f++){var p=e.doc.line(f),m=(0,d.Gz)(p.text,c,e.tabSize,!0);if(m>-1){var g=(0,d.Gz)(p.text,h,e.tabSize);o.push(d.jT.range(p.from+m,p.from+g))}}return o}(e.state,n,a);return s.length?o?d.jT.create(s.concat(r.ranges)):d.jT.create(s):r}}:null}function ii(e){var t=(null===e||void 0===e?void 0:e.eventFilter)||function(e){return e.altKey&&0==e.button};return sr.mouseSelectionStyle.of((function(e,n){return t(n)?ri(e,n):null}))}var oi={Alt:[18,function(e){return e.altKey}],Control:[17,function(e){return e.ctrlKey}],Shift:[16,function(e){return e.shiftKey}],Meta:[91,function(e){return e.metaKey}]},ai={style:"cursor: crosshair"};function si(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,r.Z)(oi[e.key||"Alt"],2),n=t[0],i=t[1],o=qe.fromClass(function(){function e(t){(0,h.Z)(this,e),this.view=t,this.isDown=!1}return(0,f.Z)(e,[{key:"set",value:function(e){this.isDown!=e&&(this.isDown=e,this.view.update([]))}}]),e}(),{eventHandlers:{keydown:function(e){this.set(e.keyCode==n||i(e))},keyup:function(e){e.keyCode!=n&&i(e)||this.set(!1)}}});return[o,sr.contentAttributes.of((function(e){var t;return(null===(t=e.plugin(o))||void 0===t?void 0:t.isDown)?ai:null}))]}var ui="-10000px",li=function(){function e(t,n,r){(0,h.Z)(this,e),this.facet=n,this.createTooltipView=r,this.input=t.state.facet(n),this.tooltips=this.input.filter((function(e){return e})),this.tooltipViews=this.tooltips.map(r)}return(0,f.Z)(e,[{key:"update",value:function(e){var t=e.state.facet(this.facet),n=t.filter((function(e){return e}));if(t===this.input){var r,i=(0,c.Z)(this.tooltipViews);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.update&&o.update(e)}}catch(v){i.e(v)}finally{i.f()}return!1}for(var a=[],s=0;s<n.length;s++){var u=n[s],l=-1;if(u){for(var h=0;h<this.tooltips.length;h++){var f=this.tooltips[h];f&&f.create==u.create&&(l=h)}if(l<0)a[s]=this.createTooltipView(u);else{var d=a[s]=this.tooltipViews[l];d.update&&d.update(e)}}}var p,m=(0,c.Z)(this.tooltipViews);try{for(m.s();!(p=m.n()).done;){var g=p.value;a.indexOf(g)<0&&g.dom.remove()}}catch(v){m.e(v)}finally{m.f()}return this.input=t,this.tooltips=n,this.tooltipViews=a,!0}}]),e}();function ci(){return{top:0,left:0,bottom:innerHeight,right:innerWidth}}var hi=d.r$.define({combine:function(e){var t,n,r;return{position:ae.ios?"absolute":(null===(t=e.find((function(e){return e.position})))||void 0===t?void 0:t.position)||"fixed",parent:(null===(n=e.find((function(e){return e.parent})))||void 0===n?void 0:n.parent)||null,tooltipSpace:(null===(r=e.find((function(e){return e.tooltipSpace})))||void 0===r?void 0:r.tooltipSpace)||ci}}}),fi=qe.fromClass(function(){function e(t){var n=this;(0,h.Z)(this,e),this.view=t,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;var r=t.state.facet(hi);this.position=r.position,this.parent=r.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new li(t,mi,(function(e){return n.createTooltip(e)})),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver((function(e){Date.now()>n.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&n.measureSoon()}),{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}return(0,f.Z)(e,[{key:"createContainer",value:function(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}},{key:"observeIntersection",value:function(){if(this.intersectionObserver){this.intersectionObserver.disconnect();var e,t=(0,c.Z)(this.manager.tooltipViews);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.intersectionObserver.observe(n.dom)}}catch(r){t.e(r)}finally{t.f()}}}},{key:"measureSoon",value:function(){var e=this;this.measureTimeout<0&&(this.measureTimeout=setTimeout((function(){e.measureTimeout=-1,e.maybeMeasure()}),50))}},{key:"update",value:function(e){e.transactions.length&&(this.lastTransaction=Date.now());var t=this.manager.update(e);t&&this.observeIntersection();var n=t||e.geometryChanged,r=e.state.facet(hi);if(r.position!=this.position){this.position=r.position;var i,o=(0,c.Z)(this.manager.tooltipViews);try{for(o.s();!(i=o.n()).done;){i.value.dom.style.position=this.position}}catch(l){o.e(l)}finally{o.f()}n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();var a,s=(0,c.Z)(this.manager.tooltipViews);try{for(s.s();!(a=s.n()).done;){var u=a.value;this.container.appendChild(u.dom)}}catch(l){s.e(l)}finally{s.f()}n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}},{key:"createTooltip",value:function(e){var t=e.create(this.view);if(t.dom.classList.add("cm-tooltip"),e.arrow&&!t.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){var n=document.createElement("div");n.className="cm-tooltip-arrow",t.dom.appendChild(n)}return t.dom.style.position=this.position,t.dom.style.top=ui,this.container.appendChild(t.dom),t.mount&&t.mount(this.view),t}},{key:"destroy",value:function(){var e;this.view.win.removeEventListener("resize",this.measureSoon);var t,n=(0,c.Z)(this.manager.tooltipViews);try{for(n.s();!(t=n.n()).done;){t.value.dom.remove()}}catch(r){n.e(r)}finally{n.f()}null===(e=this.intersectionObserver)||void 0===e||e.disconnect(),clearTimeout(this.measureTimeout)}},{key:"readMeasure",value:function(){var e=this,t=this.view.dom.getBoundingClientRect();return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((function(t,n){var r=e.manager.tooltipViews[n];return r.getCoords?r.getCoords(t.pos):e.view.coordsAtPos(t.pos)})),size:this.manager.tooltipViews.map((function(e){return e.dom.getBoundingClientRect()})),space:this.view.state.facet(hi).tooltipSpace(this.view)}}},{key:"writeMeasure",value:function(e){for(var t=e.editor,n=e.space,r=[],i=0;i<this.manager.tooltips.length;i++){var o=this.manager.tooltips[i],a=this.manager.tooltipViews[i],s=a.dom,u=e.pos[i],l=e.size[i];if(!u||u.bottom<=Math.max(t.top,n.top)||u.top>=Math.min(t.bottom,n.bottom)||u.right<Math.max(t.left,n.left)-.1||u.left>Math.min(t.right,n.right)+.1)s.style.top=ui;else{var h=o.arrow?a.dom.querySelector(".cm-tooltip-arrow"):null,f=h?7:0,d=l.right-l.left,p=l.bottom-l.top,m=a.offset||pi,g=this.view.textDirection==rt.LTR,v=l.width>n.right-n.left?g?n.left:n.right-l.width:g?Math.min(u.left-(h?14:0)+m.x,n.right-d):Math.max(n.left,u.left-d+(h?14:0)-m.x),O=!!o.above;!o.strictSide&&(O?u.top-(l.bottom-l.top)-m.y<n.top:u.bottom+(l.bottom-l.top)+m.y>n.bottom)&&O==n.bottom-u.bottom>u.top-n.top&&(O=!O);var y=O?u.top-p-f-m.y:u.bottom+f+m.y,k=v+d;if(!0!==a.overlap){var b,x=(0,c.Z)(r);try{for(x.s();!(b=x.n()).done;){var T=b.value;T.left<k&&T.right>v&&T.top<y+p&&T.bottom>y&&(y=O?T.top-p-2-f:T.bottom+f+2)}}catch(w){x.e(w)}finally{x.f()}}"absolute"==this.position?(s.style.top=y-e.parent.top+"px",s.style.left=v-e.parent.left+"px"):(s.style.top=y+"px",s.style.left=v+"px"),h&&(h.style.left="".concat(u.left+(g?m.x:-m.x)-(v+14-7),"px")),!0!==a.overlap&&r.push({left:v,top:y,right:k,bottom:y+p}),s.classList.toggle("cm-tooltip-above",O),s.classList.toggle("cm-tooltip-below",!O),a.positioned&&a.positioned()}}}},{key:"maybeMeasure",value:function(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView))){var e,t=(0,c.Z)(this.manager.tooltipViews);try{for(t.s();!(e=t.n()).done;){e.value.dom.style.top=ui}}catch(n){t.e(n)}finally{t.f()}}}}]),e}(),{eventHandlers:{scroll:function(){this.maybeMeasure()}}}),di=sr.baseTheme({".cm-tooltip":{zIndex:100},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"".concat(7,"px"),width:"".concat(14,"px"),position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"".concat(7,"px solid transparent"),borderRight:"".concat(7,"px solid transparent")},".cm-tooltip-above &":{bottom:"-".concat(7,"px"),"&:before":{borderTop:"".concat(7,"px solid #bbb")},"&:after":{borderTop:"".concat(7,"px solid #f5f5f5"),bottom:"1px"}},".cm-tooltip-below &":{top:"-".concat(7,"px"),"&:before":{borderBottom:"".concat(7,"px solid #bbb")},"&:after":{borderBottom:"".concat(7,"px solid #f5f5f5"),top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),pi={x:0,y:0},mi=d.r$.define({enables:[fi,di]}),gi=d.r$.define(),vi=function(){function e(t){var n=this;(0,h.Z)(this,e),this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new li(t,gi,(function(e){return n.createHostedView(e)}))}return(0,f.Z)(e,[{key:"createHostedView",value:function(e){var t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}},{key:"mount",value:function(e){var t,n=(0,c.Z)(this.manager.tooltipViews);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.mount&&r.mount(e)}}catch(i){n.e(i)}finally{n.f()}this.mounted=!0}},{key:"positioned",value:function(){var e,t=(0,c.Z)(this.manager.tooltipViews);try{for(t.s();!(e=t.n()).done;){var n=e.value;n.positioned&&n.positioned()}}catch(r){t.e(r)}finally{t.f()}}},{key:"update",value:function(e){this.manager.update(e)}}],[{key:"create",value:function(t){return new e(t)}}]),e}(),Oi=mi.compute([gi],(function(e){var t=e.facet(gi).filter((function(e){return e}));return 0===t.length?null:{pos:Math.min.apply(Math,(0,l.Z)(t.map((function(e){return e.pos})))),end:Math.max.apply(Math,(0,l.Z)(t.filter((function(e){return null!=e.end})).map((function(e){return e.end})))),create:vi.create,above:t[0].above,arrow:t.some((function(e){return e.arrow}))}})),yi=function(){function e(t,n,r,i,o){(0,h.Z)(this,e),this.view=t,this.source=n,this.field=r,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}return(0,f.Z)(e,[{key:"update",value:function(){var e=this;this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout((function(){return e.startHover()}),20))}},{key:"active",get:function(){return this.view.state.field(this.field)}},{key:"checkHover",value:function(){if(this.hoverTimeout=-1,!this.active){var e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}}},{key:"startHover",value:function(){var e=this;clearTimeout(this.restartTimeout);var t=this.lastMove,n=this.view.contentDOM.contains(t.target)?this.view.posAtCoords(t):null;if(null!=n){var r=this.view.coordsAtPos(n);if(!(null==r||t.y<r.top||t.y>r.bottom||t.x<r.left-this.view.defaultCharacterWidth||t.x>r.right+this.view.defaultCharacterWidth)){var i=this.view.bidiSpans(this.view.state.doc.lineAt(n)).find((function(e){return e.from<=n&&e.to>=n})),o=i&&i.dir==rt.RTL?-1:1,a=this.source(this.view,n,t.x<r.left?-o:o);if(null===a||void 0===a?void 0:a.then){var s=this.pending={pos:n};a.then((function(t){e.pending==s&&(e.pending=null,t&&e.view.dispatch({effects:e.setHover.of(t)}))}),(function(t){return ze(e.view.state,t,"hover tooltip")}))}else a&&this.view.dispatch({effects:this.setHover.of(a)})}}}},{key:"mousemove",value:function(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));var n=this.active;if(n&&!function(e){for(var t=e;t;t=t.parentNode)if(1==t.nodeType&&t.classList.contains("cm-tooltip"))return!0;return!1}(this.lastMove.target)||this.pending){var r=(n||this.pending).pos,i=null!==(t=null===n||void 0===n?void 0:n.end)&&void 0!==t?t:r;(r==i?this.view.posAtCoords(this.lastMove)==r:function(e,t,n,r,i,o){var a=document.createRange(),s=e.domAtPos(t),u=e.domAtPos(n);a.setEnd(u.node,u.offset),a.setStart(s.node,s.offset);var l=a.getClientRects();a.detach();for(var c=0;c<l.length;c++){var h=l[c];if(Math.max(h.top-i,i-h.bottom,h.left-r,r-h.right)<=o)return!0}return!1}(this.view,r,i,e.clientX,e.clientY,6))||(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}},{key:"mouseleave",value:function(){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&this.view.dispatch({effects:this.setHover.of(null)})}},{key:"destroy",value:function(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}]),e}();function ki(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d.Py.define(),r=d.QQ.define({create:function(){return null},update:function(e,r){if(e&&(t.hideOnChange&&(r.docChanged||r.selection)||t.hideOn&&t.hideOn(r,e)))return null;if(e&&r.docChanged){var i=r.changes.mapPos(e.pos,-1,d.gc.TrackDel);if(null==i)return null;var o=Object.assign(Object.create(null),e);o.pos=i,null!=e.end&&(o.end=r.changes.mapPos(e.end)),e=o}var a,s=(0,c.Z)(r.effects);try{for(s.s();!(a=s.n()).done;){var u=a.value;u.is(n)&&(e=u.value),u.is(xi)&&(e=null)}}catch(l){s.e(l)}finally{s.f()}return e},provide:function(e){return gi.from(e)}});return[r,qe.define((function(i){return new yi(i,e,r,n,t.hoverTime||300)})),Oi]}function bi(e,t){var n=e.plugin(fi);if(!n)return null;var r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}var xi=d.Py.define();var Ti=d.r$.define({combine:function(e){var t,n,r,i=(0,c.Z)(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;t=t||o.topContainer,n=n||o.bottomContainer}}catch(a){i.e(a)}finally{i.f()}return{topContainer:t,bottomContainer:n}}});function wi(e,t){var n=e.plugin(Si),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}var Si=qe.fromClass(function(){function e(t){(0,h.Z)(this,e),this.input=t.state.facet(Ai),this.specs=this.input.filter((function(e){return e})),this.panels=this.specs.map((function(e){return e(t)}));var n=t.state.facet(Ti);this.top=new Ci(t,!0,n.topContainer),this.bottom=new Ci(t,!1,n.bottomContainer),this.top.sync(this.panels.filter((function(e){return e.top}))),this.bottom.sync(this.panels.filter((function(e){return!e.top})));var r,i=(0,c.Z)(this.panels);try{for(i.s();!(r=i.n()).done;){var o=r.value;o.dom.classList.add("cm-panel"),o.mount&&o.mount()}}catch(a){i.e(a)}finally{i.f()}}return(0,f.Z)(e,[{key:"update",value:function(e){var t=e.state.facet(Ti);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new Ci(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new Ci(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();var n=e.state.facet(Ai);if(n!=this.input){var r,i=n.filter((function(e){return e})),o=[],a=[],s=[],u=[],l=(0,c.Z)(i);try{for(l.s();!(r=l.n()).done;){var h=r.value,f=this.specs.indexOf(h),d=void 0;f<0?(d=h(e.view),u.push(d)):(d=this.panels[f]).update&&d.update(e),o.push(d),(d.top?a:s).push(d)}}catch(k){l.e(k)}finally{l.f()}this.specs=i,this.panels=o,this.top.sync(a),this.bottom.sync(s);for(var p=0,m=u;p<m.length;p++){var g=m[p];g.dom.classList.add("cm-panel"),g.mount&&g.mount()}}else{var v,O=(0,c.Z)(this.panels);try{for(O.s();!(v=O.n()).done;){var y=v.value;y.update&&y.update(e)}}catch(k){O.e(k)}finally{O.f()}}}},{key:"destroy",value:function(){this.top.sync([]),this.bottom.sync([])}}]),e}(),{provide:function(e){return sr.scrollMargins.of((function(t){var n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}}))}}),Ci=function(){function e(t,n,r){(0,h.Z)(this,e),this.view=t,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}return(0,f.Z)(e,[{key:"sync",value:function(e){var t,n=(0,c.Z)(this.panels);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.destroy&&e.indexOf(r)<0&&r.destroy()}}catch(i){n.e(i)}finally{n.f()}this.panels=e,this.syncDOM()}},{key:"syncDOM",value:function(){if(0!=this.panels.length){if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";var e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}var t,n=this.dom.firstChild,r=(0,c.Z)(this.panels);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(i.dom.parentNode==this.dom){for(;n!=i.dom;)n=Ei(n);n=n.nextSibling}else this.dom.insertBefore(i.dom,n)}}catch(o){r.e(o)}finally{r.f()}for(;n;)n=Ei(n)}else this.dom&&(this.dom.remove(),this.dom=void 0)}},{key:"scrollMargin",value:function(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}},{key:"syncClasses",value:function(){if(this.container&&this.classes!=this.view.themeClasses){var e,t=(0,c.Z)(this.classes.split(" "));try{for(t.s();!(e=t.n()).done;){var n=e.value;n&&this.container.classList.remove(n)}}catch(a){t.e(a)}finally{t.f()}var r,i=(0,c.Z)((this.classes=this.view.themeClasses).split(" "));try{for(i.s();!(r=i.n()).done;){var o=r.value;o&&this.container.classList.add(o)}}catch(a){i.e(a)}finally{i.f()}}}}]),e}();function Ei(e){var t=e.nextSibling;return e.remove(),t}var Ai=d.r$.define({enables:Si}),_i=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){return(0,h.Z)(this,n),t.apply(this,arguments)}return(0,f.Z)(n,[{key:"compare",value:function(e){return this==e||this.constructor==e.constructor&&this.eq(e)}},{key:"eq",value:function(e){return!1}},{key:"destroy",value:function(e){}}]),n}(d.uU);_i.prototype.elementClass="",_i.prototype.toDOM=void 0,_i.prototype.mapMode=d.gc.TrackBefore,_i.prototype.startSide=_i.prototype.endSide=-1,_i.prototype.point=!0;var Qi=d.r$.define(),Pi={class:"",renderEmptyElements:!1,elementStyle:"",markers:function(){return d.Xs.empty},lineMarker:function(){return null},lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Ri=d.r$.define();function Di(e){return[Mi(),Ri.of(Object.assign(Object.assign({},Pi),e))]}var Ni=d.r$.define({combine:function(e){return e.some((function(e){return e}))}});function Mi(e){var t=[Ii];return e&&!1===e.fixed&&t.push(Ni.of(!0)),t}var Ii=qe.fromClass(function(){function e(t){(0,h.Z)(this,e),this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=t.state.facet(Ri).map((function(e){return new $i(t,e)}));var n,r=(0,c.Z)(this.gutters);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.dom.appendChild(i.dom)}}catch(o){r.e(o)}finally{r.f()}this.fixed=!t.state.facet(Ni),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}return(0,f.Z)(e,[{key:"update",value:function(e){if(this.updateGutters(e)){var t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<.8*(n.to-n.from))}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Ni)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}},{key:"syncGutters",value:function(e){var t=this,n=this.dom.nextSibling;e&&this.dom.remove();var r,i=d.Xs.iter(this.view.state.facet(Qi),this.view.viewport.from),o=[],a=this.gutters.map((function(e){return new Zi(e,t.view.viewport,-t.view.documentPadding.top)})),s=(0,c.Z)(this.view.viewportLineBlocks);try{for(s.s();!(r=s.n()).done;){var u=r.value,l=void 0;if(Array.isArray(u.type)){var h,f=(0,c.Z)(u.type);try{for(f.s();!(h=f.n()).done;){var p=h.value;if(p.type==xe.Text){l=p;break}}}catch(y){f.e(y)}finally{f.f()}}else l=u.type==xe.Text?u:void 0;if(l){o.length&&(o=[]),Fi(i,o,u.from);var m,g=(0,c.Z)(a);try{for(g.s();!(m=g.n()).done;){m.value.line(this.view,l,o)}}catch(y){g.e(y)}finally{g.f()}}}}catch(y){s.e(y)}finally{s.f()}var v,O=(0,c.Z)(a);try{for(O.s();!(v=O.n()).done;){v.value.finish()}}catch(y){O.e(y)}finally{O.f()}e&&this.view.scrollDOM.insertBefore(this.dom,n)}},{key:"updateGutters",value:function(e){var t=e.startState.facet(Ri),n=e.state.facet(Ri),r=e.docChanged||e.heightChanged||e.viewportChanged||!d.Xs.eq(e.startState.facet(Qi),e.state.facet(Qi),e.view.viewport.from,e.view.viewport.to);if(t==n){var i,o=(0,c.Z)(this.gutters);try{for(o.s();!(i=o.n()).done;){i.value.update(e)&&(r=!0)}}catch(y){o.e(y)}finally{o.f()}}else{r=!0;var a,s=[],u=(0,c.Z)(n);try{for(u.s();!(a=u.n()).done;){var l=a.value,h=t.indexOf(l);h<0?s.push(new $i(this.view,l)):(this.gutters[h].update(e),s.push(this.gutters[h]))}}catch(y){u.e(y)}finally{u.f()}var f,p=(0,c.Z)(this.gutters);try{for(p.s();!(f=p.n()).done;){var m=f.value;m.dom.remove(),s.indexOf(m)<0&&m.destroy()}}catch(y){p.e(y)}finally{p.f()}for(var g=0,v=s;g<v.length;g++){var O=v[g];this.dom.appendChild(O.dom)}this.gutters=s}return r}},{key:"destroy",value:function(){var e,t=(0,c.Z)(this.gutters);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}this.dom.remove()}}]),e}(),{provide:function(e){return sr.scrollMargins.of((function(t){var n=t.plugin(e);return n&&0!=n.gutters.length&&n.fixed?t.textDirection==rt.LTR?{left:n.dom.offsetWidth}:{right:n.dom.offsetWidth}:null}))}});function Li(e){return Array.isArray(e)?e:[e]}function Fi(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}var Zi=function(){function e(t,n,r){(0,h.Z)(this,e),this.gutter=t,this.height=r,this.localMarkers=[],this.i=0,this.cursor=d.Xs.iter(t.markers,n.from)}return(0,f.Z)(e,[{key:"line",value:function(e,t,n){this.localMarkers.length&&(this.localMarkers=[]),Fi(this.cursor,this.localMarkers,t.from);var r=n.length?this.localMarkers.concat(n):this.localMarkers,i=this.gutter.config.lineMarker(e,t,r);i&&r.unshift(i);var o=this.gutter;if(0!=r.length||o.config.renderEmptyElements){var a=t.top-this.height;if(this.i==o.elements.length){var s=new ji(e,t.height,a,r);o.elements.push(s),o.dom.appendChild(s.dom)}else o.elements[this.i].update(e,t.height,a,r);this.height=t.bottom,this.i++}}},{key:"finish",value:function(){for(var e=this.gutter;e.elements.length>this.i;){var t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}]),e}(),$i=function(){function e(t,n){var r=this;(0,h.Z)(this,e),this.view=t,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");var i=function(e){r.dom.addEventListener(e,(function(r){var i=t.lineBlockAtHeight(r.clientY-t.documentTop);n.domEventHandlers[e](t,i,r)&&r.preventDefault()}))};for(var o in n.domEventHandlers)i(o);this.markers=Li(n.markers(t)),n.initialSpacer&&(this.spacer=new ji(t,0,0,[n.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}return(0,f.Z)(e,[{key:"update",value:function(e){var t=this.markers;if(this.markers=Li(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){var n=this.config.updateSpacer(this.spacer.markers[0],e);n!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[n])}var r=e.view.viewport;return!d.Xs.eq(this.markers,t,r.from,r.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}},{key:"destroy",value:function(){var e,t=(0,c.Z)(this.elements);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(n){t.e(n)}finally{t.f()}}}]),e}(),ji=function(){function e(t,n,r,i){(0,h.Z)(this,e),this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,n,r,i)}return(0,f.Z)(e,[{key:"update",value:function(e,t,n,r){this.height!=t&&(this.dom.style.height=(this.height=t)+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),function(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0}(this.markers,r)||this.setMarkers(e,r)}},{key:"setMarkers",value:function(e,t){for(var n="cm-gutterElement",r=this.dom.firstChild,i=0,o=0;;){var a=o,s=i<t.length?t[i++]:null,u=!1;if(s){var l=s.elementClass;l&&(n+=" "+l);for(var c=o;c<this.markers.length;c++)if(this.markers[c].compare(s)){a=c,u=!0;break}}else a=this.markers.length;for(;o<a;){var h=this.markers[o++];if(h.toDOM){h.destroy(r);var f=r.nextSibling;r.remove(),r=f}}if(!s)break;s.toDOM&&(u?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),u&&o++}this.dom.className=n,this.markers=t}},{key:"destroy",value:function(){this.setMarkers(null,[])}}]),e}();var Bi=d.r$.define(),zi=d.r$.define({combine:function(e){return(0,d.BO)(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers:function(e,t){var n=Object.assign({},e),r=function(e){var r=n[e],i=t[e];n[e]=r?function(e,t,n){return r(e,t,n)||i(e,t,n)}:i};for(var i in t)r(i);return n}})}}),Hi=function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;return(0,h.Z)(this,n),(r=t.call(this)).number=e,r}return(0,f.Z)(n,[{key:"eq",value:function(e){return this.number==e.number}},{key:"toDOM",value:function(){return document.createTextNode(this.number)}}]),n}(_i);function Wi(e,t){return e.state.facet(zi).formatNumber(t,e.state)}var Ui=Ri.compute([zi],(function(e){return{class:"cm-lineNumbers",renderEmptyElements:!1,markers:function(e){return e.state.facet(Bi)},lineMarker:function(e,t,n){return n.some((function(e){return e.toDOM}))?null:new Hi(Wi(e,e.state.doc.lineAt(t.from).number))},lineMarkerChange:function(e){return e.startState.facet(zi)!=e.state.facet(zi)},initialSpacer:function(e){return new Hi(Wi(e,Xi(e.state.doc.lines)))},updateSpacer:function(e,t){var n=Wi(t.view,Xi(t.view.state.doc.lines));return n==e.number?e:new Hi(n)},domEventHandlers:e.facet(zi).domEventHandlers}}));function qi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return[zi.of(e),Mi(),Ui]}function Xi(e){for(var t=9;t<e;)t=10*t+9;return t}var Gi=new(function(e){(0,s.Z)(n,e);var t=(0,u.Z)(n);function n(){var e;return(0,h.Z)(this,n),(e=t.apply(this,arguments)).elementClass="cm-activeLineGutter",e}return(0,f.Z)(n)}(_i)),Ji=Qi.compute(["selection"],(function(e){var t,n=[],r=-1,i=(0,c.Z)(e.selection.ranges);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o.empty){var a=e.doc.lineAt(o.head).from;a>r&&(r=a,n.push(Gi.range(a)))}}}catch(s){i.e(s)}finally{i.f()}return d.Xs.of(n)}));function Vi(){return Ji}},1514:function(e,t,n){"use strict";n.d(t,{FE:function(){return Z},Jq:function(){return d},L3:function(){return s},Lj:function(){return m},_b:function(){return L},hr:function(){return M},i9:function(){return I},md:function(){return c},mp:function(){return O},vj:function(){return p}});var r=n(1026),i=n(726),o=n(1976),a=n(2951),s=1024,u=0,l=(0,o.Z)((function e(t,n){(0,a.Z)(this,e),this.from=t,this.to=n})),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.Z)(this,e),this.id=u++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||function(){throw new Error("This node type doesn't define a deserialize function")}}return(0,o.Z)(e,[{key:"add",value:function(e){var t=this;if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=d.match(e)),function(n){var r=e(n);return void 0===r?null:[t,r]}}}]),e}();c.closedBy=new c({deserialize:function(e){return e.split(" ")}}),c.openedBy=new c({deserialize:function(e){return e.split(" ")}}),c.group=new c({deserialize:function(e){return e.split(" ")}}),c.contextHash=new c({perNode:!0}),c.lookAhead=new c({perNode:!0}),c.mounted=new c({perNode:!0});var h=(0,o.Z)((function e(t,n,r){(0,a.Z)(this,e),this.tree=t,this.overlay=n,this.parser=r})),f=Object.create(null),d=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;(0,a.Z)(this,e),this.name=t,this.props=n,this.id=r,this.flags=i}return(0,o.Z)(e,[{key:"prop",value:function(e){return this.props[e.id]}},{key:"isTop",get:function(){return(1&this.flags)>0}},{key:"isSkipped",get:function(){return(2&this.flags)>0}},{key:"isError",get:function(){return(4&this.flags)>0}},{key:"isAnonymous",get:function(){return(8&this.flags)>0}},{key:"is",value:function(e){if("string"==typeof e){if(this.name==e)return!0;var t=this.prop(c.group);return!!t&&t.indexOf(e)>-1}return this.id==e}}],[{key:"define",value:function(t){var n=t.props&&t.props.length?Object.create(null):f,r=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(null==t.name?8:0),o=new e(t.name||"",n,t.id,r);if(t.props){var a,s=(0,i.Z)(t.props);try{for(s.s();!(a=s.n()).done;){var u=a.value;if(Array.isArray(u)||(u=u(o)),u){if(u[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[u[0].id]=u[1]}}}catch(l){s.e(l)}finally{s.f()}}return o}},{key:"match",value:function(e){var t=Object.create(null);for(var n in e){var r,o=(0,i.Z)(n.split(" "));try{for(o.s();!(r=o.n()).done;){var a=r.value;t[a]=e[n]}}catch(s){o.e(s)}finally{o.f()}}return function(e){for(var n=e.prop(c.group),r=-1;r<(n?n.length:0);r++){var i=t[r<0?e.name:n[r]];if(i)return i}}}}]),e}();d.none=new d("",Object.create(null),0,8);var p,m=function(){function e(t){(0,a.Z)(this,e),this.types=t;for(var n=0;n<t.length;n++)if(t[n].id!=n)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}return(0,o.Z)(e,[{key:"extend",value:function(){for(var t=[],n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var a,s=(0,i.Z)(this.types);try{for(s.s();!(a=s.n()).done;){var u,l=a.value,c=null,h=(0,i.Z)(r);try{for(h.s();!(u=h.n()).done;){var f=u.value,p=f(l);p&&(c||(c=Object.assign({},l.props)),c[p[0].id]=p[1])}}catch(m){h.e(m)}finally{h.f()}t.push(c?new d(l.name,c,l.id,l.flags):l)}}catch(m){s.e(m)}finally{s.f()}return new e(t)}}]),e}(),g=new WeakMap,v=new WeakMap;!function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"}(p||(p={}));var O=function(){function e(t,n,o,s,u){if((0,a.Z)(this,e),this.type=t,this.children=n,this.positions=o,this.length=s,this.props=null,u&&u.length){this.props=Object.create(null);var l,c=(0,i.Z)(u);try{for(c.s();!(l=c.n()).done;){var h=(0,r.Z)(l.value,2),f=h[0],d=h[1];this.props["number"==typeof f?f:f.id]=d}}catch(p){c.e(p)}finally{c.f()}}}return(0,o.Z)(e,[{key:"toString",value:function(){var e=this.prop(c.mounted);if(e&&!e.overlay)return e.tree.toString();var t,n="",r=(0,i.Z)(this.children);try{for(r.s();!(t=r.n()).done;){var o=t.value.toString();o&&(n&&(n+=","),n+=o)}}catch(a){r.e(a)}finally{r.f()}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(n.length?"("+n+")":""):n}},{key:"cursor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new _(this.topNode,e)}},{key:"cursorAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=g.get(this)||this.topNode,r=new _(n);return r.moveTo(e,t),g.set(this,r._tree),r}},{key:"topNode",get:function(){return new w(this,0,0,null)}},{key:"resolve",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=T(g.get(this)||this.topNode,e,t,!1);return g.set(this,n),n}},{key:"resolveInner",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=T(v.get(this)||this.topNode,e,t,!0);return v.set(this,n),n}},{key:"iterate",value:function(e){for(var t=e.enter,n=e.leave,r=e.from,i=void 0===r?0:r,o=e.to,a=void 0===o?this.length:o,s=this.cursor((e.mode||0)|p.IncludeAnonymous);;){var u=!1;if(s.from<=a&&s.to>=i&&(s.type.isAnonymous||!1!==t(s))){if(s.firstChild())continue;u=!0}for(;u&&n&&!s.type.isAnonymous&&n(s),!s.nextSibling();){if(!s.parent())return;u=!0}}}},{key:"prop",value:function(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}},{key:"propValues",get:function(){var e=[];if(this.props)for(var t in this.props)e.push([+t,this.props[t]]);return e}},{key:"balance",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.children.length<=8?this:N(d.none,this.children,this.positions,0,this.children.length,0,this.length,(function(n,r,i){return new e(t.type,n,r,i,t.propValues)}),n.makeTree||function(t,n,r){return new e(d.none,t,n,r)})}}],[{key:"build",value:function(e){return P(e)}}]),e}();O.empty=new O(d.none,[],[],0);var y=function(){function e(t,n){(0,a.Z)(this,e),this.buffer=t,this.index=n}return(0,o.Z)(e,[{key:"id",get:function(){return this.buffer[this.index-4]}},{key:"start",get:function(){return this.buffer[this.index-3]}},{key:"end",get:function(){return this.buffer[this.index-2]}},{key:"size",get:function(){return this.buffer[this.index-1]}},{key:"pos",get:function(){return this.index}},{key:"next",value:function(){this.index-=4}},{key:"fork",value:function(){return new e(this.buffer,this.index)}}]),e}(),k=function(){function e(t,n,r){(0,a.Z)(this,e),this.buffer=t,this.length=n,this.set=r}return(0,o.Z)(e,[{key:"type",get:function(){return d.none}},{key:"toString",value:function(){for(var e=[],t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}},{key:"childString",value:function(e){var t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],i=r.name;if(/\W/.test(i)&&!r.isError&&(i=JSON.stringify(i)),n==(e+=4))return i;for(var o=[];e<n;)o.push(this.childString(e)),e=this.buffer[e+3];return i+"("+o.join(",")+")"}},{key:"findChild",value:function(e,t,n,r,i){for(var o=this.buffer,a=-1,s=e;s!=t&&!(b(i,r,o[s+1],o[s+2])&&(a=s,n>0));s=o[s+3]);return a}},{key:"slice",value:function(t,n,r,i){for(var o=this.buffer,a=new Uint16Array(n-t),s=t,u=0;s<n;)a[u++]=o[s++],a[u++]=o[s++]-r,a[u++]=o[s++]-r,a[u++]=o[s++]-t;return new e(a,i-r,this.set)}}]),e}();function b(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function x(e,t){for(var n=e.childBefore(t);n;){var r=n.lastChild;if(!r||r.to!=n.to)break;r.type.isError&&r.from==r.to?(e=n,n=r.prevSibling):n=r}return e}function T(e,t,n,r){for(var i;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){var o=!r&&e instanceof w&&e.index<0?null:e.parent;if(!o)return e;e=o}var a=r?0:p.IgnoreOverlays;if(r)for(var s=e,u=s.parent;u;u=(s=u).parent)s instanceof w&&s.index<0&&(null===(i=u.enter(t,n,a))||void 0===i?void 0:i.from)!=s.from&&(e=u);for(;;){var l=e.enter(t,n,a);if(!l)return e;e=l}}var w=function(){function e(t,n,r,i){(0,a.Z)(this,e),this._tree=t,this.from=n,this.index=r,this._parent=i}return(0,o.Z)(e,[{key:"type",get:function(){return this._tree.type}},{key:"name",get:function(){return this._tree.type.name}},{key:"to",get:function(){return this.from+this._tree.length}},{key:"nextChild",value:function(t,n,r,i){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=this;;){for(var s=a._tree,u=s.children,l=s.positions,h=n>0?u.length:-1;t!=h;t+=n){var f=u[t],d=l[t]+a.from;if(b(i,r,d,d+f.length))if(f instanceof k){if(o&p.ExcludeBuffers)continue;var m=f.findChild(0,f.buffer.length,n,r-d,i);if(m>-1)return new A(new E(a,f,t,d),null,m)}else if(o&p.IncludeAnonymous||!f.type.isAnonymous||Q(f)){var g=void 0;if(!(o&p.IgnoreMounts)&&f.props&&(g=f.prop(c.mounted))&&!g.overlay)return new e(g.tree,d,t,a);var v=new e(f,d,t,a);return o&p.IncludeAnonymous||!v.type.isAnonymous?v:v.nextChild(n<0?f.children.length-1:0,n,r,i)}}if(o&p.IncludeAnonymous||!a.type.isAnonymous)return null;if(t=a.index>=0?a.index+n:n<0?-1:a._parent._tree.children.length,!(a=a._parent))return null}}},{key:"firstChild",get:function(){return this.nextChild(0,1,0,4)}},{key:"lastChild",get:function(){return this.nextChild(this._tree.children.length-1,-1,0,4)}},{key:"childAfter",value:function(e){return this.nextChild(0,1,e,2)}},{key:"childBefore",value:function(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}},{key:"enter",value:function(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(o&p.IgnoreOverlays)&&(r=this._tree.prop(c.mounted))&&r.overlay){var a,s=t-this.from,u=(0,i.Z)(r.overlay);try{for(u.s();!(a=u.n()).done;){var l=a.value,h=l.from,f=l.to;if((n>0?h<=s:h<s)&&(n<0?f>=s:f>s))return new e(r.tree,r.overlay[0].from+this.from,-1,this)}}catch(d){u.e(d)}finally{u.f()}}return this.nextChild(0,1,t,n,o)}},{key:"nextSignificantParent",value:function(){for(var e=this;e.type.isAnonymous&&e._parent;)e=e._parent;return e}},{key:"parent",get:function(){return this._parent?this._parent.nextSignificantParent():null}},{key:"nextSibling",get:function(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}},{key:"prevSibling",get:function(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}},{key:"cursor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new _(this,e)}},{key:"tree",get:function(){return this._tree}},{key:"toTree",value:function(){return this._tree}},{key:"resolve",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return T(this,e,t,!1)}},{key:"resolveInner",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return T(this,e,t,!0)}},{key:"enterUnfinishedNodesBefore",value:function(e){return x(this,e)}},{key:"getChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=S(this,e,t,n);return r.length?r[0]:null}},{key:"getChildren",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return S(this,e,t,n)}},{key:"toString",value:function(){return this._tree.toString()}},{key:"node",get:function(){return this}},{key:"matchContext",value:function(e){return C(this,e)}}]),e}();function S(e,t,n,r){var i=e.cursor(),o=[];if(!i.firstChild())return o;if(null!=n)for(;!i.type.is(n);)if(!i.nextSibling())return o;for(;;){if(null!=r&&i.type.is(r))return o;if(i.type.is(t)&&o.push(i.node),!i.nextSibling())return null==r?o:[]}}function C(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length-1,r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}var E=(0,o.Z)((function e(t,n,r,i){(0,a.Z)(this,e),this.parent=t,this.buffer=n,this.index=r,this.start=i})),A=function(){function e(t,n,r){(0,a.Z)(this,e),this.context=t,this._parent=n,this.index=r,this.type=t.buffer.set.types[t.buffer.buffer[r]]}return(0,o.Z)(e,[{key:"name",get:function(){return this.type.name}},{key:"from",get:function(){return this.context.start+this.context.buffer.buffer[this.index+1]}},{key:"to",get:function(){return this.context.start+this.context.buffer.buffer[this.index+2]}},{key:"child",value:function(t,n,r){var i=this.context.buffer,o=i.findChild(this.index+4,i.buffer[this.index+3],t,n-this.context.start,r);return o<0?null:new e(this.context,this,o)}},{key:"firstChild",get:function(){return this.child(1,0,4)}},{key:"lastChild",get:function(){return this.child(-1,0,4)}},{key:"childAfter",value:function(e){return this.child(1,e,2)}},{key:"childBefore",value:function(e){return this.child(-1,e,-2)}},{key:"enter",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r&p.ExcludeBuffers)return null;var i=this.context.buffer,o=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return o<0?null:new e(this.context,this,o)}},{key:"parent",get:function(){return this._parent||this.context.parent.nextSignificantParent()}},{key:"externalSibling",value:function(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}},{key:"nextSibling",get:function(){var t=this.context.buffer,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new e(this.context,this._parent,n):this.externalSibling(1)}},{key:"prevSibling",get:function(){var t=this.context.buffer,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new e(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}},{key:"cursor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new _(this,e)}},{key:"tree",get:function(){return null}},{key:"toTree",value:function(){var e=[],t=[],n=this.context.buffer,r=this.index+4,i=n.buffer[this.index+3];if(i>r){var o=n.buffer[this.index+1],a=n.buffer[this.index+2];e.push(n.slice(r,i,o,a)),t.push(0)}return new O(this.type,e,t,this.to-this.from)}},{key:"resolve",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return T(this,e,t,!1)}},{key:"resolveInner",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return T(this,e,t,!0)}},{key:"enterUnfinishedNodesBefore",value:function(e){return x(this,e)}},{key:"toString",value:function(){return this.context.buffer.childString(this.index)}},{key:"getChild",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=S(this,e,t,n);return r.length?r[0]:null}},{key:"getChildren",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return S(this,e,t,n)}},{key:"node",get:function(){return this}},{key:"matchContext",value:function(e){return C(this,e)}}]),e}(),_=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if((0,a.Z)(this,e),this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof w)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(var r=t._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=t,this.yieldBuf(t.index)}}return(0,o.Z)(e,[{key:"name",get:function(){return this.type.name}},{key:"yieldNode",value:function(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}},{key:"yieldBuf",value:function(e,t){this.index=e;var n=this.buffer,r=n.start,i=n.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=r+i.buffer[e+1],this.to=r+i.buffer[e+2],!0}},{key:"yield",value:function(e){return!!e&&(e instanceof w?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}},{key:"toString",value:function(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}},{key:"enterChild",value:function(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));var r=this.buffer.buffer,i=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n);return!(i<0)&&(this.stack.push(this.index),this.yieldBuf(i))}},{key:"firstChild",value:function(){return this.enterChild(1,0,4)}},{key:"lastChild",value:function(){return this.enterChild(-1,0,4)}},{key:"childAfter",value:function(e){return this.enterChild(1,e,2)}},{key:"childBefore",value:function(e){return this.enterChild(-1,e,-2)}},{key:"enter",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.mode;return this.buffer?!(n&p.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}},{key:"parent",value:function(){if(!this.buffer)return this.yieldNode(this.mode&p.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());var e=this.mode&p.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}},{key:"sibling",value:function(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));var t=this.buffer.buffer,n=this.stack.length-1;if(e<0){var r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(t.findChild(r,this.index,-1,0,4))}else{var i=t.buffer[this.index+3];if(i<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(i)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}},{key:"nextSibling",value:function(){return this.sibling(1)}},{key:"prevSibling",value:function(){return this.sibling(-1)}},{key:"atLastNode",value:function(e){var t,n,r=this.buffer;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(var i=0;i<this.index;i++)if(r.buffer.buffer[i+3]<this.index)return!1;t=r.index,n=r.parent}else{var o=this._tree;t=o.index,n=o._parent}for(;n;t=(a=n).index,n=a._parent,a){var a;if(t>-1)for(var s=t+e,u=e<0?-1:n._tree.children.length;s!=u;s+=e){var l=n._tree.children[s];if(this.mode&p.IncludeAnonymous||l instanceof k||!l.type.isAnonymous||Q(l))return!1}}return!0}},{key:"move",value:function(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}},{key:"next",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.move(1,e)}},{key:"prev",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.move(-1,e)}},{key:"moveTo",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}},{key:"node",get:function(){if(!this.buffer)return this._tree;var e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(var r=this.index,i=this.stack.length;i>=0;){for(var o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,n=i+1;break e}r=this.stack[--i]}for(var a=n;a<this.stack.length;a++)t=new A(this.buffer,t,this.stack[a]);return this.bufferNode=new A(this.buffer,t,this.index)}},{key:"tree",get:function(){return this.buffer?null:this._tree._tree}},{key:"iterate",value:function(e,t){for(var n=0;;){var r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}this.type.isAnonymous||(r=!0)}for(;r&&t&&t(this),r=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,r=!0}}}},{key:"matchContext",value:function(e){if(!this.buffer)return C(this.node,e);for(var t=this.buffer.buffer,n=t.set.types,r=e.length-1,i=this.stack.length-1;r>=0;i--){if(i<0)return C(this.node,e,r);var o=n[t.buffer[this.stack[i]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}]),e}();function Q(e){return e.children.some((function(e){return e instanceof k||!e.type.isAnonymous||Q(e)}))}function P(e){var t,n=e.buffer,r=e.nodeSet,i=e.maxBufferLength,o=void 0===i?s:i,a=e.reused,u=void 0===a?[]:a,l=e.minRepeatType,h=void 0===l?r.types.length:l,f=Array.isArray(n)?new y(n,n.length):n,d=r.types,p=0,m=0;function g(e,t,n,i,a){for(var s=f.id,l=f.start,y=f.end,T=f.size,w=m;T<0;){if(f.next(),-1==T){var S=u[s];return n.push(S),void i.push(l-e)}if(-3==T)return void(p=s);if(-4==T)return void(m=s);throw new RangeError("Unrecognized record size: ".concat(T))}var C,E,A=d[s],_=l-e;if(y-l<=o&&(E=function(e,t){var n=f.fork(),r=0,i=0,a=0,s=n.end-o,u={size:0,start:0,skip:0};e:for(var l=n.pos-e;n.pos>l;){var c=n.size;if(n.id==t&&c>=0)u.size=r,u.start=i,u.skip=a,a+=4,r+=4,n.next();else{var d=n.pos-c;if(c<0||d<l||n.start<s)break;var p=n.id>=h?4:0,m=n.start;for(n.next();n.pos>d;){if(n.size<0){if(-3!=n.size)break e;p+=4}else n.id>=h&&(p+=4);n.next()}i=m,r+=c,a+=p}}(t<0||r==e)&&(u.size=r,u.start=i,u.skip=a);return u.size>4?u:void 0}(f.pos-t,a))){for(var Q=new Uint16Array(E.size-E.skip),P=f.pos-E.size,R=Q.length;f.pos>P;)R=x(E.start,Q,R);C=new k(Q,y-E.start,r),_=E.start-e}else{var D=f.pos-T;f.next();for(var M=[],I=[],L=s>=h?s:-1,F=0,Z=y;f.pos>D;)L>=0&&f.id==L&&f.size>=0?(f.end<=Z-o&&(v(M,I,l,F,f.end,Z,L,w),F=M.length,Z=f.end),f.next()):g(l,D,M,I,L);if(L>=0&&F>0&&F<M.length&&v(M,I,l,F,l,Z,L,w),M.reverse(),I.reverse(),L>-1&&F>0){var $=function(e){return function(t,n,r){var i,o,a=0,s=t.length-1;if(s>=0&&(i=t[s])instanceof O){if(!s&&i.type==e&&i.length==r)return i;(o=i.prop(c.lookAhead))&&(a=n[s]+i.length+o)}return b(e,t,n,r,a)}}(A);C=N(A,M,I,0,M.length,0,y-l,$,$)}else C=b(A,M,I,y-l,w-y)}n.push(C),i.push(_)}function v(e,t,n,i,o,a,s,u){for(var l=[],c=[];e.length>i;)l.push(e.pop()),c.push(t.pop()+n-o);e.push(b(r.types[s],l,c,a-o,u-a)),t.push(o-n)}function b(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5?arguments[5]:void 0;if(p){var a=[c.contextHash,p];o=o?[a].concat(o):[a]}if(i>25){var s=[c.lookAhead,i];o=o?[s].concat(o):[s]}return new O(e,t,n,r,o)}function x(e,t,n){var r=f.id,i=f.start,o=f.end,a=f.size;if(f.next(),a>=0&&r<h){var s=n;if(a>4)for(var u=f.pos-(a-4);f.pos>u;)n=x(e,t,n);t[--n]=s,t[--n]=o-e,t[--n]=i-e,t[--n]=r}else-3==a?p=r:-4==a&&(m=r);return n}for(var T=[],w=[];f.pos>0;)g(e.start||0,e.bufferStart||0,T,w,-1);var S=null!==(t=e.length)&&void 0!==t?t:T.length?w[0]+T[0].length:0;return new O(d[e.topID],T.reverse(),w.reverse(),S)}var R=new WeakMap;function D(e,t){if(!e.isAnonymous||t instanceof k||t.type!=e)return 1;var n=R.get(t);if(null==n){n=1;var r,o=(0,i.Z)(t.children);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.type!=e||!(a instanceof O)){n=1;break}n+=D(e,a)}}catch(s){o.e(s)}finally{o.f()}R.set(t,n)}return n}function N(e,t,n,r,i,o,a,s,u){for(var l=0,c=r;c<i;c++)l+=D(e,t[c]);var h=Math.ceil(1.5*l/8),f=[],d=[];return function t(n,r,i,a,s){for(var l=i;l<a;){var c=l,p=r[l],m=D(e,n[l]);for(l++;l<a;l++){var g=D(e,n[l]);if(m+g>=h)break;m+=g}if(l==c+1){if(m>h){var v=n[c];t(v.children,v.positions,0,v.children.length,r[c]+s);continue}f.push(n[c])}else{var O=r[l-1]+n[l-1].length-p;f.push(N(e,n,r,c,l,p,O,null,u))}d.push(p+s-o)}}(t,n,r,i,0),(s||u)(f,d,a)}var M=function(){function e(){(0,a.Z)(this,e),this.map=new WeakMap}return(0,o.Z)(e,[{key:"setBuffer",value:function(e,t,n){var r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}},{key:"getBuffer",value:function(e,t){var n=this.map.get(e);return n&&n.get(t)}},{key:"set",value:function(e,t){e instanceof A?this.setBuffer(e.context.buffer,e.index,t):e instanceof w&&this.map.set(e.tree,t)}},{key:"get",value:function(e){return e instanceof A?this.getBuffer(e.context.buffer,e.index):e instanceof w?this.map.get(e.tree):void 0}},{key:"cursorSet",value:function(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}},{key:"cursorGet",value:function(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}]),e}(),I=function(){function e(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5];(0,a.Z)(this,e),this.from=t,this.to=n,this.tree=r,this.offset=i,this.open=(o?1:0)|(s?2:0)}return(0,o.Z)(e,[{key:"openStart",get:function(){return(1&this.open)>0}},{key:"openEnd",get:function(){return(2&this.open)>0}}],[{key:"addTree",value:function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=[new e(0,t.length,t,0,!1,o)],s=(0,i.Z)(r);try{for(s.s();!(n=s.n()).done;){var u=n.value;u.to>t.length&&a.push(u)}}catch(l){s.e(l)}finally{s.f()}return a}},{key:"applyChanges",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:128;if(!n.length)return t;for(var i=[],o=1,a=t.length?t[0]:null,s=0,u=0,l=0;;s++){var c=s<n.length?n[s]:null,h=c?c.fromA:1e9;if(h-u>=r)for(;a&&a.from<h;){var f=a;if(u>=f.from||h<=f.to||l){var d=Math.max(f.from,u)-l,p=Math.min(f.to,h)-l;f=d>=p?null:new e(d,p,f.tree,f.offset+l,s>0,!!c)}if(f&&i.push(f),a.to>h)break;a=o<t.length?t[o++]:null}if(!c)break;u=c.toA,l=c.toA-c.toB}return i}}]),e}(),L=function(){function e(){(0,a.Z)(this,e)}return(0,o.Z)(e,[{key:"startParse",value:function(e,t,n){return"string"==typeof e&&(e=new F(e)),n=n?n.length?n.map((function(e){return new l(e.from,e.to)})):[new l(0,0)]:[new l(0,e.length)],this.createParse(e,t||[],n)}},{key:"parse",value:function(e,t,n){for(var r=this.startParse(e,t,n);;){var i=r.advance();if(i)return i}}}]),e}(),F=function(){function e(t){(0,a.Z)(this,e),this.string=t}return(0,o.Z)(e,[{key:"length",get:function(){return this.string.length}},{key:"chunk",value:function(e){return this.string.slice(e)}},{key:"lineChunks",get:function(){return!1}},{key:"read",value:function(e,t){return this.string.slice(e,t)}}]),e}();function Z(e){return function(t,n,r,i){return new z(t,e,n,r,i)}}var $=(0,o.Z)((function e(t,n,r,i,o){(0,a.Z)(this,e),this.parser=t,this.parse=n,this.overlay=r,this.target=i,this.ranges=o})),j=(0,o.Z)((function e(t,n,r,i,o,s,u){(0,a.Z)(this,e),this.parser=t,this.predicate=n,this.mounts=r,this.index=i,this.start=o,this.target=s,this.prev=u,this.depth=0,this.ranges=[]})),B=new c({perNode:!0}),z=function(){function e(t,n,r,i,o){(0,a.Z)(this,e),this.nest=n,this.input=r,this.fragments=i,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}return(0,o.Z)(e,[{key:"advance",value:function(){if(this.baseParse){var e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt){var t,n=(0,i.Z)(this.inner);try{for(n.s();!(t=n.n()).done;){t.value.parse.stopAt(this.stoppedAt)}}catch(u){n.e(u)}finally{n.f()}}}if(this.innerDone==this.inner.length){var r=this.baseTree;return null!=this.stoppedAt&&(r=new O(r.type,r.children,r.positions,r.length,r.propValues.concat([[B,this.stoppedAt]]))),r}var o=this.inner[this.innerDone],a=o.parse.advance();if(a){this.innerDone++;var s=Object.assign(Object.create(null),o.target.props);s[c.mounted.id]=new h(a,o.overlay,o.parser),o.target.props=s}return null}},{key:"parsedPos",get:function(){if(this.baseParse)return 0;for(var e=this.input.length,t=this.innerDone;t<this.inner.length;t++)this.inner[t].ranges[0].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}},{key:"stopAt",value:function(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(var t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}},{key:"startInner",value:function(){var e=new X(this.fragments),t=null,n=null,r=new _(new w(this.baseTree,this.ranges[0].from,0,null),p.IncludeAnonymous|p.IgnoreMounts);e:for(var o,a;null==this.stoppedAt||r.from<this.stoppedAt;){var s=!0,u=void 0;if(e.hasNode(r)){if(t){var c=t.mounts.find((function(e){return e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay}));if(c){var h,f=(0,i.Z)(c.mount.overlay);try{var d=function(){var e=h.value,n=e.from+c.pos,i=e.to+c.pos;n>=r.from&&i<=r.to&&!t.ranges.some((function(e){return e.from<i&&e.to>n}))&&t.ranges.push({from:n,to:i})};for(f.s();!(h=f.n()).done;)d()}catch(O){f.e(O)}finally{f.f()}}}s=!1}else if(n&&(a=H(n.ranges,r.from,r.to)))s=2!=a;else if(!r.type.isAnonymous&&r.from<r.to&&(o=this.nest(r,this.input))){r.tree||U(r);var m=e.findMounts(r.from,o.parser);if("function"==typeof o.overlay)t=new j(o.parser,o.overlay,m,this.inner.length,r.from,r.tree,t);else{var g=G(this.ranges,o.overlay||[new l(r.from,r.to)]);g.length&&this.inner.push(new $(o.parser,o.parser.startParse(this.input,J(m,g),g),o.overlay?o.overlay.map((function(e){return new l(e.from-r.from,e.to-r.from)})):null,r.tree,g)),o.overlay?g.length&&(n={ranges:g,depth:0,prev:n}):s=!1}}else t&&(u=t.predicate(r))&&(!0===u&&(u=new l(r.from,r.to)),u.from<u.to&&t.ranges.push(u));if(s&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(t&&!--t.depth){var v=G(this.ranges,t.ranges);v.length&&this.inner.splice(t.index,0,new $(t.parser,t.parser.startParse(this.input,J(t.mounts,v),v),t.ranges.map((function(e){return new l(e.from-t.start,e.to-t.start)})),t.target,v)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}]),e}();function H(e,t,n){var r,o=(0,i.Z)(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a.from>=n)break;if(a.to>t)return a.from<=t&&a.to>=n?2:1}}catch(s){o.e(s)}finally{o.f()}return 0}function W(e,t,n,r,i,o){if(t<n){var a=e.buffer[t+1],s=e.buffer[n-2];r.push(e.slice(t,n,a,s)),i.push(a-o)}}function U(e){var t=e.node,n=0;do{e.parent(),n++}while(!e.tree);for(var r=0,i=e.tree,o=0;!((o=i.positions[r]+e.from)<=t.from&&o+i.children[r].length>=t.to);r++);var a=i.children[r],s=a.buffer;i.children[r]=function e(n,r,i,u,l){for(var c=n;s[c+2]+o<=t.from;)c=s[c+3];var h=[],f=[];W(a,n,c,h,f,u);var d=s[c+1],p=s[c+2],m=d+o==t.from&&p+o==t.to&&s[c]==t.type.id;return h.push(m?t.toTree():e(c+4,s[c+3],a.set.types[s[c]],d,p-d)),f.push(d-u),W(a,s[c+3],r,h,f,u),new O(i,h,f,l)}(0,s.length,d.none,0,a.length);for(var u=0;u<=n;u++)e.childAfter(t.from)}var q=function(){function e(t,n){(0,a.Z)(this,e),this.offset=n,this.done=!1,this.cursor=t.cursor(p.IncludeAnonymous|p.IgnoreMounts)}return(0,o.Z)(e,[{key:"moveTo",value:function(e){for(var t=this.cursor,n=e-this.offset;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,p.IgnoreOverlays|p.ExcludeBuffers)||t.next(!1)||(this.done=!0)}},{key:"hasNode",value:function(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(var t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof O))break;t=t.children[0]}return!1}}]),e}(),X=function(){function e(t){var n;if((0,a.Z)(this,e),this.fragments=t,this.curTo=0,this.fragI=0,t.length){var r=this.curFrag=t[0];this.curTo=null!==(n=r.tree.prop(B))&&void 0!==n?n:r.to,this.inner=new q(r.tree,-r.offset)}else this.curFrag=this.inner=null}return(0,o.Z)(e,[{key:"hasNode",value:function(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}},{key:"nextFrag",value:function(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{var t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(B))&&void 0!==e?e:t.to,this.inner=new q(t.tree,-t.offset)}}},{key:"findMounts",value:function(e,t){var n,r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(var i=this.inner.cursor.node;i;i=i.parent){var o=null===(n=i.tree)||void 0===n?void 0:n.prop(c.mounted);if(o&&o.parser==t)for(var a=this.fragI;a<this.fragments.length;a++){var s=this.fragments[a];if(s.from>=i.to)break;s.tree==this.curFrag.tree&&r.push({frag:s,pos:i.from-s.offset,mount:o})}}}return r}}]),e}();function G(e,t){for(var n=null,r=t,i=1,o=0;i<e.length;i++)for(var a=e[i-1].to,s=e[i].from;o<r.length;o++){var u=r[o];if(u.from>=s)break;u.to<=a||(n||(r=n=t.slice()),u.from<a?(n[o]=new l(u.from,a),u.to>s&&n.splice(o+1,0,new l(s,u.to))):u.to>s?n[o--]=new l(s,u.to):n.splice(o--,1))}return r}function J(e,t){var n,r=[],o=(0,i.Z)(e);try{var a=function(){var e=n.value,i=e.pos,o=e.mount,a=e.frag,s=i+(o.overlay?o.overlay[0].from:0),u=s+o.tree.length,c=Math.max(a.from,s),h=Math.min(a.to,u);if(o.overlay)for(var f=o.overlay.map((function(e){return new l(e.from+i,e.to+i)})),d=function(e,t,n,r){for(var i=0,o=0,a=!1,s=!1,u=-1e9,c=[];;){var h=i==e.length?1e9:a?e[i].to:e[i].from,f=o==t.length?1e9:s?t[o].to:t[o].from;if(a!=s){var d=Math.max(u,n),p=Math.min(h,f,r);d<p&&c.push(new l(d,p))}if(1e9==(u=Math.min(h,f)))break;h==u&&(a?(a=!1,i++):a=!0),f==u&&(s?(s=!1,o++):s=!0)}return c}(t,f,c,h),p=0,m=c;;p++){var g=p==d.length,v=g?h:d[p].from;if(v>m&&r.push(new I(m,v,o.tree,-s,a.from>=m||a.openStart,a.to<=v||a.openEnd)),g)break;m=d[p].to}else r.push(new I(c,h,o.tree,-s,a.from>=s||a.openStart,a.to<=u||a.openEnd))};for(o.s();!(n=o.n()).done;)a()}catch(s){o.e(s)}finally{o.f()}return r}},2029:function(e,t,n){"use strict";n.d(t,{Gv:function(){return f},QR:function(){return m},Vp:function(){return u},bW:function(){return v},pJ:function(){return N}});var r=n(726),i=n(2951),o=n(1976),a=n(1514),s=0,u=function(){function e(t,n,r){(0,i.Z)(this,e),this.set=t,this.base=n,this.modified=r,this.id=s++}return(0,o.Z)(e,null,[{key:"define",value:function(t){if(null===t||void 0===t?void 0:t.base)throw new Error("Can not derive from a modified tag");var n=new e([],null,[]);if(n.set.push(n),t){var i,o=(0,r.Z)(t.set);try{for(o.s();!(i=o.n()).done;){var a=i.value;n.set.push(a)}}catch(s){o.e(s)}finally{o.f()}}return n}},{key:"defineModifier",value:function(){var e=new c;return function(t){return t.modified.indexOf(e)>-1?t:c.get(t.base||t,t.modified.concat(e).sort((function(e,t){return e.id-t.id})))}}}]),e}(),l=0,c=function(){function e(){(0,i.Z)(this,e),this.instances=[],this.id=l++}return(0,o.Z)(e,null,[{key:"get",value:function(t,n){if(!n.length)return t;var i=n[0].instances.find((function(e){return e.base==t&&(r=n,i=e.modified,r.length==i.length&&r.every((function(e,t){return e==i[t]})));var r,i}));if(i)return i;var o,a=[],s=new u(a,t,n),l=(0,r.Z)(n);try{for(l.s();!(o=l.n()).done;){o.value.instances.push(s)}}catch(O){l.e(O)}finally{l.f()}var c,f=h(n),d=(0,r.Z)(t.set);try{for(d.s();!(c=d.n()).done;){var p,m=c.value,g=(0,r.Z)(f);try{for(g.s();!(p=g.n()).done;){var v=p.value;a.push(e.get(m,v))}}catch(O){g.e(O)}finally{g.f()}}}catch(O){d.e(O)}finally{d.f()}return s}}]),e}();function h(e){for(var t=[e],n=0;n<e.length;n++){var i,o=(0,r.Z)(h(e.slice(0,n).concat(e.slice(n+1))));try{for(o.s();!(i=o.n()).done;){var a=i.value;t.push(a)}}catch(s){o.e(s)}finally{o.f()}}return t}function f(e){var t=Object.create(null);for(var n in e){var i=e[n];Array.isArray(i)||(i=[i]);var o,a=(0,r.Z)(n.split(" "));try{for(a.s();!(o=a.n()).done;){var s=o.value;if(s){for(var u=[],l=2,c=s,h=0;;){if("..."==c&&h>0&&h+3==s.length){l=1;break}var f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(c);if(!f)throw new RangeError("Invalid path: "+s);if(u.push("*"==f[0]?"":'"'==f[0][0]?JSON.parse(f[0]):f[0]),(h+=f[0].length)==s.length)break;var m=s[h++];if(h==s.length&&"!"==m){l=0;break}if("/"!=m)throw new RangeError("Invalid path: "+s);c=s.slice(h)}var g=u.length-1,v=u[g];if(!v)throw new RangeError("Invalid path: "+s);var O=new p(i,l,g>0?u.slice(0,g):null);t[v]=O.sort(t[v])}}}catch(y){a.e(y)}finally{a.f()}}return d.add(t)}var d=new a.md,p=function(){function e(t,n,r,o){(0,i.Z)(this,e),this.tags=t,this.mode=n,this.context=r,this.next=o}return(0,o.Z)(e,[{key:"sort",value:function(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}},{key:"depth",get:function(){return this.context?this.context.length:0}}]),e}();function m(e,t){var n,i=Object.create(null),o=(0,r.Z)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(Array.isArray(a.tag)){var s,u=(0,r.Z)(a.tag);try{for(u.s();!(s=u.n()).done;){var l=s.value;i[l.id]=a.class}}catch(p){u.e(p)}finally{u.f()}}else i[a.tag.id]=a.class}}catch(p){o.e(p)}finally{o.f()}var c=t||{},h=c.scope,f=c.all,d=void 0===f?null:f;return{style:function(e){var t,n=d,o=(0,r.Z)(e);try{for(o.s();!(t=o.n()).done;){var a,s=t.value,u=(0,r.Z)(s.set);try{for(u.s();!(a=u.n()).done;){var l=a.value,c=i[l.id];if(c){n=n?n+" "+c:c;break}}}catch(p){u.e(p)}finally{u.f()}}}catch(p){o.e(p)}finally{o.f()}return n},scope:h}}function g(e,t){var n,i=null,o=(0,r.Z)(e);try{for(o.s();!(n=o.n()).done;){var a=n.value.style(t);a&&(i=i?i+" "+a:a)}}catch(s){o.e(s)}finally{o.f()}return i}function v(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:e.length,o=new O(r,Array.isArray(t)?t:[t],n);o.highlightRange(e.cursor(),r,i,"",o.highlighters),o.flush(i)}var O=function(){function e(t,n,r){(0,i.Z)(this,e),this.at=t,this.highlighters=n,this.span=r,this.class=""}return(0,o.Z)(e,[{key:"startSpan",value:function(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}},{key:"flush",value:function(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}},{key:"highlightRange",value:function(e,t,n,r,i){var o=e.type,s=e.from,u=e.to;if(!(s>=n||u<=t)){o.isTop&&(i=this.highlighters.filter((function(e){return!e.scope||e.scope(o)})));for(var l=r,c=o.prop(d),h=!1;c;){if(!c.context||e.matchContext(c.context)){var f=g(i,c.tags);f&&(l&&(l+=" "),l+=f,1==c.mode?r+=(r?" ":"")+f:0==c.mode&&(h=!0));break}c=c.next}if(this.startSpan(e.from,l),!h){var p=e.tree&&e.tree.prop(a.md.mounted);if(p&&p.overlay){for(var m=e.node.enter(p.overlay[0].from+s,1),v=this.highlighters.filter((function(e){return!e.scope||e.scope(p.tree.type)})),O=e.firstChild(),y=0,k=s;;y++){var b=y<p.overlay.length?p.overlay[y]:null,x=b?b.from+s:u,T=Math.max(t,k),w=Math.min(n,x);if(T<w&&O)for(;e.from<w&&(this.highlightRange(e,T,w,r,i),this.startSpan(Math.min(n,e.to),l),!(e.to>=x)&&e.nextSibling()););if(!b||x>n)break;(k=b.to+s)>t&&(this.highlightRange(m.cursor(),Math.max(t,b.from+s),Math.min(n,k),r,v),this.startSpan(k,l))}O&&e.parent()}else if(e.firstChild()){do{if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,r,i),this.startSpan(Math.min(n,e.to),l)}}while(e.nextSibling());e.parent()}}}}}]),e}(),y=u.define,k=y(),b=y(),x=y(b),T=y(b),w=y(),S=y(w),C=y(w),E=y(),A=y(E),_=y(),Q=y(),P=y(),R=y(P),D=y(),N={comment:k,lineComment:y(k),blockComment:y(k),docComment:y(k),name:b,variableName:y(b),typeName:x,tagName:y(x),propertyName:T,attributeName:y(T),className:y(b),labelName:y(b),namespace:y(b),macroName:y(b),literal:w,string:S,docString:y(S),character:y(S),attributeValue:y(S),number:C,integer:y(C),float:y(C),bool:y(w),regexp:y(w),escape:y(w),color:y(w),url:y(w),keyword:_,self:y(_),null:y(_),atom:y(_),unit:y(_),modifier:y(_),operatorKeyword:y(_),controlKeyword:y(_),definitionKeyword:y(_),moduleKeyword:y(_),operator:Q,derefOperator:y(Q),arithmeticOperator:y(Q),logicOperator:y(Q),bitwiseOperator:y(Q),compareOperator:y(Q),updateOperator:y(Q),definitionOperator:y(Q),typeOperator:y(Q),controlOperator:y(Q),punctuation:P,separator:y(P),bracket:R,angleBracket:y(R),squareBracket:y(R),paren:y(R),brace:y(R),content:E,heading:A,heading1:y(A),heading2:y(A),heading3:y(A),heading4:y(A),heading5:y(A),heading6:y(A),contentSeparator:y(E),list:y(E),quote:y(E),emphasis:y(E),strong:y(E),link:y(E),monospace:y(E),strikethrough:y(E),inserted:y(),deleted:y(),changed:y(),invalid:y(),meta:D,documentMeta:y(D),annotation:y(D),processingInstruction:y(D),definition:u.defineModifier(),constant:u.defineModifier(),function:u.defineModifier(),standard:u.defineModifier(),local:u.defineModifier(),special:u.defineModifier()};m([{tag:N.link,class:"tok-link"},{tag:N.heading,class:"tok-heading"},{tag:N.emphasis,class:"tok-emphasis"},{tag:N.strong,class:"tok-strong"},{tag:N.keyword,class:"tok-keyword"},{tag:N.atom,class:"tok-atom"},{tag:N.bool,class:"tok-bool"},{tag:N.url,class:"tok-url"},{tag:N.labelName,class:"tok-labelName"},{tag:N.inserted,class:"tok-inserted"},{tag:N.deleted,class:"tok-deleted"},{tag:N.literal,class:"tok-literal"},{tag:N.string,class:"tok-string"},{tag:N.number,class:"tok-number"},{tag:[N.regexp,N.escape,N.special(N.string)],class:"tok-string2"},{tag:N.variableName,class:"tok-variableName"},{tag:N.local(N.variableName),class:"tok-variableName tok-local"},{tag:N.definition(N.variableName),class:"tok-variableName tok-definition"},{tag:N.special(N.variableName),class:"tok-variableName2"},{tag:N.definition(N.propertyName),class:"tok-propertyName tok-definition"},{tag:N.typeName,class:"tok-typeName"},{tag:N.namespace,class:"tok-namespace"},{tag:N.className,class:"tok-className"},{tag:N.macroName,class:"tok-macroName"},{tag:N.propertyName,class:"tok-propertyName"},{tag:N.operator,class:"tok-operator"},{tag:N.comment,class:"tok-comment"},{tag:N.meta,class:"tok-meta"},{tag:N.invalid,class:"tok-invalid"},{tag:N.punctuation,class:"tok-punctuation"}])},8445:function(e,t,n){"use strict";n.d(t,{IK:function(){return R},Jq:function(){return y},WQ:function(){return D}});var r,i=n(649),o=n(7591),a=n(9616),s=n(726),u=n(2951),l=n(1976),c=n(1514),h=function(){function e(t,n,r,i,o,a,s,l,c){var h=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,f=arguments.length>10?arguments[10]:void 0;(0,u.Z)(this,e),this.p=t,this.stack=n,this.state=r,this.reducePos=i,this.pos=o,this.score=a,this.buffer=s,this.bufferBase=l,this.curContext=c,this.lookAhead=h,this.parent=f}return(0,l.Z)(e,[{key:"toString",value:function(){return"[".concat(this.stack.filter((function(e,t){return t%3==0})).concat(this.state),"]@").concat(this.pos).concat(this.score?"!"+this.score:"")}},{key:"context",get:function(){return this.curContext?this.curContext.context:null}},{key:"pushState",value:function(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}},{key:"reduce",value:function(e){var t=e>>19,n=65535&e,r=this.p.parser,i=r.dynamicPrecedence(n);if(i&&(this.score+=i),0==t)return this.pushState(r.getGoto(this.state,n,!0),this.reducePos),n<r.minRepeatTerm&&this.storeNode(n,this.reducePos,this.reducePos,4,!0),void this.reduceContext(n,this.reducePos);var o=this.stack.length-3*(t-1)-(262144&e?6:0),a=this.stack[o-2],s=this.stack[o-1],u=this.bufferBase+this.buffer.length-s;if(n<r.minRepeatTerm||131072&e){var l=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(n,a,l,u+4,!0)}if(262144&e)this.state=this.stack[o];else{var c=this.stack[o-3];this.state=r.getGoto(c,n,!0)}for(;this.stack.length>o;)this.stack.pop();this.reduceContext(n,a)}},{key:"storeNode",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:4,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){var o=this,a=this.buffer.length;if(0==a&&o.parent&&(a=o.bufferBase-o.parent.bufferBase,o=o.parent),a>0&&0==o.buffer[a-4]&&o.buffer[a-1]>-1){if(t==n)return;if(o.buffer[a-2]>=t)return void(o.buffer[a-2]=n)}}if(i&&this.pos!=n){var s=this.buffer.length;if(s>0&&0!=this.buffer[s-4])for(;s>0&&this.buffer[s-2]>n;)this.buffer[s]=this.buffer[s-4],this.buffer[s+1]=this.buffer[s-3],this.buffer[s+2]=this.buffer[s-2],this.buffer[s+3]=this.buffer[s-1],s-=4,r>4&&(r-=4);this.buffer[s]=e,this.buffer[s+1]=t,this.buffer[s+2]=n,this.buffer[s+3]=r}else this.buffer.push(e,t,n,r)}},{key:"shift",value:function(e,t,n){var r=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){var i=e,o=this.p.parser;(n>this.pos||t<=o.maxNode)&&(this.pos=n,o.stateFlag(i,1)||(this.reducePos=n)),this.pushState(i,r),this.shiftContext(t,r),t<=o.maxNode&&this.buffer.push(t,r,n,4)}else this.pos=n,this.shiftContext(t,r),t<=this.p.parser.maxNode&&this.buffer.push(t,r,n,4)}},{key:"apply",value:function(e,t,n){65536&e?this.reduce(e):this.shift(e,t,n)}},{key:"useNode",value:function(e,t){var n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);var r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}},{key:"split",value:function(){for(var t=this,n=t.buffer.length;n>0&&t.buffer[n-2]>t.reducePos;)n-=4;for(var r=t.buffer.slice(n),i=t.bufferBase+n;t&&i==t.bufferBase;)t=t.parent;return new e(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}},{key:"recoverByDelete",value:function(e,t){var n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}},{key:"canShift",value:function(e){for(var t=new d(this);;){var n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==(65536&n))return!0;if(0==n)return!1;t.reduce(n)}}},{key:"recoverByInsert",value:function(e){if(this.stack.length>=300)return[];var t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){for(var n,r=[],i=0;i<t.length;i+=2)(n=t[i+1])!=this.state&&this.p.parser.hasAction(n,e)&&r.push(t[i],n);if(this.stack.length<120)for(var o=function(e){var n=t[e+1];r.some((function(e,t){return 1&t&&e==n}))||r.push(t[e],n)},a=0;r.length<8&&a<t.length;a+=2)o(a);t=r}for(var s=[],u=0;u<t.length&&s.length<4;u+=2){var l=t[u+1];if(l!=this.state){var c=this.split();c.pushState(l,this.pos),c.storeNode(0,c.pos,c.pos,4,!0),c.shiftContext(t[u],this.pos),c.score-=200,s.push(c)}}return s}},{key:"forceReduce",value:function(){var e=this.p.parser.stateSlot(this.state,5);if(0==(65536&e))return!1;var t=this.p.parser;if(!t.validAction(this.state,e)){var n=e>>19,r=65535&e,i=this.stack.length-3*n;if(i<0||t.getGoto(this.stack[i],r,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}},{key:"forceAll",value:function(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}},{key:"deadEnd",get:function(){if(3!=this.stack.length)return!1;var e=this.p.parser;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}},{key:"restart",value:function(){this.state=this.stack[0],this.stack.length=0}},{key:"sameState",value:function(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(var t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}},{key:"parser",get:function(){return this.p.parser}},{key:"dialectEnabled",value:function(e){return this.p.parser.dialect.flags[e]}},{key:"shiftContext",value:function(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}},{key:"reduceContext",value:function(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}},{key:"emitContext",value:function(){var e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.reducePos,this.reducePos,-3)}},{key:"emitLookAhead",value:function(){var e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.reducePos,this.reducePos,-4)}},{key:"updateContext",value:function(e){if(e!=this.curContext.context){var t=new f(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}},{key:"setLookAhead",value:function(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}},{key:"close",value:function(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}],[{key:"start",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=t.parser.context;return new e(t,[],n,r,r,0,[],0,i?new f(i,i.start):null,0,null)}}]),e}(),f=(0,l.Z)((function e(t,n){(0,u.Z)(this,e),this.tracker=t,this.context=n,this.hash=t.strict?t.hash(n):0}));!function(e){e[e.Insert=200]="Insert",e[e.Delete=190]="Delete",e[e.Reduce=100]="Reduce",e[e.MaxNext=4]="MaxNext",e[e.MaxInsertStackDepth=300]="MaxInsertStackDepth",e[e.DampenInsertStackDepth=120]="DampenInsertStackDepth"}(r||(r={}));var d=function(){function e(t){(0,u.Z)(this,e),this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}return(0,l.Z)(e,[{key:"reduce",value:function(e){var t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);var r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}]),e}(),p=function(){function e(t,n,r){(0,u.Z)(this,e),this.stack=t,this.pos=n,this.index=r,this.buffer=t.buffer,0==this.index&&this.maybeNext()}return(0,l.Z)(e,[{key:"maybeNext",value:function(){var e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}},{key:"id",get:function(){return this.buffer[this.index-4]}},{key:"start",get:function(){return this.buffer[this.index-3]}},{key:"end",get:function(){return this.buffer[this.index-2]}},{key:"size",get:function(){return this.buffer[this.index-1]}},{key:"next",value:function(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}},{key:"fork",value:function(){return new e(this.stack,this.pos,this.index)}}],[{key:"create",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.bufferBase+t.buffer.length;return new e(t,n,n-t.bufferBase)}}]),e}(),m=(0,l.Z)((function e(){(0,u.Z)(this,e),this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0})),g=new m,v=function(){function e(t,n){(0,u.Z)(this,e),this.input=t,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=g,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}return(0,l.Z)(e,[{key:"resolveOffset",value:function(e,t){for(var n=this.range,r=this.rangeIndex,i=this.pos+e;i<n.from;){if(!r)return null;var o=this.ranges[--r];i-=n.from-o.to,n=o}for(;t<0?i>n.to:i>=n.to;){if(r==this.ranges.length-1)return null;var a=this.ranges[++r];i+=a.from-n.to,n=a}return i}},{key:"clipPos",value:function(e){if(e>=this.range.from&&e<this.range.to)return e;var t,n=(0,s.Z)(this.ranges);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.to>e)return Math.max(e,r.from)}}catch(i){n.e(i)}finally{n.f()}return this.end}},{key:"peek",value:function(e){var t,n,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{var i=this.resolveOffset(e,1);if(null==i)return-1;if((t=i)>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{for(var o=this.rangeIndex,a=this.range;a.to<=t;)a=this.ranges[++o];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>a.to&&(this.chunk2=this.chunk2.slice(0,a.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}},{key:"acceptToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}},{key:"getChunk",value:function(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){var e=this.chunk,t=this.chunkPos;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;var n=this.input.chunk(this.pos),r=this.pos+n.length;this.chunk=r>this.range.to?n.slice(0,this.range.to-this.pos):n,this.chunkPos=this.pos,this.chunkOff=0}}},{key:"readNext",value:function(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}},{key:"advance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}},{key:"setDone",value:function(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}},{key:"reset",value:function(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=g,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}},{key:"read",value:function(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);var n,r="",i=(0,s.Z)(this.ranges);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.from>=t)break;o.to>e&&(r+=this.input.read(Math.max(o.from,e),Math.min(o.to,t)))}}catch(a){i.e(a)}finally{i.f()}return r}}]),e}(),O=function(){function e(t,n){(0,u.Z)(this,e),this.data=t,this.id=n}return(0,l.Z)(e,[{key:"token",value:function(e,t){!function(e,t,n,r){var i=0,o=1<<r,a=n.p.parser,s=a.dialect;e:for(;0!=(o&e[i]);){for(var u=e[i+1],l=i+3;l<u;l+=2)if((e[l+1]&o)>0){var c=e[l];if(s.allows(c)&&(-1==t.token.value||t.token.value==c||a.overrides(c,t.token.value))){t.acceptToken(c);break}}var h=t.next,f=0,d=e[i+2];if(!(t.next<0&&d>f&&65535==e[u+3*d-3])){for(;f<d;){var p=f+d>>1,m=u+p+(p<<1),g=e[m],v=e[m+1];if(h<g)d=p;else{if(!(h>=v)){i=e[m+2],t.advance();continue e}f=p+1}}break}i=e[u+3*d-1]}}(this.data,e,t,this.id)}}]),e}();O.prototype.contextual=O.prototype.fallback=O.prototype.extend=!1;var y=(0,l.Z)((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,u.Z)(this,e),this.token=t,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}));function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Uint16Array;if("string"!=typeof e)return e;for(var n=null,r=0,i=0;r<e.length;){for(var o=0;;){var a=e.charCodeAt(r++),s=!1;if(126==a){o=65535;break}a>=92&&a--,a>=34&&a--;var u=a-32;if(u>=46&&(u-=46,s=!0),o+=u,s)break;o*=46}n?n[i++]=o:n=new t(o)}return n}var b,x="undefined"!=typeof process&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&/\bparse\b/.test({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.LOG),T=null;function w(e,t,n){var r=e.cursor(c.vj.IncludeAnonymous);for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}!function(e){e[e.Margin=25]="Margin"}(b||(b={}));var S,C=function(){function e(t,n){(0,u.Z)(this,e),this.fragments=t,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}return(0,l.Z)(e,[{key:"nextFragment",value:function(){var e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?w(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?w(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}},{key:"nodeAt",value:function(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){var t=this.trees.length-1;if(t<0)return this.nextFragment(),null;var n=this.trees[t],r=this.index[t];if(r!=n.children.length){var i=n.children[r],o=this.start[t]+n.positions[r];if(o>e)return this.nextStart=o,null;if(i instanceof c.mp){if(o==e){if(o<this.safeFrom)return null;var a=o+i.length;if(a<=this.safeTo){var s=i.prop(c.md.lookAhead);if(!s||a+s<this.fragment.to)return i}}this.index[t]++,o+i.length>=Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+i.length}else this.trees.pop(),this.start.pop(),this.index.pop()}}}]),e}(),E=function(){function e(t,n){(0,u.Z)(this,e),this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map((function(e){return new m}))}return(0,l.Z)(e,[{key:"getActions",value:function(e){for(var t=0,n=null,r=e.p.parser,i=r.tokenizers,o=r.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,s=0,u=0;u<i.length;u++)if(0!=(1<<u&o)){var l=i[u],c=this.tokens[u];if((!n||l.fallback)&&((l.contextual||c.start!=e.pos||c.mask!=o||c.context!=a)&&(this.updateCachedToken(c,l,e),c.mask=o,c.context=a),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){var h=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!l.extend&&(n=c,t>h))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),n||e.pos!=this.stream.end||((n=new m).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}},{key:"getMainToken",value:function(e){if(this.mainToken)return this.mainToken;var t=new m,n=e.pos,r=e.p;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}},{key:"updateCachedToken",value:function(e,t,n){var r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){for(var i=n.p.parser,o=0;o<i.specialized.length;o++)if(i.specialized[o]==e.value){var a=i.specializers[o](this.stream.read(e.start,e.end),n);if(a>=0&&n.p.parser.dialect.allows(a>>1)){0==(1&a)?e.value=a>>1:e.extended=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}},{key:"putAction",value:function(e,t,n,r){for(var i=0;i<r;i+=3)if(this.actions[i]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}},{key:"addActions",value:function(e,t,n,r){for(var i=e.state,o=e.p.parser,a=o.data,s=0;s<2;s++)for(var u=o.stateSlot(i,s?2:1);;u+=3){if(65535==a[u]){if(1!=a[u+1]){0==r&&2==a[u+1]&&(r=this.putAction(N(a,u+2),t,n,r));break}u=N(a,u+2)}a[u]==t&&(r=this.putAction(N(a,u+1),t,n,r))}return r}}]),e}();!function(e){e[e.Distance=5]="Distance",e[e.MaxRemainingPerStep=3]="MaxRemainingPerStep",e[e.MinBufferLengthPrune=500]="MinBufferLengthPrune",e[e.ForceReduceLimit=10]="ForceReduceLimit",e[e.CutDepth=15e3]="CutDepth",e[e.CutTo=9e3]="CutTo"}(S||(S={}));var A=function(){function e(t,n,r,i){(0,u.Z)(this,e),this.parser=t,this.input=n,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.stream=new v(n,i),this.tokens=new E(t,this.stream),this.topTerm=t.top[1];var o=i[0].from;this.stacks=[h.start(this,t.top[0],o)],this.fragments=r.length&&this.stream.end-o>4*t.bufferLength?new C(r,t.nodeSet):null}return(0,l.Z)(e,[{key:"parsedPos",get:function(){return this.minStackPos}},{key:"advance",value:function(){for(var e,t,n=this.stacks,r=this.minStackPos,i=this.stacks=[],o=0;o<n.length;o++)for(var a=n[o];;){if(this.tokens.mainToken=null,a.pos>r)i.push(a);else{if(this.advanceStack(a,i,n))continue;e||(e=[],t=[]),e.push(a);var u=this.tokens.getMainToken(a);t.push(u.value,u.end)}break}if(!i.length){var l=e&&function(e){var t,n=null,r=(0,s.Z)(e);try{for(r.s();!(t=r.n()).done;){var i=t.value,o=i.p.stoppedAt;(i.pos==i.p.stream.end||null!=o&&i.pos>o)&&i.p.parser.stateFlag(i.state,2)&&(!n||n.score<i.score)&&(n=i)}}catch(a){r.e(a)}finally{r.f()}return n}(e);if(l)return this.stackToTree(l);if(this.parser.strict)throw x&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&e){var c=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,i);if(c)return this.stackToTree(c.forceAll())}if(this.recovering){var h=1==this.recovering?1:3*this.recovering;if(i.length>h)for(i.sort((function(e,t){return t.score-e.score}));i.length>h;)i.pop();i.some((function(e){return e.reducePos>r}))&&this.recovering--}else if(i.length>1)e:for(var f=0;f<i.length-1;f++)for(var d=i[f],p=f+1;p<i.length;p++){var m=i[p];if(d.sameState(m)||d.buffer.length>500&&m.buffer.length>500){if(!((d.score-m.score||d.buffer.length-m.buffer.length)>0)){i.splice(f--,1);continue e}i.splice(p--,1)}}this.minStackPos=i[0].pos;for(var g=1;g<i.length;g++)i[g].pos<this.minStackPos&&(this.minStackPos=i[g].pos);return null}},{key:"stopAt",value:function(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}},{key:"advanceStack",value:function(e,t,n){var r=e.pos,i=this.parser,o=x?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments)for(var a=e.curContext&&e.curContext.tracker.strict,s=a?e.curContext.hash:0,u=this.fragments.nodeAt(r);u;){var l=this.parser.nodeSet.types[u.type.id]==u.type?i.getGoto(e.state,u.type.id):-1;if(l>-1&&u.length&&(!a||(u.prop(c.md.contextHash)||0)==s))return e.useNode(u,l),x&&console.log(o+this.stackID(e)+" (via reuse of ".concat(i.getName(u.type.id),")")),!0;if(!(u instanceof c.mp)||0==u.children.length||u.positions[0]>0)break;var h=u.children[0];if(!(h instanceof c.mp&&0==u.positions[0]))break;u=h}var f=i.stateSlot(e.state,4);if(f>0)return e.reduce(f),x&&console.log(o+this.stackID(e)+" (via always-reduce ".concat(i.getName(65535&f),")")),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););for(var d=this.tokens.getActions(e),p=0;p<d.length;){var m=d[p++],g=d[p++],v=d[p++],O=p==d.length||!n,y=O?e:e.split();if(y.apply(m,g,v),x&&console.log(o+this.stackID(y)+" (via ".concat(0==(65536&m)?"shift":"reduce of ".concat(i.getName(65535&m))," for ").concat(i.getName(g)," @ ").concat(r).concat(y==e?"":", split",")")),O)return!0;y.pos>r?t.push(y):n.push(y)}return!1}},{key:"advanceFully",value:function(e,t){for(var n=e.pos;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return _(e,t),!0}}},{key:"runRecovery",value:function(e,t,n){for(var r=null,i=!1,o=0;o<e.length;o++){var a=e[o],u=t[o<<1],l=t[1+(o<<1)],c=x?this.stackID(a)+" -> ":"";if(a.deadEnd){if(i)continue;if(i=!0,a.restart(),x&&console.log(c+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))continue}for(var h=a.split(),f=c,d=0;h.forceReduce()&&d<10;d++){if(x&&console.log(f+this.stackID(h)+" (via force-reduce)"),this.advanceFully(h,n))break;x&&(f=this.stackID(h)+" -> ")}var p,m=(0,s.Z)(a.recoverByInsert(u));try{for(m.s();!(p=m.n()).done;){var g=p.value;x&&console.log(c+this.stackID(g)+" (via recover-insert)"),this.advanceFully(g,n)}}catch(v){m.e(v)}finally{m.f()}this.stream.end>a.pos?(l==a.pos&&(l++,u=0),a.recoverByDelete(u,l),x&&console.log(c+this.stackID(a)+" (via recover-delete ".concat(this.parser.getName(u),")")),_(a,n)):(!r||r.score<a.score)&&(r=a)}return r}},{key:"stackToTree",value:function(e){return e.close(),c.mp.build({buffer:p.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}},{key:"stackID",value:function(e){var t=(T||(T=new WeakMap)).get(e);return t||T.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}]),e}();function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}t.push(e)}var Q=function(){function e(t,n,r){(0,u.Z)(this,e),this.source=t,this.flags=n,this.disabled=r}return(0,l.Z)(e,[{key:"allows",value:function(e){return!this.disabled||0==this.disabled[e]}}]),e}(),P=function(e){return e},R=(0,l.Z)((function e(t){(0,u.Z)(this,e),this.start=t.start,this.shift=t.shift||P,this.reduce=t.reduce||P,this.reuse=t.reuse||P,this.hash=t.hash||function(){return 0},this.strict=!1!==t.strict})),D=function(e){(0,o.Z)(n,e);var t=(0,a.Z)(n);function n(e){var r,o;if((0,u.Z)(this,n),(o=t.call(this)).wrappers=[],14!=e.version)throw new RangeError("Parser version (".concat(e.version,") doesn't match runtime version (",14,")"));var a=e.nodeNames.split(" ");o.minRepeatTerm=a.length;for(var l=0;l<e.repeatNodeCount;l++)a.push("");for(var h=Object.keys(e.topRules).map((function(t){return e.topRules[t][1]})),f=[],d=0;d<a.length;d++)f.push([]);function p(e,t,n){f[e].push([t,t.deserialize(String(n))])}if(e.nodeProps){var m,g=(0,s.Z)(e.nodeProps);try{for(g.s();!(m=g.n()).done;){var v=m.value,y=v[0];"string"==typeof y&&(y=c.md[y]);for(var b=1;b<v.length;){var x=v[b++];if(x>=0)p(x,y,v[b++]);else{for(var T=v[b+-x],w=-x;w>0;w--)p(v[b++],y,T);b++}}}}catch(E){g.e(E)}finally{g.f()}}o.nodeSet=new c.Lj(a.map((function(t,n){return c.Jq.define({name:n>=o.minRepeatTerm?void 0:t,id:n,props:f[n],top:h.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1})}))),e.propSources&&(o.nodeSet=(r=o.nodeSet).extend.apply(r,(0,i.Z)(e.propSources))),o.strict=!1,o.bufferLength=c.L3;var S=k(e.tokenData);o.context=e.context,o.specializerSpecs=e.specialized||[],o.specialized=new Uint16Array(o.specializerSpecs.length);for(var C=0;C<o.specializerSpecs.length;C++)o.specialized[C]=o.specializerSpecs[C].term;return o.specializers=o.specializerSpecs.map(I),o.states=k(e.states,Uint32Array),o.data=k(e.stateData),o.goto=k(e.goto),o.maxTerm=e.maxTerm,o.tokenizers=e.tokenizers.map((function(e){return"number"==typeof e?new O(S,e):e})),o.topRules=e.topRules,o.dialects=e.dialects||{},o.dynamicPrecedences=e.dynamicPrecedences||null,o.tokenPrecTable=e.tokenPrec,o.termNames=e.termNames||null,o.maxNode=o.nodeSet.types.length-1,o.dialect=o.parseDialect(),o.top=o.topRules[Object.keys(o.topRules)[0]],o}return(0,l.Z)(n,[{key:"createParse",value:function(e,t,n){var r,i=new A(this,e,t,n),o=(0,s.Z)(this.wrappers);try{for(o.s();!(r=o.n()).done;){i=(0,r.value)(i,e,t,n)}}catch(a){o.e(a)}finally{o.f()}return i}},{key:"getGoto",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.goto;if(t>=r[0])return-1;for(var i=r[t+1];;){var o=r[i++],a=1&o,s=r[i++];if(a&&n)return s;for(var u=i+(o>>1);i<u;i++)if(r[i]==e)return s;if(a)return-1}}},{key:"hasAction",value:function(e,t){for(var n=this.data,r=0;r<2;r++)for(var i,o=this.stateSlot(e,r?2:1);;o+=3){if(65535==(i=n[o])){if(1!=n[o+1]){if(2==n[o+1])return N(n,o+2);break}i=n[o=N(n,o+2)]}if(i==t||0==i)return N(n,o+1)}return 0}},{key:"stateSlot",value:function(e,t){return this.states[6*e+t]}},{key:"stateFlag",value:function(e,t){return(this.stateSlot(e,0)&t)>0}},{key:"validAction",value:function(e,t){if(t==this.stateSlot(e,4))return!0;for(var n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=N(this.data,n+2)}if(t==N(this.data,n+1))return!0}}},{key:"nextStates",value:function(e){for(var t=this,n=[],r=this.stateSlot(e,1);;r+=3){if(65535==this.data[r]){if(1!=this.data[r+1])break;r=N(this.data,r+2)}0==(1&this.data[r+2])&&function(){var e=t.data[r+1];n.some((function(t,n){return 1&n&&t==e}))||n.push(t.data[r],e)}()}return n}},{key:"overrides",value:function(e,t){var n=M(this.data,this.tokenPrecTable,t);return n<0||M(this.data,this.tokenPrecTable,e)<n}},{key:"configure",value:function(e){var t,r=Object.assign(Object.create(n.prototype),this);if(e.props&&(r.nodeSet=(t=this.nodeSet).extend.apply(t,(0,i.Z)(e.props))),e.top){var o=this.topRules[e.top];if(!o)throw new RangeError("Invalid top rule name ".concat(e.top));r.top=o}return e.tokenizers&&(r.tokenizers=this.tokenizers.map((function(t){var n=e.tokenizers.find((function(e){return e.from==t}));return n?n.to:t}))),e.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((function(t,n){var i=e.specializers.find((function(e){return e.from==t.external}));if(!i)return t;var o=Object.assign(Object.assign({},t),{external:i.to});return r.specializers[n]=I(o),o}))),e.contextTracker&&(r.context=e.contextTracker),e.dialect&&(r.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(r.strict=e.strict),e.wrap&&(r.wrappers=r.wrappers.concat(e.wrap)),null!=e.bufferLength&&(r.bufferLength=e.bufferLength),r}},{key:"hasWrappers",value:function(){return this.wrappers.length>0}},{key:"getName",value:function(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}},{key:"eofTerm",get:function(){return this.maxNode+1}},{key:"topNode",get:function(){return this.nodeSet.types[this.top[1]]}},{key:"dynamicPrecedence",value:function(e){var t=this.dynamicPrecedences;return null==t?0:t[e]||0}},{key:"parseDialect",value:function(e){var t=Object.keys(this.dialects),n=t.map((function(){return!1}));if(e){var r,i=(0,s.Z)(e.split(" "));try{for(i.s();!(r=i.n()).done;){var o=r.value,a=t.indexOf(o);a>=0&&(n[a]=!0)}}catch(f){i.e(f)}finally{i.f()}}for(var u=null,l=0;l<t.length;l++)if(!n[l])for(var c,h=this.dialects[t[l]];65535!=(c=this.data[h++]);)(u||(u=new Uint8Array(this.maxTerm+1)))[c]=1;return new Q(e,n,u)}}],[{key:"deserialize",value:function(e){return new n(e)}}]),n}(c._b);function N(e,t){return e[t]|e[t+1]<<16}function M(e,t,n){for(var r,i=t;65535!=(r=e[i]);i++)if(r==n)return i-t;return-1}function I(e){if(e.external){var t=e.extend?1:0;return function(n,r){return e.external(n,r)<<1|t}}return e.get}},7673:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});var r=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"]},194:function(e,t,n){"use strict";function r(e){for(var t,n,r=[],i=String(e||""),o=i.indexOf(","),a=0;!t;)-1===o&&(o=i.length,t=!0),!(n=i.slice(a,o).trim())&&t||r.push(n),a=o+1,o=i.indexOf(",",a);return r}function i(e,t){var n=t||{};return""===e[e.length-1]&&(e=e.concat("")),e.join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{P:function(){return i},Q:function(){return r}})},7347:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=document.createElement("i");function i(e){var t="&"+e+";";r.innerHTML=t;var n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}},1762:function(e,t,n){"use strict";n.d(t,{v:function(){return h}});var r=n(8231),i=n(553),o=/[#.]/g,a=function(e){for(var t,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"div",a=e||"",s={},u=0;u<a.length;)o.lastIndex=u,r=o.exec(a),(t=a.slice(u,r?r.index:a.length))&&(n?"#"===n?s.id=t:Array.isArray(s.className)?s.className.push(t):s.className=[t]:i=t,u+=t.length),r&&(n=r[0],u++);return{type:"element",tagName:i,properties:s,children:[]}},s=n(1361),u=n(194),l=new Set(["menu","submit","reset","button"]),c={}.hasOwnProperty;function h(e,t,n){var r=n&&function(e){var t={},n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n);return function(n,i){for(var o,s,u=-1,l=arguments.length,h=new Array(l>2?l-2:0),m=2;m<l;m++)h[m-2]=arguments[m];if(void 0===n||null===n)o={type:"root",children:[]},h.unshift(i);else if((o=a(n,t)).tagName=o.tagName.toLowerCase(),r&&c.call(r,o.tagName)&&(o.tagName=r[o.tagName]),f(i,o.tagName))for(s in i)c.call(i,s)&&d(e,o.properties,s,i[s]);else h.unshift(i);for(;++u<h.length;)p(o.children,h[u]);return"element"===o.type&&"template"===o.tagName&&(o.content={type:"root",children:o.children},o.children=[]),o}}function f(e,t){return null!==e&&void 0!==e&&"object"===typeof e&&!Array.isArray(e)&&("input"===t||!e.type||"string"!==typeof e.type||(!("children"in e)||!Array.isArray(e.children))&&("button"===t?l.has(e.type.toLowerCase()):!("value"in e)))}function d(e,t,n,i){var o,a=(0,r.s)(e,n),l=-1;if(void 0!==i&&null!==i){if("number"===typeof i){if(Number.isNaN(i))return;o=i}else o="boolean"===typeof i?i:"string"===typeof i?a.spaceSeparated?(0,s.Q)(i):a.commaSeparated?(0,u.Q)(i):a.commaOrSpaceSeparated?(0,s.Q)((0,u.Q)(i).join(" ")):m(a,a.property,i):Array.isArray(i)?i.concat():"style"===a.property?function(e){var t,n=[];for(t in e)c.call(e,t)&&n.push([t,e[t]].join(": "));return n.join("; ")}(i):String(i);if(Array.isArray(o)){for(var h=[];++l<o.length;)h[l]=m(a,a.property,o[l]);o=h}"className"===a.property&&Array.isArray(t.className)&&(o=t.className.concat(o)),t[a.property]=o}}function p(e,t){var n=-1;if(void 0===t||null===t);else if("string"===typeof t||"number"===typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)p(e,t[n]);else{if("object"!==typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?p(e,t.children):e.push(t)}}function m(e,t,n){if("string"===typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||(0,i.F)(n)===(0,i.F)(t)))return!0}return n}},7611:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(1165),i=(0,n(1762).v)(r.dy,"div")},7486:function(e,t,n){"use strict";n.d(t,{L:function(){return h}});var r=n(7673),i={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"};function o(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function a(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function s(e){return function(e){var t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||o(e)}var u=n(7347),l=String.fromCharCode,c=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function h(e){var t,n,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p="string"===typeof h.additional?h.additional.charCodeAt(0):h.additional,m=[],g=0,v=-1,O="";h.position&&("start"in h.position||"indent"in h.position?(n=h.position.indent,t=h.position.start):t=h.position);var y,k=(t?t.line:0)||1,b=(t?t.column:0)||1,x=z();for(g--;++g<=e.length;)if(10===y&&(b=(n?n[v]:0)||1),38===(y=e.charCodeAt(g))){var T=e.charCodeAt(g+1);if(9===T||10===T||12===T||32===T||38===T||60===T||Number.isNaN(T)||p&&T===p){O+=l(y),b++;continue}var w=g+1,S=w,C=w,E=void 0;if(35===T){C=++S;var A=e.charCodeAt(C);88===A||120===A?(E="hexadecimal",C=++S):E="decimal"}else E="named";var _="",Q="",P="",R="named"===E?s:"decimal"===E?o:a;for(C--;++C<=e.length;){var D=e.charCodeAt(C);if(!R(D))break;P+=l(D),"named"===E&&r.K.includes(P)&&(_=P,Q=(0,u.T)(P))}var N=59===e.charCodeAt(C);if(N){C++;var M="named"===E&&(0,u.T)(P);M&&(_=P,Q=M)}var I=1+C-w,L="";if(N||!1!==h.nonTerminated)if(P)if("named"===E){if(N&&!Q)H(5,1);else if(_!==P&&(I=1+(C=S+_.length)-S,N=!1),!N){var F=_?1:3;if(h.attribute){var Z=e.charCodeAt(C);61===Z?(H(F,I),Q=""):s(Z)?Q="":H(F,I)}else H(F,I)}L=Q}else{N||H(2,I);var $=Number.parseInt(P,"hexadecimal"===E?16:10);if(f($))H(7,I),L=l(65533);else if($ in i)H(6,I),L=i[$];else{var j="";d($)&&H(6,I),$>65535&&(j+=l(($-=65536)>>>10|55296),$=56320|1023&$),L=j+l($)}}else"named"!==E&&H(4,I);else;if(L){W(),x=z(),g=C-1,b+=C-w+1,m.push(L);var B=z();B.offset++,h.reference&&h.reference.call(h.referenceContext,L,{start:x,end:B},e.slice(w-1,C)),x=B}else P=e.slice(w-1,C),O+=P,b+=P.length,g=C-1}else 10===y&&(k++,v++,b=0),Number.isNaN(y)?W():(O+=l(y),b++);return m.join("");function z(){return{line:k,column:b,offset:g+((t?t.offset:0)||0)}}function H(e,t){var n;h.warning&&((n=z()).column+=t,n.offset+=t,h.warning.call(h.warningContext,c[e],n,e))}function W(){O&&(m.push(O),h.text&&h.text.call(h.textContext,O,{start:x,end:z()}),O="")}}function f(e){return e>=55296&&e<=57343||e>1114111}function d(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}},1165:function(e,t,n){"use strict";n.d(t,{dy:function(){return k},YP:function(){return b}});var r=n(1976),i=n(2951),o=(0,r.Z)((function e(t,n,r){(0,i.Z)(this,e),this.property=t,this.normal=n,r&&(this.space=r)}));function a(e,t){for(var n={},r={},i=-1;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new o(n,r,t)}o.prototype.property={},o.prototype.normal={},o.prototype.space=null;var s=n(553),u=n(9365),l={}.hasOwnProperty;function c(e){var t,n={},r={};for(t in e.properties)if(l.call(e.properties,t)){var i=e.properties[t],a=new u.I(t,e.transform(e.attributes||{},t),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(a.mustUseProperty=!0),n[t]=a,r[(0,s.F)(t)]=t,r[(0,s.F)(a.attribute)]=t}return new o(n,r,e.space)}var h=c({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),f=c({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function d(e,t){return t in e?e[t]:t}function p(e,t){return d(e,t.toLowerCase())}var m=c({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:p,properties:{xmlns:null,xmlnsXLink:null}}),g=n(3014),v=c({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:g.booleanish,ariaAutoComplete:null,ariaBusy:g.booleanish,ariaChecked:g.booleanish,ariaColCount:g.number,ariaColIndex:g.number,ariaColSpan:g.number,ariaControls:g.spaceSeparated,ariaCurrent:null,ariaDescribedBy:g.spaceSeparated,ariaDetails:null,ariaDisabled:g.booleanish,ariaDropEffect:g.spaceSeparated,ariaErrorMessage:null,ariaExpanded:g.booleanish,ariaFlowTo:g.spaceSeparated,ariaGrabbed:g.booleanish,ariaHasPopup:null,ariaHidden:g.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:g.spaceSeparated,ariaLevel:g.number,ariaLive:null,ariaModal:g.booleanish,ariaMultiLine:g.booleanish,ariaMultiSelectable:g.booleanish,ariaOrientation:null,ariaOwns:g.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:g.number,ariaPressed:g.booleanish,ariaReadOnly:g.booleanish,ariaRelevant:null,ariaRequired:g.booleanish,ariaRoleDescription:g.spaceSeparated,ariaRowCount:g.number,ariaRowIndex:g.number,ariaRowSpan:g.number,ariaSelected:g.booleanish,ariaSetSize:g.number,ariaSort:null,ariaValueMax:g.number,ariaValueMin:g.number,ariaValueNow:g.number,ariaValueText:null,role:null}}),O=c({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:p,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:g.commaSeparated,acceptCharset:g.spaceSeparated,accessKey:g.spaceSeparated,action:null,allow:null,allowFullScreen:g.boolean,allowPaymentRequest:g.boolean,allowUserMedia:g.boolean,alt:null,as:null,async:g.boolean,autoCapitalize:null,autoComplete:g.spaceSeparated,autoFocus:g.boolean,autoPlay:g.boolean,capture:g.boolean,charSet:null,checked:g.boolean,cite:null,className:g.spaceSeparated,cols:g.number,colSpan:null,content:null,contentEditable:g.booleanish,controls:g.boolean,controlsList:g.spaceSeparated,coords:g.number|g.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g.boolean,defer:g.boolean,dir:null,dirName:null,disabled:g.boolean,download:g.overloadedBoolean,draggable:g.booleanish,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g.boolean,formTarget:null,headers:g.spaceSeparated,height:g.number,hidden:g.boolean,high:g.number,href:null,hrefLang:null,htmlFor:g.spaceSeparated,httpEquiv:g.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:g.boolean,itemId:null,itemProp:g.spaceSeparated,itemRef:g.spaceSeparated,itemScope:g.boolean,itemType:g.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g.boolean,low:g.number,manifest:null,max:null,maxLength:g.number,media:null,method:null,min:null,minLength:g.number,multiple:g.boolean,muted:g.boolean,name:null,nonce:null,noModule:g.boolean,noValidate:g.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:g.boolean,optimum:g.number,pattern:null,ping:g.spaceSeparated,placeholder:null,playsInline:g.boolean,poster:null,preload:null,readOnly:g.boolean,referrerPolicy:null,rel:g.spaceSeparated,required:g.boolean,reversed:g.boolean,rows:g.number,rowSpan:g.number,sandbox:g.spaceSeparated,scope:null,scoped:g.boolean,seamless:g.boolean,selected:g.boolean,shape:null,size:g.number,sizes:null,slot:null,span:g.number,spellCheck:g.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:g.number,step:null,style:null,tabIndex:g.number,target:null,title:null,translate:null,type:null,typeMustMatch:g.boolean,useMap:null,value:g.booleanish,width:g.number,wrap:null,align:null,aLink:null,archive:g.spaceSeparated,axis:null,background:null,bgColor:null,border:g.number,borderColor:null,bottomMargin:g.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g.boolean,declare:g.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:g.number,leftMargin:g.number,link:null,longDesc:null,lowSrc:null,marginHeight:g.number,marginWidth:g.number,noResize:g.boolean,noHref:g.boolean,noShade:g.boolean,noWrap:g.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:g.number,rules:null,scheme:null,scrolling:g.booleanish,standby:null,summary:null,text:null,topMargin:g.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:g.number,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g.boolean,disableRemotePlayback:g.boolean,prefix:null,property:null,results:g.number,security:null,unselectable:null}}),y=c({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:d,properties:{about:g.commaOrSpaceSeparated,accentHeight:g.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:g.number,amplitude:g.number,arabicForm:null,ascent:g.number,attributeName:null,attributeType:null,azimuth:g.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:g.number,by:null,calcMode:null,capHeight:g.number,className:g.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:g.number,diffuseConstant:g.number,direction:null,display:null,dur:null,divisor:g.number,dominantBaseline:null,download:g.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:g.number,enableBackground:null,end:null,event:null,exponent:g.number,externalResourcesRequired:null,fill:null,fillOpacity:g.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:g.commaSeparated,g2:g.commaSeparated,glyphName:g.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:g.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:g.number,horizOriginX:g.number,horizOriginY:g.number,id:null,ideographic:g.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:g.number,k:g.number,k1:g.number,k2:g.number,k3:g.number,k4:g.number,kernelMatrix:g.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:g.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:g.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:g.number,overlineThickness:g.number,paintOrder:null,panose1:null,path:null,pathLength:g.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:g.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:g.number,pointsAtY:g.number,pointsAtZ:g.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g.commaOrSpaceSeparated,rev:g.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g.commaOrSpaceSeparated,requiredFeatures:g.commaOrSpaceSeparated,requiredFonts:g.commaOrSpaceSeparated,requiredFormats:g.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:g.number,specularExponent:g.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:g.number,strikethroughThickness:g.number,string:null,stroke:null,strokeDashArray:g.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:g.number,strokeOpacity:g.number,strokeWidth:null,style:null,surfaceScale:g.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g.commaOrSpaceSeparated,tabIndex:g.number,tableValues:null,target:null,targetX:g.number,targetY:g.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g.commaOrSpaceSeparated,to:null,transform:null,u1:null,u2:null,underlinePosition:g.number,underlineThickness:g.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:g.number,values:null,vAlphabetic:g.number,vMathematical:g.number,vectorEffect:null,vHanging:g.number,vIdeographic:g.number,version:null,vertAdvY:g.number,vertOriginX:g.number,vertOriginY:g.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:g.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),k=a([f,h,m,v,O],"html"),b=a([f,h,m,v,y],"svg")},8231:function(e,t,n){"use strict";n.d(t,{s:function(){return l}});var r=n(553),i=n(9365),o=n(8383),a=/^data[-\w.:]+$/i,s=/-[a-z]/g,u=/[A-Z]/g;function l(e,t){var n=(0,r.F)(t),l=t,f=o.k;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&a.test(t)){if("-"===t.charAt(4)){var d=t.slice(5).replace(s,h);l="data"+d.charAt(0).toUpperCase()+d.slice(1)}else{var p=t.slice(4);if(!s.test(p)){var m=p.replace(u,c);"-"!==m.charAt(0)&&(m="-"+m),t="data"+m}}f=i.I}return new f(l,t)}function c(e){return"-"+e.toLowerCase()}function h(e){return e.charAt(1).toUpperCase()}},553:function(e,t,n){"use strict";function r(e){return e.toLowerCase()}n.d(t,{F:function(){return r}})},9365:function(e,t,n){"use strict";n.d(t,{I:function(){return h}});var r=n(1976),i=n(2951),o=n(7169),a=n(7591),s=n(9616),u=n(8383),l=n(3014),c=Object.keys(l),h=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(e,r,a,s){var u;(0,i.Z)(this,n);var h=-1;if(u=t.call(this,e,r),f((0,o.Z)(u),"space",s),"number"===typeof a)for(;++h<c.length;){var d=c[h];f((0,o.Z)(u),c[h],(a&l[d])===l[d])}return u}return(0,r.Z)(n)}(u.k);function f(e,t,n){n&&(e[t]=n)}h.prototype.defined=!0},8383:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(1976),i=n(2951),o=(0,r.Z)((function e(t,n){(0,i.Z)(this,e),this.property=t,this.attribute=n}));o.prototype.space=null,o.prototype.boolean=!1,o.prototype.booleanish=!1,o.prototype.overloadedBoolean=!1,o.prototype.number=!1,o.prototype.commaSeparated=!1,o.prototype.spaceSeparated=!1,o.prototype.commaOrSpaceSeparated=!1,o.prototype.mustUseProperty=!1,o.prototype.defined=!1},3014:function(e,t,n){"use strict";n.r(t),n.d(t,{boolean:function(){return i},booleanish:function(){return o},commaOrSpaceSeparated:function(){return c},commaSeparated:function(){return l},number:function(){return s},overloadedBoolean:function(){return a},spaceSeparated:function(){return u}});var r=0,i=h(),o=h(),a=h(),s=h(),u=h(),l=h(),c=h();function h(){return Math.pow(2,++r)}},1361:function(e,t,n){"use strict";function r(e){var t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{P:function(){return i},Q:function(){return r}})},1445:function(e,t,n){"use strict";n.d(t,{V:function(){return u}});var r=n(2951),i=n(1976),o="undefined"==typeof Symbol?"__\u037c":Symbol.for("\u037c"),a="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{},u=function(){function e(t,n){(0,r.Z)(this,e),this.rules=[];var i=(n||{}).finish;function o(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function a(e,t,n,r){var s=[],u=/^@(\w+)\b/.exec(e[0]),l=u&&"keyframes"==u[1];if(u&&null==t)return n.push(e[0]+";");for(var c in t){var h=t[c];if(/&/.test(c))a(c.split(/,\s*/).map((function(t){return e.map((function(e){return t.replace(/&/,e)}))})).reduce((function(e,t){return e.concat(t)})),h,n);else if(h&&"object"==typeof h){if(!u)throw new RangeError("The value of a property ("+c+") should be a primitive value.");a(o(c),h,s,l)}else null!=h&&s.push(c.replace(/_.*/,"").replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()}))+": "+h+";")}(s.length||l)&&n.push((!i||u||r?e:e.map(i)).join(", ")+" {"+s.join(" ")+"}")}for(var s in t)a(o(s),t[s],this.rules)}return(0,i.Z)(e,[{key:"getRules",value:function(){return this.rules.join("\n")}}],[{key:"newName",value:function(){var e=s[o]||1;return s[o]=e+1,"\u037c"+e.toString(36)}},{key:"mount",value:function(e,t){(e[a]||new c(e)).mount(Array.isArray(t)?t:[t])}}]),e}(),l=null,c=function(){function e(t){if((0,r.Z)(this,e),!t.head&&t.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(l)return t.adoptedStyleSheets=[l.sheet].concat(t.adoptedStyleSheets),t[a]=l;this.sheet=new CSSStyleSheet,t.adoptedStyleSheets=[this.sheet].concat(t.adoptedStyleSheets),l=this}else{this.styleTag=(t.ownerDocument||t).createElement("style");var n=t.head||t;n.insertBefore(this.styleTag,n.firstChild)}this.modules=[],t[a]=this}return(0,i.Z)(e,[{key:"mount",value:function(e){for(var t=this.sheet,n=0,r=0,i=0;i<e.length;i++){var o=e[i],a=this.modules.indexOf(o);if(a<r&&a>-1&&(this.modules.splice(a,1),r--,a=-1),-1==a){if(this.modules.splice(r++,0,o),t)for(var s=0;s<o.rules.length;s++)t.insertRule(o.rules[s],n++)}else{for(;r<a;)n+=this.modules[r++].rules.length;n+=o.rules.length,r++}}if(!t){for(var u="",l=0;l<this.modules.length;l++)u+=this.modules[l].getRules()+"\n";this.styleTag.textContent=u}}}]),e}()}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.m=e,function(){var e=[];n.O=function(t,r,i,o){if(!r){var a=1/0;for(c=0;c<e.length;c++){r=e[c][0],i=e[c][1],o=e[c][2];for(var s=!0,u=0;u<r.length;u++)(!1&o||a>=o)&&Object.keys(n.O).every((function(e){return n.O[e](r[u])}))?r.splice(u--,1):(s=!1,o<a&&(a=o));if(s){e.splice(c--,1);var l=i();void 0!==l&&(t=l)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[r,i,o]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/js/"+e+"."+{58:"7ed7672c",70:"cc2413c6",88:"e680c806",285:"1bb7c62f",294:"33d30221",377:"5b1a0fca",468:"c4df05b0",546:"d84f71b5",606:"5d8a99d1",617:"02078b9b",624:"1fa0ab4a",732:"8c7662d4",903:"54c02de2",1527:"2d53a7f0",1620:"d13adadf",1875:"1eef7723",1950:"c82a63cb",1973:"bb4f073d",2082:"9b924d55",2106:"3b9b0edd",2172:"7527d580",2275:"204734d3",2281:"186bf7a3",2307:"64badddc",2321:"9ae35deb",2340:"f70d4c30",2369:"7987c5c9",2399:"0aacdcf2",2410:"a833f09f",2473:"a025142c",2489:"4c04b8b8",2534:"855c1d89",2804:"ea400915",3030:"f182d380",3083:"03d748e3",3235:"252fd61d",3378:"14a9794a",3455:"4bc5079c",3467:"6e1cff79",3510:"7b11550c",3582:"75649603",3850:"450faaeb",4017:"d7be1a7b",4064:"28744a6e",4071:"d8c7d35b",4522:"0fe640ef",4586:"30a76a07",4604:"72ff92dd",4684:"5ea2197d",4911:"186aaac2",4964:"90380db8",5194:"125bb925",5374:"68a3d274",5382:"70c0dd25",5537:"fabd5f36",5541:"59cb4d84",5651:"ee8a4d97",5740:"f4d0adc3",5758:"28e10163",5798:"7f5bb547",5799:"21f3e3f6",5815:"e0c35252",5905:"29b85dec",6078:"1431f431",6105:"046cea0f",6145:"0c93e969",6601:"085b819b",6900:"8b993a8f",6968:"2fd09a6d",7025:"fd76a27e",7136:"6ed975ad",7234:"9705be8f",7256:"d2d7b03a",7279:"8915e189",7483:"b820b50a",7537:"3f8ee77d",7627:"8aa387b6",7782:"848d9ec2",7791:"0c6eb45b",7792:"e7414765",7826:"53762ea4",7859:"10a74649",7902:"47831a95",8066:"00fa3142",8110:"9c3d8f38",8140:"2a87bb2e",8158:"0981f248",8556:"8193080d",8610:"54b8ce78",8641:"18a20f17",8662:"f40bd685",8785:"efe719c3",8802:"3dc48d24",8831:"49237ebf",8846:"9aaa8faa",8879:"b475ad66",8935:"16dc663f",9007:"c370daac",9021:"636947ab",9084:"b6876747",9158:"fd44c5d9",9235:"dc0c5d1c",9428:"67257987",9529:"dbc4dad6",9707:"8643627a",9949:"ed40833e"}[e]+".chunk.js"},n.miniCssF=function(e){},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="website:";n.l=function(r,i,o,a){if(e[r])e[r].push(i);else{var s,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var h=l[c];if(h.getAttribute("src")==r||h.getAttribute("data-webpack")==t+o){s=h;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+o),s.src=r),e[r]=[i];var f=function(t,n){s.onerror=s.onload=null,clearTimeout(d);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((function(e){return e(n)})),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),u&&document.head.appendChild(s)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="./",function(){var e={179:0};n.f.j=function(t,r){var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise((function(n,r){i=e[t]=[n,r]}));r.push(i[2]=o);var a=n.p+n.u(t),s=new Error;n.l(a,(function(r){if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}}),"chunk-"+t,t)}},n.O.j=function(t){return 0===e[t]};var t=function(t,r){var i,o,a=r[0],s=r[1],u=r[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(u)var c=u(n)}for(t&&t(r);l<a.length;l++)o=a[l],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(c)},r=self.webpackChunkwebsite=self.webpackChunkwebsite||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var r=n.O(void 0,[6137,8264],(function(){return n(9799)}));r=n.O(r)}();
|
|
//# sourceMappingURL=main.d2807b26.js.map |