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lkB,OAAQC,IACjCiC,EAAMgiB,EAAWjkB,GACbgkB,EAAShhB,QAAQf,IAAQ,IAC7BR,EAAOQ,GAAOqJ,EAAOrJ,IAGvB,OAAOR,E","sources":["webpack://fluffle/./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/classCallCheck.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/construct.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/createClass.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/getPrototypeOf.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/inherits.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/isNativeFunction.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/iterableToArray.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/nonIterableSpread.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/slicedToArray.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/toConsumableArray.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/typeof.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/wrapNativeSuper.js","webpack://fluffle/./node_modules/highlight.js/lib/core.js","webpack://fluffle/./node_modules/highlight.js/es/core.js","webpack://fluffle/./src/components/accordion.tsx","webpack://fluffle/./src/pages/api.mdx","webpack://fluffle/./node_modules/highlight.js/es/languages/python.js","webpack://fluffle/./node_modules/highlight.js/es/languages/json.js","webpack://fluffle/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"sourcesContent":["function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\n\nfunction _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n module.exports = _construct = Reflect.construct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n } else {\n module.exports = _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n }\n\n return _construct.apply(null, arguments);\n}\n\nmodule.exports = _construct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nmodule.exports = _isNativeFunction, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nmodule.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\n\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithHoles = require(\"./arrayWithHoles.js\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableRest = require(\"./nonIterableRest.js\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayWithoutHoles = require(\"./arrayWithoutHoles.js\");\n\nvar iterableToArray = require(\"./iterableToArray.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread.js\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\n\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\n\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeFunction = require(\"./isNativeFunction.js\");\n\nvar construct = require(\"./construct.js\");\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _wrapNativeSuper(Class);\n}\n\nmodule.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _wrapNativeSuper = require(\"/opt/buildhome/repo/node_modules/@babel/runtime/helpers/wrapNativeSuper.js\");\n\nvar _slicedToArray = require(\"/opt/buildhome/repo/node_modules/@babel/runtime/helpers/slicedToArray.js\");\n\nvar _inherits = require(\"/opt/buildhome/repo/node_modules/@babel/runtime/helpers/inherits.js\");\n\nvar _possibleConstructorReturn = require(\"/opt/buildhome/repo/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js\");\n\nvar _getPrototypeOf = require(\"/opt/buildhome/repo/node_modules/@babel/runtime/helpers/getPrototypeOf.js\");\n\nvar _toConsumableArray = require(\"/opt/buildhome/repo/node_modules/@babel/runtime/helpers/toConsumableArray.js\");\n\nvar _classCallCheck = require(\"/opt/buildhome/repo/node_modules/@babel/runtime/helpers/classCallCheck.js\");\n\nvar _createClass = require(\"/opt/buildhome/repo/node_modules/@babel/runtime/helpers/createClass.js\");\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nvar deepFreezeEs6 = {\n exports: {}\n};\n\nfunction deepFreeze(obj) {\n if (obj instanceof Map) {\n obj.clear = obj.delete = obj.set = function () {\n throw new Error('map is read-only');\n };\n } else if (obj instanceof Set) {\n obj.add = obj.clear = obj.delete = function () {\n throw new Error('set is read-only');\n };\n } // Freeze self\n\n\n Object.freeze(obj);\n Object.getOwnPropertyNames(obj).forEach(function (name) {\n var prop = obj[name]; // Freeze prop if it is an object\n\n if (typeof prop == 'object' && !Object.isFrozen(prop)) {\n deepFreeze(prop);\n }\n });\n return obj;\n}\n\ndeepFreezeEs6.exports = deepFreeze;\ndeepFreezeEs6.exports.default = deepFreeze;\nvar deepFreeze$1 = deepFreezeEs6.exports;\n/** @typedef {import('highlight.js').CallbackResponse} CallbackResponse */\n\n/** @typedef {import('highlight.js').CompiledMode} CompiledMode */\n\n/** @implements CallbackResponse */\n\nvar Response = /*#__PURE__*/function () {\n \"use strict\";\n\n /**\n * @param {CompiledMode} mode\n */\n function Response(mode) {\n _classCallCheck(this, Response);\n\n // eslint-disable-next-line no-undefined\n if (mode.data === undefined) mode.data = {};\n this.data = mode.data;\n this.isMatchIgnored = false;\n }\n\n _createClass(Response, [{\n key: \"ignoreMatch\",\n value: function ignoreMatch() {\n this.isMatchIgnored = true;\n }\n }]);\n\n return Response;\n}();\n/**\n * @param {string} value\n * @returns {string}\n */\n\n\nfunction escapeHTML(value) {\n return value.replace(/&/g, '&').replace(//g, '>').replace(/\"/g, '"').replace(/'/g, ''');\n}\n/**\n * performs a shallow merge of multiple objects into one\n *\n * @template T\n * @param {T} original\n * @param {Record[]} objects\n * @returns {T} a single new object\n */\n\n\nfunction inherit$1(original) {\n /** @type Record */\n var result = Object.create(null);\n\n for (var key in original) {\n result[key] = original[key];\n }\n\n for (var _len = arguments.length, objects = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n objects[_key - 1] = arguments[_key];\n }\n\n objects.forEach(function (obj) {\n for (var _key2 in obj) {\n result[_key2] = obj[_key2];\n }\n });\n return (\n /** @type {T} */\n result\n );\n}\n/**\n * @typedef {object} Renderer\n * @property {(text: string) => void} addText\n * @property {(node: Node) => void} openNode\n * @property {(node: Node) => void} closeNode\n * @property {() => string} value\n */\n\n/** @typedef {{kind?: string, sublanguage?: boolean}} Node */\n\n/** @typedef {{walk: (r: Renderer) => void}} Tree */\n\n/** */\n\n\nvar SPAN_CLOSE = '';\n/**\n * Determines if a node needs to be wrapped in \n *\n * @param {Node} node */\n\nvar emitsWrappingTags = function emitsWrappingTags(node) {\n return !!node.kind;\n};\n/**\n *\n * @param {string} name\n * @param {{prefix:string}} options\n */\n\n\nvar expandScopeName = function expandScopeName(name, _ref) {\n var prefix = _ref.prefix;\n\n if (name.includes(\".\")) {\n var pieces = name.split(\".\");\n return [\"\".concat(prefix).concat(pieces.shift())].concat(_toConsumableArray(pieces.map(function (x, i) {\n return \"\".concat(x).concat(\"_\".repeat(i + 1));\n }))).join(\" \");\n }\n\n return \"\".concat(prefix).concat(name);\n};\n/** @type {Renderer} */\n\n\nvar HTMLRenderer = /*#__PURE__*/function () {\n \"use strict\";\n\n /**\n * Creates a new HTMLRenderer\n *\n * @param {Tree} parseTree - the parse tree (must support `walk` API)\n * @param {{classPrefix: string}} options\n */\n function HTMLRenderer(parseTree, options) {\n _classCallCheck(this, HTMLRenderer);\n\n this.buffer = \"\";\n this.classPrefix = options.classPrefix;\n parseTree.walk(this);\n }\n /**\n * Adds texts to the output stream\n *\n * @param {string} text */\n\n\n _createClass(HTMLRenderer, [{\n key: \"addText\",\n value: function addText(text) {\n this.buffer += escapeHTML(text);\n }\n /**\n * Adds a node open to the output stream (if needed)\n *\n * @param {Node} node */\n\n }, {\n key: \"openNode\",\n value: function openNode(node) {\n if (!emitsWrappingTags(node)) return;\n var scope = node.kind;\n\n if (node.sublanguage) {\n scope = \"language-\".concat(scope);\n } else {\n scope = expandScopeName(scope, {\n prefix: this.classPrefix\n });\n }\n\n this.span(scope);\n }\n /**\n * Adds a node close to the output stream (if needed)\n *\n * @param {Node} node */\n\n }, {\n key: \"closeNode\",\n value: function closeNode(node) {\n if (!emitsWrappingTags(node)) return;\n this.buffer += SPAN_CLOSE;\n }\n /**\n * returns the accumulated buffer\n */\n\n }, {\n key: \"value\",\n value: function value() {\n return this.buffer;\n } // helpers\n\n /**\n * Builds a span element\n *\n * @param {string} className */\n\n }, {\n key: \"span\",\n value: function span(className) {\n this.buffer += \"\");\n }\n }]);\n\n return HTMLRenderer;\n}();\n/** @typedef {{kind?: string, sublanguage?: boolean, children: Node[]} | string} Node */\n\n/** @typedef {{kind?: string, sublanguage?: boolean, children: Node[]} } DataNode */\n\n/** @typedef {import('highlight.js').Emitter} Emitter */\n\n/** */\n\n\nvar TokenTree = /*#__PURE__*/function () {\n \"use strict\";\n\n function TokenTree() {\n _classCallCheck(this, TokenTree);\n\n /** @type DataNode */\n this.rootNode = {\n children: []\n };\n this.stack = [this.rootNode];\n }\n\n _createClass(TokenTree, [{\n key: \"top\",\n get: function get() {\n return this.stack[this.stack.length - 1];\n }\n }, {\n key: \"root\",\n get: function get() {\n return this.rootNode;\n }\n /** @param {Node} node */\n\n }, {\n key: \"add\",\n value: function add(node) {\n this.top.children.push(node);\n }\n /** @param {string} kind */\n\n }, {\n key: \"openNode\",\n value: function openNode(kind) {\n /** @type Node */\n var node = {\n kind: kind,\n children: []\n };\n this.add(node);\n this.stack.push(node);\n }\n }, {\n key: \"closeNode\",\n value: function closeNode() {\n if (this.stack.length > 1) {\n return this.stack.pop();\n } // eslint-disable-next-line no-undefined\n\n\n return undefined;\n }\n }, {\n key: \"closeAllNodes\",\n value: function closeAllNodes() {\n while (this.closeNode()) {\n ;\n }\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n return JSON.stringify(this.rootNode, null, 4);\n }\n /**\n * @typedef { import(\"./html_renderer\").Renderer } Renderer\n * @param {Renderer} builder\n */\n\n }, {\n key: \"walk\",\n value: function walk(builder) {\n // this does not\n return this.constructor._walk(builder, this.rootNode); // this works\n // return TokenTree._walk(builder, this.rootNode);\n }\n /**\n * @param {Renderer} builder\n * @param {Node} node\n */\n\n }], [{\n key: \"_walk\",\n value: function _walk(builder, node) {\n var _this = this;\n\n if (typeof node === \"string\") {\n builder.addText(node);\n } else if (node.children) {\n builder.openNode(node);\n node.children.forEach(function (child) {\n return _this._walk(builder, child);\n });\n builder.closeNode(node);\n }\n\n return builder;\n }\n /**\n * @param {Node} node\n */\n\n }, {\n key: \"_collapse\",\n value: function _collapse(node) {\n if (typeof node === \"string\") return;\n if (!node.children) return;\n\n if (node.children.every(function (el) {\n return typeof el === \"string\";\n })) {\n // node.text = node.children.join(\"\");\n // delete node.children;\n node.children = [node.children.join(\"\")];\n } else {\n node.children.forEach(function (child) {\n TokenTree._collapse(child);\n });\n }\n }\n }]);\n\n return TokenTree;\n}();\n/**\n Currently this is all private API, but this is the minimal API necessary\n that an Emitter must implement to fully support the parser.\n\n Minimal interface:\n\n - addKeyword(text, kind)\n - addText(text)\n - addSublanguage(emitter, subLanguageName)\n - finalize()\n - openNode(kind)\n - closeNode()\n - closeAllNodes()\n - toHTML()\n\n*/\n\n/**\n * @implements {Emitter}\n */\n\n\nvar TokenTreeEmitter = /*#__PURE__*/function (_TokenTree) {\n \"use strict\";\n\n _inherits(TokenTreeEmitter, _TokenTree);\n\n var _super = _createSuper(TokenTreeEmitter);\n\n /**\n * @param {*} options\n */\n function TokenTreeEmitter(options) {\n var _this2;\n\n _classCallCheck(this, TokenTreeEmitter);\n\n _this2 = _super.call(this);\n _this2.options = options;\n return _this2;\n }\n /**\n * @param {string} text\n * @param {string} kind\n */\n\n\n _createClass(TokenTreeEmitter, [{\n key: \"addKeyword\",\n value: function addKeyword(text, kind) {\n if (text === \"\") {\n return;\n }\n\n this.openNode(kind);\n this.addText(text);\n this.closeNode();\n }\n /**\n * @param {string} text\n */\n\n }, {\n key: \"addText\",\n value: function addText(text) {\n if (text === \"\") {\n return;\n }\n\n this.add(text);\n }\n /**\n * @param {Emitter & {root: DataNode}} emitter\n * @param {string} name\n */\n\n }, {\n key: \"addSublanguage\",\n value: function addSublanguage(emitter, name) {\n /** @type DataNode */\n var node = emitter.root;\n node.kind = name;\n node.sublanguage = true;\n this.add(node);\n }\n }, {\n key: \"toHTML\",\n value: function toHTML() {\n var renderer = new HTMLRenderer(this, this.options);\n return renderer.value();\n }\n }, {\n key: \"finalize\",\n value: function finalize() {\n return true;\n }\n }]);\n\n return TokenTreeEmitter;\n}(TokenTree);\n/**\n * @param {string} value\n * @returns {RegExp}\n * */\n\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\n\n\nfunction source(re) {\n if (!re) return null;\n if (typeof re === \"string\") return re;\n return re.source;\n}\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\n\n\nfunction lookahead(re) {\n return concat('(?=', re, ')');\n}\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\n\n\nfunction anyNumberOfTimes(re) {\n return concat('(?:', re, ')*');\n}\n/**\n * @param {RegExp | string } re\n * @returns {string}\n */\n\n\nfunction optional(re) {\n return concat('(?:', re, ')?');\n}\n/**\n * @param {...(RegExp | string) } args\n * @returns {string}\n */\n\n\nfunction concat() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n var joined = args.map(function (x) {\n return source(x);\n }).join(\"\");\n return joined;\n}\n/**\n * @param { Array } args\n * @returns {object}\n */\n\n\nfunction stripOptionsFromArgs(args) {\n var opts = args[args.length - 1];\n\n if (typeof opts === 'object' && opts.constructor === Object) {\n args.splice(args.length - 1, 1);\n return opts;\n } else {\n return {};\n }\n}\n/** @typedef { {capture?: boolean} } RegexEitherOptions */\n\n/**\n * Any of the passed expresssions may match\n *\n * Creates a huge this | this | that | that match\n * @param {(RegExp | string)[] | [...(RegExp | string)[], RegexEitherOptions]} args\n * @returns {string}\n */\n\n\nfunction either() {\n for (var _len3 = arguments.length, args = new Array(_len3), _key4 = 0; _key4 < _len3; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n /** @type { object & {capture?: boolean} } */\n var opts = stripOptionsFromArgs(args);\n var joined = '(' + (opts.capture ? \"\" : \"?:\") + args.map(function (x) {\n return source(x);\n }).join(\"|\") + \")\";\n return joined;\n}\n/**\n * @param {RegExp | string} re\n * @returns {number}\n */\n\n\nfunction countMatchGroups(re) {\n return new RegExp(re.toString() + '|').exec('').length - 1;\n}\n/**\n * Does lexeme start with a regular expression match at the beginning\n * @param {RegExp} re\n * @param {string} lexeme\n */\n\n\nfunction startsWith(re, lexeme) {\n var match = re && re.exec(lexeme);\n return match && match.index === 0;\n} // BACKREF_RE matches an open parenthesis or backreference. To avoid\n// an incorrect parse, it additionally matches the following:\n// - [...] elements, where the meaning of parentheses and escapes change\n// - other escape sequences, so we do not misparse escape sequences as\n// interesting elements\n// - non-matching or lookahead parentheses, which do not capture. These\n// follow the '(' with a '?'.\n\n\nvar BACKREF_RE = /\\[(?:[^\\\\\\]]|\\\\.)*\\]|\\(\\??|\\\\([1-9][0-9]*)|\\\\./; // **INTERNAL** Not intended for outside usage\n// join logically computes regexps.join(separator), but fixes the\n// backreferences so they continue to match.\n// it also places each individual regular expression into it's own\n// match group, keeping track of the sequencing of those match groups\n// is currently an exercise for the caller. :-)\n\n/**\n * @param {(string | RegExp)[]} regexps\n * @param {{joinWith: string}} opts\n * @returns {string}\n */\n\nfunction _rewriteBackreferences(regexps, _ref2) {\n var joinWith = _ref2.joinWith;\n var numCaptures = 0;\n return regexps.map(function (regex) {\n numCaptures += 1;\n var offset = numCaptures;\n var re = source(regex);\n var out = '';\n\n while (re.length > 0) {\n var match = BACKREF_RE.exec(re);\n\n if (!match) {\n out += re;\n break;\n }\n\n out += re.substring(0, match.index);\n re = re.substring(match.index + match[0].length);\n\n if (match[0][0] === '\\\\' && match[1]) {\n // Adjust the backreference.\n out += '\\\\' + String(Number(match[1]) + offset);\n } else {\n out += match[0];\n\n if (match[0] === '(') {\n numCaptures++;\n }\n }\n }\n\n return out;\n }).map(function (re) {\n return \"(\".concat(re, \")\");\n }).join(joinWith);\n}\n/** @typedef {import('highlight.js').Mode} Mode */\n\n/** @typedef {import('highlight.js').ModeCallback} ModeCallback */\n// Common regexps\n\n\nvar MATCH_NOTHING_RE = /\\b\\B/;\nvar IDENT_RE = '[a-zA-Z]\\\\w*';\nvar UNDERSCORE_IDENT_RE = '[a-zA-Z_]\\\\w*';\nvar NUMBER_RE = '\\\\b\\\\d+(\\\\.\\\\d+)?';\nvar C_NUMBER_RE = '(-?)(\\\\b0[xX][a-fA-F0-9]+|(\\\\b\\\\d+(\\\\.\\\\d*)?|\\\\.\\\\d+)([eE][-+]?\\\\d+)?)'; // 0x..., 0..., decimal, float\n\nvar BINARY_NUMBER_RE = '\\\\b(0b[01]+)'; // 0b...\n\nvar RE_STARTERS_RE = '!|!=|!==|%|%=|&|&&|&=|\\\\*|\\\\*=|\\\\+|\\\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\\\?|\\\\[|\\\\{|\\\\(|\\\\^|\\\\^=|\\\\||\\\\|=|\\\\|\\\\||~';\n/**\n* @param { Partial & {binary?: string | RegExp} } opts\n*/\n\nvar SHEBANG = function SHEBANG() {\n var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var beginShebang = /^#![ ]*\\//;\n\n if (opts.binary) {\n opts.begin = concat(beginShebang, /.*\\b/, opts.binary, /\\b.*/);\n }\n\n return inherit$1({\n scope: 'meta',\n begin: beginShebang,\n end: /$/,\n relevance: 0,\n\n /** @type {ModeCallback} */\n \"on:begin\": function onBegin(m, resp) {\n if (m.index !== 0) resp.ignoreMatch();\n }\n }, opts);\n}; // Common modes\n\n\nvar BACKSLASH_ESCAPE = {\n begin: '\\\\\\\\[\\\\s\\\\S]',\n relevance: 0\n};\nvar APOS_STRING_MODE = {\n scope: 'string',\n begin: '\\'',\n end: '\\'',\n illegal: '\\\\n',\n contains: [BACKSLASH_ESCAPE]\n};\nvar QUOTE_STRING_MODE = {\n scope: 'string',\n begin: '\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [BACKSLASH_ESCAPE]\n};\nvar PHRASAL_WORDS_MODE = {\n begin: /\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b/\n};\n/**\n * Creates a comment mode\n *\n * @param {string | RegExp} begin\n * @param {string | RegExp} end\n * @param {Mode | {}} [modeOptions]\n * @returns {Partial}\n */\n\nvar COMMENT = function COMMENT(begin, end) {\n var modeOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var mode = inherit$1({\n scope: 'comment',\n begin: begin,\n end: end,\n contains: []\n }, modeOptions);\n mode.contains.push({\n scope: 'doctag',\n // hack to avoid the space from being included. the space is necessary to\n // match here to prevent the plain text rule below from gobbling up doctags\n begin: '[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)',\n end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,\n excludeBegin: true,\n relevance: 0\n });\n var ENGLISH_WORD = either( // list of common 1 and 2 letter words in English\n \"I\", \"a\", \"is\", \"so\", \"us\", \"to\", \"at\", \"if\", \"in\", \"it\", \"on\", // note: this is not an exhaustive list of contractions, just popular ones\n /[A-Za-z]+['](d|ve|re|ll|t|s|n)/, // contractions - can't we'd they're let's, etc\n /[A-Za-z]+[-][a-z]+/, // `no-way`, etc.\n /[A-Za-z][a-z]{2,}/ // allow capitalized words at beginning of sentences\n ); // looking like plain text, more likely to be a comment\n\n mode.contains.push({\n // TODO: how to include \", (, ) without breaking grammars that use these for\n // comment delimiters?\n // begin: /[ ]+([()\"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()\":]?([.][ ]|[ ]|\\))){3}/\n // ---\n // this tries to find sequences of 3 english words in a row (without any\n // \"programming\" type syntax) this gives us a strong signal that we've\n // TRULY found a comment - vs perhaps scanning with the wrong language.\n // It's possible to find something that LOOKS like the start of the\n // comment - but then if there is no readable text - good chance it is a\n // false match and not a comment.\n //\n // for a visual example please see:\n // https://github.com/highlightjs/highlight.js/issues/2827\n begin: concat(/[ ]+/, // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */\n '(', ENGLISH_WORD, /[.]?[:]?([.][ ]|[ ])/, '){3}') // look for 3 words in a row\n\n });\n return mode;\n};\n\nvar C_LINE_COMMENT_MODE = COMMENT('//', '$');\nvar C_BLOCK_COMMENT_MODE = COMMENT('/\\\\*', '\\\\*/');\nvar HASH_COMMENT_MODE = COMMENT('#', '$');\nvar NUMBER_MODE = {\n scope: 'number',\n begin: NUMBER_RE,\n relevance: 0\n};\nvar C_NUMBER_MODE = {\n scope: 'number',\n begin: C_NUMBER_RE,\n relevance: 0\n};\nvar BINARY_NUMBER_MODE = {\n scope: 'number',\n begin: BINARY_NUMBER_RE,\n relevance: 0\n};\nvar REGEXP_MODE = {\n // this outer rule makes sure we actually have a WHOLE regex and not simply\n // an expression such as:\n //\n // 3 / something\n //\n // (which will then blow up when regex's `illegal` sees the newline)\n begin: /(?=\\/[^/\\n]*\\/)/,\n contains: [{\n scope: 'regexp',\n begin: /\\//,\n end: /\\/[gimuy]*/,\n illegal: /\\n/,\n contains: [BACKSLASH_ESCAPE, {\n begin: /\\[/,\n end: /\\]/,\n relevance: 0,\n contains: [BACKSLASH_ESCAPE]\n }]\n }]\n};\nvar TITLE_MODE = {\n scope: 'title',\n begin: IDENT_RE,\n relevance: 0\n};\nvar UNDERSCORE_TITLE_MODE = {\n scope: 'title',\n begin: UNDERSCORE_IDENT_RE,\n relevance: 0\n};\nvar METHOD_GUARD = {\n // excludes method names from keyword processing\n begin: '\\\\.\\\\s*' + UNDERSCORE_IDENT_RE,\n relevance: 0\n};\n/**\n * Adds end same as begin mechanics to a mode\n *\n * Your mode must include at least a single () match group as that first match\n * group is what is used for comparison\n * @param {Partial} mode\n */\n\nvar END_SAME_AS_BEGIN = function END_SAME_AS_BEGIN(mode) {\n return Object.assign(mode, {\n /** @type {ModeCallback} */\n 'on:begin': function onBegin(m, resp) {\n resp.data._beginMatch = m[1];\n },\n\n /** @type {ModeCallback} */\n 'on:end': function onEnd(m, resp) {\n if (resp.data._beginMatch !== m[1]) resp.ignoreMatch();\n }\n });\n};\n\nvar MODES = /*#__PURE__*/Object.freeze({\n __proto__: null,\n MATCH_NOTHING_RE: MATCH_NOTHING_RE,\n IDENT_RE: IDENT_RE,\n UNDERSCORE_IDENT_RE: UNDERSCORE_IDENT_RE,\n NUMBER_RE: NUMBER_RE,\n C_NUMBER_RE: C_NUMBER_RE,\n BINARY_NUMBER_RE: BINARY_NUMBER_RE,\n RE_STARTERS_RE: RE_STARTERS_RE,\n SHEBANG: SHEBANG,\n BACKSLASH_ESCAPE: BACKSLASH_ESCAPE,\n APOS_STRING_MODE: APOS_STRING_MODE,\n QUOTE_STRING_MODE: QUOTE_STRING_MODE,\n PHRASAL_WORDS_MODE: PHRASAL_WORDS_MODE,\n COMMENT: COMMENT,\n C_LINE_COMMENT_MODE: C_LINE_COMMENT_MODE,\n C_BLOCK_COMMENT_MODE: C_BLOCK_COMMENT_MODE,\n HASH_COMMENT_MODE: HASH_COMMENT_MODE,\n NUMBER_MODE: NUMBER_MODE,\n C_NUMBER_MODE: C_NUMBER_MODE,\n BINARY_NUMBER_MODE: BINARY_NUMBER_MODE,\n REGEXP_MODE: REGEXP_MODE,\n TITLE_MODE: TITLE_MODE,\n UNDERSCORE_TITLE_MODE: UNDERSCORE_TITLE_MODE,\n METHOD_GUARD: METHOD_GUARD,\n END_SAME_AS_BEGIN: END_SAME_AS_BEGIN\n});\n/**\n@typedef {import('highlight.js').CallbackResponse} CallbackResponse\n@typedef {import('highlight.js').CompilerExt} CompilerExt\n*/\n// Grammar extensions / plugins\n// See: https://github.com/highlightjs/highlight.js/issues/2833\n// Grammar extensions allow \"syntactic sugar\" to be added to the grammar modes\n// without requiring any underlying changes to the compiler internals.\n// `compileMatch` being the perfect small example of now allowing a grammar\n// author to write `match` when they desire to match a single expression rather\n// than being forced to use `begin`. The extension then just moves `match` into\n// `begin` when it runs. Ie, no features have been added, but we've just made\n// the experience of writing (and reading grammars) a little bit nicer.\n// ------\n// TODO: We need negative look-behind support to do this properly\n\n/**\n * Skip a match if it has a preceding dot\n *\n * This is used for `beginKeywords` to prevent matching expressions such as\n * `bob.keyword.do()`. The mode compiler automatically wires this up as a\n * special _internal_ 'on:begin' callback for modes with `beginKeywords`\n * @param {RegExpMatchArray} match\n * @param {CallbackResponse} response\n */\n\nfunction skipIfHasPrecedingDot(match, response) {\n var before = match.input[match.index - 1];\n\n if (before === \".\") {\n response.ignoreMatch();\n }\n}\n/**\n *\n * @type {CompilerExt}\n */\n\n\nfunction scopeClassName(mode, _parent) {\n // eslint-disable-next-line no-undefined\n if (mode.className !== undefined) {\n mode.scope = mode.className;\n delete mode.className;\n }\n}\n/**\n * `beginKeywords` syntactic sugar\n * @type {CompilerExt}\n */\n\n\nfunction beginKeywords(mode, parent) {\n if (!parent) return;\n if (!mode.beginKeywords) return; // for languages with keywords that include non-word characters checking for\n // a word boundary is not sufficient, so instead we check for a word boundary\n // or whitespace - this does no harm in any case since our keyword engine\n // doesn't allow spaces in keywords anyways and we still check for the boundary\n // first\n\n mode.begin = '\\\\b(' + mode.beginKeywords.split(' ').join('|') + ')(?!\\\\.)(?=\\\\b|\\\\s)';\n mode.__beforeBegin = skipIfHasPrecedingDot;\n mode.keywords = mode.keywords || mode.beginKeywords;\n delete mode.beginKeywords; // prevents double relevance, the keywords themselves provide\n // relevance, the mode doesn't need to double it\n // eslint-disable-next-line no-undefined\n\n if (mode.relevance === undefined) mode.relevance = 0;\n}\n/**\n * Allow `illegal` to contain an array of illegal values\n * @type {CompilerExt}\n */\n\n\nfunction compileIllegal(mode, _parent) {\n if (!Array.isArray(mode.illegal)) return;\n mode.illegal = either.apply(void 0, _toConsumableArray(mode.illegal));\n}\n/**\n * `match` to match a single expression for readability\n * @type {CompilerExt}\n */\n\n\nfunction compileMatch(mode, _parent) {\n if (!mode.match) return;\n if (mode.begin || mode.end) throw new Error(\"begin & end are not supported with match\");\n mode.begin = mode.match;\n delete mode.match;\n}\n/**\n * provides the default 1 relevance to all modes\n * @type {CompilerExt}\n */\n\n\nfunction compileRelevance(mode, _parent) {\n // eslint-disable-next-line no-undefined\n if (mode.relevance === undefined) mode.relevance = 1;\n} // allow beforeMatch to act as a \"qualifier\" for the match\n// the full match begin must be [beforeMatch][begin]\n\n\nvar beforeMatchExt = function beforeMatchExt(mode, parent) {\n if (!mode.beforeMatch) return; // starts conflicts with endsParent which we need to make sure the child\n // rule is not matched multiple times\n\n if (mode.starts) throw new Error(\"beforeMatch cannot be used with starts\");\n var originalMode = Object.assign({}, mode);\n Object.keys(mode).forEach(function (key) {\n delete mode[key];\n });\n mode.keywords = originalMode.keywords;\n mode.begin = concat(originalMode.beforeMatch, lookahead(originalMode.begin));\n mode.starts = {\n relevance: 0,\n contains: [Object.assign(originalMode, {\n endsParent: true\n })]\n };\n mode.relevance = 0;\n delete originalMode.beforeMatch;\n}; // keywords that should have no default relevance value\n\n\nvar COMMON_KEYWORDS = ['of', 'and', 'for', 'in', 'not', 'or', 'if', 'then', 'parent', // common variable name\n'list', // common variable name\n'value' // common variable name\n];\nvar DEFAULT_KEYWORD_SCOPE = \"keyword\";\n/**\n * Given raw keywords from a language definition, compile them.\n *\n * @param {string | Record | Array} rawKeywords\n * @param {boolean} caseInsensitive\n */\n\nfunction compileKeywords(rawKeywords, caseInsensitive) {\n var scopeName = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_KEYWORD_SCOPE;\n\n /** @type KeywordDict */\n var compiledKeywords = Object.create(null); // input can be a string of keywords, an array of keywords, or a object with\n // named keys representing scopeName (which can then point to a string or array)\n\n if (typeof rawKeywords === 'string') {\n compileList(scopeName, rawKeywords.split(\" \"));\n } else if (Array.isArray(rawKeywords)) {\n compileList(scopeName, rawKeywords);\n } else {\n Object.keys(rawKeywords).forEach(function (scopeName) {\n // collapse all our objects back into the parent object\n Object.assign(compiledKeywords, compileKeywords(rawKeywords[scopeName], caseInsensitive, scopeName));\n });\n }\n\n return compiledKeywords; // ---\n\n /**\n * Compiles an individual list of keywords\n *\n * Ex: \"for if when while|5\"\n *\n * @param {string} scopeName\n * @param {Array} keywordList\n */\n\n function compileList(scopeName, keywordList) {\n if (caseInsensitive) {\n keywordList = keywordList.map(function (x) {\n return x.toLowerCase();\n });\n }\n\n keywordList.forEach(function (keyword) {\n var pair = keyword.split('|');\n compiledKeywords[pair[0]] = [scopeName, scoreForKeyword(pair[0], pair[1])];\n });\n }\n}\n/**\n * Returns the proper score for a given keyword\n *\n * Also takes into account comment keywords, which will be scored 0 UNLESS\n * another score has been manually assigned.\n * @param {string} keyword\n * @param {string} [providedScore]\n */\n\n\nfunction scoreForKeyword(keyword, providedScore) {\n // manual scores always win over common keywords\n // so you can force a score of 1 if you really insist\n if (providedScore) {\n return Number(providedScore);\n }\n\n return commonKeyword(keyword) ? 0 : 1;\n}\n/**\n * Determines if a given keyword is common or not\n *\n * @param {string} keyword */\n\n\nfunction commonKeyword(keyword) {\n return COMMON_KEYWORDS.includes(keyword.toLowerCase());\n}\n/*\n\nFor the reasoning behind this please see:\nhttps://github.com/highlightjs/highlight.js/issues/2880#issuecomment-747275419\n\n*/\n\n/**\n * @type {Record}\n */\n\n\nvar seenDeprecations = {};\n/**\n * @param {string} message\n */\n\nvar error = function error(message) {\n console.error(message);\n};\n/**\n * @param {string} message\n * @param {any} args\n */\n\n\nvar warn = function warn(message) {\n var _console;\n\n for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key5 = 1; _key5 < _len4; _key5++) {\n args[_key5 - 1] = arguments[_key5];\n }\n\n (_console = console).log.apply(_console, [\"WARN: \".concat(message)].concat(args));\n};\n/**\n * @param {string} version\n * @param {string} message\n */\n\n\nvar deprecated = function deprecated(version, message) {\n if (seenDeprecations[\"\".concat(version, \"/\").concat(message)]) return;\n console.log(\"Deprecated as of \".concat(version, \". \").concat(message));\n seenDeprecations[\"\".concat(version, \"/\").concat(message)] = true;\n};\n/* eslint-disable no-throw-literal */\n\n/**\n@typedef {import('highlight.js').CompiledMode} CompiledMode\n*/\n\n\nvar MultiClassError = new Error();\n/**\n * Renumbers labeled scope names to account for additional inner match\n * groups that otherwise would break everything.\n *\n * Lets say we 3 match scopes:\n *\n * { 1 => ..., 2 => ..., 3 => ... }\n *\n * So what we need is a clean match like this:\n *\n * (a)(b)(c) => [ \"a\", \"b\", \"c\" ]\n *\n * But this falls apart with inner match groups:\n *\n * (a)(((b)))(c) => [\"a\", \"b\", \"b\", \"b\", \"c\" ]\n *\n * Our scopes are now \"out of alignment\" and we're repeating `b` 3 times.\n * What needs to happen is the numbers are remapped:\n *\n * { 1 => ..., 2 => ..., 5 => ... }\n *\n * We also need to know that the ONLY groups that should be output\n * are 1, 2, and 5. This function handles this behavior.\n *\n * @param {CompiledMode} mode\n * @param {Array} regexes\n * @param {{key: \"beginScope\"|\"endScope\"}} opts\n */\n\nfunction remapScopeNames(mode, regexes, _ref3) {\n var key = _ref3.key;\n var offset = 0;\n var scopeNames = mode[key];\n /** @type Record */\n\n var emit = {};\n /** @type Record */\n\n var positions = {};\n\n for (var i = 1; i <= regexes.length; i++) {\n positions[i + offset] = scopeNames[i];\n emit[i + offset] = true;\n offset += countMatchGroups(regexes[i - 1]);\n } // we use _emit to keep track of which match groups are \"top-level\" to avoid double\n // output from inside match groups\n\n\n mode[key] = positions;\n mode[key]._emit = emit;\n mode[key]._multi = true;\n}\n/**\n * @param {CompiledMode} mode\n */\n\n\nfunction beginMultiClass(mode) {\n if (!Array.isArray(mode.begin)) return;\n\n if (mode.skip || mode.excludeBegin || mode.returnBegin) {\n error(\"skip, excludeBegin, returnBegin not compatible with beginScope: {}\");\n throw MultiClassError;\n }\n\n if (typeof mode.beginScope !== \"object\" || mode.beginScope === null) {\n error(\"beginScope must be object\");\n throw MultiClassError;\n }\n\n remapScopeNames(mode, mode.begin, {\n key: \"beginScope\"\n });\n mode.begin = _rewriteBackreferences(mode.begin, {\n joinWith: \"\"\n });\n}\n/**\n * @param {CompiledMode} mode\n */\n\n\nfunction endMultiClass(mode) {\n if (!Array.isArray(mode.end)) return;\n\n if (mode.skip || mode.excludeEnd || mode.returnEnd) {\n error(\"skip, excludeEnd, returnEnd not compatible with endScope: {}\");\n throw MultiClassError;\n }\n\n if (typeof mode.endScope !== \"object\" || mode.endScope === null) {\n error(\"endScope must be object\");\n throw MultiClassError;\n }\n\n remapScopeNames(mode, mode.end, {\n key: \"endScope\"\n });\n mode.end = _rewriteBackreferences(mode.end, {\n joinWith: \"\"\n });\n}\n/**\n * this exists only to allow `scope: {}` to be used beside `match:`\n * Otherwise `beginScope` would necessary and that would look weird\n\n {\n match: [ /def/, /\\w+/ ]\n scope: { 1: \"keyword\" , 2: \"title\" }\n }\n\n * @param {CompiledMode} mode\n */\n\n\nfunction scopeSugar(mode) {\n if (mode.scope && typeof mode.scope === \"object\" && mode.scope !== null) {\n mode.beginScope = mode.scope;\n delete mode.scope;\n }\n}\n/**\n * @param {CompiledMode} mode\n */\n\n\nfunction MultiClass(mode) {\n scopeSugar(mode);\n\n if (typeof mode.beginScope === \"string\") {\n mode.beginScope = {\n _wrap: mode.beginScope\n };\n }\n\n if (typeof mode.endScope === \"string\") {\n mode.endScope = {\n _wrap: mode.endScope\n };\n }\n\n beginMultiClass(mode);\n endMultiClass(mode);\n}\n/**\n@typedef {import('highlight.js').Mode} Mode\n@typedef {import('highlight.js').CompiledMode} CompiledMode\n@typedef {import('highlight.js').Language} Language\n@typedef {import('highlight.js').HLJSPlugin} HLJSPlugin\n@typedef {import('highlight.js').CompiledLanguage} CompiledLanguage\n*/\n// compilation\n\n/**\n * Compiles a language definition result\n *\n * Given the raw result of a language definition (Language), compiles this so\n * that it is ready for highlighting code.\n * @param {Language} language\n * @returns {CompiledLanguage}\n */\n\n\nfunction compileLanguage(language) {\n /**\n * Builds a regex with the case sensitivity of the current language\n *\n * @param {RegExp | string} value\n * @param {boolean} [global]\n */\n function langRe(value, global) {\n return new RegExp(source(value), 'm' + (language.case_insensitive ? 'i' : '') + (language.unicodeRegex ? 'u' : '') + (global ? 'g' : ''));\n }\n /**\n Stores multiple regular expressions and allows you to quickly search for\n them all in a string simultaneously - returning the first match. It does\n this by creating a huge (a|b|c) regex - each individual item wrapped with ()\n and joined by `|` - using match groups to track position. When a match is\n found checking which position in the array has content allows us to figure\n out which of the original regexes / match groups triggered the match.\n The match object itself (the result of `Regex.exec`) is returned but also\n enhanced by merging in any meta-data that was registered with the regex.\n This is how we keep track of which mode matched, and what type of rule\n (`illegal`, `begin`, end, etc).\n */\n\n\n var MultiRegex = /*#__PURE__*/function () {\n \"use strict\";\n\n function MultiRegex() {\n _classCallCheck(this, MultiRegex);\n\n this.matchIndexes = {}; // @ts-ignore\n\n this.regexes = [];\n this.matchAt = 1;\n this.position = 0;\n } // @ts-ignore\n\n\n _createClass(MultiRegex, [{\n key: \"addRule\",\n value: function addRule(re, opts) {\n opts.position = this.position++; // @ts-ignore\n\n this.matchIndexes[this.matchAt] = opts;\n this.regexes.push([opts, re]);\n this.matchAt += countMatchGroups(re) + 1;\n }\n }, {\n key: \"compile\",\n value: function compile() {\n if (this.regexes.length === 0) {\n // avoids the need to check length every time exec is called\n // @ts-ignore\n this.exec = function () {\n return null;\n };\n }\n\n var terminators = this.regexes.map(function (el) {\n return el[1];\n });\n this.matcherRe = langRe(_rewriteBackreferences(terminators, {\n joinWith: '|'\n }), true);\n this.lastIndex = 0;\n }\n /** @param {string} s */\n\n }, {\n key: \"exec\",\n value: function exec(s) {\n this.matcherRe.lastIndex = this.lastIndex;\n var match = this.matcherRe.exec(s);\n\n if (!match) {\n return null;\n } // eslint-disable-next-line no-undefined\n\n\n var i = match.findIndex(function (el, i) {\n return i > 0 && el !== undefined;\n }); // @ts-ignore\n\n var matchData = this.matchIndexes[i]; // trim off any earlier non-relevant match groups (ie, the other regex\n // match groups that make up the multi-matcher)\n\n match.splice(0, i);\n return Object.assign(match, matchData);\n }\n }]);\n\n return MultiRegex;\n }();\n /*\n Created to solve the key deficiently with MultiRegex - there is no way to\n test for multiple matches at a single location. Why would we need to do\n that? In the future a more dynamic engine will allow certain matches to be\n ignored. An example: if we matched say the 3rd regex in a large group but\n decided to ignore it - we'd need to started testing again at the 4th\n regex... but MultiRegex itself gives us no real way to do that.\n So what this class creates MultiRegexs on the fly for whatever search\n position they are needed.\n NOTE: These additional MultiRegex objects are created dynamically. For most\n grammars most of the time we will never actually need anything more than the\n first MultiRegex - so this shouldn't have too much overhead.\n Say this is our search group, and we match regex3, but wish to ignore it.\n regex1 | regex2 | regex3 | regex4 | regex5 ' ie, startAt = 0\n What we need is a new MultiRegex that only includes the remaining\n possibilities:\n regex4 | regex5 ' ie, startAt = 3\n This class wraps all that complexity up in a simple API... `startAt` decides\n where in the array of expressions to start doing the matching. It\n auto-increments, so if a match is found at position 2, then startAt will be\n set to 3. If the end is reached startAt will return to 0.\n MOST of the time the parser will be setting startAt manually to 0.\n */\n\n\n var ResumableMultiRegex = /*#__PURE__*/function () {\n \"use strict\";\n\n function ResumableMultiRegex() {\n _classCallCheck(this, ResumableMultiRegex);\n\n // @ts-ignore\n this.rules = []; // @ts-ignore\n\n this.multiRegexes = [];\n this.count = 0;\n this.lastIndex = 0;\n this.regexIndex = 0;\n } // @ts-ignore\n\n\n _createClass(ResumableMultiRegex, [{\n key: \"getMatcher\",\n value: function getMatcher(index) {\n if (this.multiRegexes[index]) return this.multiRegexes[index];\n var matcher = new MultiRegex();\n this.rules.slice(index).forEach(function (_ref4) {\n var _ref5 = _slicedToArray(_ref4, 2),\n re = _ref5[0],\n opts = _ref5[1];\n\n return matcher.addRule(re, opts);\n });\n matcher.compile();\n this.multiRegexes[index] = matcher;\n return matcher;\n }\n }, {\n key: \"resumingScanAtSamePosition\",\n value: function resumingScanAtSamePosition() {\n return this.regexIndex !== 0;\n }\n }, {\n key: \"considerAll\",\n value: function considerAll() {\n this.regexIndex = 0;\n } // @ts-ignore\n\n }, {\n key: \"addRule\",\n value: function addRule(re, opts) {\n this.rules.push([re, opts]);\n if (opts.type === \"begin\") this.count++;\n }\n /** @param {string} s */\n\n }, {\n key: \"exec\",\n value: function exec(s) {\n var m = this.getMatcher(this.regexIndex);\n m.lastIndex = this.lastIndex;\n var result = m.exec(s); // The following is because we have no easy way to say \"resume scanning at the\n // existing position but also skip the current rule ONLY\". What happens is\n // all prior rules are also skipped which can result in matching the wrong\n // thing. Example of matching \"booger\":\n // our matcher is [string, \"booger\", number]\n //\n // ....booger....\n // if \"booger\" is ignored then we'd really need a regex to scan from the\n // SAME position for only: [string, number] but ignoring \"booger\" (if it\n // was the first match), a simple resume would scan ahead who knows how\n // far looking only for \"number\", ignoring potential string matches (or\n // future \"booger\" matches that might be valid.)\n // So what we do: We execute two matchers, one resuming at the same\n // position, but the second full matcher starting at the position after:\n // /--- resume first regex match here (for [number])\n // |/---- full match here for [string, \"booger\", number]\n // vv\n // ....booger....\n // Which ever results in a match first is then used. So this 3-4 step\n // process essentially allows us to say \"match at this position, excluding\n // a prior rule that was ignored\".\n //\n // 1. Match \"booger\" first, ignore. Also proves that [string] does non match.\n // 2. Resume matching for [number]\n // 3. Match at index + 1 for [string, \"booger\", number]\n // 4. If #2 and #3 result in matches, which came first?\n\n if (this.resumingScanAtSamePosition()) {\n if (result && result.index === this.lastIndex) ;else {\n // use the second matcher result\n var m2 = this.getMatcher(0);\n m2.lastIndex = this.lastIndex + 1;\n result = m2.exec(s);\n }\n }\n\n if (result) {\n this.regexIndex += result.position + 1;\n\n if (this.regexIndex === this.count) {\n // wrap-around to considering all matches again\n this.considerAll();\n }\n }\n\n return result;\n }\n }]);\n\n return ResumableMultiRegex;\n }();\n /**\n * Given a mode, builds a huge ResumableMultiRegex that can be used to walk\n * the content and find matches.\n *\n * @param {CompiledMode} mode\n * @returns {ResumableMultiRegex}\n */\n\n\n function buildModeRegex(mode) {\n var mm = new ResumableMultiRegex();\n mode.contains.forEach(function (term) {\n return mm.addRule(term.begin, {\n rule: term,\n type: \"begin\"\n });\n });\n\n if (mode.terminatorEnd) {\n mm.addRule(mode.terminatorEnd, {\n type: \"end\"\n });\n }\n\n if (mode.illegal) {\n mm.addRule(mode.illegal, {\n type: \"illegal\"\n });\n }\n\n return mm;\n }\n /** skip vs abort vs ignore\n *\n * @skip - The mode is still entered and exited normally (and contains rules apply),\n * but all content is held and added to the parent buffer rather than being\n * output when the mode ends. Mostly used with `sublanguage` to build up\n * a single large buffer than can be parsed by sublanguage.\n *\n * - The mode begin ands ends normally.\n * - Content matched is added to the parent mode buffer.\n * - The parser cursor is moved forward normally.\n *\n * @abort - A hack placeholder until we have ignore. Aborts the mode (as if it\n * never matched) but DOES NOT continue to match subsequent `contains`\n * modes. Abort is bad/suboptimal because it can result in modes\n * farther down not getting applied because an earlier rule eats the\n * content but then aborts.\n *\n * - The mode does not begin.\n * - Content matched by `begin` is added to the mode buffer.\n * - The parser cursor is moved forward accordingly.\n *\n * @ignore - Ignores the mode (as if it never matched) and continues to match any\n * subsequent `contains` modes. Ignore isn't technically possible with\n * the current parser implementation.\n *\n * - The mode does not begin.\n * - Content matched by `begin` is ignored.\n * - The parser cursor is not moved forward.\n */\n\n /**\n * Compiles an individual mode\n *\n * This can raise an error if the mode contains certain detectable known logic\n * issues.\n * @param {Mode} mode\n * @param {CompiledMode | null} [parent]\n * @returns {CompiledMode | never}\n */\n\n\n function compileMode(mode, parent) {\n var _ref6;\n\n var cmode =\n /** @type CompiledMode */\n mode;\n if (mode.isCompiled) return cmode;\n [scopeClassName, // do this early so compiler extensions generally don't have to worry about\n // the distinction between match/begin\n compileMatch, MultiClass, beforeMatchExt].forEach(function (ext) {\n return ext(mode, parent);\n });\n language.compilerExtensions.forEach(function (ext) {\n return ext(mode, parent);\n }); // __beforeBegin is considered private API, internal use only\n\n mode.__beforeBegin = null;\n [beginKeywords, // do this later so compiler extensions that come earlier have access to the\n // raw array if they wanted to perhaps manipulate it, etc.\n compileIllegal, // default to 1 relevance if not specified\n compileRelevance].forEach(function (ext) {\n return ext(mode, parent);\n });\n mode.isCompiled = true;\n var keywordPattern = null;\n\n if (typeof mode.keywords === \"object\" && mode.keywords.$pattern) {\n // we need a copy because keywords might be compiled multiple times\n // so we can't go deleting $pattern from the original on the first\n // pass\n mode.keywords = Object.assign({}, mode.keywords);\n keywordPattern = mode.keywords.$pattern;\n delete mode.keywords.$pattern;\n }\n\n keywordPattern = keywordPattern || /\\w+/;\n\n if (mode.keywords) {\n mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);\n }\n\n cmode.keywordPatternRe = langRe(keywordPattern, true);\n\n if (parent) {\n if (!mode.begin) mode.begin = /\\B|\\b/;\n cmode.beginRe = langRe(cmode.begin);\n if (!mode.end && !mode.endsWithParent) mode.end = /\\B|\\b/;\n if (mode.end) cmode.endRe = langRe(cmode.end);\n cmode.terminatorEnd = source(cmode.end) || '';\n\n if (mode.endsWithParent && parent.terminatorEnd) {\n cmode.terminatorEnd += (mode.end ? '|' : '') + parent.terminatorEnd;\n }\n }\n\n if (mode.illegal) cmode.illegalRe = langRe(\n /** @type {RegExp | string} */\n mode.illegal);\n if (!mode.contains) mode.contains = [];\n mode.contains = (_ref6 = []).concat.apply(_ref6, _toConsumableArray(mode.contains.map(function (c) {\n return expandOrCloneMode(c === 'self' ? mode : c);\n })));\n mode.contains.forEach(function (c) {\n compileMode(\n /** @type Mode */\n c, cmode);\n });\n\n if (mode.starts) {\n compileMode(mode.starts, parent);\n }\n\n cmode.matcher = buildModeRegex(cmode);\n return cmode;\n }\n\n if (!language.compilerExtensions) language.compilerExtensions = []; // self is not valid at the top-level\n\n if (language.contains && language.contains.includes('self')) {\n throw new Error(\"ERR: contains `self` is not supported at the top-level of a language. See documentation.\");\n } // we need a null object, which inherit will guarantee\n\n\n language.classNameAliases = inherit$1(language.classNameAliases || {});\n return compileMode(\n /** @type Mode */\n language);\n}\n/**\n * Determines if a mode has a dependency on it's parent or not\n *\n * If a mode does have a parent dependency then often we need to clone it if\n * it's used in multiple places so that each copy points to the correct parent,\n * where-as modes without a parent can often safely be re-used at the bottom of\n * a mode chain.\n *\n * @param {Mode | null} mode\n * @returns {boolean} - is there a dependency on the parent?\n * */\n\n\nfunction dependencyOnParent(mode) {\n if (!mode) return false;\n return mode.endsWithParent || dependencyOnParent(mode.starts);\n}\n/**\n * Expands a mode or clones it if necessary\n *\n * This is necessary for modes with parental dependenceis (see notes on\n * `dependencyOnParent`) and for nodes that have `variants` - which must then be\n * exploded into their own individual modes at compile time.\n *\n * @param {Mode} mode\n * @returns {Mode | Mode[]}\n * */\n\n\nfunction expandOrCloneMode(mode) {\n if (mode.variants && !mode.cachedVariants) {\n mode.cachedVariants = mode.variants.map(function (variant) {\n return inherit$1(mode, {\n variants: null\n }, variant);\n });\n } // EXPAND\n // if we have variants then essentially \"replace\" the mode with the variants\n // this happens in compileMode, where this function is called from\n\n\n if (mode.cachedVariants) {\n return mode.cachedVariants;\n } // CLONE\n // if we have dependencies on parents then we need a unique\n // instance of ourselves, so we can be reused with many\n // different parents without issue\n\n\n if (dependencyOnParent(mode)) {\n return inherit$1(mode, {\n starts: mode.starts ? inherit$1(mode.starts) : null\n });\n }\n\n if (Object.isFrozen(mode)) {\n return inherit$1(mode);\n } // no special dependency issues, just return ourselves\n\n\n return mode;\n}\n\nvar version = \"11.5.0\";\n\nvar HTMLInjectionError = /*#__PURE__*/function (_Error) {\n \"use strict\";\n\n _inherits(HTMLInjectionError, _Error);\n\n var _super2 = _createSuper(HTMLInjectionError);\n\n function HTMLInjectionError(reason, html) {\n var _this3;\n\n _classCallCheck(this, HTMLInjectionError);\n\n _this3 = _super2.call(this, reason);\n _this3.name = \"HTMLInjectionError\";\n _this3.html = html;\n return _this3;\n }\n\n return _createClass(HTMLInjectionError);\n}( /*#__PURE__*/_wrapNativeSuper(Error));\n/*\nSyntax highlighting with language autodetection.\nhttps://highlightjs.org/\n*/\n\n/**\n@typedef {import('highlight.js').Mode} Mode\n@typedef {import('highlight.js').CompiledMode} CompiledMode\n@typedef {import('highlight.js').CompiledScope} CompiledScope\n@typedef {import('highlight.js').Language} Language\n@typedef {import('highlight.js').HLJSApi} HLJSApi\n@typedef {import('highlight.js').HLJSPlugin} HLJSPlugin\n@typedef {import('highlight.js').PluginEvent} PluginEvent\n@typedef {import('highlight.js').HLJSOptions} HLJSOptions\n@typedef {import('highlight.js').LanguageFn} LanguageFn\n@typedef {import('highlight.js').HighlightedHTMLElement} HighlightedHTMLElement\n@typedef {import('highlight.js').BeforeHighlightContext} BeforeHighlightContext\n@typedef {import('highlight.js/private').MatchType} MatchType\n@typedef {import('highlight.js/private').KeywordData} KeywordData\n@typedef {import('highlight.js/private').EnhancedMatch} EnhancedMatch\n@typedef {import('highlight.js/private').AnnotatedError} AnnotatedError\n@typedef {import('highlight.js').AutoHighlightResult} AutoHighlightResult\n@typedef {import('highlight.js').HighlightOptions} HighlightOptions\n@typedef {import('highlight.js').HighlightResult} HighlightResult\n*/\n\n\nvar escape = escapeHTML;\nvar inherit = inherit$1;\nvar NO_MATCH = Symbol(\"nomatch\");\nvar MAX_KEYWORD_HITS = 7;\n/**\n * @param {any} hljs - object that is extended (legacy)\n * @returns {HLJSApi}\n */\n\nvar HLJS = function HLJS(hljs) {\n // Global internal variables used within the highlight.js library.\n\n /** @type {Record} */\n var languages = Object.create(null);\n /** @type {Record} */\n\n var aliases = Object.create(null);\n /** @type {HLJSPlugin[]} */\n\n var plugins = []; // safe/production mode - swallows more errors, tries to keep running\n // even if a single syntax or parse hits a fatal error\n\n var SAFE_MODE = true;\n var LANGUAGE_NOT_FOUND = \"Could not find the language '{}', did you forget to load/include a language module?\";\n /** @type {Language} */\n\n var PLAINTEXT_LANGUAGE = {\n disableAutodetect: true,\n name: 'Plain text',\n contains: []\n }; // Global options used when within external APIs. This is modified when\n // calling the `hljs.configure` function.\n\n /** @type HLJSOptions */\n\n var options = {\n ignoreUnescapedHTML: false,\n throwUnescapedHTML: false,\n noHighlightRe: /^(no-?highlight)$/i,\n languageDetectRe: /\\blang(?:uage)?-([\\w-]+)\\b/i,\n classPrefix: 'hljs-',\n cssSelector: 'pre code',\n languages: null,\n // beta configuration options, subject to change, welcome to discuss\n // https://github.com/highlightjs/highlight.js/issues/1086\n __emitter: TokenTreeEmitter\n };\n /* Utility functions */\n\n /**\n * Tests a language name to see if highlighting should be skipped\n * @param {string} languageName\n */\n\n function shouldNotHighlight(languageName) {\n return options.noHighlightRe.test(languageName);\n }\n /**\n * @param {HighlightedHTMLElement} block - the HTML element to determine language for\n */\n\n\n function blockLanguage(block) {\n var classes = block.className + ' ';\n classes += block.parentNode ? block.parentNode.className : ''; // language-* takes precedence over non-prefixed class names.\n\n var match = options.languageDetectRe.exec(classes);\n\n if (match) {\n var language = getLanguage(match[1]);\n\n if (!language) {\n warn(LANGUAGE_NOT_FOUND.replace(\"{}\", match[1]));\n warn(\"Falling back to no-highlight mode for this block.\", block);\n }\n\n return language ? match[1] : 'no-highlight';\n }\n\n return classes.split(/\\s+/).find(function (_class) {\n return shouldNotHighlight(_class) || getLanguage(_class);\n });\n }\n /**\n * Core highlighting function.\n *\n * OLD API\n * highlight(lang, code, ignoreIllegals, continuation)\n *\n * NEW API\n * highlight(code, {lang, ignoreIllegals})\n *\n * @param {string} codeOrLanguageName - the language to use for highlighting\n * @param {string | HighlightOptions} optionsOrCode - the code to highlight\n * @param {boolean} [ignoreIllegals] - whether to ignore illegal matches, default is to bail\n *\n * @returns {HighlightResult} Result - an object that represents the result\n * @property {string} language - the language name\n * @property {number} relevance - the relevance score\n * @property {string} value - the highlighted HTML code\n * @property {string} code - the original raw code\n * @property {CompiledMode} top - top of the current mode stack\n * @property {boolean} illegal - indicates whether any illegal matches were found\n */\n\n\n function highlight(codeOrLanguageName, optionsOrCode, ignoreIllegals) {\n var code = \"\";\n var languageName = \"\";\n\n if (typeof optionsOrCode === \"object\") {\n code = codeOrLanguageName;\n ignoreIllegals = optionsOrCode.ignoreIllegals;\n languageName = optionsOrCode.language;\n } else {\n // old API\n deprecated(\"10.7.0\", \"highlight(lang, code, ...args) has been deprecated.\");\n deprecated(\"10.7.0\", \"Please use highlight(code, options) instead.\\nhttps://github.com/highlightjs/highlight.js/issues/2277\");\n languageName = codeOrLanguageName;\n code = optionsOrCode;\n } // https://github.com/highlightjs/highlight.js/issues/3149\n // eslint-disable-next-line no-undefined\n\n\n if (ignoreIllegals === undefined) {\n ignoreIllegals = true;\n }\n /** @type {BeforeHighlightContext} */\n\n\n var context = {\n code: code,\n language: languageName\n }; // the plugin can change the desired language or the code to be highlighted\n // just be changing the object it was passed\n\n fire(\"before:highlight\", context); // a before plugin can usurp the result completely by providing it's own\n // in which case we don't even need to call highlight\n\n var result = context.result ? context.result : _highlight(context.language, context.code, ignoreIllegals);\n result.code = context.code; // the plugin can change anything in result to suite it\n\n fire(\"after:highlight\", result);\n return result;\n }\n /**\n * private highlight that's used internally and does not fire callbacks\n *\n * @param {string} languageName - the language to use for highlighting\n * @param {string} codeToHighlight - the code to highlight\n * @param {boolean?} [ignoreIllegals] - whether to ignore illegal matches, default is to bail\n * @param {CompiledMode?} [continuation] - current continuation mode, if any\n * @returns {HighlightResult} - result of the highlight operation\n */\n\n\n function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {\n var keywordHits = Object.create(null);\n /**\n * Return keyword data if a match is a keyword\n * @param {CompiledMode} mode - current mode\n * @param {string} matchText - the textual match\n * @returns {KeywordData | false}\n */\n\n function keywordData(mode, matchText) {\n return mode.keywords[matchText];\n }\n\n function processKeywords() {\n if (!top.keywords) {\n emitter.addText(modeBuffer);\n return;\n }\n\n var lastIndex = 0;\n top.keywordPatternRe.lastIndex = 0;\n var match = top.keywordPatternRe.exec(modeBuffer);\n var buf = \"\";\n\n while (match) {\n buf += modeBuffer.substring(lastIndex, match.index);\n var word = language.case_insensitive ? match[0].toLowerCase() : match[0];\n var data = keywordData(top, word);\n\n if (data) {\n var _data = _slicedToArray(data, 2),\n kind = _data[0],\n keywordRelevance = _data[1];\n\n emitter.addText(buf);\n buf = \"\";\n keywordHits[word] = (keywordHits[word] || 0) + 1;\n if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;\n\n if (kind.startsWith(\"_\")) {\n // _ implied for relevance only, do not highlight\n // by applying a class name\n buf += match[0];\n } else {\n var cssClass = language.classNameAliases[kind] || kind;\n emitter.addKeyword(match[0], cssClass);\n }\n } else {\n buf += match[0];\n }\n\n lastIndex = top.keywordPatternRe.lastIndex;\n match = top.keywordPatternRe.exec(modeBuffer);\n }\n\n buf += modeBuffer.substr(lastIndex);\n emitter.addText(buf);\n }\n\n function processSubLanguage() {\n if (modeBuffer === \"\") return;\n /** @type HighlightResult */\n\n var result = null;\n\n if (typeof top.subLanguage === 'string') {\n if (!languages[top.subLanguage]) {\n emitter.addText(modeBuffer);\n return;\n }\n\n result = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);\n continuations[top.subLanguage] =\n /** @type {CompiledMode} */\n result._top;\n } else {\n result = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);\n } // Counting embedded language score towards the host language may be disabled\n // with zeroing the containing mode relevance. Use case in point is Markdown that\n // allows XML everywhere and makes every XML snippet to have a much larger Markdown\n // score.\n\n\n if (top.relevance > 0) {\n relevance += result.relevance;\n }\n\n emitter.addSublanguage(result._emitter, result.language);\n }\n\n function processBuffer() {\n if (top.subLanguage != null) {\n processSubLanguage();\n } else {\n processKeywords();\n }\n\n modeBuffer = '';\n }\n /**\n * @param {CompiledScope} scope\n * @param {RegExpMatchArray} match\n */\n\n\n function emitMultiClass(scope, match) {\n var i = 1;\n var max = match.length - 1;\n\n while (i <= max) {\n if (!scope._emit[i]) {\n i++;\n continue;\n }\n\n var klass = language.classNameAliases[scope[i]] || scope[i];\n var text = match[i];\n\n if (klass) {\n emitter.addKeyword(text, klass);\n } else {\n modeBuffer = text;\n processKeywords();\n modeBuffer = \"\";\n }\n\n i++;\n }\n }\n /**\n * @param {CompiledMode} mode - new mode to start\n * @param {RegExpMatchArray} match\n */\n\n\n function startNewMode(mode, match) {\n if (mode.scope && typeof mode.scope === \"string\") {\n emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);\n }\n\n if (mode.beginScope) {\n // beginScope just wraps the begin match itself in a scope\n if (mode.beginScope._wrap) {\n emitter.addKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);\n modeBuffer = \"\";\n } else if (mode.beginScope._multi) {\n // at this point modeBuffer should just be the match\n emitMultiClass(mode.beginScope, match);\n modeBuffer = \"\";\n }\n }\n\n top = Object.create(mode, {\n parent: {\n value: top\n }\n });\n return top;\n }\n /**\n * @param {CompiledMode } mode - the mode to potentially end\n * @param {RegExpMatchArray} match - the latest match\n * @param {string} matchPlusRemainder - match plus remainder of content\n * @returns {CompiledMode | void} - the next mode, or if void continue on in current mode\n */\n\n\n function endOfMode(mode, match, matchPlusRemainder) {\n var matched = startsWith(mode.endRe, matchPlusRemainder);\n\n if (matched) {\n if (mode[\"on:end\"]) {\n var resp = new Response(mode);\n mode[\"on:end\"](match, resp);\n if (resp.isMatchIgnored) matched = false;\n }\n\n if (matched) {\n while (mode.endsParent && mode.parent) {\n mode = mode.parent;\n }\n\n return mode;\n }\n } // even if on:end fires an `ignore` it's still possible\n // that we might trigger the end node because of a parent mode\n\n\n if (mode.endsWithParent) {\n return endOfMode(mode.parent, match, matchPlusRemainder);\n }\n }\n /**\n * Handle matching but then ignoring a sequence of text\n *\n * @param {string} lexeme - string containing full match text\n */\n\n\n function doIgnore(lexeme) {\n if (top.matcher.regexIndex === 0) {\n // no more regexes to potentially match here, so we move the cursor forward one\n // space\n modeBuffer += lexeme[0];\n return 1;\n } else {\n // no need to move the cursor, we still have additional regexes to try and\n // match at this very spot\n resumeScanAtSamePosition = true;\n return 0;\n }\n }\n /**\n * Handle the start of a new potential mode match\n *\n * @param {EnhancedMatch} match - the current match\n * @returns {number} how far to advance the parse cursor\n */\n\n\n function doBeginMatch(match) {\n var lexeme = match[0];\n var newMode = match.rule;\n var resp = new Response(newMode); // first internal before callbacks, then the public ones\n\n var beforeCallbacks = [newMode.__beforeBegin, newMode[\"on:begin\"]];\n\n for (var _i = 0, _beforeCallbacks = beforeCallbacks; _i < _beforeCallbacks.length; _i++) {\n var cb = _beforeCallbacks[_i];\n if (!cb) continue;\n cb(match, resp);\n if (resp.isMatchIgnored) return doIgnore(lexeme);\n }\n\n if (newMode.skip) {\n modeBuffer += lexeme;\n } else {\n if (newMode.excludeBegin) {\n modeBuffer += lexeme;\n }\n\n processBuffer();\n\n if (!newMode.returnBegin && !newMode.excludeBegin) {\n modeBuffer = lexeme;\n }\n }\n\n startNewMode(newMode, match);\n return newMode.returnBegin ? 0 : lexeme.length;\n }\n /**\n * Handle the potential end of mode\n *\n * @param {RegExpMatchArray} match - the current match\n */\n\n\n function doEndMatch(match) {\n var lexeme = match[0];\n var matchPlusRemainder = codeToHighlight.substr(match.index);\n var endMode = endOfMode(top, match, matchPlusRemainder);\n\n if (!endMode) {\n return NO_MATCH;\n }\n\n var origin = top;\n\n if (top.endScope && top.endScope._wrap) {\n processBuffer();\n emitter.addKeyword(lexeme, top.endScope._wrap);\n } else if (top.endScope && top.endScope._multi) {\n processBuffer();\n emitMultiClass(top.endScope, match);\n } else if (origin.skip) {\n modeBuffer += lexeme;\n } else {\n if (!(origin.returnEnd || origin.excludeEnd)) {\n modeBuffer += lexeme;\n }\n\n processBuffer();\n\n if (origin.excludeEnd) {\n modeBuffer = lexeme;\n }\n }\n\n do {\n if (top.scope) {\n emitter.closeNode();\n }\n\n if (!top.skip && !top.subLanguage) {\n relevance += top.relevance;\n }\n\n top = top.parent;\n } while (top !== endMode.parent);\n\n if (endMode.starts) {\n startNewMode(endMode.starts, match);\n }\n\n return origin.returnEnd ? 0 : lexeme.length;\n }\n\n function processContinuations() {\n var list = [];\n\n for (var current = top; current !== language; current = current.parent) {\n if (current.scope) {\n list.unshift(current.scope);\n }\n }\n\n list.forEach(function (item) {\n return emitter.openNode(item);\n });\n }\n /** @type {{type?: MatchType, index?: number, rule?: Mode}}} */\n\n\n var lastMatch = {};\n /**\n * Process an individual match\n *\n * @param {string} textBeforeMatch - text preceding the match (since the last match)\n * @param {EnhancedMatch} [match] - the match itself\n */\n\n function processLexeme(textBeforeMatch, match) {\n var lexeme = match && match[0]; // add non-matched text to the current mode buffer\n\n modeBuffer += textBeforeMatch;\n\n if (lexeme == null) {\n processBuffer();\n return 0;\n } // we've found a 0 width match and we're stuck, so we need to advance\n // this happens when we have badly behaved rules that have optional matchers to the degree that\n // sometimes they can end up matching nothing at all\n // Ref: https://github.com/highlightjs/highlight.js/issues/2140\n\n\n if (lastMatch.type === \"begin\" && match.type === \"end\" && lastMatch.index === match.index && lexeme === \"\") {\n // spit the \"skipped\" character that our regex choked on back into the output sequence\n modeBuffer += codeToHighlight.slice(match.index, match.index + 1);\n\n if (!SAFE_MODE) {\n /** @type {AnnotatedError} */\n var err = new Error(\"0 width match regex (\".concat(languageName, \")\"));\n err.languageName = languageName;\n err.badRule = lastMatch.rule;\n throw err;\n }\n\n return 1;\n }\n\n lastMatch = match;\n\n if (match.type === \"begin\") {\n return doBeginMatch(match);\n } else if (match.type === \"illegal\" && !ignoreIllegals) {\n // illegal match, we do not continue processing\n\n /** @type {AnnotatedError} */\n var _err = new Error('Illegal lexeme \"' + lexeme + '\" for mode \"' + (top.scope || '') + '\"');\n\n _err.mode = top;\n throw _err;\n } else if (match.type === \"end\") {\n var processed = doEndMatch(match);\n\n if (processed !== NO_MATCH) {\n return processed;\n }\n } // edge case for when illegal matches $ (end of line) which is technically\n // a 0 width match but not a begin/end match so it's not caught by the\n // first handler (when ignoreIllegals is true)\n\n\n if (match.type === \"illegal\" && lexeme === \"\") {\n // advance so we aren't stuck in an infinite loop\n return 1;\n } // infinite loops are BAD, this is a last ditch catch all. if we have a\n // decent number of iterations yet our index (cursor position in our\n // parsing) still 3x behind our index then something is very wrong\n // so we bail\n\n\n if (iterations > 100000 && iterations > match.index * 3) {\n var _err2 = new Error('potential infinite loop, way more iterations than matches');\n\n throw _err2;\n }\n /*\n Why might be find ourselves here? An potential end match that was\n triggered but could not be completed. IE, `doEndMatch` returned NO_MATCH.\n (this could be because a callback requests the match be ignored, etc)\n This causes no real harm other than stopping a few times too many.\n */\n\n\n modeBuffer += lexeme;\n return lexeme.length;\n }\n\n var language = getLanguage(languageName);\n\n if (!language) {\n error(LANGUAGE_NOT_FOUND.replace(\"{}\", languageName));\n throw new Error('Unknown language: \"' + languageName + '\"');\n }\n\n var md = compileLanguage(language);\n var result = '';\n /** @type {CompiledMode} */\n\n var top = continuation || md;\n /** @type Record */\n\n var continuations = {}; // keep continuations for sub-languages\n\n var emitter = new options.__emitter(options);\n processContinuations();\n var modeBuffer = '';\n var relevance = 0;\n var index = 0;\n var iterations = 0;\n var resumeScanAtSamePosition = false;\n\n try {\n top.matcher.considerAll();\n\n for (;;) {\n iterations++;\n\n if (resumeScanAtSamePosition) {\n // only regexes not matched previously will now be\n // considered for a potential match\n resumeScanAtSamePosition = false;\n } else {\n top.matcher.considerAll();\n }\n\n top.matcher.lastIndex = index;\n var match = top.matcher.exec(codeToHighlight); // console.log(\"match\", match[0], match.rule && match.rule.begin)\n\n if (!match) break;\n var beforeMatch = codeToHighlight.substring(index, match.index);\n var processedCount = processLexeme(beforeMatch, match);\n index = match.index + processedCount;\n }\n\n processLexeme(codeToHighlight.substr(index));\n emitter.closeAllNodes();\n emitter.finalize();\n result = emitter.toHTML();\n return {\n language: languageName,\n value: result,\n relevance: relevance,\n illegal: false,\n _emitter: emitter,\n _top: top\n };\n } catch (err) {\n if (err.message && err.message.includes('Illegal')) {\n return {\n language: languageName,\n value: escape(codeToHighlight),\n illegal: true,\n relevance: 0,\n _illegalBy: {\n message: err.message,\n index: index,\n context: codeToHighlight.slice(index - 100, index + 100),\n mode: err.mode,\n resultSoFar: result\n },\n _emitter: emitter\n };\n } else if (SAFE_MODE) {\n return {\n language: languageName,\n value: escape(codeToHighlight),\n illegal: false,\n relevance: 0,\n errorRaised: err,\n _emitter: emitter,\n _top: top\n };\n } else {\n throw err;\n }\n }\n }\n /**\n * returns a valid highlight result, without actually doing any actual work,\n * auto highlight starts with this and it's possible for small snippets that\n * auto-detection may not find a better match\n * @param {string} code\n * @returns {HighlightResult}\n */\n\n\n function justTextHighlightResult(code) {\n var result = {\n value: escape(code),\n illegal: false,\n relevance: 0,\n _top: PLAINTEXT_LANGUAGE,\n _emitter: new options.__emitter(options)\n };\n\n result._emitter.addText(code);\n\n return result;\n }\n /**\n Highlighting with language detection. Accepts a string with the code to\n highlight. Returns an object with the following properties:\n - language (detected language)\n - relevance (int)\n - value (an HTML string with highlighting markup)\n - secondBest (object with the same structure for second-best heuristically\n detected language, may be absent)\n @param {string} code\n @param {Array} [languageSubset]\n @returns {AutoHighlightResult}\n */\n\n\n function highlightAuto(code, languageSubset) {\n languageSubset = languageSubset || options.languages || Object.keys(languages);\n var plaintext = justTextHighlightResult(code);\n var results = languageSubset.filter(getLanguage).filter(autoDetection).map(function (name) {\n return _highlight(name, code, false);\n });\n results.unshift(plaintext); // plaintext is always an option\n\n var sorted = results.sort(function (a, b) {\n // sort base on relevance\n if (a.relevance !== b.relevance) return b.relevance - a.relevance; // always award the tie to the base language\n // ie if C++ and Arduino are tied, it's more likely to be C++\n\n if (a.language && b.language) {\n if (getLanguage(a.language).supersetOf === b.language) {\n return 1;\n } else if (getLanguage(b.language).supersetOf === a.language) {\n return -1;\n }\n } // otherwise say they are equal, which has the effect of sorting on\n // relevance while preserving the original ordering - which is how ties\n // have historically been settled, ie the language that comes first always\n // wins in the case of a tie\n\n\n return 0;\n });\n\n var _sorted = _slicedToArray(sorted, 2),\n best = _sorted[0],\n secondBest = _sorted[1];\n /** @type {AutoHighlightResult} */\n\n\n var result = best;\n result.secondBest = secondBest;\n return result;\n }\n /**\n * Builds new class name for block given the language name\n *\n * @param {HTMLElement} element\n * @param {string} [currentLang]\n * @param {string} [resultLang]\n */\n\n\n function updateClassName(element, currentLang, resultLang) {\n var language = currentLang && aliases[currentLang] || resultLang;\n element.classList.add(\"hljs\");\n element.classList.add(\"language-\".concat(language));\n }\n /**\n * Applies highlighting to a DOM node containing code.\n *\n * @param {HighlightedHTMLElement} element - the HTML element to highlight\n */\n\n\n function highlightElement(element) {\n /** @type HTMLElement */\n var node = null;\n var language = blockLanguage(element);\n if (shouldNotHighlight(language)) return;\n fire(\"before:highlightElement\", {\n el: element,\n language: language\n }); // we should be all text, no child nodes (unescaped HTML) - this is possibly\n // an HTML injection attack - it's likely too late if this is already in\n // production (the code has likely already done its damage by the time\n // we're seeing it)... but we yell loudly about this so that hopefully it's\n // more likely to be caught in development before making it to production\n\n if (element.children.length > 0) {\n if (!options.ignoreUnescapedHTML) {\n console.warn(\"One of your code blocks includes unescaped HTML. This is a potentially serious security risk.\");\n console.warn(\"https://github.com/highlightjs/highlight.js/wiki/security\");\n console.warn(\"The element with unescaped HTML:\");\n console.warn(element);\n }\n\n if (options.throwUnescapedHTML) {\n var err = new HTMLInjectionError(\"One of your code blocks includes unescaped HTML.\", element.innerHTML);\n throw err;\n }\n }\n\n node = element;\n var text = node.textContent;\n var result = language ? highlight(text, {\n language: language,\n ignoreIllegals: true\n }) : highlightAuto(text);\n element.innerHTML = result.value;\n updateClassName(element, language, result.language);\n element.result = {\n language: result.language,\n // TODO: remove with version 11.0\n re: result.relevance,\n relevance: result.relevance\n };\n\n if (result.secondBest) {\n element.secondBest = {\n language: result.secondBest.language,\n relevance: result.secondBest.relevance\n };\n }\n\n fire(\"after:highlightElement\", {\n el: element,\n result: result,\n text: text\n });\n }\n /**\n * Updates highlight.js global options with the passed options\n *\n * @param {Partial} userOptions\n */\n\n\n function configure(userOptions) {\n options = inherit(options, userOptions);\n } // TODO: remove v12, deprecated\n\n\n var initHighlighting = function initHighlighting() {\n highlightAll();\n deprecated(\"10.6.0\", \"initHighlighting() deprecated. Use highlightAll() now.\");\n }; // TODO: remove v12, deprecated\n\n\n function initHighlightingOnLoad() {\n highlightAll();\n deprecated(\"10.6.0\", \"initHighlightingOnLoad() deprecated. Use highlightAll() now.\");\n }\n\n var wantsHighlight = false;\n /**\n * auto-highlights all pre>code elements on the page\n */\n\n function highlightAll() {\n // if we are called too early in the loading process\n if (document.readyState === \"loading\") {\n wantsHighlight = true;\n return;\n }\n\n var blocks = document.querySelectorAll(options.cssSelector);\n blocks.forEach(highlightElement);\n }\n\n function boot() {\n // if a highlight was requested before DOM was loaded, do now\n if (wantsHighlight) highlightAll();\n } // make sure we are in the browser environment\n\n\n if (typeof window !== 'undefined' && window.addEventListener) {\n window.addEventListener('DOMContentLoaded', boot, false);\n }\n /**\n * Register a language grammar module\n *\n * @param {string} languageName\n * @param {LanguageFn} languageDefinition\n */\n\n\n function registerLanguage(languageName, languageDefinition) {\n var lang = null;\n\n try {\n lang = languageDefinition(hljs);\n } catch (error$1) {\n error(\"Language definition for '{}' could not be registered.\".replace(\"{}\", languageName)); // hard or soft error\n\n if (!SAFE_MODE) {\n throw error$1;\n } else {\n error(error$1);\n } // languages that have serious errors are replaced with essentially a\n // \"plaintext\" stand-in so that the code blocks will still get normal\n // css classes applied to them - and one bad language won't break the\n // entire highlighter\n\n\n lang = PLAINTEXT_LANGUAGE;\n } // give it a temporary name if it doesn't have one in the meta-data\n\n\n if (!lang.name) lang.name = languageName;\n languages[languageName] = lang;\n lang.rawDefinition = languageDefinition.bind(null, hljs);\n\n if (lang.aliases) {\n registerAliases(lang.aliases, {\n languageName: languageName\n });\n }\n }\n /**\n * Remove a language grammar module\n *\n * @param {string} languageName\n */\n\n\n function unregisterLanguage(languageName) {\n delete languages[languageName];\n\n for (var _i2 = 0, _Object$keys = Object.keys(aliases); _i2 < _Object$keys.length; _i2++) {\n var alias = _Object$keys[_i2];\n\n if (aliases[alias] === languageName) {\n delete aliases[alias];\n }\n }\n }\n /**\n * @returns {string[]} List of language internal names\n */\n\n\n function listLanguages() {\n return Object.keys(languages);\n }\n /**\n * @param {string} name - name of the language to retrieve\n * @returns {Language | undefined}\n */\n\n\n function getLanguage(name) {\n name = (name || '').toLowerCase();\n return languages[name] || languages[aliases[name]];\n }\n /**\n *\n * @param {string|string[]} aliasList - single alias or list of aliases\n * @param {{languageName: string}} opts\n */\n\n\n function registerAliases(aliasList, _ref7) {\n var languageName = _ref7.languageName;\n\n if (typeof aliasList === 'string') {\n aliasList = [aliasList];\n }\n\n aliasList.forEach(function (alias) {\n aliases[alias.toLowerCase()] = languageName;\n });\n }\n /**\n * Determines if a given language has auto-detection enabled\n * @param {string} name - name of the language\n */\n\n\n function autoDetection(name) {\n var lang = getLanguage(name);\n return lang && !lang.disableAutodetect;\n }\n /**\n * Upgrades the old highlightBlock plugins to the new\n * highlightElement API\n * @param {HLJSPlugin} plugin\n */\n\n\n function upgradePluginAPI(plugin) {\n // TODO: remove with v12\n if (plugin[\"before:highlightBlock\"] && !plugin[\"before:highlightElement\"]) {\n plugin[\"before:highlightElement\"] = function (data) {\n plugin[\"before:highlightBlock\"](Object.assign({\n block: data.el\n }, data));\n };\n }\n\n if (plugin[\"after:highlightBlock\"] && !plugin[\"after:highlightElement\"]) {\n plugin[\"after:highlightElement\"] = function (data) {\n plugin[\"after:highlightBlock\"](Object.assign({\n block: data.el\n }, data));\n };\n }\n }\n /**\n * @param {HLJSPlugin} plugin\n */\n\n\n function addPlugin(plugin) {\n upgradePluginAPI(plugin);\n plugins.push(plugin);\n }\n /**\n *\n * @param {PluginEvent} event\n * @param {any} args\n */\n\n\n function fire(event, args) {\n var cb = event;\n plugins.forEach(function (plugin) {\n if (plugin[cb]) {\n plugin[cb](args);\n }\n });\n }\n /**\n * DEPRECATED\n * @param {HighlightedHTMLElement} el\n */\n\n\n function deprecateHighlightBlock(el) {\n deprecated(\"10.7.0\", \"highlightBlock will be removed entirely in v12.0\");\n deprecated(\"10.7.0\", \"Please use highlightElement now.\");\n return highlightElement(el);\n }\n /* Interface definition */\n\n\n Object.assign(hljs, {\n highlight: highlight,\n highlightAuto: highlightAuto,\n highlightAll: highlightAll,\n highlightElement: highlightElement,\n // TODO: Remove with v12 API\n highlightBlock: deprecateHighlightBlock,\n configure: configure,\n initHighlighting: initHighlighting,\n initHighlightingOnLoad: initHighlightingOnLoad,\n registerLanguage: registerLanguage,\n unregisterLanguage: unregisterLanguage,\n listLanguages: listLanguages,\n getLanguage: getLanguage,\n registerAliases: registerAliases,\n autoDetection: autoDetection,\n inherit: inherit,\n addPlugin: addPlugin\n });\n\n hljs.debugMode = function () {\n SAFE_MODE = false;\n };\n\n hljs.safeMode = function () {\n SAFE_MODE = true;\n };\n\n hljs.versionString = version;\n hljs.regex = {\n concat: concat,\n lookahead: lookahead,\n either: either,\n optional: optional,\n anyNumberOfTimes: anyNumberOfTimes\n };\n\n for (var key in MODES) {\n // @ts-ignore\n if (typeof MODES[key] === \"object\") {\n // @ts-ignore\n deepFreeze$1(MODES[key]);\n }\n } // merge all the modes/regexes into our main object\n\n\n Object.assign(hljs, MODES);\n return hljs;\n}; // export an \"instance\" of the highlighter\n\n\nvar highlight = HLJS({});\nmodule.exports = highlight;\nhighlight.HighlightJS = highlight;\nhighlight.default = highlight;","// https://nodejs.org/api/packages.html#packages_writing_dual_packages_while_avoiding_or_minimizing_hazards\nimport HighlightJS from '../lib/core.js';\nexport { HighlightJS };\nexport default HighlightJS;","import classNames from 'classnames'\nimport * as React from 'react'\nimport Icon from './icon'\n\nconst Accordion = ({ children, initiallyOpen, header, fontSize }) => {\n const [isOpen, setIsOpen] = React.useState(initiallyOpen);\n\n return (\n
\n
setIsOpen(!isOpen)}>\n
\n \n
\n
\n
\n
\n
\n {children}\n
\n
\n );\n};\n\nAccordion.defaultProps = {\n initiallyOpen: false\n}\n\nexport default Accordion\n","import * as React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\n\nimport \"./api.scss\";\nimport { Link } from \"gatsby\";\nimport hljs from \"highlight.js/lib/core\";\nimport python from \"highlight.js/lib/languages/python\";\nhljs.registerLanguage(\"python\", python);\nimport json from \"highlight.js/lib/languages/json\";\nhljs.registerLanguage(\"json\", json);\nimport Layout from \"../components/layout\";\nimport Accordion from \"../components/accordion\";\nexport const Endpoint = ({\n method,\n url\n}) =>
\n
\n {method.toUpperCase()}\n
\n
{url}
\n
;\nexport const Response = ({\n code,\n reason,\n state\n}) =>
\n
{code}
\n
{reason}
\n
;\nexport const _frontmatter = {};\nconst layoutProps = {\n Endpoint,\n Response,\n _frontmatter\n};\n\nconst MDXLayout = ({\n children\n}) => {\n React.useEffect(() => {\n hljs.highlightAll();\n }, []);\n return \n
{children}
\n
;\n};\n\nexport default function MDXContent({\n components,\n ...props\n}) {\n return \n\n\n\n\n\n\n\n\n\n

{`API documentation`}

\n

{`Fluffle provides a publicly available HTTP-based API which can be used to integrate Fluffle into your own applications. Please read the next chapter (preprocessing) carefully before looking at anything else as its crucial for interacting with the API.`}

\n

{`Preprocessing`}

\n

{`Fluffle has been built with performance in mind. One of the many optimizations applied to Fluffle is having the client shrink the image before sending it over. This has the possibility of dramatically reducing the size of the request (great for users with slow connections), but also hugely impacts the cost of processing the image server side. You should implement this optimization in your application too if you want to make use of Fluffle its API.`}

\n

{`At the moment, it is recommend you shrink the image to a size where both its width and height don’t fall below 256 pixels as this seems to work nicely. A few examples: 1920x1080 becomes 455x256, 1000x1000 becomes 256x256 and 700x1200 becomes 256x439. It's recommended to export the shrunken image as a PNG due to the format its lossless nature and support for transparency. On the subject of transparency, Fluffle has a standardized way of dealing with it. If the image you want to send over has transparency, you must not flatten it before sending it to Fluffle.`}

\n

{`Reverse searching`}

\n \n

{`To reverse search an image, you need to send Fluffle a POST-request encoded using multipart/form-data. You must make your application identifiable by setting a custom User-Agent. It's recommended you use the following format for the User-Agent header: 'applicationName/applicationVersion (by yourName on somePlatform)'. So for example, 'Fluffle/1.2.3 (by NoppesTheFolf on Twitter)', would be a correct. If your project is open source, then instead of your personal contact details, it would preferred to instead link to where said project is hosted (like GitHub). Please keep in mind that providing your contact details is only a recommendation, you don't have to if you don't want to. These will only be used if your application is causing trouble so that we can resolve any issues it might be causing.`}

\n

{`Parameters`}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{`Key`}{`Description`}
{`file`}{`The image to reverse search. The currently supported image formats are JPEG, PNG and WebP. The size of the provided image must not exceed 4 MiB, nor should the image its dimensions exceed a total area (width `}{`*`}{` height) of 16 million pixels (16MP). You MUST preprocess the images you send to Fluffle whenever possible. If you have no valid reason for skipping this stage, your app will get banned from using the API. The exception to this are WebP images due to some programming languages still having mediocre support for the format.`}
{`includeNsfw`}{`An optional boolean value indicating whether or not Fluffle should also search through images deemed Not Safe For Work. By default, Fluffle will not search NSFW images. `}{`Fluffle is unable to reliably determine if images from Twitter are NSFW or not. Therefore, to play it safe, all images are considered explicit by default. You should include NSFW images if you want to use Twitter as a source.`}
{`platforms`}{`The platforms to be included in the reverse search process. Currently supported platforms are Fur Affinity, Twitter, e621, Weasyl and Furry Network. Not providing this field will cause all of the aforementioned platforms to be included. Make sure your application can deal with new platforms: the API its version will not be increased if it is decided to add support for another platform. An alternative would be to send a list of all platforms your application supports with each request. The values provided to this field are casing-insensitive, meaning you can pass them snake cased, camel cased, or whatever you prefer.`}
{`limit`}{`By default, Fluffle will send you a maximum of 32 results. You can tweak this number by providing a value from 8 to 32. Exceeding this range will cause your request to fail.`}
\n

{`Example request`}

\n

{`Alright, that’s enough documentation… let’s see some code! The code below is a small script written in Python which preprocesses the image “fluffy-critter.png” and reverse searches it using Fluffle its API. You can use this as reference material for implementing Fluffle its API in your programming language of choice.`}

\n
{`import io\nfrom pprint import pprint\nfrom PIL import Image\nfrom requests import post\n\n# Preprocess the image as per Fluffle its documentation\nimage = Image.open(\"fluffy-critter.png\")\nwidth, height = image.size\n\n\ndef calculate_size(width, height, target):\n    def calculate_size(d1, d2, d1_target): return round(d1_target / d1 * d2)\n\n    if width > height:\n        return calculate_size(height, width, target), target\n\n    return target, calculate_size(width, height, target)\n\n\nimage.thumbnail(calculate_size(width, height, 256))\nbuffer = io.BytesIO()\nimage.save(buffer, \"png\")\n\n# And then reverse search the preprocessed image\nheaders = {\n    \"User-Agent\": \"api-demo/1.0 (by NoppesTheFolf on Twitter)\"\n}\nfiles = {\n    \"file\": buffer.getvalue()\n}\ndata = {\n    \"platforms\": [\n        \"fur affinity\",\n        \"furry network\"\n    ],\n    \"limit\": 8\n}\n\nresponse = post(\"https://api.fluffle.xyz/v1/search\", headers=headers, files=files, data=data).json()\npprint(response)\n`}
\n

{`Responses`}

\n

{`The chapter below describes all of the responses you can get from the API. Please note that there is no guarantee that you will always receive a JSON structure as a response on errors because the API is running behind Cloudflare.`}

\n
\n \n
\n

{`Your request was valid and could therefore be processed. The submitted image has been compared against all (specified) platforms and the results said comparison yielded are embedded in the body of the request.`}

\n

{`Example response`}

\n
{`{\n  \"stats\": {\n    \"count\": 18311838,\n    \"elapsedMilliseconds\": 402\n  },\n  \"results\": [\n    {\n      \"id\": 1344062,\n      \"score\": 0.966796875,\n      \"match\": \"exact\",\n      \"platform\": \"e621\",\n      \"location\": \"https://e621.net/posts/546281\",\n      \"isSfw\": true,\n      \"thumbnail\": {\n        \"width\": 300,\n        \"centerX\": 0,\n        \"height\": 400,\n        \"centerY\": 37,\n        \"location\": \"https://static.fluffle.xyz/file/fluffle/0e2c770cf4a9eccb7f16570f5586aa9d.jpg\"\n      },\n      \"credits\": [\n        {\n          \"id\": 123,\n          \"name\": \"lycanruff\"\n        }\n      ]\n    }\n  ]\n}\n`}
\n\n \n

{`Root`}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{`Field`}{`Type`}{`Description`}
{`stats`}{`Stats`}{`Statistics about the request.`}
{`results`}{`Result[]`}{`The best matching images, ordered by good the match is.`}
\n

{`Stats`}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{`Field`}{`Type`}{`Description`}
{`count`}{`integer`}{`The number of images that got compared.`}
{`elapsedMilliseconds`}{`float`}{`The amount of time in milliseconds it took the server to process your request.`}
\n

{`Result`}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{`Field`}{`Type`}{`Description`}
{`id`}{`integer`}{`Unique identifier.`}
{`score`}{`float`}{`A number from 0 to 1 indicating how good of a match the image is. Due to the random nature of the comparison algorithm used, this value is unlikely to drop below 0.5.`}
{`match`}{`string`}{`Should be treated as an enum. Can be one of the following values: `}{`exact`}{`, `}{`tossUp`}{`, `}{`alternative`}{` and `}{`unlikely`}{`. Exact means there is a very high probability of the result being an exact match. Toss-up means it can't be reliably determined whether the result is an exact match or an alternative. Alternative indicates the result is an altered version of the provided image. For example, when the submitted image displays a character with blue markings, but the result is an image of a character with yellow markings, this result in considered an alternative. Unlikely tells you that the chance of the result being some kind of match is exceptionally low.`}
{`platform`}{`string`}{`The platform (e621, Fur Affinity, etc) to which this image belongs.`}
{`location`}{`string`}{`URL at which this image can be viewed.`}
{`isSfw`}{`boolean`}{`Whether or not this image can be considered Safe For Work.`}
{`thumbnail`}{`Thumbnail`}{`Tiny version of the scraped image hosted by Fluffle.`}
{`credits`}{`Credit[]`}{`To whom credits can be given for this image.`}
\n

{`Thumbnail`}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{`Field`}{`Type`}{`Description`}
{`width`}{`integer`}{`Width of the thumbnail.`}
{`centerX`}{`integer`}{`Percentage the image has to shift horizontally for its content to be centered in a square. Works like the `}{`object-position CSS property`}{`.`}
{`height`}{`integer`}{`Height of the thumbnail.`}
{`centerY`}{`integer`}{`Same as `}{`CenterX`}{` but vertically.`}
{`location`}{`string`}{`URL at which the thumbnail can be found.`}
\n

{`Credit`}

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{`Field`}{`Type`}{`Description`}
{`id`}{`integer`}{`Unique identifier.`}
{`name`}{`integer`}{`The interpretation of this field is somewhat dependent on the platform from which the image was scraped. For e621, it's based on the artist tags and it's therefore safe to assume this field includes the names of the artist(s) that created the artwork. For all other platforms, it's the name of user that uploaded said image, which might be the artist, a commissioner, etc.`}
\n
\n
\n \n

{`The request you sent over to Fluffle is invalid. The response body will tell you what you did wrong and how you can resolve the issue. For example, requesting Fluffle to search for images on a non-existent platform will cause such a response. These errors can always be prevented by properly implementing the API. They are only meant to give guidance to developers.`}

\n
{`{\n  \"code\": \"VALIDATION_FAILED\",\n  \"message\": \"One or more validation errors occurred.\",\n  \"errors\": {\n    \"platforms\": [\n      \"Platform with the name 'some platform name' either doesn't exist or is not supported.\"\n    ]\n  }\n}\n`}
\n
\n \n

{`The submitted image its area exceeded the 16MP limit.`}

\n
{`{\n  \"code\": \"AREA_TOO_LARGE\",\n  \"message\": \"An informational message for developers.\"\n}\n`}
\n
\n \n

{`There are a couple of variations of this response due to Fluffle running behind Cloudflare. You can get a JSON one generated by Fluffle if your image exceed the 4 MiB limit and a HTML one by Cloudflare if you exceed their limit. You shouldn't have to handle this response if you just make sure the image you send over isn't larger than 4 MiB. If you do wish to handle the response, then you should use the status code.`}

\n
{`{\n  \"code\": \"FILE_TOO_LARGE\",\n  \"message\": \"An informational message for developers.\"\n}\n`}
\n
\n \n

{`The image embedded in the request couldn't be processed due to it not being encoded in a supported format. Currently only JPEG and non-animated PNG and WebP are supported. Support for AVIF might be added in a future release.`}

\n
{`{\n  \"code\": \"UNSUPPORTED_FILE_TYPE\",\n  \"message\": \"An informational message for developers.\"\n}\n`}
\n
\n \n

{`The image embedded in the request got recognized as being encoded in a supported format, but it couldn't be read in said format. Therefore, the image couldn't be processed and is deemed corrupt.`}

\n
{`{\n  \"code\": \"CORRUPT_FILE\",\n  \"message\": \"An informational message for developers.\"\n}\n`}
\n
\n \n

{`Something unexpected happened which made the server unable to fulfil the request. The response will contain a so-called trace ID which may prove useful when trying to determine the root cause of the error. You may choose to `}{`contact the grumpy folf`}{` - don’t worry, I won’t bite - who made Fluffle so that the issue can be solved. Please make sure you can provide the trace ID sent along with the request if you choose to do so!`}

\n
{`{\n  \"code\": \"KABOOM\",\n  \"message\": \"Now you have become death, the destroyer of applications.\",\n  \"traceId\": \"12345678-01\"\n}\n`}
\n
\n \n

{`Fluffle is unable to fulfil your request at this moment. This can be the case due to a variety of reasons. One being for example that the server assigned to process your request has restarted (unexpectedly) and is still getting ready. It should be noted that this response is extremely rare as downtime is limited as much as possible, of course. It is worth retrying the request after some time as it will succeed eventually. You should consider waiting at least 10 seconds before giving it another shot.`}

\n
{`{\n  \"code\": \"UNAVAILABLE\",\n  \"message\": \"An informational message for developers.\"\n}\n`}
\n
\n \n

{`Due to Fluffle running behind Cloudflare, there are various other status codes you might want to deal with. A complete list of status codes used by Cloudflare can be found on their support page. It's a good idea to treat the 502, 504, 521, 522, 523 and 524 status codes as transient errors (and are therefore worth retrying), just like 503 responses. Keep in mind that Cloudflare doesn't give you a JSON response.`}

\n\n
;\n}\n;\nMDXContent.isMDXComponent = true;\n ","/*\nLanguage: Python\nDescription: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.\nWebsite: https://www.python.org\nCategory: common\n*/\nfunction python(hljs) {\n var regex = hljs.regex;\n var IDENT_RE = /(?:[A-Z_a-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037B-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088E\\u08A0-\\u08C9\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C5D\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D04-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E86-\\u0E8A\\u0E8C-\\u0EA3\\u0EA5\\u0EA7-\\u0EB0\\u0EB2\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u1711\\u171F-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1878\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5\\u1CF6\\u1CFA\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7CA\\uA7D0\\uA7D1\\uA7D3\\uA7D5-\\uA7D9\\uA7F2-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA8FE\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB69\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB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DE0B-\\uDE32\\uDE3A\\uDE50\\uDE5C-\\uDE89\\uDE9D\\uDEB0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46\\uDD60-\\uDD65\\uDD67\\uDD68\\uDD6A-\\uDD89\\uDD98\\uDEE0-\\uDEF2\\uDFB0]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|\\uD80B[\\uDF90-\\uDFF0]|[\\uD80C\\uD81C-\\uD820\\uD822\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879\\uD880-\\uD883][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE70-\\uDEBE\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDE40-\\uDE7F\\uDF00-\\uDF4A\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1\\uDFE3]|\\uD821[\\uDC00-\\uDFF7]|\\uD823[\\uDC00-\\uDCD5\\uDD00-\\uDD08]|\\uD82B[\\uDFF0-\\uDFF3\\uDFF5-\\uDFFB\\uDFFD\\uDFFE]|\\uD82C[\\uDC00-\\uDD22\\uDD50-\\uDD52\\uDD64-\\uDD67\\uDD70-\\uDEFB]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-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uDF4A])(?:[0-9A-Z_a-z\\xAA\\xB5\\xB7\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037B-\\u037D\\u037F\\u0386-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u07FD\\u0800-\\u082D\\u0840-\\u085B\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088E\\u0898-\\u08E1\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u09FC\\u09FE\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC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u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E86-\\u0E8A\\u0E8C-\\u0EA3\\u0EA5\\u0EA7-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1369-\\u1371\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u1715\\u171F-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u180F-\\u1819\\u1820-\\u1878\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19DA\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1ABF-\\u1ACE\\u1B00-\\u1B4C\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CD0-\\u1CD2\\u1CD4-\\u1CFA\\u1D00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2118-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7CA\\uA7D0\\uA7D1\\uA7D3\\uA7D5-\\uA7D9\\uA7F2-\\uA827\\uA82C\\uA840-\\uA873\\uA880-\\uA8C5\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB69\\uAB70-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFC5D\\uFC64-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDF9\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE71\\uFE73\\uFE77\\uFE79\\uFE7B\\uFE7D\\uFE7F-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2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\\uDD43\\uDD50-\\uDD59\\uDDA0-\\uDDA7\\uDDAA-\\uDDD7\\uDDDA-\\uDDE1\\uDDE3\\uDDE4\\uDE00-\\uDE3E\\uDE47\\uDE50-\\uDE99\\uDE9D\\uDEB0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC36\\uDC38-\\uDC40\\uDC50-\\uDC59\\uDC72-\\uDC8F\\uDC92-\\uDCA7\\uDCA9-\\uDCB6\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD36\\uDD3A\\uDD3C\\uDD3D\\uDD3F-\\uDD47\\uDD50-\\uDD59\\uDD60-\\uDD65\\uDD67\\uDD68\\uDD6A-\\uDD8E\\uDD90\\uDD91\\uDD93-\\uDD98\\uDDA0-\\uDDA9\\uDEE0-\\uDEF6\\uDFB0]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|\\uD80B[\\uDF90-\\uDFF0]|[\\uD80C\\uD81C-\\uD820\\uD822\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879\\uD880-\\uD883][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE60-\\uDE69\\uDE70-\\uDEBE\\uDEC0-\\uDEC9\\uDED0-\\uDEED\\uDEF0-\\uDEF4\\uDF00-\\uDF36\\uDF40-\\uDF43\\uDF50-\\uDF59\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDE40-\\uDE7F\\uDF00-\\uDF4A\\uDF4F-\\uDF87\\uDF8F-\\uDF9F\\uDFE0\\uDFE1\\uDFE3\\uDFE4\\uDFF0\\uDFF1]|\\uD821[\\uDC00-\\uDFF7]|\\uD823[\\uDC00-\\uDCD5\\uDD00-\\uDD08]|\\uD82B[\\uDFF0-\\uDFF3\\uDFF5-\\uDFF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]|\\uD83A[\\uDC00-\\uDCC4\\uDCD0-\\uDCD6\\uDD00-\\uDD4B\\uDD50-\\uDD59]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD83E[\\uDFF0-\\uDFF9]|\\uD869[\\uDC00-\\uDEDF\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF38\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]|\\uD884[\\uDC00-\\uDF4A]|\\uDB40[\\uDD00-\\uDDEF])*/;\n var RESERVED_WORDS = ['and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal|10', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield'];\n var BUILT_INS = ['__import__', 'abs', 'all', 'any', 'ascii', 'bin', 'bool', 'breakpoint', 'bytearray', 'bytes', 'callable', 'chr', 'classmethod', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'exec', 'filter', 'float', 'format', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'help', 'hex', 'id', 'input', 'int', 'isinstance', 'issubclass', 'iter', 'len', 'list', 'locals', 'map', 'max', 'memoryview', 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'print', 'property', 'range', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'vars', 'zip'];\n var LITERALS = ['__debug__', 'Ellipsis', 'False', 'None', 'NotImplemented', 'True']; // https://docs.python.org/3/library/typing.html\n // TODO: Could these be supplemented by a CamelCase matcher in certain\n // contexts, leaving these remaining only for relevance hinting?\n\n var TYPES = [\"Any\", \"Callable\", \"Coroutine\", \"Dict\", \"List\", \"Literal\", \"Generic\", \"Optional\", \"Sequence\", \"Set\", \"Tuple\", \"Type\", \"Union\"];\n var KEYWORDS = {\n $pattern: /[A-Za-z]\\w+|__\\w+__/,\n keyword: RESERVED_WORDS,\n built_in: BUILT_INS,\n literal: LITERALS,\n type: TYPES\n };\n var PROMPT = {\n className: 'meta',\n begin: /^(>>>|\\.\\.\\.) /\n };\n var SUBST = {\n className: 'subst',\n begin: /\\{/,\n end: /\\}/,\n keywords: KEYWORDS,\n illegal: /#/\n };\n var LITERAL_BRACKET = {\n begin: /\\{\\{/,\n relevance: 0\n };\n var STRING = {\n className: 'string',\n contains: [hljs.BACKSLASH_ESCAPE],\n variants: [{\n begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,\n end: /'''/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT],\n relevance: 10\n }, {\n begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?\"\"\"/,\n end: /\"\"\"/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT],\n relevance: 10\n }, {\n begin: /([fF][rR]|[rR][fF]|[fF])'''/,\n end: /'''/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT, LITERAL_BRACKET, SUBST]\n }, {\n begin: /([fF][rR]|[rR][fF]|[fF])\"\"\"/,\n end: /\"\"\"/,\n contains: [hljs.BACKSLASH_ESCAPE, PROMPT, LITERAL_BRACKET, SUBST]\n }, {\n begin: /([uU]|[rR])'/,\n end: /'/,\n relevance: 10\n }, {\n begin: /([uU]|[rR])\"/,\n end: /\"/,\n relevance: 10\n }, {\n begin: /([bB]|[bB][rR]|[rR][bB])'/,\n end: /'/\n }, {\n begin: /([bB]|[bB][rR]|[rR][bB])\"/,\n end: /\"/\n }, {\n begin: /([fF][rR]|[rR][fF]|[fF])'/,\n end: /'/,\n contains: [hljs.BACKSLASH_ESCAPE, LITERAL_BRACKET, SUBST]\n }, {\n begin: /([fF][rR]|[rR][fF]|[fF])\"/,\n end: /\"/,\n contains: [hljs.BACKSLASH_ESCAPE, LITERAL_BRACKET, SUBST]\n }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE]\n }; // https://docs.python.org/3.9/reference/lexical_analysis.html#numeric-literals\n\n var digitpart = '[0-9](_?[0-9])*';\n var pointfloat = \"(\\\\b(\".concat(digitpart, \"))?\\\\.(\").concat(digitpart, \")|\\\\b(\").concat(digitpart, \")\\\\.\"); // Whitespace after a number (or any lexical token) is needed only if its absence\n // would change the tokenization\n // https://docs.python.org/3.9/reference/lexical_analysis.html#whitespace-between-tokens\n // We deviate slightly, requiring a word boundary or a keyword\n // to avoid accidentally recognizing *prefixes* (e.g., `0` in `0x41` or `08` or `0__1`)\n\n var lookahead = \"\\\\b|\".concat(RESERVED_WORDS.join('|'));\n var NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [// exponentfloat, pointfloat\n // https://docs.python.org/3.9/reference/lexical_analysis.html#floating-point-literals\n // optionally imaginary\n // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals\n // Note: no leading \\b because floats can start with a decimal point\n // and we don't want to mishandle e.g. `fn(.5)`,\n // no trailing \\b for pointfloat because it can end with a decimal point\n // and we don't want to mishandle e.g. `0..hex()`; this should be safe\n // because both MUST contain a decimal point and so cannot be confused with\n // the interior part of an identifier\n {\n begin: \"(\\\\b(\".concat(digitpart, \")|(\").concat(pointfloat, \"))[eE][+-]?(\").concat(digitpart, \")[jJ]?(?=\").concat(lookahead, \")\")\n }, {\n begin: \"(\".concat(pointfloat, \")[jJ]?\")\n }, // decinteger, bininteger, octinteger, hexinteger\n // https://docs.python.org/3.9/reference/lexical_analysis.html#integer-literals\n // optionally \"long\" in Python 2\n // https://docs.python.org/2.7/reference/lexical_analysis.html#integer-and-long-integer-literals\n // decinteger is optionally imaginary\n // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals\n {\n begin: \"\\\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=\".concat(lookahead, \")\")\n }, {\n begin: \"\\\\b0[bB](_?[01])+[lL]?(?=\".concat(lookahead, \")\")\n }, {\n begin: \"\\\\b0[oO](_?[0-7])+[lL]?(?=\".concat(lookahead, \")\")\n }, {\n begin: \"\\\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=\".concat(lookahead, \")\")\n }, // imagnumber (digitpart-based)\n // https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals\n {\n begin: \"\\\\b(\".concat(digitpart, \")[jJ](?=\").concat(lookahead, \")\")\n }]\n };\n var COMMENT_TYPE = {\n className: \"comment\",\n begin: regex.lookahead(/# type:/),\n end: /$/,\n keywords: KEYWORDS,\n contains: [{\n // prevent keywords from coloring `type`\n begin: /# type:/\n }, // comment within a datatype comment includes no keywords\n {\n begin: /#/,\n end: /\\b\\B/,\n endsWithParent: true\n }]\n };\n var PARAMS = {\n className: 'params',\n variants: [// Exclude params in functions without params\n {\n className: \"\",\n begin: /\\(\\s*\\)/,\n skip: true\n }, {\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: ['self', PROMPT, NUMBER, STRING, hljs.HASH_COMMENT_MODE]\n }]\n };\n SUBST.contains = [STRING, NUMBER, PROMPT];\n return {\n name: 'Python',\n aliases: ['py', 'gyp', 'ipython'],\n unicodeRegex: true,\n keywords: KEYWORDS,\n illegal: /(<\\/|->|\\?)|=>/,\n contains: [PROMPT, NUMBER, {\n // very common convention\n begin: /\\bself\\b/\n }, {\n // eat \"if\" prior to string so that it won't accidentally be\n // labeled as an f-string\n beginKeywords: \"if\",\n relevance: 0\n }, STRING, COMMENT_TYPE, hljs.HASH_COMMENT_MODE, {\n match: [/\\bdef/, /\\s+/, IDENT_RE],\n scope: {\n 1: \"keyword\",\n 3: \"title.function\"\n },\n contains: [PARAMS]\n }, {\n variants: [{\n match: [/\\bclass/, /\\s+/, IDENT_RE, /\\s*/, /\\(\\s*/, IDENT_RE, /\\s*\\)/]\n }, {\n match: [/\\bclass/, /\\s+/, IDENT_RE]\n }],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n 6: \"title.class.inherited\"\n }\n }, {\n className: 'meta',\n begin: /^[\\t ]*@/,\n end: /(?=#)|$/,\n contains: [NUMBER, PARAMS, STRING]\n }]\n };\n}\n\nexport { python as default };","/*\nLanguage: JSON\nDescription: JSON (JavaScript Object Notation) is a lightweight data-interchange format.\nAuthor: Ivan Sagalaev \nWebsite: http://www.json.org\nCategory: common, protocols, web\n*/\nfunction json(hljs) {\n var ATTRIBUTE = {\n className: 'attr',\n begin: /\"(\\\\.|[^\\\\\"\\r\\n])*\"(?=\\s*:)/,\n relevance: 1.01\n };\n var PUNCTUATION = {\n match: /[{}[\\],:]/,\n className: \"punctuation\",\n relevance: 0\n }; // normally we would rely on `keywords` for this but using a mode here allows us\n // to use the very tight `illegal: \\S` rule later to flag any other character\n // as illegal indicating that despite looking like JSON we do not truly have\n // JSON and thus improve false-positively greatly since JSON will try and claim\n // all sorts of JSON looking stuff\n\n var LITERALS = {\n beginKeywords: [\"true\", \"false\", \"null\"].join(\" \")\n };\n return {\n name: 'JSON',\n contains: [ATTRIBUTE, PUNCTUATION, hljs.QUOTE_STRING_MODE, LITERALS, hljs.C_NUMBER_MODE, hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE],\n illegal: '\\\\S'\n };\n}\n\nexport { json as default };","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}"],"names":["module","exports","arr","len","length","i","arr2","Array","__esModule","isArray","arrayLikeToArray","instance","Constructor","TypeError","setPrototypeOf","isNativeReflectConstruct","_construct","Parent","args","Class","Reflect","construct","a","push","apply","Function","bind","prototype","arguments","_defineProperties","target","props","descriptor","enumerable","configurable","writable","Object","defineProperty","key","protoProps","staticProps","_getPrototypeOf","o","getPrototypeOf","__proto__","subClass","superClass","create","constructor","value","fn","toString","call","indexOf","sham","Proxy","Boolean","valueOf","e","iter","Symbol","iterator","from","_i","_s","_e","_arr","_n","_d","next","done","err","_typeof","assertThisInitialized","self","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","arrayWithoutHoles","iterableToArray","nonIterableSpread","obj","minLen","n","slice","name","test","isNativeFunction","_wrapNativeSuper","_cache","Map","undefined","has","get","set","Wrapper","this","_slicedToArray","_inherits","_possibleConstructorReturn","_toConsumableArray","_classCallCheck","_createClass","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","result","Super","NewTarget","deepFreezeEs6","deepFreeze","clear","delete","Error","Set","add","freeze","getOwnPropertyNames","forEach","prop","isFrozen","default","deepFreeze$1","Response","mode","data","isMatchIgnored","escapeHTML","replace","inherit$1","original","_len","objects","_key","_key2","emitsWrappingTags","node","kind","HTMLRenderer","parseTree","options","buffer","classPrefix","walk","text","scope","sublanguage","concat","_ref","prefix","includes","pieces","split","shift","map","x","repeat","join","expandScopeName","span","className","TokenTreeEmitter","_TokenTree","_super","_this2","openNode","addText","closeNode","emitter","root","TokenTree","rootNode","children","stack","top","pop","JSON","stringify","builder","_walk","_this","child","every","el","_collapse","source","re","lookahead","anyNumberOfTimes","optional","_len2","_key3","joined","stripOptionsFromArgs","opts","splice","either","_len3","_key4","capture","countMatchGroups","RegExp","exec","BACKREF_RE","_rewriteBackreferences","regexps","_ref2","joinWith","numCaptures","regex","offset","out","match","substring","index","String","Number","IDENT_RE","UNDERSCORE_IDENT_RE","NUMBER_RE","C_NUMBER_RE","BINARY_NUMBER_RE","BACKSLASH_ESCAPE","begin","relevance","APOS_STRING_MODE","end","illegal","contains","QUOTE_STRING_MODE","COMMENT","modeOptions","excludeBegin","ENGLISH_WORD","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","HASH_COMMENT_MODE","NUMBER_MODE","C_NUMBER_MODE","BINARY_NUMBER_MODE","REGEXP_MODE","TITLE_MODE","UNDERSCORE_TITLE_MODE","METHOD_GUARD","MODES","MATCH_NOTHING_RE","RE_STARTERS_RE","SHEBANG","beginShebang","binary","m","resp","ignoreMatch","PHRASAL_WORDS_MODE","END_SAME_AS_BEGIN","assign","_beginMatch","skipIfHasPrecedingDot","response","input","scopeClassName","_parent","beginKeywords","parent","__beforeBegin","keywords","compileIllegal","compileMatch","compileRelevance","beforeMatchExt","beforeMatch","starts","originalMode","keys","endsParent","COMMON_KEYWORDS","DEFAULT_KEYWORD_SCOPE","compileKeywords","rawKeywords","caseInsensitive","scopeName","compiledKeywords","compileList","keywordList","toLowerCase","keyword","pair","scoreForKeyword","providedScore","commonKeyword","seenDeprecations","error","message","console","warn","_console","_len4","_key5","log","deprecated","version","MultiClassError","remapScopeNames","regexes","_ref3","scopeNames","emit","positions","_emit","_multi","MultiClass","beginScope","scopeSugar","_wrap","endScope","skip","returnBegin","beginMultiClass","excludeEnd","returnEnd","endMultiClass","compileLanguage","language","langRe","global","case_insensitive","unicodeRegex","MultiRegex","matchIndexes","matchAt","position","terminators","matcherRe","lastIndex","s","findIndex","matchData","ResumableMultiRegex","rules","multiRegexes","count","regexIndex","matcher","_ref4","_ref5","addRule","compile","type","getMatcher","resumingScanAtSamePosition","m2","considerAll","compilerExtensions","classNameAliases","compileMode","_ref6","cmode","isCompiled","ext","keywordPattern","$pattern","keywordPatternRe","beginRe","endsWithParent","endRe","terminatorEnd","illegalRe","c","variants","cachedVariants","variant","dependencyOnParent","expandOrCloneMode","mm","term","rule","buildModeRegex","HTMLInjectionError","_Error","_super2","reason","html","_this3","escape","inherit","NO_MATCH","highlight","hljs","languages","aliases","plugins","SAFE_MODE","LANGUAGE_NOT_FOUND","PLAINTEXT_LANGUAGE","disableAutodetect","ignoreUnescapedHTML","throwUnescapedHTML","noHighlightRe","languageDetectRe","cssSelector","__emitter","shouldNotHighlight","languageName","codeOrLanguageName","optionsOrCode","ignoreIllegals","code","context","fire","_highlight","codeToHighlight","continuation","keywordHits","processKeywords","matchText","modeBuffer","buf","word","_data","keywordRelevance","startsWith","cssClass","addKeyword","substr","processBuffer","subLanguage","continuations","_top","highlightAuto","addSublanguage","_emitter","processSubLanguage","emitMultiClass","max","klass","startNewMode","endOfMode","matchPlusRemainder","matched","lexeme","doIgnore","resumeScanAtSamePosition","doEndMatch","endMode","origin","lastMatch","processLexeme","textBeforeMatch","badRule","newMode","_beforeCallbacks","cb","doBeginMatch","_err","processed","iterations","getLanguage","md","list","current","unshift","item","processContinuations","processedCount","closeAllNodes","finalize","toHTML","_illegalBy","resultSoFar","errorRaised","languageSubset","plaintext","justTextHighlightResult","results","filter","autoDetection","sorted","sort","b","supersetOf","_sorted","best","secondBest","highlightElement","element","block","classes","parentNode","find","_class","blockLanguage","innerHTML","textContent","currentLang","resultLang","classList","updateClassName","wantsHighlight","highlightAll","document","readyState","querySelectorAll","registerAliases","aliasList","_ref7","alias","lang","event","plugin","window","addEventListener","highlightBlock","configure","userOptions","initHighlighting","initHighlightingOnLoad","registerLanguage","languageDefinition","error$1","rawDefinition","unregisterLanguage","_i2","_Object$keys","listLanguages","addPlugin","upgradePluginAPI","debugMode","safeMode","versionString","HLJS","HighlightJS","Accordion","initiallyOpen","header","fontSize","React","isOpen","setIsOpen","onClick","style","Icon","dangerouslySetInnerHTML","__html","classNames","hidden","defaultProps","RESERVED_WORDS","KEYWORDS","built_in","literal","PROMPT","SUBST","LITERAL_BRACKET","STRING","digitpart","pointfloat","NUMBER","COMMENT_TYPE","PARAMS","LITERALS","Endpoint","method","url","toUpperCase","state","_frontmatter","layoutProps","MDXLayout","title","maxWidth","MDXContent","components","mdxType","parentName","href","rel","to","isMDXComponent","_objectWithoutPropertiesLoose","excluded","sourceKeys"],"sourceRoot":""}