diff --git a/build.sbt b/build.sbt index a0c304e..821dc58 100644 --- a/build.sbt +++ b/build.sbt @@ -287,7 +287,22 @@ lazy val `react-window` = project "react-virtualized-auto-sizer" -> "1.0.2", // as recommended by react-window "@types/react-virtualized-auto-sizer" -> "1.0.0", ) - ) + ) + +lazy val `react-markdown` = project + .enablePlugins(ScalablyTypedConverterPlugin) + .configure(baseSettings, withCssLoading, browserProject, reactNpmDeps, bundlerSettings) + .settings( + webpack / version := "4.44.1", + useYarn := true, + webpackDevServerPort := 8017, + stFlavour := Flavour.Japgolly, + Compile / npmDependencies ++= Seq( + "react-markdown"-> "^5.0.3", + "react-syntax-highlighter"-> "^15.4.3", + "@types/react-syntax-highlighter"-> "^13.5.0" + ) + ) /** Note: This can't use scalajs-bundler (at least I don't know how), * so we run yarn ourselves with an external package.json. @@ -342,7 +357,8 @@ lazy val withCssLoading: Project => Project = "css-loader" -> "3.4.2", "style-loader" -> "1.1.3", "file-loader" -> "5.1.0", - "url-loader" -> "3.0.0" + "url-loader" -> "4.1.0", + "copy-webpack-plugin" -> "6.0.3" ) ) diff --git a/custom.webpack.config.js b/custom.webpack.config.js index 8ed7259..0782798 100644 --- a/custom.webpack.config.js +++ b/custom.webpack.config.js @@ -1,7 +1,9 @@ -var merge = require('webpack-merge'); -var generated = require('./scalajs.webpack.config'); +const merge = require('webpack-merge'); +const generated = require('./scalajs.webpack.config'); +const path = require("path"); +const CopyWebpackPlugin = require('copy-webpack-plugin'); -var local = { +const local = { module: { rules: [ { @@ -17,7 +19,16 @@ var local = { use: 'url-loader' } ] - } + }, + plugins: [ + new CopyWebpackPlugin({ + patterns: [ + { + from: path.resolve(__dirname, "../../../../src/main/js") + } + ] + }) + ] }; module.exports = merge(generated, local); diff --git a/docs/react-markdown/docs/README.md b/docs/react-markdown/docs/README.md new file mode 100644 index 0000000..e245e27 --- /dev/null +++ b/docs/react-markdown/docs/README.md @@ -0,0 +1,66 @@ +# Working with objects + +Javascript is remarkably flexible. When we integrate with arbitrary Javascript code in Scala.js, we need a very flexible +encoding to tag along. The encoding chosen for ScalablyTyped is the result of years of experimentation, and has +a much more dynamic feeling than what you may be used to. + +Let's start with an example of a type definition we want to use: + +```scala +@js.native +trait Point extends StObject { + + var x: Double = js.native + + var y: Double = js.native +} +object Point { + + @scala.inline + def apply(x: Double, y: Double): Point = { + val __obj = js.Dynamic.literal(x = x.asInstanceOf[js.Any], y = y.asInstanceOf[js.Any]) + __obj.asInstanceOf[Point] + } + + @scala.inline + implicit class PointMutableBuilder[Self <: Point] (val x: Self) extends AnyVal { + + @scala.inline + def setX(value: Double): Self = StObject.set(x, "x", value.asInstanceOf[js.Any]) + + @scala.inline + def setY(value: Double): Self = StObject.set(x, "y", value.asInstanceOf[js.Any]) + } +} +``` + +We notice several things: +- it's a `@js.native` trait, so we cannot `new` it ourselves. This can be [`changed`](conversion-options.md#stenablescalajsdefined), but it's not recommended. +- it has two required members (`x` and `y`). Optional members would typically be wrapped in `js.UndefOr` +- it has an `object` with syntax to help us work with it +- the entire syntax is built on mutability. It's Javascript, after all. more on that further down + +### Basic usage + +```scala +// At construction time we need to supply all required parameters +val p = Point(x = 1,y = 2) + +// we can mutate what we have +// this is equivalent to typescript `p.x = 3 +val p2 = p.setX(3) + +// or we can duplicate and then mutate. +// this is equivalent to typescript `const p2 = {...p, x: 3} +val p3 = p.duplicate.setX(3) + +// we can combine with other javascript objects. +// this is equivalent to javascript `const p3 = {...p, {}}` +val p4: Point with TickOptions = p.combineWith(TickOptions()) + +// fallback, if the type definitions are wrong or for any other reason you can break the contract +val p5: p.duplicate.set("x", "foo") + +// you can also set any other property +val p6: p.duplicate.set("x2", "foo") +``` diff --git a/docs/react-markdown/index.html b/docs/react-markdown/index.html new file mode 100644 index 0000000..2c63b6f --- /dev/null +++ b/docs/react-markdown/index.html @@ -0,0 +1,12 @@ + + + + + React-markdown demo + + +
+ + + + \ No newline at end of file diff --git a/docs/react-markdown/react-markdown-opt-bundle.js b/docs/react-markdown/react-markdown-opt-bundle.js new file mode 100644 index 0000000..53a9f04 --- /dev/null +++ b/docs/react-markdown/react-markdown-opt-bundle.js @@ -0,0 +1,60 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=84)}([function(e,t,n){"use strict";e.exports=function(e){return e<-2}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t,n,a){var i=a?a-1:1/0,o=0;return function(a){if(r(a))return e.enter(n),s(a);return t(a)};function s(a){return r(a)&&o++=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var d=i[a],u=n.tokenStack[d],p="string"==typeof c?c:c.content,m=t(r,d),_=p.indexOf(m);if(_>-1){++a;var g=p.substring(0,_),f=new e.Token(r,e.tokenize(u,n.grammar),"language-"+r,u),b=p.substring(_+m.length),E=[];g&&E.push.apply(E,o([g])),E.push(f),b&&E.push.apply(E,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(E)):c.content=E}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=r,r.displayName="markupTemplating",r.aliases=[]},function(e,t,n){var r=n(6);e.exports=function(e){for(var t=1;to?0:o+t:t>o?o:t,n=n>0?n:0,a.length<1e4)(i=Array.from(a)).unshift(t,n),r.apply(e,i);else for(n&&r.apply(e,[t,n]);s>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete e.languages.c.boolean}e.exports=r,r.displayName="c",r.aliases=[]},function(e,t,n){"use strict";var r=n(13);e.exports=function(e){return r({},e)}},function(e,t,n){e.exports=n(368)},function(e,t,n){"use strict";var r=Object.assign;e.exports=r},function(e,t,n){"use strict";var r=n(36),a=n(61),i=n(62);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,d=e.transform,u={},p={};for(t in c)n=new i(t,d(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),u[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(u,p,o)}},function(e,t){e.exports=function(){for(var e={},t=0;t\\]|\\[\s\S])*>[gim]{0,3}/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[gim]{0,3}(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}}],e.languages.rb=e.languages.ruby}(e)}e.exports=r,r.displayName="ruby",r.aliases=["rb"]},function(e,t,n){"use strict";function r(e){!function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^\s*(?:\/{3}|\*|\/\*\*)\s*@(?:param|arg|arguments)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^\s*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r=e.languages[t];if(r){var a=r["doc-comment"];if(!a){var i={"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}};a=(r=e.languages.insertBefore(t,"comment",i))["doc-comment"]}if(a instanceof RegExp&&(a=r["doc-comment"]={pattern:a}),Array.isArray(a))for(var o=0,s=a.length;o|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?={))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[a-z0-9_|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[a-z0-9_|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},/\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i],"argument-name":/\b[a-z_]\w*(?=\s*:(?!:))/i,"class-name":[{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:/\w+\s*(?=\()/,property:{pattern:/(->)[\w]+/,lookbehind:!0},number:r,operator:a,punctuation:i};var o={pattern:/{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)*)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];e.languages.insertBefore("php","variable",{string:s}),e.languages.insertBefore("php","variable",{attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:a,punctuation:i}},delimiter:{pattern:/^#\[|]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(e)}e.exports=a,a.displayName="php",a.aliases=[]},function(e,t,n){"use strict";t.a={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#F0F0F0",color:"#444"},"hljs-subst":{color:"#444"},"hljs-comment":{color:"#888888"},"hljs-keyword":{fontWeight:"bold"},"hljs-attribute":{fontWeight:"bold"},"hljs-selector-tag":{fontWeight:"bold"},"hljs-meta-keyword":{fontWeight:"bold"},"hljs-doctag":{fontWeight:"bold"},"hljs-name":{fontWeight:"bold"},"hljs-type":{color:"#880000"},"hljs-string":{color:"#880000"},"hljs-number":{color:"#880000"},"hljs-selector-id":{color:"#880000"},"hljs-selector-class":{color:"#880000"},"hljs-quote":{color:"#880000"},"hljs-template-tag":{color:"#880000"},"hljs-deletion":{color:"#880000"},"hljs-title":{color:"#880000",fontWeight:"bold"},"hljs-section":{color:"#880000",fontWeight:"bold"},"hljs-regexp":{color:"#BC6060"},"hljs-symbol":{color:"#BC6060"},"hljs-variable":{color:"#BC6060"},"hljs-template-variable":{color:"#BC6060"},"hljs-link":{color:"#BC6060"},"hljs-selector-attr":{color:"#BC6060"},"hljs-selector-pseudo":{color:"#BC6060"},"hljs-literal":{color:"#78A960"},"hljs-built_in":{color:"#397300"},"hljs-bullet":{color:"#397300"},"hljs-code":{color:"#397300"},"hljs-addition":{color:"#397300"},"hljs-meta":{color:"#1f7199"},"hljs-meta-string":{color:"#4d99bf"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}},function(e,t,n){"use strict";var r=n(170),a=n(171);t.highlight=i,t.highlightAuto=function(e,t){var n,o,s,l,c=t||{},d=c.subset||r.listLanguages(),u=c.prefix,p=d.length,m=-1;null==u&&(u="hljs-");if("string"!=typeof e)throw a("Expected `string` for value, got `%s`",e);o={relevance:0,language:null,value:[]},n={relevance:0,language:null,value:[]};for(;++mo.relevance&&(o=s),s.relevance>n.relevance&&(o=n,n=s));o.language&&(n.secondBest=o);return n},t.registerLanguage=function(e,t){r.registerLanguage(e,t)},t.listLanguages=function(){return r.listLanguages()},t.registerAlias=function(e,t){var n,a=e;t&&((a={})[e]=t);for(n in a)r.registerAliases(a[n],{languageName:n})},o.prototype.addText=function(e){var t,n,r=this.stack;if(""===e)return;t=r[r.length-1],(n=t.children[t.children.length-1])&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})},o.prototype.addKeyword=function(e,t){this.openNode(t),this.addText(e),this.closeNode()},o.prototype.addSublanguage=function(e,t){var n=this.stack,r=n[n.length-1],a=e.rootNode.children,i=t?{type:"element",tagName:"span",properties:{className:[t]},children:a}:a;r.children=r.children.concat(i)},o.prototype.openNode=function(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],a={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(a),t.push(a)},o.prototype.closeNode=function(){this.stack.pop()},o.prototype.closeAllNodes=s,o.prototype.finalize=s,o.prototype.toHTML=function(){return""};function i(e,t,n){var i,s=r.configure({}),l=(n||{}).prefix;if("string"!=typeof e)throw a("Expected `string` for name, got `%s`",e);if(!r.getLanguage(e))throw a("Unknown language: `%s` is not registered",e);if("string"!=typeof t)throw a("Expected `string` for value, got `%s`",t);if(null==l&&(l="hljs-"),r.configure({__emitter:o,classPrefix:l}),i=r.highlight(e,t,!0),r.configure(s||{}),i.errorRaised)throw i.errorRaised;return{relevance:i.relevance,language:i.language,value:i.emitter.rootNode.children}}function o(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function s(){}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l)};function l(n){return 40===n?e.attempt(_,t,a?t:c)(n):91===n?e.attempt(g,t,a?e.attempt(f,t,c):c)(n):a?t(n):c(n)}function c(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){var n,r,o,c,d,u,p,m=e.length,_=0;for(;m--;)if(c=e[m][1],d){if("link"===c.type||"labelLink"===c.type&&c._inactive)break;"enter"===e[m][0]&&"labelLink"===c.type&&(c._inactive=!0)}else if(u){if("enter"===e[m][0]&&("labelImage"===c.type||"labelLink"===c.type)&&!c._balanced&&(d=m,"labelLink"!==c.type)){_=2;break}}else"labelEnd"===c.type&&(u=m);return n={type:"labelLink"===e[d][1].type?"link":"image",start:l(e[d][1].start),end:l(e[e.length-1][1].end)},r={type:"label",start:l(e[d][1].start),end:l(e[u][1].end)},o={type:"labelText",start:l(e[d+_+2][1].end),end:l(e[u-2][1].start)},p=a(p=[["enter",n,t],["enter",r,t]],e.slice(d+1,d+_+3)),p=a(p,[["enter",o,t]]),p=a(p,s(t.parser.constructs.insideSpan.null,e.slice(d+_+4,u-3),t)),p=a(p,[["exit",o,t],e[u-2],e[u-1],["exit",r,t]]),p=a(p,e.slice(u+1)),p=a(p,[["exit",n,t]]),i(e,d,e.length,p),e},resolveAll:function(e){var t,n=-1;for(;++n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=r,r.displayName="sql",r.aliases=[]},function(e,t,n){"use strict";function r(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var a="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface struct",o="add alias and ascending async await by descending from get global group into join let nameof not notnull on or orderby partial remove select set unmanaged value when where",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(i),d=RegExp(l(a+" "+i+" "+o+" "+s)),u=l(i+" "+o+" "+s),p=l(a+" "+i+" "+s),m=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),_=r(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[g,m]),b=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[u,f]),E=/\[\s*(?:,\s*)*\]/.source,h=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,E]),S=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[m,_,E]),T=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[S]),y=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[T,b,E]),v={keyword:d,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,N=/"(?:\\.|[^\\"\r\n])*"/.source,R=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[N]),lookbehind:!0,greedy:!0},{pattern:RegExp(C),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,y]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,f]),lookbehind:!0,inside:v},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:v},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[y,p,g]),inside:v}],keyword:d,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[_]),lookbehind:!0,alias:"class-name",inside:v},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[y,b]),inside:v,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[y]),lookbehind:!0,inside:v,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,m]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(m),alias:"class-name",inside:v}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>)(?:\s*,\s*(?:<<3>>|<<4>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,f,g,y,d.source]),lookbehind:!0,inside:{keyword:d,"class-name":{pattern:RegExp(y),greedy:!0,inside:v},punctuation:/,/}},preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(\s*#)\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var A=N+"|"+C,O=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[A]),I=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),w=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,D=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,I]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[w,D]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[w]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[I]),inside:e.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var x=/:[^}\r\n]+/.source,k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[k,x]),M=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[A]),2),P=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,x]);function F(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,x]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:F(L,k)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[P]),lookbehind:!0,greedy:!0,inside:F(P,M)}]})}(e),e.languages.dotnet=e.languages.cs=e.languages.csharp}e.exports=r,r.displayName="csharp",r.aliases=["dotnet","cs"]},function(e,t,n){"use strict";function r(e){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=())])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(\:\:\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}e.exports=r,r.displayName="java",r.aliases=[]},function(e,t,n){"use strict";function r(e){!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},keyword:/\b(?:abstract|as|asserts|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|undefined|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),delete e.languages.typescript.parameter;var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(e)}e.exports=r,r.displayName="typescript",r.aliases=["ts"]},function(e,t,n){"use strict";function r(e){e.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=r,r.displayName="json",r.aliases=["webmanifest"]},function(e,t,n){"use strict";function r(e){!function(e){e.languages.scheme={comment:/;.*|#;\s*\((?:[^()]|\([^()]*\))*\)|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()#'\s]+/,greedy:!0},character:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|\S)/,greedy:!0,alias:"string"},"lambda-parameter":[{pattern:/((?:^|[^'`#])\(lambda\s+)(?:[^|()'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])\(lambda\s+\()[^()']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])\()(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|export|except|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])\()(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])\()(?:[-+*%/]|[<>]=?|=>?)(?=[()\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,(function(t){return"(?:"+e[t].trim()+")"}));return e[t]}({"":/\d+(?:\/\d+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[\s()])(?:|)(?=[()\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[\s()])#(?:[ft]|false|true)(?=[()\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])\()(?:[^|()'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[\s()])\|(?:[^\\|]|\\.)*\|(?=[()\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()']/}}(e)}e.exports=r,r.displayName="scheme",r.aliases=[]},function(e,t,n){"use strict";function r(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\w+(?=\s)/,"attr-name":/\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=r,r.displayName="t4Templating",r.aliases=[]},function(e,t,n){"use strict"; +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=o(e),c=1;cp?n(i):(e.consume(i),b):41===i?m--?(e.consume(i),b):(e.exit("chunkString"),e.exit(d),e.exit(c),e.exit(o),t(i)):null===i||a(i)?m?n(i):(e.exit("chunkString"),e.exit(d),e.exit(c),e.exit(o),t(i)):r(i)?n(i):(e.consume(i),92===i?E:b)}function E(t){return 40===t||41===t||92===t?(e.consume(t),b):b(t)}}},function(e,t,n){"use strict";var r=n(0),a=n(5);e.exports=function(e,t,n,i,o,s){var l,c=this,d=0;return function(t){return e.enter(i),e.enter(o),e.consume(t),e.exit(o),e.enter(s),u};function u(a){return null===a||91===a||93===a&&!l||94===a&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs||d>999?n(a):93===a?(e.exit(s),e.enter(o),e.consume(a),e.exit(o),e.exit(i),t):r(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),p(a))}function p(t){return null===t||91===t||93===t||r(t)||d++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l=l||!a(t),92===t?m:p)}function m(t){return 91===t||92===t||93===t?(e.consume(t),d++,p):p(t)}}},function(e,t,n){"use strict";var r=n(0),a=n(5),i=n(1);e.exports=function(e,t){var n;return function o(s){if(r(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,o;if(a(s))return i(e,o,n?"linePrefix":"lineSuffix")(s);return t(s)}}},function(e,t,n){"use strict";var r=n(0),a=n(1);e.exports=function(e,t,n,i,o,s){var l;return function(t){return e.enter(i),e.enter(o),e.consume(t),e.exit(o),l=40===t?41:t,c};function c(n){return n===l?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),t):(e.enter(s),d(n))}function d(t){return t===l?(e.exit(s),c(l)):null===t?n(t):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a(e,d,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===l||null===t||r(t)?(e.exit("chunkString"),d(t)):(e.consume(t),92===t?p:u)}function p(t){return t===l||92===t?(e.consume(t),u):u(t)}}},function(e,t,n){"use strict";var r=n(0),a=n(5),i=n(1),o={name:"thematicBreak",tokenize:function(e,t,n){var o,s=0;return function(t){return e.enter("thematicBreak"),o=t,l(t)};function l(d){return d===o?(e.enter("thematicBreakSequence"),c(d)):a(d)?i(e,l,"whitespace")(d):s<3||null!==d&&!r(d)?n(d):(e.exit("thematicBreak"),t(d))}function c(t){return t===o?(e.consume(t),s++,c):(e.exit("thematicBreakSequence"),l(t))}}};e.exports=o},function(e,t){e.exports=function(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},n={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[t],relevance:10}]},r={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},a={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},i={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[r]},a]},o={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[a]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},r,o,i,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=48&&t<=57}},function(e,t,n){"use strict";var r=n(10);function a(e){e.register(r),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/;e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","operator",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(e)}e.exports=a,a.displayName="cpp",a.aliases=[]},function(e,t,n){"use strict";function r(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:r}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o?^_ +\-.A-Z\d])*"/i,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=r,r.displayName="basic",r.aliases=[]},function(e,t,n){"use strict";function r(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=r,r.displayName="lua",r.aliases=[]},function(e,t,n){"use strict";function r(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|{-[\s\S]*?-})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^\s*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:import|qualified|as|hiding)\b/}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[-!#$%*+=?&@|~:<>^\\\/]*\.[-!#$%*+=?&@|~.:<>^\\\/]+|[-!#$%*+=?&@|~.:<>^\\\/]+\.[-!#$%*+=?&@|~:<>^\\\/]*|[-!#$%*+=?&@|~:<>^\\\/]+|`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,hvariable:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*\b/,constant:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*\b/,punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=r,r.displayName="haskell",r.aliases=["hs"]},function(e,t,n){"use strict";function r(e){!function(e){var t=e.util.clone(e.languages.javascript);e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+(?:\s+(?:[\w.:$-]+(?:=(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i,e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},e.languages.jsx.tag),e.languages.insertBefore("inside","attr-value",{script:{pattern:/=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var n=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(n).join(""):""},r=function(t){for(var a=[],i=0;i0&&a[a.length-1].tagName===n(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:n(o.content[0].content[1]),openedBraces:0}):a.length>0&&"punctuation"===o.type&&"{"===o.content?a[a.length-1].openedBraces++:a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:s=!0),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var l=n(o);i0&&("string"==typeof t[i-1]||"plain-text"===t[i-1].type)&&(l=n(t[i-1])+l,t.splice(i-1,1),i--),t[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&r(o.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||r(e.tokens)}))}(e)}e.exports=r,r.displayName="jsx",r.aliases=[]},function(e,t,n){"use strict";function r(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:true|false)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:graph|base|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=r,r.displayName="turtle",r.aliases=[]},function(e,t,n){"use strict";var r=n(68);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0}],keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i})}e.exports=a,a.displayName="vbnet",a.aliases=[]},function(e,t,n){"use strict";function r(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+a+"|"+i+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=r,r.displayName="yaml",r.aliases=["yml"]},function(e,t,n){"use strict";var r=n(25);e.exports=r,r.registerLanguage("1c",n(173)),r.registerLanguage("abnf",n(174)),r.registerLanguage("accesslog",n(175)),r.registerLanguage("actionscript",n(176)),r.registerLanguage("ada",n(177)),r.registerLanguage("angelscript",n(178)),r.registerLanguage("apache",n(179)),r.registerLanguage("applescript",n(180)),r.registerLanguage("arcade",n(181)),r.registerLanguage("arduino",n(182)),r.registerLanguage("armasm",n(183)),r.registerLanguage("xml",n(184)),r.registerLanguage("asciidoc",n(185)),r.registerLanguage("aspectj",n(186)),r.registerLanguage("autohotkey",n(187)),r.registerLanguage("autoit",n(188)),r.registerLanguage("avrasm",n(189)),r.registerLanguage("awk",n(190)),r.registerLanguage("axapta",n(191)),r.registerLanguage("bash",n(192)),r.registerLanguage("basic",n(193)),r.registerLanguage("bnf",n(194)),r.registerLanguage("brainfuck",n(195)),r.registerLanguage("c-like",n(196)),r.registerLanguage("c",n(197)),r.registerLanguage("cal",n(198)),r.registerLanguage("capnproto",n(199)),r.registerLanguage("ceylon",n(200)),r.registerLanguage("clean",n(201)),r.registerLanguage("clojure",n(202)),r.registerLanguage("clojure-repl",n(203)),r.registerLanguage("cmake",n(204)),r.registerLanguage("coffeescript",n(205)),r.registerLanguage("coq",n(206)),r.registerLanguage("cos",n(207)),r.registerLanguage("cpp",n(208)),r.registerLanguage("crmsh",n(209)),r.registerLanguage("crystal",n(210)),r.registerLanguage("csharp",n(211)),r.registerLanguage("csp",n(212)),r.registerLanguage("css",n(213)),r.registerLanguage("d",n(214)),r.registerLanguage("markdown",n(215)),r.registerLanguage("dart",n(216)),r.registerLanguage("delphi",n(217)),r.registerLanguage("diff",n(218)),r.registerLanguage("django",n(219)),r.registerLanguage("dns",n(220)),r.registerLanguage("dockerfile",n(221)),r.registerLanguage("dos",n(222)),r.registerLanguage("dsconfig",n(223)),r.registerLanguage("dts",n(224)),r.registerLanguage("dust",n(225)),r.registerLanguage("ebnf",n(226)),r.registerLanguage("elixir",n(227)),r.registerLanguage("elm",n(228)),r.registerLanguage("ruby",n(229)),r.registerLanguage("erb",n(230)),r.registerLanguage("erlang-repl",n(231)),r.registerLanguage("erlang",n(232)),r.registerLanguage("excel",n(233)),r.registerLanguage("fix",n(234)),r.registerLanguage("flix",n(235)),r.registerLanguage("fortran",n(236)),r.registerLanguage("fsharp",n(237)),r.registerLanguage("gams",n(238)),r.registerLanguage("gauss",n(239)),r.registerLanguage("gcode",n(240)),r.registerLanguage("gherkin",n(241)),r.registerLanguage("glsl",n(242)),r.registerLanguage("gml",n(243)),r.registerLanguage("go",n(244)),r.registerLanguage("golo",n(245)),r.registerLanguage("gradle",n(246)),r.registerLanguage("groovy",n(247)),r.registerLanguage("haml",n(248)),r.registerLanguage("handlebars",n(249)),r.registerLanguage("haskell",n(250)),r.registerLanguage("haxe",n(251)),r.registerLanguage("hsp",n(252)),r.registerLanguage("htmlbars",n(253)),r.registerLanguage("http",n(254)),r.registerLanguage("hy",n(255)),r.registerLanguage("inform7",n(256)),r.registerLanguage("ini",n(257)),r.registerLanguage("irpf90",n(258)),r.registerLanguage("isbl",n(259)),r.registerLanguage("java",n(260)),r.registerLanguage("javascript",n(261)),r.registerLanguage("jboss-cli",n(262)),r.registerLanguage("json",n(263)),r.registerLanguage("julia",n(264)),r.registerLanguage("julia-repl",n(265)),r.registerLanguage("kotlin",n(266)),r.registerLanguage("lasso",n(267)),r.registerLanguage("latex",n(268)),r.registerLanguage("ldif",n(269)),r.registerLanguage("leaf",n(270)),r.registerLanguage("less",n(271)),r.registerLanguage("lisp",n(272)),r.registerLanguage("livecodeserver",n(273)),r.registerLanguage("livescript",n(274)),r.registerLanguage("llvm",n(275)),r.registerLanguage("lsl",n(276)),r.registerLanguage("lua",n(277)),r.registerLanguage("makefile",n(278)),r.registerLanguage("mathematica",n(279)),r.registerLanguage("matlab",n(280)),r.registerLanguage("maxima",n(281)),r.registerLanguage("mel",n(282)),r.registerLanguage("mercury",n(283)),r.registerLanguage("mipsasm",n(284)),r.registerLanguage("mizar",n(285)),r.registerLanguage("perl",n(286)),r.registerLanguage("mojolicious",n(287)),r.registerLanguage("monkey",n(288)),r.registerLanguage("moonscript",n(289)),r.registerLanguage("n1ql",n(290)),r.registerLanguage("nginx",n(291)),r.registerLanguage("nim",n(292)),r.registerLanguage("nix",n(293)),r.registerLanguage("node-repl",n(294)),r.registerLanguage("nsis",n(295)),r.registerLanguage("objectivec",n(296)),r.registerLanguage("ocaml",n(297)),r.registerLanguage("openscad",n(298)),r.registerLanguage("oxygene",n(299)),r.registerLanguage("parser3",n(300)),r.registerLanguage("pf",n(301)),r.registerLanguage("pgsql",n(302)),r.registerLanguage("php",n(303)),r.registerLanguage("php-template",n(304)),r.registerLanguage("plaintext",n(305)),r.registerLanguage("pony",n(306)),r.registerLanguage("powershell",n(307)),r.registerLanguage("processing",n(308)),r.registerLanguage("profile",n(309)),r.registerLanguage("prolog",n(310)),r.registerLanguage("properties",n(311)),r.registerLanguage("protobuf",n(312)),r.registerLanguage("puppet",n(313)),r.registerLanguage("purebasic",n(314)),r.registerLanguage("python",n(315)),r.registerLanguage("python-repl",n(316)),r.registerLanguage("q",n(317)),r.registerLanguage("qml",n(318)),r.registerLanguage("r",n(319)),r.registerLanguage("reasonml",n(320)),r.registerLanguage("rib",n(321)),r.registerLanguage("roboconf",n(322)),r.registerLanguage("routeros",n(323)),r.registerLanguage("rsl",n(324)),r.registerLanguage("ruleslanguage",n(325)),r.registerLanguage("rust",n(326)),r.registerLanguage("sas",n(327)),r.registerLanguage("scala",n(58)),r.registerLanguage("scheme",n(328)),r.registerLanguage("scilab",n(329)),r.registerLanguage("scss",n(330)),r.registerLanguage("shell",n(331)),r.registerLanguage("smali",n(332)),r.registerLanguage("smalltalk",n(333)),r.registerLanguage("sml",n(334)),r.registerLanguage("sqf",n(335)),r.registerLanguage("sql_more",n(336)),r.registerLanguage("sql",n(337)),r.registerLanguage("stan",n(338)),r.registerLanguage("stata",n(339)),r.registerLanguage("step21",n(340)),r.registerLanguage("stylus",n(341)),r.registerLanguage("subunit",n(342)),r.registerLanguage("swift",n(343)),r.registerLanguage("taggerscript",n(344)),r.registerLanguage("yaml",n(345)),r.registerLanguage("tap",n(346)),r.registerLanguage("tcl",n(347)),r.registerLanguage("thrift",n(348)),r.registerLanguage("tp",n(349)),r.registerLanguage("twig",n(350)),r.registerLanguage("typescript",n(351)),r.registerLanguage("vala",n(352)),r.registerLanguage("vbnet",n(353)),r.registerLanguage("vbscript",n(354)),r.registerLanguage("vbscript-html",n(355)),r.registerLanguage("verilog",n(356)),r.registerLanguage("vhdl",n(357)),r.registerLanguage("vim",n(358)),r.registerLanguage("x86asm",n(359)),r.registerLanguage("xl",n(360)),r.registerLanguage("xquery",n(361)),r.registerLanguage("zephir",n(362))},function(e,t,n){var r=n(363);e.exports=function(e,t){if(null==e)return{};var n,a,i=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(364),a=n(365),i=n(366),o=n(367);e.exports=function(e){return r(e)||a(e)||i(e)||o()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n>24===e?"java.lang.Byte":e<<16>>16===e?"java.lang.Short":"java.lang.Integer":"java.lang.Float";case"boolean":return"java.lang.Boolean";case"undefined":return"java.lang.Void";default:return null===e?e.Ff():e instanceof Kn?"java.lang.Long":e instanceof p?"java.lang.Character":e&&e.$classData?e.$classData.name:null.Gf()}}function _(e){return void 0===e?"undefined":e.toString()}function g(e){switch(typeof e){case"string":return Yn(e);case"number":return e=+e,ct(ut(),e);case"boolean":return e?1231:1237;case"undefined":return 0;default:return e&&e.$classData||null===e?e.i():e instanceof p?null===e?0:e.tb:be.prototype.i.call(e)}}var f,b,E,h,S,T,y,v,C,N,R,A,O,I,w,D,x,k,L,M,P,F,j,U,B,G,Y,H,$,z,V,q,W,K,Q,X,Z,J,ee,te,ne,re,ae,ie,oe,se,le,ce,de,ue,pe,me=0,_e=new WeakMap;function ge(e,t,n,r,a){var i=new fe,o=function(e){for(var t in e)return t}(e);return i.r=n,i.La="L"+t+";",i.xb=a||function(e,t){return!!(e&&e.$classData&&e.$classData.ba===t&&e.$classData.aa.r[o])},i.name=t,i.isInterface=!1,i.isInstance=r||function(e){return!!(e&&e.$classData&&e.$classData.r[o])},i}class fe{constructor(){this.vb=void 0,this.aa=this.r=null,this.ba=0,this.Rb=null,this.La="",this.xb=this.Ja=void 0,this.name="",this.isJSClass=this.isArrayClass=this.isInterface=this.isPrimitive=!1,this.isInstance=void 0}ae(){var e=qn,t="longZero"===e.Rb?c:e.Rb;class n extends be{constructor(e){if(super(),"number"==typeof e){this.Qb=Array(e);for(var n=0;n>>0)).toString(16)}toString(){return this.g()}}be.prototype.$classData=ge({b:0},"java.lang.Object",{b:1},(function(e){return null!==e}),(function(e,t){if(e=e&&e.$classData){var n=e.ba||0;return!(nt||!e.aa.isPrimitive)}return!1}));class Ee extends be{constructor(){super(),this.Za=this.Ya=this.ta=null,f=this,this.ta="./docs/README.md",o.Light.registerLanguage("scala",s.default),this.Ya=e=>{he(),X||(X=new Ut),X||(X=new Ut);for(var t=[o.Light,{}],n=Yr();!n.h();)Ur();for(t[1].style=l.darcula,t[1].language=e.language,t=new yn(t),Or(),e=e.value,lt(),e=new Lr(new Fr([new Cn(e)])),e=new Tr(e);e.e();)if((n=e.f())&&n.$classData&&n.$classData.r.Ha)t.K.push(n.Pa());else{Jt(n=rt(n)),Zt(n),en(n);var a=n.X;void 0!==(a=0==(0|a.length)?void 0:a)&&t.K.push(a),n=n.p,void 0!==(n=0==(0|Object.keys(n).length)?void 0:n)&&Object.assign(t.K[1],n)}return t=r.createElement.apply(r,t.K),new Un(t).Z};var e=we;ne||(ne=new Wt),this.Za=e(ne.kb,new kn(()=>{var e=(0,r.useState)(Er());e:{if(null!==e){var t=new hr(new ir(e[0],e[1]));if(!t.h()){e=t.S.C,t=t.S.B;break e}}throw new rr(e)}var n,a=r.useEffect,o=he().ta;a((n=e,()=>function(e,t){var n,r;(e=new XMLHttpRequest).onload=(n=t,r=e,()=>{he(),n(new hr(r.responseText))}),e.open("GET",he().ta),e.send()}(he(),n)),[o]),e=Yr(),e=Rt(Ot(),e),H||(H=new pt),a=H,o=he().Ya;var s,l={};for(function(e){return new wr(e.Ee,e.De,!1)}(new An(new Fr([new ir("code",o)]),new kn(e=>null!==e))).da(new kn((s=l,e=>{if(null===e)throw new rr(e);s[e.B]=e.C}))),e.renderers=l,Q||(Q=new jt),e=new Tn([i,e]),a=Or(),w||(w=new Ue),t=[et(a,t,new kn(e=>(Or(),lt(),new Cn(e))))],t=new Lr(new Fr(t)),t=new Tr(t);t.e();)(a=t.f())&&a.$classData&&a.$classData.r.Ha?e.J.push(a.Pa()):(Jt(a=rt(a)),Zt(a),en(a),void 0!==(o=0==(0|(o=a.X).length)?void 0:o)&&e.J.push(o),a=a.p,void 0!==(a=0==(0|Object.keys(a).length)?void 0:a)&&Object.assign(e.J[1],a));return t=r.createElement.apply(r,e.J),new Un(t)}))}}function he(){return f||(f=new Ee),f}Ee.prototype.$classData=ge({Sb:0},"demo.DocPage$",{Sb:1,b:1});class Se extends be{}Se.prototype.$classData=ge({Tb:0},"demo.Main$",{Tb:1,b:1});class Te extends be{constructor(){super(),this.$a=null,E=this,this.$a=$e().jb}}Te.prototype.$classData=ge({Ub:0},"japgolly.scalajs.react.Callback$",{Ub:1,b:1});class ye extends be{}function ve(){return h||(h=new ye),h}ye.prototype.$classData=ge({Vb:0},"japgolly.scalajs.react.CallbackTo$",{Vb:1,b:1});class Ce extends be{}class Ne extends be{}Ne.prototype.$classData=ge({$b:0},"japgolly.scalajs.react.CtorType$Summoner$",{$b:1,b:1});class Re extends be{}Re.prototype.$classData=ge({dc:0},"japgolly.scalajs.react.component.Generic$",{dc:1,b:1});class Ae extends be{constructor(){super(),y=this}}Ae.prototype.$classData=ge({zc:0},"japgolly.scalajs.react.component.JsForwardRef$",{zc:1,b:1});class Oe extends be{constructor(){super(),v=this,R||(R=new ke),te||(te=new Vt)}}function Ie(e,t,n){return t=function(e,t){return(e=>t=>e.c(t))(t)}(Dn(),t.L(new kn(e=>e.Z))),function(e,t,n){var r=n.cc.c(t);return r=function(e,t){var n=t.c(e.wa);return new Bt(n,_t(t,e.ua),e.va)}(r,new kn((()=>e=>(zt(),new gr(e)))())),new mr(e,t,r,n.bc)}(zt(),t,n).ub(new kn(e=>(Me(),e=new Fr([new ir("a",e)]),Rt(Ot(),e)))).Eb(new kn(e=>e.Db(new kn(e=>e.a))))}function we(e,t){var n,a=function(){S||(S=new Ne);var e,t=S;return D||(D=new Ye),t=new kn((e=D.hb,t=>{return new Bt(r.createElement(t,e.Pc),new kn((n=t,a=e,e=>(e=e.H,r.createElement(n,function(e,t,n){return t.c(n),n}(Fn(),e,a.Oc.M()))))),void 0);var n,a})),Z||(Z=new Gt),new Yt(t,Z)}();return Ie(0,new kn((n=t,e=>n.c(e.a))),a)}Oe.prototype.$classData=ge({Ac:0},"japgolly.scalajs.react.component.Scala$",{Ac:1,b:1});class De extends be{}De.prototype.$classData=ge({Bc:0},"japgolly.scalajs.react.component.ScalaFn$",{Bc:1,b:1});class xe extends be{}xe.prototype.$classData=ge({Cc:0},"japgolly.scalajs.react.component.ScalaForwardRef$",{Cc:1,b:1});class ke extends be{}ke.prototype.$classData=ge({Dc:0},"japgolly.scalajs.react.component.builder.EntryPoint$",{Dc:1,b:1});class Le extends be{constructor(){super(),this.gb=null,A=this,Me();var e=new Fr([new ir("a",void 0)]);this.gb=Rt(Ot(),e)}}function Me(){return A||(A=new Le),A}Le.prototype.$classData=ge({Fc:0},"japgolly.scalajs.react.internal.Box$",{Fc:1,b:1});class Pe extends be{}function Fe(){return O||(O=new Pe),O}Pe.prototype.$classData=ge({Gc:0},"japgolly.scalajs.react.internal.JsUtil$",{Gc:1,b:1});class je extends be{}je.prototype.$classData=ge({Hc:0},"japgolly.scalajs.react.internal.JsUtil$JsSymbol$",{Hc:1,b:1});class Ue extends be{constructor(){super(),w=this}}Ue.prototype.$classData=ge({Ic:0},"japgolly.scalajs.react.internal.OptionLike$",{Ic:1,b:1});class Be extends be{constructor(e){super(),this.Lc=e}}Be.prototype.$classData=ge({Kc:0},"japgolly.scalajs.react.internal.Profunctor$Ops",{Kc:1,b:1});class Ge extends be{constructor(e,t){super(),this.Pc=e,this.Oc=t}}Ge.prototype.$classData=ge({Mc:0},"japgolly.scalajs.react.internal.Singleton",{Mc:1,b:1});class Ye extends be{constructor(){super(),this.hb=null,D=this,this.hb=new Ge(Me().gb,new xn(()=>{Me();var e=new Fr([new ir("a",void 0)]);return Rt(Ot(),e)}))}}Ye.prototype.$classData=ge({Nc:0},"japgolly.scalajs.react.internal.Singleton$",{Nc:1,b:1});class He extends be{constructor(){super(),this.jb=null,x=this,this.jb=new qt(void 0)}}function $e(){return x||(x=new He),x}He.prototype.$classData=ge({Qc:0},"japgolly.scalajs.react.internal.Trampoline$",{Qc:1,b:1});class ze extends be{constructor(){super(),this.y=null,k=this,this.y=new kn(e=>e)}}function Ve(){return k||(k=new ze),k}ze.prototype.$classData=ge({Sc:0},"japgolly.scalajs.react.internal.package$",{Sc:1,b:1});class qe extends be{constructor(){super(),this.I=null}g(){return"VdomAttr{name="+this.I+"}"}i(){var e=this.I;return Tt(Ct(),e)}}class We extends be{}function Ke(e,t){return new Ln((n=t,(e,t)=>{e.c(n.c(t))}));var n}We.prototype.$classData=ge({Uc:0},"japgolly.scalajs.react.vdom.Attr$",{Uc:1,b:1});class Qe extends be{constructor(){super(),this.nb=this.mb=null,M=this,this.mb=new Ln((e,t)=>{e.c(t)}),this.nb=new Ln((e,t)=>{e.c(t)})}}function Xe(){return M||(M=new Qe),M}Qe.prototype.$classData=ge({Yc:0},"japgolly.scalajs.react.vdom.Attr$ValueType$",{Yc:1,b:1});class Ze extends be{constructor(){super(),this.id=this.hd=this.gd=this.ed=this.fd=this.dd=this.cd=this.bd=this.ad=this.$c=null}}function Je(e){Xe(),e.wd=new Ln((e,t)=>{var n=null===t?c:t;t=n.A,n=n.z,t=dn(pn(),t,n),e.c(t)}),e.xd=function(e,t){return Xe(),new Ln((n=t,(e,t)=>{e.c(n.c(t))}));var n}(0,new kn(e=>e))}function et(e,t,n){return function(e,t,n){return e.h()?t.M():n.c(e.fa())}(t,new xn(()=>lt().Ia),n)}class tt extends be{}tt.prototype.$classData=ge({zd:0},"japgolly.scalajs.react.vdom.ReactPortal$",{zd:1,b:1});class nt extends be{}function rt(e){var t=new vn(e);return e.sb(t),t}nt.prototype.$classData=ge({Ad:0},"japgolly.scalajs.react.vdom.Style$",{Ad:1,b:1});class at extends be{constructor(){super(),j=this}}at.prototype.$classData=ge({Dd:0},"japgolly.scalajs.react.vdom.TagMod$",{Dd:1,b:1});class it extends be{}it.prototype.$classData=ge({Kd:0},"japgolly.scalajs.react.vdom.VdomArray$",{Kd:1,b:1});class ot extends be{}ot.prototype.$classData=ge({Ld:0},"japgolly.scalajs.react.vdom.VdomElement$",{Ld:1,b:1});class st extends be{constructor(){super(),this.Ia=null,G=this,this.Ia=new Cn(null)}}function lt(){return G||(G=new st),G}function ct(e,t){var n=0|t;return n===t&&-1/0!=1/t?n:(e.zb[0]=t,(e=new Kn(0|e.ha[e.Bb],0|e.ha[e.Ab])).A^e.z)}st.prototype.$classData=ge({Nd:0},"japgolly.scalajs.react.vdom.VdomNode$",{Nd:1,b:1});class dt extends be{constructor(){super(),this.zb=this.ha=this.N=null,this.Na=!1,this.Bb=this.Ab=0,Y=this,this.N=new ArrayBuffer(8),this.ha=new Int32Array(this.N,0,2),new Float32Array(this.N,0,2),this.zb=new Float64Array(this.N,0,1),this.ha[0]=16909060,this.Ab=(this.Na=1==(0|new Int8Array(this.N,0,8)[0]))?0:1,this.Bb=this.Na?1:0}}function ut(){return Y||(Y=new dt),Y}dt.prototype.$classData=ge({ee:0},"java.lang.FloatingPointBits$",{ee:1,b:1});class pt extends be{}pt.prototype.$classData=ge({Qd:0},"org.scalablytyped.runtime.StringDictionary$",{Qd:1,b:1});class mt extends be{constructor(){super(),this.qb=this.rb=null,this.q=0}}function _t(e,t){return new kn((n=e,r=t,e=>n.c(r.c(e))));var n,r}function gt(e,t){for(e=e.l();e.e();)t.c(e.f())}function ft(e,t,n){return e.h()?t+")":e.Ka(function(){var e=new Hr;return e.t=new Wn,e}(),t,n,")").t.j}function bt(e,t,n,r,a){var i=t.t;if(0!=(0|n.length)&&(i.j=""+i.j+n),(e=e.l()).e())for(n=e.f(),i.j=""+i.j+n;e.e();)i.j=""+i.j+r,n=e.f(),i.j=""+i.j+n;return 0!=(0|a.length)&&(i.j=""+i.j+a),t}function Et(e,t){return ft(t.D(),t.s()+"(",",")}mt.prototype.$classData=ge({Rd:0},"org.scalajs.dom.package$",{Rd:1,b:1});class ht extends be{}function St(){return z||(z=new ht),z}function Tt(e,t){if(null===t)return 0;if("number"==typeof t){if((t=2147483647<(e=+t)?2147483647:-2147483648>e?-2147483648:0|e)===e)e=t;else{if(t=pn(),-0x8000000000000000>e){t.$=-2147483648;var n=0}else if(0x8000000000000000<=e)t.$=2147483647,n=-1;else{n=0|e;var r=e/4294967296|0;t.$=0>e&&0!==n?-1+r|0:r}t=t.$,pn(),e=(0>t?-(4294967296*+((0!==n?~t:0|-t)>>>0)+ +((0|-n)>>>0)):4294967296*t+ +(n>>>0))===e?n^t:ct(ut(),e)}return e}return t instanceof Kn?(e=(t=new Kn((e=null===t?c:t).A,e.z)).A,(t=t.z)===e>>31?e:e^t):g(t)}function yt(e,t){throw new Jn(""+t)}ht.prototype.$classData=ge({mf:0},"scala.runtime.ScalaRunTime$",{mf:1,b:1});class vt extends be{}function Ct(){return V||(V=new vt),V}vt.prototype.$classData=ge({pf:0},"scala.runtime.Statics$",{pf:1,b:1});class Nt extends be{}function Rt(e,t){var n,r={};return t.da(new kn((n=r,e=>{n[e.B]=e.C}))),r}Nt.prototype.$classData=ge({Ze:0},"scala.scalajs.js.Any$ObjectCompanionOps$",{Ze:1,b:1});class At extends be{}function Ot(){return W||(W=new At),W}function It(e,t){return t instanceof ln?t:new Cr(t)}function wt(){return xt(),null}At.prototype.$classData=ge({bf:0},"scala.scalajs.js.special.package$",{bf:1,b:1});class Dt extends be{}function xt(){return K||(K=new Dt),K}function kt(e,t){return t=d(-862048943,t),e^(t=d(461845907,t<<15|t>>>17|0))}function Lt(e,t){return e=kt(e,t),-430675100+d(5,e<<13|e>>>19|0)|0}function Mt(e){return e=d(-2048144789,e^(e>>>16|0)),(e=d(-1028477387,e^(e>>>13|0)))^(e>>>16|0)}function Pt(e){Sn();var t=e.u();if(0===t)return Yn(e.s());for(var n=Lt(-889275714,Yn(e.s())),r=0;r{})}}function zt(){return ee||(ee=new $t),ee}$t.prototype.$classData=ge({qc:0},"japgolly.scalajs.react.component.JsFn$",{qc:1,b:1,lc:1});class Vt extends be{}Vt.prototype.$classData=ge({Ec:0},"japgolly.scalajs.react.component.builder.Lifecycle$",{Ec:1,b:1,d:1}),ge({Jc:0},"japgolly.scalajs.react.internal.OptionLike$$anon$1",{Jc:1,b:1,vf:1});class qt extends be{constructor(e){super(),this.ib=e}}qt.prototype.$classData=ge({Rc:0},"japgolly.scalajs.react.internal.Trampoline$Pure",{Rc:1,b:1,xf:1});class Wt extends be{constructor(){super(),this.kb=null,ne=this,T||(T=new Re),J||(J=new Ht),zt(),y||(y=new Ae),v||(v=new Oe),C||(C=new De),this.kb=C,N||(N=new xe)}}Wt.prototype.$classData=ge({Tc:0},"japgolly.scalajs.react.package$",{Tc:1,b:1,uf:1});class Kt extends qe{constructor(e){super(),this.I=e}}Kt.prototype.$classData=ge({Vc:0},"japgolly.scalajs.react.vdom.Attr$Event",{Vc:1,lb:1,b:1});class Qt extends qe{constructor(e){super(),this.I=e}}Qt.prototype.$classData=ge({Wc:0},"japgolly.scalajs.react.vdom.Attr$Generic",{Wc:1,lb:1,b:1});class Xt extends qe{constructor(){super(),this.I="key"}}function Zt(e){var t=e.Fa;void 0!==t&&(e.p.key=t)}function Jt(e){var t=e.Y;void 0!==t&&(e.p.className=t)}function en(e){var t=e.Ga;void 0!==(t=0==(0|Object.keys(t).length)?void 0:t)&&(e.p.style=t)}function tn(e){var t;e.p={},e.Ga={},e.X=[],e.Fa=void 0,e.Y=void 0,e.Fd=new Ln((t=e,(e,n)=>{t.p[e]=n})),e.Gd=new kn((e=>t=>{var n=e.Y;e.Y=void 0===n?t:_(n)+" "+t})(e)),e.Hd=new Ln((e=>(t,n)=>{var r,a,i=e.p,o=i[t];if(void 0!==o){if(void 0===o)throw tr("undefined.get");r=o,a=n,n=e=>{r(e),a(e)}}i[t]=n})(e)),e.ob=new Ln((e=>(t,n)=>{e.Ga[t]=n})(e)),e.Id=new kn((e=>t=>{for(t=function(e,t){q||(q=new Nt);var n,r=function(e){var t,n=[];for(t in e)n.push(t);return n}(t);return new cr(new pr(r),new kn((n=t,e=>{try{var t=n[e]}catch(e){var r=It(xt(),e);if(null===r)throw e;e:{Fe();try{if(null!==r){I||(I=new je);var a="symbol"==typeof r?new hr(r):Er();if(!a.h()){t:{var i=a.fa();try{t=i.toString()}catch(e){if(null!==It(xt(),e)){var o=Symbol.keyFor(i),s=void 0===o?Er():new hr(o);if(s instanceof hr){t="Symbol("+s.S+")";break t}if(Er()===s){t="Symbol(?)";break t}throw new rr(s)}throw e}}break e}}t=_(r)}catch(e){if(null===It(xt(),e))throw e;t="?"}}}return new ir(e,t)})))}(Fe(),t);t.e();){var n=t.f();if(null===n)throw new rr(n);var r=e.ob,a=n.B;n=n.C,(0,r.hf)(a,n)}})(e)),e.Ea=new kn((e=>t=>{e.X.push(t)})(e)),e.Jd=new kn((e=>t=>{e.Fa=t})(e))}Xt.prototype.$classData=ge({Xc:0},"japgolly.scalajs.react.vdom.Attr$Key$",{Xc:1,lb:1,b:1});class nn extends be{}nn.prototype.$classData=ge({kd:0},"japgolly.scalajs.react.vdom.HtmlTagOf$",{kd:1,b:1,d:1});class rn extends be{constructor(){super()}}rn.prototype.$classData=ge({ld:0},"japgolly.scalajs.react.vdom.HtmlTags$",{ld:1,b:1,Df:1});class an extends be{}an.prototype.$classData=ge({Bd:0},"japgolly.scalajs.react.vdom.SvgTagOf$",{Bd:1,b:1,d:1});class on extends be{}function sn(e,t,n){e.Cb=t,e.he=n,e.ie=!0,e.je=!0,e.wb()}class ln extends Error{constructor(){super(),this.he=this.Cb=null,this.je=this.ie=!1}ea(){return this.Cb}wb(){"[object Error]"!==Object.prototype.toString.call(this)&&void 0!==Error.captureStackTrace&&Error.captureStackTrace(this)}g(){var e=m(this),t=this.ea();return null===t?e:e+": "+t}i(){return be.prototype.i.call(this)}get message(){var e=this.ea();return null===e?"":e}get name(){return m(this)}toString(){return this.g()}}function cn(e,t){if(0==(-2097152&t))t=""+(4294967296*t+ +(e>>>0));else{var n=(32+u(1e9)|0)-(0!==t?u(t):32+u(e)|0)|0,r=n,a=0==(32&r)?1e9<>>(31-r|0)|0|0<=(-2147483648^a):(-2147483648^l)>=(-2147483648^r))&&(s=o,l=r,s=(-2147483648^(o=i-a|0))>(-2147483648^i)?(s-l|0)-1|0:s-l|0,i=o,o=s,32>n?t|=1<>>1|0|r<<31,r=s=r>>>1|0}(0===(n=o)?-1147483648<=(-2147483648^i):-2147483648<=(-2147483648^n))&&(a=(i=(n=4294967296*o+ +(i>>>0))/1e9)/4294967296|0,t=i=(r=t)+(0|i)|0,e=(-2147483648^i)<(-2147483648^r)?1+(e+a|0)|0:e+a|0,i=n%1e9|0),t=""+(4294967296*e+ +(t>>>0))+"000000000".substring(0|(n=""+i).length)+n}return t}function dn(e,t,n){return n===t>>31?""+t:0>n?"-"+cn(0|-t,0!==t?~n:0|-n):cn(t,n)}class un extends be{constructor(){super(),this.$=0}}function pn(){return se||(se=new un),se}function mn(e,t){return t&&t.$classData&&t.$classData.r.Q?new Xn(e,t):new Qn(e,t)}un.prototype.$classData=ge({Yd:0},"org.scalajs.linker.runtime.RuntimeLong$",{Yd:1,b:1,d:1});class _n extends be{}class gn extends be{g(){return""}}class fn extends be{L(e){return function(e,t){return new kn((n=e,r=t,e=>r.c(n.c(e))));var n,r}(this,e)}g(){return""}}class bn extends be{g(){return""}}function En(e){var t=Sn();if(e&&e.$classData&&e.$classData.r.Hb)e:{var n=t.ka;switch(t=e.n()){case 0:e=Mt(0^n);break e;case 1:t=n,e=e.m(0),e=Mt(1^(e=Lt(t,Tt(Ct(),e))));break e;default:var r=e.m(0),a=Tt(Ct(),r);r=n=Lt(n,a);var i=e.m(1),o=(i=Tt(Ct(),i))-a|0;for(a=2;a"string"==typeof e);class Wn extends be{constructor(){super(),this.j=""}g(){return this.j}n(){return 0|this.j.length}}Wn.prototype.$classData=ge({ge:0},"java.lang.StringBuilder",{ge:1,b:1,yb:1,Hf:1,d:1});class Kn extends on{constructor(e,t){super(),this.A=e,this.z=t}i(){return this.A^this.z}g(){return dn(pn(),this.A,this.z)}}Kn.prototype.$classData=ge({Xd:0},"org.scalajs.linker.runtime.RuntimeLong",{Xd:1,Jf:1,b:1,d:1,de:1});class Qn extends be{constructor(e,t){super(),this.re=e,this.qe=t}g(){return""}c(e){return this.qe.c(this.re.c(e))}L(e){return mn(this,e)}}Qn.prototype.$classData=ge({pe:0},"scala.PartialFunction$AndThen",{pe:1,b:1,Q:1,x:1,d:1});class Xn extends be{constructor(e,t){super(),this.ue=e,this.te=t}g(){return""}c(e){return this.te.c(this.ue.c(e))}L(e){return mn(this,e)}}Xn.prototype.$classData=ge({se:0},"scala.PartialFunction$Combined",{se:1,b:1,Q:1,x:1,d:1});class Zn extends be{l(){return this}h(){return!this.e()}g(){return""}Ka(e,t,n,r){return bt(this,e,t,n,r)}}class Jn extends Gn{constructor(e){super(),sn(this,e,null)}}Jn.prototype.$classData=ge({fe:0},"java.lang.IndexOutOfBoundsException",{fe:1,ia:1,ga:1,O:1,b:1,d:1});class er extends Gn{constructor(e){super(),sn(this,e,null)}}function tr(e){var t=new nr;return sn(t,e,null),t}er.prototype.$classData=ge({ke:0},"java.lang.UnsupportedOperationException",{ke:1,ia:1,ga:1,O:1,b:1,d:1});class nr extends Gn{}nr.prototype.$classData=ge({le:0},"java.util.NoSuchElementException",{le:1,ia:1,ga:1,O:1,b:1,d:1});class rr extends Gn{constructor(e){super(),this.Fb=null,this.Ra=!1,this.ja=e,sn(this,null,null)}ea(){if(!this.Ra&&!this.Ra){if(null===this.ja)var e="null";else try{e=_(this.ja)+" (of class "+m(this.ja)+")"}catch(t){if(null===It(xt(),t))throw t;e="an instance of class "+m(this.ja)}this.Fb=e,this.Ra=!0}return this.Fb}}rr.prototype.$classData=ge({me:0},"scala.MatchError",{me:1,ia:1,ga:1,O:1,b:1,d:1});class ar extends be{h(){return this===Er()}l(){if(this.h())return In().G;In();var e=this.fa();return new sr(e)}}class ir extends be{constructor(e,t){super(),this.B=e,this.C=t}u(){return 2}v(e){e:switch(e){case 0:e=this.B;break e;case 1:e=this.C;break e;default:throw new Jn(e+" is out of bounds (min 0, max 1)")}return e}g(){return"("+this.B+","+this.C+")"}s(){return"Tuple2"}D(){return new ur(this)}i(){return Pt(this)}}ir.prototype.$classData=ge({$d:0},"scala.Tuple2",{$d:1,b:1,Kf:1,R:1,w:1,d:1});class or extends Zn{e(){return!1}f(){throw tr("next on empty iterator")}}or.prototype.$classData=ge({Ge:0},"scala.collection.Iterator$$anon$19",{Ge:1,E:1,b:1,F:1,k:1,o:1});class sr extends Zn{constructor(e){super(),this.Ie=e,this.Ua=!1}e(){return!this.Ua}f(){return this.Ua?In().G.f():(this.Ua=!0,this.Ie)}}sr.prototype.$classData=ge({He:0},"scala.collection.Iterator$$anon$20",{He:1,E:1,b:1,F:1,k:1,o:1});class lr extends Zn{constructor(e,t,n){if(super(),this.pa=null,this.qa=!1,this.Kb=this.T=null,this.Jb=!1,null===e)throw wt();this.T=e,this.Kb=t,this.Jb=n,this.qa=!1}e(){if(!this.qa){if(!this.T.e())return!1;for(this.pa=this.T.f();!!this.Kb.c(this.pa)===this.Jb;){if(!this.T.e())return!1;this.pa=this.T.f()}this.qa=!0}return!0}f(){return this.e()?(this.qa=!1,this.pa):In().G.f()}}lr.prototype.$classData=ge({Je:0},"scala.collection.Iterator$$anon$6",{Je:1,E:1,b:1,F:1,k:1,o:1});class cr extends Zn{constructor(e,t){if(super(),this.Lb=this.Va=null,null===e)throw wt();this.Va=e,this.Lb=t}e(){return this.Va.e()}f(){return this.Lb.c(this.Va.f())}}function dr(e,t){if(0>t)throw new Jn(""+t);e:for(var n=t;!(0>=n||e.h());)n=-1+n|0,Br(),e=void 0;if(e.h())throw new Jn(""+t);Ur()}cr.prototype.$classData=ge({Ke:0},"scala.collection.Iterator$$anon$9",{Ke:1,E:1,b:1,F:1,k:1,o:1});class ur extends Zn{constructor(e){super(),this.Pb=0,this.of=e,this.sa=0,this.Pb=e.u()}e(){return this.sa=(0|this.Xa.length)){var e=new nr;throw sn(e,null,null),e}return e=this.Xa[this.U],this.U=1+this.U|0,e}}pr.prototype.$classData=ge({$e:0},"scala.scalajs.js.ArrayOps$ArrayIterator",{$e:1,E:1,b:1,F:1,k:1,o:1});class mr extends be{constructor(e,t,n,r){if(super(),this.ya=this.xa=this.ab=null,null===e)throw wt();this.xa=e,this.ya=r,this.ab=n}Ma(){return this.ab}ub(e){var t=this.xa,n=Ve().y,r=Ve().y;return new _r(t,this,n,e,r,this.ya)}Eb(e){var t=this.xa,n=Ve().y,r=Ve().y;return new _r(t,this,r,n,e,this.ya)}}mr.prototype.$classData=ge({mc:0},"japgolly.scalajs.react.component.JsBaseComponentTemplate$$anon$1",{mc:1,b:1,pc:1,oc:1,fc:1,ec:1,gc:1});class _r extends be{constructor(e,t,n,r,a,i){if(super(),this.W=this.Da=this.Aa=this.Ca=this.Ba=this.za=this.bb=null,null===e)throw wt();this.za=e,this.Ba=t,this.Ca=n,this.Aa=r,this.Da=a,this.W=i,Ve(),e=n.c(t.Ma()),e=new Be(e,this.W).Lc,t=a.c(e.wa),this.bb=new Bt(t,_t(a,e.ua),e.va)}Ma(){return this.bb}ub(e){return new _r(this.za,this.Ba,this.Ca,_t(this.Aa,e),this.Da,this.W)}Eb(e){return new _r(this.za,this.Ba,this.Ca,this.Aa,_t(e,this.Da),this.W)}}_r.prototype.$classData=ge({nc:0},"japgolly.scalajs.react.component.JsBaseComponentTemplate$$anon$2",{nc:1,b:1,pc:1,oc:1,fc:1,ec:1,gc:1});class gr extends be{constructor(e){super(),this.cb=null,this.sc=e,this.cb=zt().fb}Db(e){zt();var t=Ve().y;return new fr(this,t,e)}Qa(){return this.sc}Oa(){return this.cb}}gr.prototype.$classData=ge({rc:0},"japgolly.scalajs.react.component.JsFn$$anon$3",{rc:1,b:1,yc:1,xc:1,ic:1,hc:1,jc:1});class fr extends be{constructor(e,t,n){super(),this.db=this.eb=null,this.uc=e,this.vc=t,this.wc=n,this.eb=e.Qa(),this.db=_t(t,e.Oa())}Qa(){return this.eb}Oa(){return this.db}Db(e){return zt(),new fr(this.uc,this.vc,_t(e,this.wc))}}fr.prototype.$classData=ge({tc:0},"japgolly.scalajs.react.component.JsFn$$anon$4",{tc:1,b:1,yc:1,xc:1,ic:1,hc:1,jc:1});class br extends ar{s(){return"None"}u(){return 0}v(e){return yt(Ct(),e)}D(){return new ur(this)}i(){return 2433880}g(){return"None"}fa(){throw tr("None.get")}}function Er(){return Hn||(Hn=new br),Hn}br.prototype.$classData=ge({ne:0},"scala.None$",{ne:1,oe:1,b:1,k:1,R:1,w:1,d:1});class hr extends ar{constructor(e){super(),this.S=e}fa(){return this.S}s(){return"Some"}u(){return 1}v(e){return 0===e?this.S:yt(Ct(),e)}D(){return new ur(this)}i(){return Pt(this)}g(){return Et(St(),this)}}hr.prototype.$classData=ge({ve:0},"scala.Some",{ve:1,oe:1,b:1,k:1,R:1,w:1,d:1});class Sr extends be{ca(){return this.V()}da(e){gt(this,e)}Ka(e,t,n,r){return bt(this,e,t,n,r)}}class Tr extends Zn{constructor(e){super(),this.la=0,this.Be=e,this.Ta=0,this.la=e.n()}e(){return 0!!e)),e.yd=Xe().nb,e.ud=Ke(Xe(),new kn(e=>0|e)),e.vd=Xe().mb}(e)}Tr.prototype.$classData=ge({Ae:0},"scala.collection.IndexedSeqView$IndexedSeqViewIterator",{Ae:1,E:1,b:1,F:1,k:1,o:1,d:1});class vr extends Ze{constructor(){super(),this.xd=this.wd=this.vd=this.ud=this.yd=this.td=null}}class Cr extends Gn{constructor(e){super(),this.Nb=e,sn(this,null,null)}ea(){return _(this.Nb)}wb(){}s(){return"JavaScriptException"}u(){return 1}v(e){return 0===e?this.Nb:yt(Ct(),e)}D(){return new ur(this)}i(){return Pt(this)}}Cr.prototype.$classData=ge({af:0},"scala.scalajs.js.JavaScriptException",{af:1,ia:1,ga:1,O:1,b:1,d:1,R:1,w:1});class Nr extends vr{constructor(){super(),yr(this)}}function Rr(){$n||($n=new Nr)}Nr.prototype.$classData=ge({sd:0},"japgolly.scalajs.react.vdom.PackageBase$",{sd:1,rd:1,Zc:1,b:1,md:1,nd:1,od:1,pd:1,qd:1});class Ar extends vr{constructor(){super(),yr(this),zn=this,ie||(ie=new rn),pe||(pe=new jn)}}function Or(){return zn||(zn=new Ar),zn}Ar.prototype.$classData=ge({Pd:0},"japgolly.scalajs.react.vdom.html_$less$up$",{Pd:1,rd:1,Zc:1,b:1,md:1,nd:1,od:1,pd:1,qd:1});class Ir extends Sr{g(){return this.V()+"()"}V(){return"View"}}class wr extends Ir{constructor(e,t,n){super(),this.Re=e,this.Qe=t,this.Pe=n}l(){var e=this.Re.l();return new lr(e,this.Qe,this.Pe)}h(){return!this.l().e()}}wr.prototype.$classData=ge({Oe:0},"scala.collection.View$Filter",{Oe:1,ye:1,Sa:1,b:1,ma:1,k:1,oa:1,o:1,na:1,Ne:1,d:1});class Dr extends Sr{i(){return En(this)}g(){return ft(this,this.ca()+"(",", ")}h(){return 0===this.P(0)}L(e){return mn(this,e)}}class xr extends Ir{}class kr extends xr{constructor(){super(),this.ra=null}m(e){return this.ra.m(e)}n(){return this.ra.n()}h(){return this.ra.h()}}class Lr extends kr{constructor(e){super(),this.ra=e}l(){return new Tr(this)}V(){return"IndexedSeqView"}P(e){var t=this.n();return t===e?0:te)e=1;else e:for(;;){if(0===e){e=this.h()?0:1;break e}if(this.h()){e=-1;break e}Br()}return e}ca(){return"List"}c(e){return dr(this,0|e)}}function Ur(){throw tr("head of empty list")}function Br(){throw new er("tail of empty list")}class Gr extends jr{constructor(){super(),Vn=this,Yr(),Yr()}l(){return In().G}s(){return"Nil"}u(){return 0}v(e){return yt(Ct(),e)}D(){return new ur(this)}}function Yr(){return Vn||(Vn=new Gr),Vn}Gr.prototype.$classData=ge({Te:0},"scala.collection.immutable.Nil$",{Te:1,ag:1,Wf:1,xe:1,Sa:1,b:1,ma:1,k:1,oa:1,o:1,na:1,Mb:1,Q:1,x:1,Wa:1,w:1,Ue:1,Se:1,Ve:1,Zf:1,Pf:1,Qf:1,$f:1,Tf:1,Me:1,Le:1,We:1,Vf:1,d:1,R:1});class Hr extends Pr{constructor(){super(),this.t=null}V(){return"IndexedSeq"}l(){var e=new Lr(this);return new Tr(e)}P(e){var t=this.t.n();return t===e?0:tt.M();var t}(new xn((Wr=qr,()=>{var e;e:{$e();var t=Wr;for(e=[];;){if(!(t instanceof qt))throw new rr(t);if(0==(0|e.length)){e=t.ib;break e}t=e.pop().c(t.ib)}}return e})))));if(null!==Qr)throw new Bn("assertion failed: Expected rendered functional component to return null; not "+Qr);zr.Oa().c(Qr)},function(e,t,n){"use strict"; +/** @license React v16.13.1 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=n(45),a="function"==typeof Symbol&&Symbol.for,i=a?Symbol.for("react.element"):60103,o=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,l=a?Symbol.for("react.strict_mode"):60108,c=a?Symbol.for("react.profiler"):60114,d=a?Symbol.for("react.provider"):60109,u=a?Symbol.for("react.context"):60110,p=a?Symbol.for("react.forward_ref"):60112,m=a?Symbol.for("react.suspense"):60113,_=a?Symbol.for("react.memo"):60115,g=a?Symbol.for("react.lazy"):60116,f="function"==typeof Symbol&&Symbol.iterator;function b(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nw.length&&w.push(e)}function k(e,t,n){return null==e?0:function e(t,n,r,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case o:l=!0}}if(l)return r(a,t,""===n?"."+L(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c