var L4 = Object.create; var Qa = Object.defineProperty; var I4 = Object.getOwnPropertyDescriptor; var B4 = Object.getOwnPropertyNames; var M4 = Object.getPrototypeOf, _4 = Object.prototype.hasOwnProperty; var a = (e, t) => Qa(e, "name", { value: t, configurable: !0 }), Ko = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (t, r) => (typeof require < "u" ? require : t)[r] }) : e)(function(e) { if (typeof require < "u") return require.apply(this, arguments); throw Error('Dynamic require of "' + e + '" is not supported'); }); var F = (e, t) => () => (e && (t = e(e = 0)), t); var _ = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), an = (e, t) => { for (var r in t) Qa(e, r, { get: t[r], enumerable: !0 }); }, P4 = (e, t, r, n) => { if (t && typeof t == "object" || typeof t == "function") for (let o of B4(t)) !_4.call(e, o) && o !== r && Qa(e, o, { get: () => t[o], enumerable: !(n = I4(t, o)) || n.enumerable }); return e; }; var we = (e, t, r) => (r = e != null ? L4(M4(e)) : {}, P4( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. t || !e || !e.__esModule ? Qa(r, "default", { value: e, enumerable: !0 }) : r, e )); // ../node_modules/@babel/runtime/helpers/esm/extends.js function H() { return H = Object.assign ? Object.assign.bind() : function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]); } return e; }, H.apply(null, arguments); } var qe = F(() => { a(H, "_extends"); }); // ../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js function rp(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } var np = F(() => { a(rp, "_assertThisInitialized"); }); // ../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js function Xt(e, t) { return Xt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) { return r.__proto__ = n, r; }, Xt(e, t); } var ei = F(() => { a(Xt, "_setPrototypeOf"); }); // ../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js function ti(e) { return ti = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) { return t.__proto__ || Object.getPrototypeOf(t); }, ti(e); } var ap = F(() => { a(ti, "_getPrototypeOf"); }); // ../node_modules/@storybook/global/dist/index.mjs var ln, oi = F(() => { ln = (() => { let e; return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ? e = self : e = {}, e; })(); }); // ../node_modules/memoizerific/memoizerific.js var Qo = _((hp, vs) => { (function(e) { if (typeof hp == "object" && typeof vs < "u") vs.exports = e(); else if (typeof define == "function" && define.amd) define([], e); else { var t; typeof window < "u" ? t = window : typeof global < "u" ? t = global : typeof self < "u" ? t = self : t = this, t.memoizerific = e(); } })(function() { var e, t, r; return (/* @__PURE__ */ a(function n(o, i, l) { function u(d, h) { if (!i[d]) { if (!o[d]) { var f = typeof Ko == "function" && Ko; if (!h && f) return f(d, !0); if (c) return c(d, !0); var v = new Error("Cannot find module '" + d + "'"); throw v.code = "MODULE_NOT_FOUND", v; } var b = i[d] = { exports: {} }; o[d][0].call(b.exports, function(m) { var g = o[d][1][m]; return u(g || m); }, b, b.exports, n, o, i, l); } return i[d].exports; } a(u, "s"); for (var c = typeof Ko == "function" && Ko, p = 0; p < l.length; p++) u(l[p]); return u; }, "e"))({ 1: [function(n, o, i) { o.exports = function(l) { if (typeof Map != "function" || l) { var u = n("./similar"); return new u(); } else return /* @__PURE__ */ new Map(); }; }, { "./similar": 2 }], 2: [function(n, o, i) { function l() { return this.list = [], this.lastItem = void 0, this.size = 0, this; } a(l, "Similar"), l.prototype.get = function(u) { var c; if (this.lastItem && this.isEqual(this.lastItem.key, u)) return this.lastItem.val; if (c = this.indexOf(u), c >= 0) return this.lastItem = this.list[c], this.list[c].val; }, l.prototype.set = function(u, c) { var p; return this.lastItem && this.isEqual(this.lastItem.key, u) ? (this.lastItem.val = c, this) : (p = this.indexOf(u), p >= 0 ? (this.lastItem = this.list[p], this.list[p].val = c, this) : (this.lastItem = { key: u, val: c }, this.list.push(this.lastItem), this.size++, this)); }, l.prototype.delete = function(u) { var c; if (this.lastItem && this.isEqual(this.lastItem.key, u) && (this.lastItem = void 0), c = this.indexOf(u), c >= 0) return this.size--, this.list.splice(c, 1)[0]; }, l.prototype.has = function(u) { var c; return this.lastItem && this.isEqual(this.lastItem.key, u) ? !0 : (c = this.indexOf(u), c >= 0 ? (this.lastItem = this.list[c], !0) : !1); }, l.prototype.forEach = function(u, c) { var p; for (p = 0; p < this.size; p++) u.call(c || this, this.list[p].val, this.list[p].key, this); }, l.prototype.indexOf = function(u) { var c; for (c = 0; c < this.size; c++) if (this.isEqual(this.list[c].key, u)) return c; return -1; }, l.prototype.isEqual = function(u, c) { return u === c || u !== u && c !== c; }, o.exports = l; }, {}], 3: [function(n, o, i) { var l = n("map-or-similar"); o.exports = function(d) { var h = new l(!1), f = []; return function(v) { var b = /* @__PURE__ */ a(function() { var m = h, g, y, w = arguments.length - 1, D = Array(w + 1), x = !0, C; if ((b.numArgs || b.numArgs === 0) && b.numArgs !== w + 1) throw new Error("Memoizerific functions should always be called with the same number of arguments"); for (C = 0; C < w; C++) { if (D[C] = { cacheItem: m, arg: arguments[C] }, m.has(arguments[C])) { m = m.get(arguments[C]); continue; } x = !1, g = new l(!1), m.set(arguments[C], g), m = g; } return x && (m.has(arguments[w]) ? y = m.get(arguments[w]) : x = !1), x || (y = v.apply(null, arguments), m.set(arguments[w], y)), d > 0 && (D[w] = { cacheItem: m, arg: arguments[w] }, x ? u(f, D) : f.push(D), f.length > d && c(f.shift())), b.wasMemoized = x, b.numArgs = w + 1, y; }, "memoizerific"); return b.limit = d, b.wasMemoized = !1, b.cache = h, b.lru = f, b; }; }; function u(d, h) { var f = d.length, v = h.length, b, m, g; for (m = 0; m < f; m++) { for (b = !0, g = 0; g < v; g++) if (!p(d[m][g].arg, h[g].arg)) { b = !1; break; } if (b) break; } d.push(d.splice(m, 1)[0]); } a(u, "moveToMostRecentLru"); function c(d) { var h = d.length, f = d[h - 1], v, b; for (f.cacheItem.delete(f.arg), b = h - 2; b >= 0 && (f = d[b], v = f.cacheItem.get(f.arg), !v || !v.size); b--) f.cacheItem.delete(f.arg); } a(c, "removeCachedResult"); function p(d, h) { return d === h || d !== d && h !== h; } a(p, "isEqual"); }, { "map-or-similar": 1 }] }, {}, [3])(3); }); }); // ../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js function sn(e, t) { if (e == null) return {}; var r = {}; for (var n in e) if ({}.hasOwnProperty.call(e, n)) { if (t.indexOf(n) >= 0) continue; r[n] = e[n]; } return r; } var ai = F(() => { a(sn, "_objectWithoutPropertiesLoose"); }); // ../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js function mp(e, t) { if (e == null) return {}; var r, n, o = sn(e, t); if (Object.getOwnPropertySymbols) { var i = Object.getOwnPropertySymbols(e); for (n = 0; n < i.length; n++) r = i[n], t.indexOf(r) >= 0 || {}.propertyIsEnumerable.call(e, r) && (o[r] = e[r]); } return o; } var gp = F(() => { ai(); a(mp, "_objectWithoutProperties"); }); // ../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js function ea(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r]; return n; } var ws = F(() => { a(ea, "_arrayLikeToArray"); }); // ../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js function vp(e) { if (Array.isArray(e)) return ea(e); } var wp = F(() => { ws(); a(vp, "_arrayWithoutHoles"); }); // ../node_modules/@babel/runtime/helpers/esm/iterableToArray.js function bp(e) { if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e); } var yp = F(() => { a(bp, "_iterableToArray"); }); // ../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js function Dp(e, t) { if (e) { if (typeof e == "string") return ea(e, t); var r = {}.toString.call(e).slice(8, -1); return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/. test(r) ? ea(e, t) : void 0; } } var xp = F(() => { ws(); a(Dp, "_unsupportedIterableToArray"); }); // ../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js function Cp() { throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var Ep = F(() => { a(Cp, "_nonIterableSpread"); }); // ../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js function Sp(e) { return vp(e) || bp(e) || Dp(e) || Cp(); } var Rp = F(() => { wp(); yp(); xp(); Ep(); a(Sp, "_toConsumableArray"); }); // ../node_modules/@babel/runtime/helpers/esm/typeof.js function br(e) { "@babel/helpers - typeof"; return br = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) { return typeof t; } : function(t) { return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t; }, br(e); } var bs = F(() => { a(br, "_typeof"); }); // ../node_modules/@babel/runtime/helpers/esm/toPrimitive.js function Ap(e, t) { if (br(e) != "object" || !e) return e; var r = e[Symbol.toPrimitive]; if (r !== void 0) { var n = r.call(e, t || "default"); if (br(n) != "object") return n; throw new TypeError("@@toPrimitive must return a primitive value."); } return (t === "string" ? String : Number)(e); } var Fp = F(() => { bs(); a(Ap, "toPrimitive"); }); // ../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js function kp(e) { var t = Ap(e, "string"); return br(t) == "symbol" ? t : t + ""; } var Tp = F(() => { bs(); Fp(); a(kp, "toPropertyKey"); }); // ../node_modules/@babel/runtime/helpers/esm/defineProperty.js function ii(e, t, r) { return (t = kp(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e; } var ys = F(() => { Tp(); a(ii, "_defineProperty"); }); // ../node_modules/react-syntax-highlighter/dist/esm/create-element.js import f6 from "react"; function Lp(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function(o) { return Object.getOwnPropertyDescriptor(e, o).enumerable; })), r.push.apply(r, n); } return r; } function un(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t] != null ? arguments[t] : {}; t % 2 ? Lp(Object(r), !0).forEach(function(n) { ii(e, n, r[n]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Lp(Object(r)).forEach(function(n) { Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n)); }); } return e; } function h6(e) { var t = e.length; if (t === 0 || t === 1) return e; if (t === 2) return [e[0], e[1], "".concat(e[0], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0])]; if (t === 3) return [e[0], e[1], e[2], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0]), "".concat( e[1], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat( e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat( e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0])]; if (t >= 4) return [e[0], e[1], e[2], e[3], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3]), "".concat(e[3], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2], ".").concat( e[3]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[2], ".").concat( e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0]), "".concat( e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat( e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat( e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat( e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat( e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat( e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat( e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat( e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat( e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat( e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat( e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat( e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat( e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat( e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat( e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat( e[2], ".").concat(e[1], ".").concat(e[0])]; } function m6(e) { if (e.length === 0 || e.length === 1) return e; var t = e.join("."); return Ds[t] || (Ds[t] = h6(e)), Ds[t]; } function g6(e) { var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 ? arguments[2] : void 0, n = e.filter( function(i) { return i !== "token"; }), o = m6(n); return o.reduce(function(i, l) { return un(un({}, i), r[l]); }, t); } function Ip(e) { return e.join(" "); } function v6(e, t) { var r = 0; return function(n) { return r += 1, n.map(function(o, i) { return yr({ node: o, stylesheet: e, useInlineStyles: t, key: "code-segment-".concat(r, "-").concat(i) }); }); }; } function yr(e) { var t = e.node, r = e.stylesheet, n = e.style, o = n === void 0 ? {} : n, i = e.useInlineStyles, l = e.key, u = t.properties, c = t.type, p = t. tagName, d = t.value; if (c === "text") return d; if (p) { var h = v6(r, i), f; if (!i) f = un(un({}, u), {}, { className: Ip(u.className) }); else { var v = Object.keys(r).reduce(function(y, w) { return w.split(".").forEach(function(D) { y.includes(D) || y.push(D); }), y; }, []), b = u.className && u.className.includes("token") ? ["token"] : [], m = u.className && b.concat(u.className.filter(function(y) { return !v.includes(y); })); f = un(un({}, u), {}, { className: Ip(m) || void 0, style: g6(u.className, Object.assign({}, u.style, o), r) }); } var g = h(t.children); return /* @__PURE__ */ f6.createElement(p, H({ key: l }, f), g); } } var Ds, xs = F(() => { qe(); ys(); a(Lp, "ownKeys"); a(un, "_objectSpread"); a(h6, "powerSetPermutations"); Ds = {}; a(m6, "getClassNameCombinations"); a(g6, "createStyleObject"); a(Ip, "createClassNameString"); a(v6, "createChildren"); a(yr, "createElement"); }); // ../node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js var Bp, Mp = F(() => { Bp = /* @__PURE__ */ a(function(e, t) { var r = e.listLanguages(); return r.indexOf(t) !== -1; }, "default"); }); // ../node_modules/react-syntax-highlighter/dist/esm/highlight.js import Dr from "react"; function _p(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function(o) { return Object.getOwnPropertyDescriptor(e, o).enumerable; })), r.push.apply(r, n); } return r; } function mt(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t] != null ? arguments[t] : {}; t % 2 ? _p(Object(r), !0).forEach(function(n) { ii(e, n, r[n]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : _p(Object(r)).forEach(function(n) { Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n)); }); } return e; } function y6(e) { return e.match(b6); } function D6(e) { var t = e.lines, r = e.startingLineNumber, n = e.style; return t.map(function(o, i) { var l = i + r; return /* @__PURE__ */ Dr.createElement("span", { key: "line-".concat(i), className: "react-syntax-highlighter-line-number", style: typeof n == "function" ? n(l) : n }, "".concat(l, ` `)); }); } function x6(e) { var t = e.codeString, r = e.codeStyle, n = e.containerStyle, o = n === void 0 ? { float: "left", paddingRight: "10px" } : n, i = e.numberStyle, l = i === void 0 ? {} : i, u = e.startingLineNumber; return /* @__PURE__ */ Dr.createElement("code", { style: Object.assign({}, r, o) }, D6({ lines: t.replace(/\n$/, "").split(` `), style: l, startingLineNumber: u })); } function C6(e) { return "".concat(e.toString().length, ".25em"); } function Pp(e, t) { return { type: "element", tagName: "span", properties: { key: "line-number--".concat(e), className: ["comment", "linenumber", "react-syntax-highlighter-line-number"], style: t }, children: [{ type: "text", value: e }] }; } function Hp(e, t, r) { var n = { display: "inline-block", minWidth: C6(r), paddingRight: "1em", textAlign: "right", userSelect: "none" }, o = typeof e == "function" ? e(t) : e, i = mt(mt({}, n), o); return i; } function li(e) { var t = e.children, r = e.lineNumber, n = e.lineNumberStyle, o = e.largestLineNumber, i = e.showInlineLineNumbers, l = e.lineProps, u = l === void 0 ? {} : l, c = e.className, p = c === void 0 ? [] : c, d = e.showLineNumbers, h = e.wrapLongLines, f = typeof u == "function" ? u(r) : u; if (f.className = p, r && i) { var v = Hp(n, r, o); t.unshift(Pp(r, v)); } return h & d && (f.style = mt(mt({}, f.style), {}, { display: "flex" })), { type: "element", tagName: "span", properties: f, children: t }; } function $p(e) { for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], n = 0; n < e.length; n++) { var o = e[n]; if (o.type === "text") r.push(li({ children: [o], className: Sp(new Set(t)) })); else if (o.children) { var i = t.concat(o.properties.className); $p(o.children, i).forEach(function(l) { return r.push(l); }); } } return r; } function E6(e, t, r, n, o, i, l, u, c) { var p, d = $p(e.value), h = [], f = -1, v = 0; function b(C, E) { var S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : []; return li({ children: C, lineNumber: E, lineNumberStyle: u, largestLineNumber: l, showInlineLineNumbers: o, lineProps: r, className: S, showLineNumbers: n, wrapLongLines: c }); } a(b, "createWrappedLine"); function m(C, E) { if (n && E && o) { var S = Hp(u, E, l); C.unshift(Pp(E, S)); } return C; } a(m, "createUnwrappedLine"); function g(C, E) { var S = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : []; return t || S.length > 0 ? b(C, E, S) : m(C, E); } a(g, "createLine"); for (var y = /* @__PURE__ */ a(function() { var E = d[v], S = E.children[0].value, R = y6(S); if (R) { var A = S.split(` `); A.forEach(function(k, B) { var $ = n && h.length + i, M = { type: "text", value: "".concat(k, ` `) }; if (B === 0) { var W = d.slice(f + 1, v).concat(li({ children: [M], className: E.properties.className })), T = g(W, $); h.push(T); } else if (B === A.length - 1) { var L = d[v + 1] && d[v + 1].children && d[v + 1].children[0], P = { type: "text", value: "".concat(k) }; if (L) { var U = li({ children: [P], className: E.properties.className }); d.splice(v + 1, 0, U); } else { var N = [P], G = g(N, $, E.properties.className); h.push(G); } } else { var z = [M], K = g(z, $, E.properties.className); h.push(K); } }), f = v; } v++; }, "_loop"); v < d.length; ) y(); if (f !== d.length - 1) { var w = d.slice(f + 1, d.length); if (w && w.length) { var D = n && h.length + i, x = g(w, D); h.push(x); } } return t ? h : (p = []).concat.apply(p, h); } function S6(e) { var t = e.rows, r = e.stylesheet, n = e.useInlineStyles; return t.map(function(o, i) { return yr({ node: o, stylesheet: r, useInlineStyles: n, key: "code-segement".concat(i) }); }); } function zp(e) { return e && typeof e.highlightAuto < "u"; } function R6(e) { var t = e.astGenerator, r = e.language, n = e.code, o = e.defaultCodeValue; if (zp(t)) { var i = Bp(t, r); return r === "text" ? { value: o, language: "text" } : i ? t.highlight(r, n) : t.highlightAuto(n); } try { return r && r !== "text" ? { value: t.highlight(n, r) } : { value: o }; } catch { return { value: o }; } } function Cs(e, t) { return /* @__PURE__ */ a(function(n) { var o = n.language, i = n.children, l = n.style, u = l === void 0 ? t : l, c = n.customStyle, p = c === void 0 ? {} : c, d = n.codeTagProps, h = d === void 0 ? { className: o ? "language-".concat(o) : void 0, style: mt(mt({}, u['code[class*="language-"]']), u['code[class*="language-'.concat(o, '"]')]) } : d, f = n.useInlineStyles, v = f === void 0 ? !0 : f, b = n.showLineNumbers, m = b === void 0 ? !1 : b, g = n.showInlineLineNumbers, y = g === void 0 ? !0 : g, w = n.startingLineNumber, D = w === void 0 ? 1 : w, x = n.lineNumberContainerStyle, C = n.lineNumberStyle, E = C === void 0 ? {} : C, S = n.wrapLines, R = n.wrapLongLines, A = R === void 0 ? !1 : R, k = n.lineProps, B = k === void 0 ? {} : k, $ = n.renderer, M = n. PreTag, W = M === void 0 ? "pre" : M, T = n.CodeTag, L = T === void 0 ? "code" : T, P = n.code, U = P === void 0 ? (Array.isArray(i) ? i[0] : i) || "" : P, N = n.astGenerator, G = mp(n, w6); N = N || e; var z = m ? /* @__PURE__ */ Dr.createElement(x6, { containerStyle: x, codeStyle: h.style || {}, numberStyle: E, startingLineNumber: D, codeString: U }) : null, K = u.hljs || u['pre[class*="language-"]'] || { backgroundColor: "#fff" }, Te = zp(N) ? "hljs" : "prismjs", ve = v ? Object.assign({}, G, { style: Object.assign({}, K, p) }) : Object.assign({}, G, { className: G.className ? "".concat(Te, " ").concat(G.className) : Te, style: Object.assign({}, p) }); if (A ? h.style = mt(mt({}, h.style), {}, { whiteSpace: "pre-wrap" }) : h.style = mt(mt({}, h.style), {}, { whiteSpace: "pre" }), !N) return /* @__PURE__ */ Dr.createElement(W, ve, z, /* @__PURE__ */ Dr.createElement(L, h, U)); (S === void 0 && $ || A) && (S = !0), $ = $ || S6; var de = [{ type: "text", value: U }], Ce = R6({ astGenerator: N, language: o, code: U, defaultCodeValue: de }); Ce.language === null && (Ce.value = de); var Le = Ce.value.length + D, Ie = E6(Ce, S, B, m, y, D, Le, E, A); return /* @__PURE__ */ Dr.createElement(W, ve, /* @__PURE__ */ Dr.createElement(L, h, !y && z, $({ rows: Ie, stylesheet: u, useInlineStyles: v }))); }, "SyntaxHighlighter"); } var w6, b6, Op = F(() => { gp(); Rp(); ys(); xs(); Mp(); w6 = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "star\ tingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "\ code", "astGenerator"]; a(_p, "ownKeys"); a(mt, "_objectSpread"); b6 = /\n/g; a(y6, "getNewLines"); a(D6, "getAllLineNumbers"); a(x6, "AllLineNumbers"); a(C6, "getEmWidthOfNumber"); a(Pp, "getInlineLineNumber"); a(Hp, "assembleLineNumberStyles"); a(li, "createLineElement"); a($p, "flattenCodeTree"); a(E6, "processLines"); a(S6, "defaultRenderer"); a(zp, "isHighlightJs"); a(R6, "getCodeTree"); a(Cs, "default"); }); // ../node_modules/xtend/immutable.js var jp = _((DH, Np) => { Np.exports = F6; var A6 = Object.prototype.hasOwnProperty; function F6() { for (var e = {}, t = 0; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) A6.call(r, n) && (e[n] = r[n]); } return e; } a(F6, "extend"); }); // ../node_modules/hastscript/node_modules/property-information/lib/util/schema.js var Ss = _((CH, qp) => { "use strict"; qp.exports = Vp; var Es = Vp.prototype; Es.space = null; Es.normal = {}; Es.property = {}; function Vp(e, t, r) { this.property = e, this.normal = t, r && (this.space = r); } a(Vp, "Schema"); }); // ../node_modules/hastscript/node_modules/property-information/lib/util/merge.js var Gp = _((SH, Up) => { "use strict"; var Wp = jp(), k6 = Ss(); Up.exports = T6; function T6(e) { for (var t = e.length, r = [], n = [], o = -1, i, l; ++o < t; ) i = e[o], r.push(i.property), n.push(i.normal), l = i.space; return new k6( Wp.apply(null, r), Wp.apply(null, n), l ); } a(T6, "merge"); }); // ../node_modules/hastscript/node_modules/property-information/normalize.js var si = _((AH, Xp) => { "use strict"; Xp.exports = L6; function L6(e) { return e.toLowerCase(); } a(L6, "normalize"); }); // ../node_modules/hastscript/node_modules/property-information/lib/util/info.js var Rs = _((kH, Kp) => { "use strict"; Kp.exports = Yp; var Ue = Yp.prototype; Ue.space = null; Ue.attribute = null; Ue.property = null; Ue.boolean = !1; Ue.booleanish = !1; Ue.overloadedBoolean = !1; Ue.number = !1; Ue.commaSeparated = !1; Ue.spaceSeparated = !1; Ue.commaOrSpaceSeparated = !1; Ue.mustUseProperty = !1; Ue.defined = !1; function Yp(e, t) { this.property = e, this.attribute = t; } a(Yp, "Info"); }); // ../node_modules/hastscript/node_modules/property-information/lib/util/types.js var ui = _((Kt) => { "use strict"; var I6 = 0; Kt.boolean = xr(); Kt.booleanish = xr(); Kt.overloadedBoolean = xr(); Kt.number = xr(); Kt.spaceSeparated = xr(); Kt.commaSeparated = xr(); Kt.commaOrSpaceSeparated = xr(); function xr() { return Math.pow(2, ++I6); } a(xr, "increment"); }); // ../node_modules/hastscript/node_modules/property-information/lib/util/defined-info.js var Fs = _((BH, td) => { "use strict"; var Qp = Rs(), Zp = ui(); td.exports = As; As.prototype = new Qp(); As.prototype.defined = !0; var ed = [ "boolean", "booleanish", "overloadedBoolean", "number", "commaSeparated", "spaceSeparated", "commaOrSpaceSeparated" ], B6 = ed.length; function As(e, t, r, n) { var o = -1, i; for (Jp(this, "space", n), Qp.call(this, e, t); ++o < B6; ) i = ed[o], Jp(this, i, (r & Zp[i]) === Zp[i]); } a(As, "DefinedInfo"); function Jp(e, t, r) { r && (e[t] = r); } a(Jp, "mark"); }); // ../node_modules/hastscript/node_modules/property-information/lib/util/create.js var cn = _((_H, nd) => { "use strict"; var rd = si(), M6 = Ss(), _6 = Fs(); nd.exports = P6; function P6(e) { var t = e.space, r = e.mustUseProperty || [], n = e.attributes || {}, o = e.properties, i = e.transform, l = {}, u = {}, c, p; for (c in o) p = new _6( c, i(n, c), o[c], t ), r.indexOf(c) !== -1 && (p.mustUseProperty = !0), l[c] = p, u[rd(c)] = c, u[rd(p.attribute)] = c; return new M6(l, u, t); } a(P6, "create"); }); // ../node_modules/hastscript/node_modules/property-information/lib/xlink.js var ad = _((HH, od) => { "use strict"; var H6 = cn(); od.exports = H6({ space: "xlink", transform: $6, properties: { xLinkActuate: null, xLinkArcRole: null, xLinkHref: null, xLinkRole: null, xLinkShow: null, xLinkTitle: null, xLinkType: null } }); function $6(e, t) { return "xlink:" + t.slice(5).toLowerCase(); } a($6, "xlinkTransform"); }); // ../node_modules/hastscript/node_modules/property-information/lib/xml.js var ld = _((zH, id) => { "use strict"; var z6 = cn(); id.exports = z6({ space: "xml", transform: O6, properties: { xmlLang: null, xmlBase: null, xmlSpace: null } }); function O6(e, t) { return "xml:" + t.slice(3).toLowerCase(); } a(O6, "xmlTransform"); }); // ../node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.js var ud = _((NH, sd) => { "use strict"; sd.exports = N6; function N6(e, t) { return t in e ? e[t] : t; } a(N6, "caseSensitiveTransform"); }); // ../node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.js var ks = _((VH, cd) => { "use strict"; var j6 = ud(); cd.exports = V6; function V6(e, t) { return j6(e, t.toLowerCase()); } a(V6, "caseInsensitiveTransform"); }); // ../node_modules/hastscript/node_modules/property-information/lib/xmlns.js var dd = _((WH, pd) => { "use strict"; var q6 = cn(), W6 = ks(); pd.exports = q6({ space: "xmlns", attributes: { xmlnsxlink: "xmlns:xlink" }, transform: W6, properties: { xmlns: null, xmlnsXLink: null } }); }); // ../node_modules/hastscript/node_modules/property-information/lib/aria.js var hd = _((UH, fd) => { "use strict"; var Ts = ui(), U6 = cn(), Me = Ts.booleanish, Ge = Ts.number, Cr = Ts.spaceSeparated; fd.exports = U6({ transform: G6, properties: { ariaActiveDescendant: null, ariaAtomic: Me, ariaAutoComplete: null, ariaBusy: Me, ariaChecked: Me, ariaColCount: Ge, ariaColIndex: Ge, ariaColSpan: Ge, ariaControls: Cr, ariaCurrent: null, ariaDescribedBy: Cr, ariaDetails: null, ariaDisabled: Me, ariaDropEffect: Cr, ariaErrorMessage: null, ariaExpanded: Me, ariaFlowTo: Cr, ariaGrabbed: Me, ariaHasPopup: null, ariaHidden: Me, ariaInvalid: null, ariaKeyShortcuts: null, ariaLabel: null, ariaLabelledBy: Cr, ariaLevel: Ge, ariaLive: null, ariaModal: Me, ariaMultiLine: Me, ariaMultiSelectable: Me, ariaOrientation: null, ariaOwns: Cr, ariaPlaceholder: null, ariaPosInSet: Ge, ariaPressed: Me, ariaReadOnly: Me, ariaRelevant: null, ariaRequired: Me, ariaRoleDescription: Cr, ariaRowCount: Ge, ariaRowIndex: Ge, ariaRowSpan: Ge, ariaSelected: Me, ariaSetSize: Ge, ariaSort: null, ariaValueMax: Ge, ariaValueMin: Ge, ariaValueNow: Ge, ariaValueText: null, role: null } }); function G6(e, t) { return t === "role" ? t : "aria-" + t.slice(4).toLowerCase(); } a(G6, "ariaTransform"); }); // ../node_modules/hastscript/node_modules/property-information/lib/html.js var gd = _((XH, md) => { "use strict"; var pn = ui(), X6 = cn(), Y6 = ks(), V = pn.boolean, K6 = pn.overloadedBoolean, ta = pn.booleanish, Z = pn.number, Re = pn.spaceSeparated, ci = pn.commaSeparated; md.exports = X6({ space: "html", attributes: { acceptcharset: "accept-charset", classname: "class", htmlfor: "for", httpequiv: "http-equiv" }, transform: Y6, mustUseProperty: ["checked", "multiple", "muted", "selected"], properties: { // Standard Properties. abbr: null, accept: ci, acceptCharset: Re, accessKey: Re, action: null, allow: null, allowFullScreen: V, allowPaymentRequest: V, allowUserMedia: V, alt: null, as: null, async: V, autoCapitalize: null, autoComplete: Re, autoFocus: V, autoPlay: V, capture: V, charSet: null, checked: V, cite: null, className: Re, cols: Z, colSpan: null, content: null, contentEditable: ta, controls: V, controlsList: Re, coords: Z | ci, crossOrigin: null, data: null, dateTime: null, decoding: null, default: V, defer: V, dir: null, dirName: null, disabled: V, download: K6, draggable: ta, encType: null, enterKeyHint: null, form: null, formAction: null, formEncType: null, formMethod: null, formNoValidate: V, formTarget: null, headers: Re, height: Z, hidden: V, high: Z, href: null, hrefLang: null, htmlFor: Re, httpEquiv: Re, id: null, imageSizes: null, imageSrcSet: ci, inputMode: null, integrity: null, is: null, isMap: V, itemId: null, itemProp: Re, itemRef: Re, itemScope: V, itemType: Re, kind: null, label: null, lang: null, language: null, list: null, loading: null, loop: V, low: Z, manifest: null, max: null, maxLength: Z, media: null, method: null, min: null, minLength: Z, multiple: V, muted: V, name: null, nonce: null, noModule: V, noValidate: V, onAbort: null, onAfterPrint: null, onAuxClick: null, onBeforePrint: null, onBeforeUnload: null, onBlur: null, onCancel: null, onCanPlay: null, onCanPlayThrough: null, onChange: null, onClick: null, onClose: null, onContextMenu: null, onCopy: null, onCueChange: null, onCut: null, onDblClick: null, onDrag: null, onDragEnd: null, onDragEnter: null, onDragExit: null, onDragLeave: null, onDragOver: null, onDragStart: null, onDrop: null, onDurationChange: null, onEmptied: null, onEnded: null, onError: null, onFocus: null, onFormData: null, onHashChange: null, onInput: null, onInvalid: null, onKeyDown: null, onKeyPress: null, onKeyUp: null, onLanguageChange: null, onLoad: null, onLoadedData: null, onLoadedMetadata: null, onLoadEnd: null, onLoadStart: null, onMessage: null, onMessageError: null, onMouseDown: null, onMouseEnter: null, onMouseLeave: null, onMouseMove: null, onMouseOut: null, onMouseOver: null, onMouseUp: null, onOffline: null, onOnline: null, onPageHide: null, onPageShow: null, onPaste: null, onPause: null, onPlay: null, onPlaying: null, onPopState: null, onProgress: null, onRateChange: null, onRejectionHandled: null, onReset: null, onResize: null, onScroll: null, onSecurityPolicyViolation: null, onSeeked: null, onSeeking: null, onSelect: null, onSlotChange: null, onStalled: null, onStorage: null, onSubmit: null, onSuspend: null, onTimeUpdate: null, onToggle: null, onUnhandledRejection: null, onUnload: null, onVolumeChange: null, onWaiting: null, onWheel: null, open: V, optimum: Z, pattern: null, ping: Re, placeholder: null, playsInline: V, poster: null, preload: null, readOnly: V, referrerPolicy: null, rel: Re, required: V, reversed: V, rows: Z, rowSpan: Z, sandbox: Re, scope: null, scoped: V, seamless: V, selected: V, shape: null, size: Z, sizes: null, slot: null, span: Z, spellCheck: ta, src: null, srcDoc: null, srcLang: null, srcSet: ci, start: Z, step: null, style: null, tabIndex: Z, target: null, title: null, translate: null, type: null, typeMustMatch: V, useMap: null, value: ta, width: Z, wrap: null, // Legacy. // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis align: null, // Several. Use CSS `text-align` instead, aLink: null, // ``. Use CSS `a:active {color}` instead archive: Re, // ``. List of URIs to archives axis: null, // `` and ``. Use `scope` on `` background: null, // ``. Use CSS `background-image` instead bgColor: null, // `` and table elements. Use CSS `background-color` instead border: Z, // ``. Use CSS `border-width` instead, borderColor: null, // `
`. Use CSS `border-color` instead, bottomMargin: Z, // `` cellPadding: null, // `
` cellSpacing: null, // `
` char: null, // Several table elements. When `align=char`, sets the character to align on charOff: null, // Several table elements. When `char`, offsets the alignment classId: null, // `` clear: null, // `
`. Use CSS `clear` instead code: null, // `` codeBase: null, // `` codeType: null, // `` color: null, // `` and `
`. Use CSS instead compact: V, // Lists. Use CSS to reduce space between items instead declare: V, // `` event: null, // `