diff --git a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/IdeProtocolClient.kt b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/IdeProtocolClient.kt index 77811fc8b..b5389c86e 100644 --- a/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/IdeProtocolClient.kt +++ b/extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/IdeProtocolClient.kt @@ -25,9 +25,14 @@ import kotlinx.coroutines.* import okhttp3.* import java.io.File import java.net.NetworkInterface +import java.util.UUID + +fun uuid(): String { + return UUID.randomUUID().toString() +} -data class WebSocketMessage(val messageType: String, val data: T) +data class WebSocketMessage(val messageType: String, val messageId: String, val data: T) data class WorkspaceDirectory(val workspaceDirectory: String) data class UniqueId(val uniqueId: String) data class ReadFile(val contents: String) @@ -133,6 +138,12 @@ class IdeProtocolClient( object : TypeToken>() {}.type ) val messageType = parsedMessage["messageType"] as? String + val messageId = parsedMessage["messageId"] as? String + if (messageId == null) { + + println("Received message without messageId: $text") + return@launch + } val data = parsedMessage["data"] as Map<*, *> try { @@ -142,6 +153,7 @@ class IdeProtocolClient( Gson().toJson( WebSocketMessage( "workspaceDirectory", + messageId, WorkspaceDirectory(workspaceDirectory()) ) ) @@ -152,6 +164,7 @@ class IdeProtocolClient( Gson().toJson( WebSocketMessage( "uniqueId", + messageId, UniqueId(uniqueId()) ) ) @@ -172,6 +185,7 @@ class IdeProtocolClient( Gson().toJson( WebSocketMessage( "ide", + messageId, IdeInfo( ideName, ideVersion, remoteName ) @@ -195,6 +209,7 @@ class IdeProtocolClient( Gson().toJson( WebSocketMessage( "readFile", + messageId, msg ) ) @@ -206,6 +221,7 @@ class IdeProtocolClient( Gson().toJson( WebSocketMessage( "listDirectoryContents", + messageId, ListDirectoryContents(listDirectoryContents()) ) ) @@ -217,6 +233,7 @@ class IdeProtocolClient( Gson().toJson( WebSocketMessage( "getTerminalContents", + messageId, GetTerminalContents("Terminal cannot be accessed in JetBrains IDE") ) ) @@ -229,6 +246,7 @@ class IdeProtocolClient( Gson().toJson( WebSocketMessage( "visibleFiles", + messageId, msg ) ) @@ -270,6 +288,7 @@ class IdeProtocolClient( Gson().toJson( WebSocketMessage( "highlightedCode", + messageId, HighlightedCode(rifs) ) ) @@ -431,31 +450,31 @@ class IdeProtocolClient( return result } - private fun sendWebSocketMessage(messageType: String, data: T) { + private fun sendWebSocketMessage(messageType: String, messageId: String, data: T) { webSocket?.send(Gson().toJson( - WebSocketMessage(messageType, data) + WebSocketMessage(messageType, messageId, data) )) } fun sendHighlightedCode(edit: Boolean = false) { val rif = getHighlightedCode() ?: return - sendWebSocketMessage("highlightedCodePush", HighlightedCodeUpdate( + sendWebSocketMessage("highlightedCodePush", uuid(), HighlightedCodeUpdate( listOf(rif), edit )) } fun sendMainUserInput(input: String) { - sendWebSocketMessage("mainUserInput", MainUserInput(input)) + sendWebSocketMessage("mainUserInput", uuid(), MainUserInput(input)) } fun sendAcceptRejectDiff(accepted: Boolean, stepIndex: Int) { - sendWebSocketMessage("acceptRejectDiff", AcceptRejectDiff(accepted, stepIndex)) + sendWebSocketMessage("acceptRejectDiff", uuid(), AcceptRejectDiff(accepted, stepIndex)) } fun deleteAtIndex(index: Int) { - sendWebSocketMessage("deleteAtIndex", DeleteAtIndex(index)) + sendWebSocketMessage("deleteAtIndex", uuid(), DeleteAtIndex(index)) } private val DEFAULT_IGNORE_DIRS = listOf( diff --git a/extensions/intellij/src/main/resources/webview/assets/index.js b/extensions/intellij/src/main/resources/webview/assets/index.js index b120cba6c..6e1370660 100644 --- a/extensions/intellij/src/main/resources/webview/assets/index.js +++ b/extensions/intellij/src/main/resources/webview/assets/index.js @@ -1,79 +1,4 @@ -var OG = Object.defineProperty; -var DG = (e, t, n) => - t in e - ? OG(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) - : (e[t] = n); -var ea = (e, t, n) => (DG(e, typeof t != "symbol" ? t + "" : t, n), n); -function LG(e, t) { - for (var n = 0; n < t.length; n++) { - const r = t[n]; - if (typeof r != "string" && !Array.isArray(r)) { - for (const i in r) - if (i !== "default" && !(i in e)) { - const a = Object.getOwnPropertyDescriptor(r, i); - a && - Object.defineProperty( - e, - i, - a.get ? a : { enumerable: !0, get: () => r[i] } - ); - } - } - } - return Object.freeze( - Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }) - ); -} -(function () { - const t = document.createElement("link").relList; - if (t && t.supports && t.supports("modulepreload")) return; - for (const i of document.querySelectorAll('link[rel="modulepreload"]')) r(i); - new MutationObserver((i) => { - for (const a of i) - if (a.type === "childList") - for (const o of a.addedNodes) - o.tagName === "LINK" && o.rel === "modulepreload" && r(o); - }).observe(document, { childList: !0, subtree: !0 }); - function n(i) { - const a = {}; - return ( - i.integrity && (a.integrity = i.integrity), - i.referrerPolicy && (a.referrerPolicy = i.referrerPolicy), - i.crossOrigin === "use-credentials" - ? (a.credentials = "include") - : i.crossOrigin === "anonymous" - ? (a.credentials = "omit") - : (a.credentials = "same-origin"), - a - ); - } - function r(i) { - if (i.ep) return; - i.ep = !0; - const a = n(i); - fetch(i.href, a); - } -})(); -var ql = - typeof globalThis < "u" - ? globalThis - : typeof window < "u" - ? window - : typeof global < "u" - ? global - : typeof self < "u" - ? self - : {}; -function Hi(e) { - return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") - ? e.default - : e; -} -var bR = { exports: {} }, - Mg = {}, - ER = { exports: {} }, - Bt = {}; -/** +var OG=Object.defineProperty;var DG=(e,t,n)=>t in e?OG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ea=(e,t,n)=>(DG(e,typeof t!="symbol"?t+"":t,n),n);function LG(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var ql=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bR={exports:{}},Mg={},ER={exports:{}},Bt={};/** * @license React * react.production.min.js * @@ -81,392 +6,7 @@ var bR = { exports: {} }, * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ var Ep = Symbol.for("react.element"), - MG = Symbol.for("react.portal"), - FG = Symbol.for("react.fragment"), - PG = Symbol.for("react.strict_mode"), - BG = Symbol.for("react.profiler"), - UG = Symbol.for("react.provider"), - $G = Symbol.for("react.context"), - zG = Symbol.for("react.forward_ref"), - HG = Symbol.for("react.suspense"), - jG = Symbol.for("react.memo"), - GG = Symbol.for("react.lazy"), - mw = Symbol.iterator; -function VG(e) { - return e === null || typeof e != "object" - ? null - : ((e = (mw && e[mw]) || e["@@iterator"]), - typeof e == "function" ? e : null); -} -var vR = { - isMounted: function () { - return !1; - }, - enqueueForceUpdate: function () {}, - enqueueReplaceState: function () {}, - enqueueSetState: function () {}, - }, - yR = Object.assign, - _R = {}; -function nc(e, t, n) { - (this.props = e), - (this.context = t), - (this.refs = _R), - (this.updater = n || vR); -} -nc.prototype.isReactComponent = {}; -nc.prototype.setState = function (e, t) { - if (typeof e != "object" && typeof e != "function" && e != null) - throw Error( - "setState(...): takes an object of state variables to update or a function which returns an object of state variables." - ); - this.updater.enqueueSetState(this, e, t, "setState"); -}; -nc.prototype.forceUpdate = function (e) { - this.updater.enqueueForceUpdate(this, e, "forceUpdate"); -}; -function TR() {} -TR.prototype = nc.prototype; -function C9(e, t, n) { - (this.props = e), - (this.context = t), - (this.refs = _R), - (this.updater = n || vR); -} -var x9 = (C9.prototype = new TR()); -x9.constructor = C9; -yR(x9, nc.prototype); -x9.isPureReactComponent = !0; -var bw = Array.isArray, - SR = Object.prototype.hasOwnProperty, - k9 = { current: null }, - wR = { key: !0, ref: !0, __self: !0, __source: !0 }; -function AR(e, t, n) { - var r, - i = {}, - a = null, - o = null; - if (t != null) - for (r in (t.ref !== void 0 && (o = t.ref), - t.key !== void 0 && (a = "" + t.key), - t)) - SR.call(t, r) && !wR.hasOwnProperty(r) && (i[r] = t[r]); - var s = arguments.length - 2; - if (s === 1) i.children = n; - else if (1 < s) { - for (var u = Array(s), c = 0; c < s; c++) u[c] = arguments[c + 2]; - i.children = u; - } - if (e && e.defaultProps) - for (r in ((s = e.defaultProps), s)) i[r] === void 0 && (i[r] = s[r]); - return { - $$typeof: Ep, - type: e, - key: a, - ref: o, - props: i, - _owner: k9.current, - }; -} -function WG(e, t) { - return { - $$typeof: Ep, - type: e.type, - key: t, - ref: e.ref, - props: e.props, - _owner: e._owner, - }; -} -function I9(e) { - return typeof e == "object" && e !== null && e.$$typeof === Ep; -} -function qG(e) { - var t = { "=": "=0", ":": "=2" }; - return ( - "$" + - e.replace(/[=:]/g, function (n) { - return t[n]; - }) - ); -} -var Ew = /\/+/g; -function k5(e, t) { - return typeof e == "object" && e !== null && e.key != null - ? qG("" + e.key) - : t.toString(36); -} -function Y0(e, t, n, r, i) { - var a = typeof e; - (a === "undefined" || a === "boolean") && (e = null); - var o = !1; - if (e === null) o = !0; - else - switch (a) { - case "string": - case "number": - o = !0; - break; - case "object": - switch (e.$$typeof) { - case Ep: - case MG: - o = !0; - } - } - if (o) - return ( - (o = e), - (i = i(o)), - (e = r === "" ? "." + k5(o, 0) : r), - bw(i) - ? ((n = ""), - e != null && (n = e.replace(Ew, "$&/") + "/"), - Y0(i, t, n, "", function (c) { - return c; - })) - : i != null && - (I9(i) && - (i = WG( - i, - n + - (!i.key || (o && o.key === i.key) - ? "" - : ("" + i.key).replace(Ew, "$&/") + "/") + - e - )), - t.push(i)), - 1 - ); - if (((o = 0), (r = r === "" ? "." : r + ":"), bw(e))) - for (var s = 0; s < e.length; s++) { - a = e[s]; - var u = r + k5(a, s); - o += Y0(a, t, n, u, i); - } - else if (((u = VG(e)), typeof u == "function")) - for (e = u.call(e), s = 0; !(a = e.next()).done; ) - (a = a.value), (u = r + k5(a, s++)), (o += Y0(a, t, n, u, i)); - else if (a === "object") - throw ( - ((t = String(e)), - Error( - "Objects are not valid as a React child (found: " + - (t === "[object Object]" - ? "object with keys {" + Object.keys(e).join(", ") + "}" - : t) + - "). If you meant to render a collection of children, use an array instead." - )) - ); - return o; -} -function Wf(e, t, n) { - if (e == null) return e; - var r = [], - i = 0; - return ( - Y0(e, r, "", "", function (a) { - return t.call(n, a, i++); - }), - r - ); -} -function KG(e) { - if (e._status === -1) { - var t = e._result; - (t = t()), - t.then( - function (n) { - (e._status === 0 || e._status === -1) && - ((e._status = 1), (e._result = n)); - }, - function (n) { - (e._status === 0 || e._status === -1) && - ((e._status = 2), (e._result = n)); - } - ), - e._status === -1 && ((e._status = 0), (e._result = t)); - } - if (e._status === 1) return e._result.default; - throw e._result; -} -var ni = { current: null }, - X0 = { transition: null }, - YG = { - ReactCurrentDispatcher: ni, - ReactCurrentBatchConfig: X0, - ReactCurrentOwner: k9, - }; -Bt.Children = { - map: Wf, - forEach: function (e, t, n) { - Wf( - e, - function () { - t.apply(this, arguments); - }, - n - ); - }, - count: function (e) { - var t = 0; - return ( - Wf(e, function () { - t++; - }), - t - ); - }, - toArray: function (e) { - return ( - Wf(e, function (t) { - return t; - }) || [] - ); - }, - only: function (e) { - if (!I9(e)) - throw Error( - "React.Children.only expected to receive a single React element child." - ); - return e; - }, -}; -Bt.Component = nc; -Bt.Fragment = FG; -Bt.Profiler = BG; -Bt.PureComponent = C9; -Bt.StrictMode = PG; -Bt.Suspense = HG; -Bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = YG; -Bt.cloneElement = function (e, t, n) { - if (e == null) - throw Error( - "React.cloneElement(...): The argument must be a React element, but you passed " + - e + - "." - ); - var r = yR({}, e.props), - i = e.key, - a = e.ref, - o = e._owner; - if (t != null) { - if ( - (t.ref !== void 0 && ((a = t.ref), (o = k9.current)), - t.key !== void 0 && (i = "" + t.key), - e.type && e.type.defaultProps) - ) - var s = e.type.defaultProps; - for (u in t) - SR.call(t, u) && - !wR.hasOwnProperty(u) && - (r[u] = t[u] === void 0 && s !== void 0 ? s[u] : t[u]); - } - var u = arguments.length - 2; - if (u === 1) r.children = n; - else if (1 < u) { - s = Array(u); - for (var c = 0; c < u; c++) s[c] = arguments[c + 2]; - r.children = s; - } - return { $$typeof: Ep, type: e.type, key: i, ref: a, props: r, _owner: o }; -}; -Bt.createContext = function (e) { - return ( - (e = { - $$typeof: $G, - _currentValue: e, - _currentValue2: e, - _threadCount: 0, - Provider: null, - Consumer: null, - _defaultValue: null, - _globalName: null, - }), - (e.Provider = { $$typeof: UG, _context: e }), - (e.Consumer = e) - ); -}; -Bt.createElement = AR; -Bt.createFactory = function (e) { - var t = AR.bind(null, e); - return (t.type = e), t; -}; -Bt.createRef = function () { - return { current: null }; -}; -Bt.forwardRef = function (e) { - return { $$typeof: zG, render: e }; -}; -Bt.isValidElement = I9; -Bt.lazy = function (e) { - return { $$typeof: GG, _payload: { _status: -1, _result: e }, _init: KG }; -}; -Bt.memo = function (e, t) { - return { $$typeof: jG, type: e, compare: t === void 0 ? null : t }; -}; -Bt.startTransition = function (e) { - var t = X0.transition; - X0.transition = {}; - try { - e(); - } finally { - X0.transition = t; - } -}; -Bt.unstable_act = function () { - throw Error("act(...) is not supported in production builds of React."); -}; -Bt.useCallback = function (e, t) { - return ni.current.useCallback(e, t); -}; -Bt.useContext = function (e) { - return ni.current.useContext(e); -}; -Bt.useDebugValue = function () {}; -Bt.useDeferredValue = function (e) { - return ni.current.useDeferredValue(e); -}; -Bt.useEffect = function (e, t) { - return ni.current.useEffect(e, t); -}; -Bt.useId = function () { - return ni.current.useId(); -}; -Bt.useImperativeHandle = function (e, t, n) { - return ni.current.useImperativeHandle(e, t, n); -}; -Bt.useInsertionEffect = function (e, t) { - return ni.current.useInsertionEffect(e, t); -}; -Bt.useLayoutEffect = function (e, t) { - return ni.current.useLayoutEffect(e, t); -}; -Bt.useMemo = function (e, t) { - return ni.current.useMemo(e, t); -}; -Bt.useReducer = function (e, t, n) { - return ni.current.useReducer(e, t, n); -}; -Bt.useRef = function (e) { - return ni.current.useRef(e); -}; -Bt.useState = function (e) { - return ni.current.useState(e); -}; -Bt.useSyncExternalStore = function (e, t, n) { - return ni.current.useSyncExternalStore(e, t, n); -}; -Bt.useTransition = function () { - return ni.current.useTransition(); -}; -Bt.version = "18.2.0"; -ER.exports = Bt; -var C = ER.exports; -const ut = Hi(C), - v4 = LG({ __proto__: null, default: ut }, [C]); -/** + */var Ep=Symbol.for("react.element"),MG=Symbol.for("react.portal"),FG=Symbol.for("react.fragment"),PG=Symbol.for("react.strict_mode"),BG=Symbol.for("react.profiler"),UG=Symbol.for("react.provider"),$G=Symbol.for("react.context"),zG=Symbol.for("react.forward_ref"),HG=Symbol.for("react.suspense"),jG=Symbol.for("react.memo"),GG=Symbol.for("react.lazy"),mw=Symbol.iterator;function VG(e){return e===null||typeof e!="object"?null:(e=mw&&e[mw]||e["@@iterator"],typeof e=="function"?e:null)}var vR={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},yR=Object.assign,_R={};function nc(e,t,n){this.props=e,this.context=t,this.refs=_R,this.updater=n||vR}nc.prototype.isReactComponent={};nc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};nc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function TR(){}TR.prototype=nc.prototype;function C9(e,t,n){this.props=e,this.context=t,this.refs=_R,this.updater=n||vR}var x9=C9.prototype=new TR;x9.constructor=C9;yR(x9,nc.prototype);x9.isPureReactComponent=!0;var bw=Array.isArray,SR=Object.prototype.hasOwnProperty,k9={current:null},wR={key:!0,ref:!0,__self:!0,__source:!0};function AR(e,t,n){var r,i={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)SR.call(t,r)&&!wR.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>> 1, - oe = V[me]; - if (0 < i(oe, ce)) (V[me] = ce), (V[N] = oe), (N = me); - else break e; - } - } - function n(V) { - return V.length === 0 ? null : V[0]; - } - function r(V) { - if (V.length === 0) return null; - var ce = V[0], - N = V.pop(); - if (N !== ce) { - V[0] = N; - e: for (var me = 0, oe = V.length, O = oe >>> 1; me < O; ) { - var re = 2 * (me + 1) - 1, - Te = V[re], - K = re + 1, - xe = V[K]; - if (0 > i(Te, N)) - K < oe && 0 > i(xe, Te) - ? ((V[me] = xe), (V[K] = N), (me = K)) - : ((V[me] = Te), (V[re] = N), (me = re)); - else if (K < oe && 0 > i(xe, N)) (V[me] = xe), (V[K] = N), (me = K); - else break e; - } - } - return ce; - } - function i(V, ce) { - var N = V.sortIndex - ce.sortIndex; - return N !== 0 ? N : V.id - ce.id; - } - if (typeof performance == "object" && typeof performance.now == "function") { - var a = performance; - e.unstable_now = function () { - return a.now(); - }; - } else { - var o = Date, - s = o.now(); - e.unstable_now = function () { - return o.now() - s; - }; - } - var u = [], - c = [], - p = 1, - f = null, - m = 3, - g = !1, - E = !1, - b = !1, - T = typeof setTimeout == "function" ? setTimeout : null, - v = typeof clearTimeout == "function" ? clearTimeout : null, - y = typeof setImmediate < "u" ? setImmediate : null; - typeof navigator < "u" && - navigator.scheduling !== void 0 && - navigator.scheduling.isInputPending !== void 0 && - navigator.scheduling.isInputPending.bind(navigator.scheduling); - function w(V) { - for (var ce = n(c); ce !== null; ) { - if (ce.callback === null) r(c); - else if (ce.startTime <= V) - r(c), (ce.sortIndex = ce.expirationTime), t(u, ce); - else break; - ce = n(c); - } - } - function A(V) { - if (((b = !1), w(V), !E)) - if (n(u) !== null) (E = !0), fe(D); - else { - var ce = n(c); - ce !== null && Z(A, ce.startTime - V); - } - } - function D(V, ce) { - (E = !1), b && ((b = !1), v(B), (B = -1)), (g = !0); - var N = m; - try { - for ( - w(ce), f = n(u); - f !== null && (!(f.expirationTime > ce) || (V && !Q())); - - ) { - var me = f.callback; - if (typeof me == "function") { - (f.callback = null), (m = f.priorityLevel); - var oe = me(f.expirationTime <= ce); - (ce = e.unstable_now()), - typeof oe == "function" ? (f.callback = oe) : f === n(u) && r(u), - w(ce); - } else r(u); - f = n(u); - } - if (f !== null) var O = !0; - else { - var re = n(c); - re !== null && Z(A, re.startTime - ce), (O = !1); - } - return O; - } finally { - (f = null), (m = N), (g = !1); - } - } - var k = !1, - R = null, - B = -1, - W = 5, - P = -1; - function Q() { - return !(e.unstable_now() - P < W); - } - function z() { - if (R !== null) { - var V = e.unstable_now(); - P = V; - var ce = !0; - try { - ce = R(!0, V); - } finally { - ce ? le() : ((k = !1), (R = null)); - } - } else k = !1; - } - var le; - if (typeof y == "function") - le = function () { - y(z); - }; - else if (typeof MessageChannel < "u") { - var he = new MessageChannel(), - de = he.port2; - (he.port1.onmessage = z), - (le = function () { - de.postMessage(null); - }); - } else - le = function () { - T(z, 0); - }; - function fe(V) { - (R = V), k || ((k = !0), le()); - } - function Z(V, ce) { - B = T(function () { - V(e.unstable_now()); - }, ce); - } - (e.unstable_IdlePriority = 5), - (e.unstable_ImmediatePriority = 1), - (e.unstable_LowPriority = 4), - (e.unstable_NormalPriority = 3), - (e.unstable_Profiling = null), - (e.unstable_UserBlockingPriority = 2), - (e.unstable_cancelCallback = function (V) { - V.callback = null; - }), - (e.unstable_continueExecution = function () { - E || g || ((E = !0), fe(D)); - }), - (e.unstable_forceFrameRate = function (V) { - 0 > V || 125 < V - ? console.error( - "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported" - ) - : (W = 0 < V ? Math.floor(1e3 / V) : 5); - }), - (e.unstable_getCurrentPriorityLevel = function () { - return m; - }), - (e.unstable_getFirstCallbackNode = function () { - return n(u); - }), - (e.unstable_next = function (V) { - switch (m) { - case 1: - case 2: - case 3: - var ce = 3; - break; - default: - ce = m; - } - var N = m; - m = ce; - try { - return V(); - } finally { - m = N; - } - }), - (e.unstable_pauseExecution = function () {}), - (e.unstable_requestPaint = function () {}), - (e.unstable_runWithPriority = function (V, ce) { - switch (V) { - case 1: - case 2: - case 3: - case 4: - case 5: - break; - default: - V = 3; - } - var N = m; - m = V; - try { - return ce(); - } finally { - m = N; - } - }), - (e.unstable_scheduleCallback = function (V, ce, N) { - var me = e.unstable_now(); - switch ( - (typeof N == "object" && N !== null - ? ((N = N.delay), (N = typeof N == "number" && 0 < N ? me + N : me)) - : (N = me), - V) - ) { - case 1: - var oe = -1; - break; - case 2: - oe = 250; - break; - case 5: - oe = 1073741823; - break; - case 4: - oe = 1e4; - break; - default: - oe = 5e3; - } - return ( - (oe = N + oe), - (V = { - id: p++, - callback: ce, - priorityLevel: V, - startTime: N, - expirationTime: oe, - sortIndex: -1, - }), - N > me - ? ((V.sortIndex = N), - t(c, V), - n(u) === null && - V === n(c) && - (b ? (v(B), (B = -1)) : (b = !0), Z(A, N - me))) - : ((V.sortIndex = oe), t(u, V), E || g || ((E = !0), fe(D))), - V - ); - }), - (e.unstable_shouldYield = Q), - (e.unstable_wrapCallback = function (V) { - var ce = m; - return function () { - var N = m; - m = ce; - try { - return V.apply(this, arguments); - } finally { - m = N; - } - }; - }); -})(IR); -kR.exports = IR; -var nV = kR.exports; -/** + */(function(e){function t(V,ce){var N=V.length;V.push(ce);e:for(;0>>1,oe=V[me];if(0>>1;mei(Te,N))Ki(xe,Te)?(V[me]=xe,V[K]=N,me=K):(V[me]=Te,V[re]=N,me=re);else if(Ki(xe,N))V[me]=xe,V[K]=N,me=K;else break e}}return ce}function i(V,ce){var N=V.sortIndex-ce.sortIndex;return N!==0?N:V.id-ce.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],c=[],p=1,f=null,m=3,g=!1,E=!1,b=!1,T=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(V){for(var ce=n(c);ce!==null;){if(ce.callback===null)r(c);else if(ce.startTime<=V)r(c),ce.sortIndex=ce.expirationTime,t(u,ce);else break;ce=n(c)}}function A(V){if(b=!1,w(V),!E)if(n(u)!==null)E=!0,fe(D);else{var ce=n(c);ce!==null&&Z(A,ce.startTime-V)}}function D(V,ce){E=!1,b&&(b=!1,v(B),B=-1),g=!0;var N=m;try{for(w(ce),f=n(u);f!==null&&(!(f.expirationTime>ce)||V&&!Q());){var me=f.callback;if(typeof me=="function"){f.callback=null,m=f.priorityLevel;var oe=me(f.expirationTime<=ce);ce=e.unstable_now(),typeof oe=="function"?f.callback=oe:f===n(u)&&r(u),w(ce)}else r(u);f=n(u)}if(f!==null)var O=!0;else{var re=n(c);re!==null&&Z(A,re.startTime-ce),O=!1}return O}finally{f=null,m=N,g=!1}}var k=!1,R=null,B=-1,W=5,P=-1;function Q(){return!(e.unstable_now()-PV||125me?(V.sortIndex=N,t(c,V),n(u)===null&&V===n(c)&&(b?(v(B),B=-1):b=!0,Z(A,N-me))):(V.sortIndex=oe,t(u,V),E||g||(E=!0,fe(D))),V},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(V){var ce=m;return function(){var N=m;m=ce;try{return V.apply(this,arguments)}finally{m=N}}}})(IR);kR.exports=IR;var nV=kR.exports;/** * @license React * react-dom.production.min.js * @@ -805,8245 +30,14 @@ var nV = kR.exports; * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ var RR = C, - Bi = nV; -function Pe(e) { - for ( - var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; - n < arguments.length; - n++ - ) - t += "&args[]=" + encodeURIComponent(arguments[n]); - return ( - "Minified React error #" + - e + - "; visit " + - t + - " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." - ); -} -var NR = new Set(), - $d = {}; -function vu(e, t) { - z1(e, t), z1(e + "Capture", t); -} -function z1(e, t) { - for ($d[e] = t, e = 0; e < t.length; e++) NR.add(t[e]); -} -var Qo = !( - typeof window > "u" || - typeof window.document > "u" || - typeof window.document.createElement > "u" - ), - _4 = Object.prototype.hasOwnProperty, - rV = - /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, - vw = {}, - yw = {}; -function iV(e) { - return _4.call(yw, e) - ? !0 - : _4.call(vw, e) - ? !1 - : rV.test(e) - ? (yw[e] = !0) - : ((vw[e] = !0), !1); -} -function aV(e, t, n, r) { - if (n !== null && n.type === 0) return !1; - switch (typeof t) { - case "function": - case "symbol": - return !0; - case "boolean": - return r - ? !1 - : n !== null - ? !n.acceptsBooleans - : ((e = e.toLowerCase().slice(0, 5)), e !== "data-" && e !== "aria-"); - default: - return !1; - } -} -function oV(e, t, n, r) { - if (t === null || typeof t > "u" || aV(e, t, n, r)) return !0; - if (r) return !1; - if (n !== null) - switch (n.type) { - case 3: - return !t; - case 4: - return t === !1; - case 5: - return isNaN(t); - case 6: - return isNaN(t) || 1 > t; - } - return !1; -} -function ri(e, t, n, r, i, a, o) { - (this.acceptsBooleans = t === 2 || t === 3 || t === 4), - (this.attributeName = r), - (this.attributeNamespace = i), - (this.mustUseProperty = n), - (this.propertyName = e), - (this.type = t), - (this.sanitizeURL = a), - (this.removeEmptyString = o); -} -var Cr = {}; -"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style" - .split(" ") - .forEach(function (e) { - Cr[e] = new ri(e, 0, !1, e, null, !1, !1); - }); -[ - ["acceptCharset", "accept-charset"], - ["className", "class"], - ["htmlFor", "for"], - ["httpEquiv", "http-equiv"], -].forEach(function (e) { - var t = e[0]; - Cr[t] = new ri(t, 1, !1, e[1], null, !1, !1); -}); -["contentEditable", "draggable", "spellCheck", "value"].forEach(function (e) { - Cr[e] = new ri(e, 2, !1, e.toLowerCase(), null, !1, !1); -}); -[ - "autoReverse", - "externalResourcesRequired", - "focusable", - "preserveAlpha", -].forEach(function (e) { - Cr[e] = new ri(e, 2, !1, e, null, !1, !1); -}); -"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope" - .split(" ") - .forEach(function (e) { - Cr[e] = new ri(e, 3, !1, e.toLowerCase(), null, !1, !1); - }); -["checked", "multiple", "muted", "selected"].forEach(function (e) { - Cr[e] = new ri(e, 3, !0, e, null, !1, !1); -}); -["capture", "download"].forEach(function (e) { - Cr[e] = new ri(e, 4, !1, e, null, !1, !1); -}); -["cols", "rows", "size", "span"].forEach(function (e) { - Cr[e] = new ri(e, 6, !1, e, null, !1, !1); -}); -["rowSpan", "start"].forEach(function (e) { - Cr[e] = new ri(e, 5, !1, e.toLowerCase(), null, !1, !1); -}); -var R9 = /[\-:]([a-z])/g; -function N9(e) { - return e[1].toUpperCase(); -} -"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height" - .split(" ") - .forEach(function (e) { - var t = e.replace(R9, N9); - Cr[t] = new ri(t, 1, !1, e, null, !1, !1); - }); -"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type" - .split(" ") - .forEach(function (e) { - var t = e.replace(R9, N9); - Cr[t] = new ri(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); - }); -["xml:base", "xml:lang", "xml:space"].forEach(function (e) { - var t = e.replace(R9, N9); - Cr[t] = new ri(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); -}); -["tabIndex", "crossOrigin"].forEach(function (e) { - Cr[e] = new ri(e, 1, !1, e.toLowerCase(), null, !1, !1); -}); -Cr.xlinkHref = new ri( - "xlinkHref", - 1, - !1, - "xlink:href", - "http://www.w3.org/1999/xlink", - !0, - !1 -); -["src", "href", "action", "formAction"].forEach(function (e) { - Cr[e] = new ri(e, 1, !1, e.toLowerCase(), null, !0, !0); -}); -function O9(e, t, n, r) { - var i = Cr.hasOwnProperty(t) ? Cr[t] : null; - (i !== null - ? i.type !== 0 - : r || - !(2 < t.length) || - (t[0] !== "o" && t[0] !== "O") || - (t[1] !== "n" && t[1] !== "N")) && - (oV(t, n, i, r) && (n = null), - r || i === null - ? iV(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) - : i.mustUseProperty - ? (e[i.propertyName] = n === null ? (i.type === 3 ? !1 : "") : n) - : ((t = i.attributeName), - (r = i.attributeNamespace), - n === null - ? e.removeAttribute(t) - : ((i = i.type), - (n = i === 3 || (i === 4 && n === !0) ? "" : "" + n), - r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n)))); -} -var os = RR.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, - qf = Symbol.for("react.element"), - a1 = Symbol.for("react.portal"), - o1 = Symbol.for("react.fragment"), - D9 = Symbol.for("react.strict_mode"), - T4 = Symbol.for("react.profiler"), - OR = Symbol.for("react.provider"), - DR = Symbol.for("react.context"), - L9 = Symbol.for("react.forward_ref"), - S4 = Symbol.for("react.suspense"), - w4 = Symbol.for("react.suspense_list"), - M9 = Symbol.for("react.memo"), - Ls = Symbol.for("react.lazy"), - LR = Symbol.for("react.offscreen"), - _w = Symbol.iterator; -function Lc(e) { - return e === null || typeof e != "object" - ? null - : ((e = (_w && e[_w]) || e["@@iterator"]), - typeof e == "function" ? e : null); -} -var Dn = Object.assign, - I5; -function od(e) { - if (I5 === void 0) - try { - throw Error(); - } catch (n) { - var t = n.stack.trim().match(/\n( *(at )?)/); - I5 = (t && t[1]) || ""; - } - return ( - ` -` + - I5 + - e - ); -} -var R5 = !1; -function N5(e, t) { - if (!e || R5) return ""; - R5 = !0; - var n = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - try { - if (t) - if ( - ((t = function () { - throw Error(); - }), - Object.defineProperty(t.prototype, "props", { - set: function () { - throw Error(); - }, - }), - typeof Reflect == "object" && Reflect.construct) - ) { - try { - Reflect.construct(t, []); - } catch (c) { - var r = c; - } - Reflect.construct(e, [], t); - } else { - try { - t.call(); - } catch (c) { - r = c; - } - e.call(t.prototype); - } - else { - try { - throw Error(); - } catch (c) { - r = c; - } - e(); - } - } catch (c) { - if (c && r && typeof c.stack == "string") { - for ( - var i = c.stack.split(` -`), - a = r.stack.split(` -`), - o = i.length - 1, - s = a.length - 1; - 1 <= o && 0 <= s && i[o] !== a[s]; - - ) - s--; - for (; 1 <= o && 0 <= s; o--, s--) - if (i[o] !== a[s]) { - if (o !== 1 || s !== 1) - do - if ((o--, s--, 0 > s || i[o] !== a[s])) { - var u = - ` -` + i[o].replace(" at new ", " at "); - return ( - e.displayName && - u.includes("") && - (u = u.replace("", e.displayName)), - u - ); - } - while (1 <= o && 0 <= s); - break; - } - } - } finally { - (R5 = !1), (Error.prepareStackTrace = n); - } - return (e = e ? e.displayName || e.name : "") ? od(e) : ""; -} -function sV(e) { - switch (e.tag) { - case 5: - return od(e.type); - case 16: - return od("Lazy"); - case 13: - return od("Suspense"); - case 19: - return od("SuspenseList"); - case 0: - case 2: - case 15: - return (e = N5(e.type, !1)), e; - case 11: - return (e = N5(e.type.render, !1)), e; - case 1: - return (e = N5(e.type, !0)), e; - default: - return ""; - } -} -function A4(e) { - if (e == null) return null; - if (typeof e == "function") return e.displayName || e.name || null; - if (typeof e == "string") return e; - switch (e) { - case o1: - return "Fragment"; - case a1: - return "Portal"; - case T4: - return "Profiler"; - case D9: - return "StrictMode"; - case S4: - return "Suspense"; - case w4: - return "SuspenseList"; - } - if (typeof e == "object") - switch (e.$$typeof) { - case DR: - return (e.displayName || "Context") + ".Consumer"; - case OR: - return (e._context.displayName || "Context") + ".Provider"; - case L9: - var t = e.render; - return ( - (e = e.displayName), - e || - ((e = t.displayName || t.name || ""), - (e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef")), - e - ); - case M9: - return ( - (t = e.displayName || null), t !== null ? t : A4(e.type) || "Memo" - ); - case Ls: - (t = e._payload), (e = e._init); - try { - return A4(e(t)); - } catch {} - } - return null; -} -function lV(e) { - var t = e.type; - switch (e.tag) { - case 24: - return "Cache"; - case 9: - return (t.displayName || "Context") + ".Consumer"; - case 10: - return (t._context.displayName || "Context") + ".Provider"; - case 18: - return "DehydratedFragment"; - case 11: - return ( - (e = t.render), - (e = e.displayName || e.name || ""), - t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef") - ); - case 7: - return "Fragment"; - case 5: - return t; - case 4: - return "Portal"; - case 3: - return "Root"; - case 6: - return "Text"; - case 16: - return A4(t); - case 8: - return t === D9 ? "StrictMode" : "Mode"; - case 22: - return "Offscreen"; - case 12: - return "Profiler"; - case 21: - return "Scope"; - case 13: - return "Suspense"; - case 19: - return "SuspenseList"; - case 25: - return "TracingMarker"; - case 1: - case 0: - case 17: - case 2: - case 14: - case 15: - if (typeof t == "function") return t.displayName || t.name || null; - if (typeof t == "string") return t; - } - return null; -} -function ll(e) { - switch (typeof e) { - case "boolean": - case "number": - case "string": - case "undefined": - return e; - case "object": - return e; - default: - return ""; - } -} -function MR(e) { - var t = e.type; - return ( - (e = e.nodeName) && - e.toLowerCase() === "input" && - (t === "checkbox" || t === "radio") - ); -} -function uV(e) { - var t = MR(e) ? "checked" : "value", - n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), - r = "" + e[t]; - if ( - !e.hasOwnProperty(t) && - typeof n < "u" && - typeof n.get == "function" && - typeof n.set == "function" - ) { - var i = n.get, - a = n.set; - return ( - Object.defineProperty(e, t, { - configurable: !0, - get: function () { - return i.call(this); - }, - set: function (o) { - (r = "" + o), a.call(this, o); - }, - }), - Object.defineProperty(e, t, { enumerable: n.enumerable }), - { - getValue: function () { - return r; - }, - setValue: function (o) { - r = "" + o; - }, - stopTracking: function () { - (e._valueTracker = null), delete e[t]; - }, - } - ); - } -} -function Kf(e) { - e._valueTracker || (e._valueTracker = uV(e)); -} -function FR(e) { - if (!e) return !1; - var t = e._valueTracker; - if (!t) return !0; - var n = t.getValue(), - r = ""; - return ( - e && (r = MR(e) ? (e.checked ? "true" : "false") : e.value), - (e = r), - e !== n ? (t.setValue(e), !0) : !1 - ); -} -function Ch(e) { - if (((e = e || (typeof document < "u" ? document : void 0)), typeof e > "u")) - return null; - try { - return e.activeElement || e.body; - } catch { - return e.body; - } -} -function C4(e, t) { - var n = t.checked; - return Dn({}, t, { - defaultChecked: void 0, - defaultValue: void 0, - value: void 0, - checked: n ?? e._wrapperState.initialChecked, - }); -} -function Tw(e, t) { - var n = t.defaultValue == null ? "" : t.defaultValue, - r = t.checked != null ? t.checked : t.defaultChecked; - (n = ll(t.value != null ? t.value : n)), - (e._wrapperState = { - initialChecked: r, - initialValue: n, - controlled: - t.type === "checkbox" || t.type === "radio" - ? t.checked != null - : t.value != null, - }); -} -function PR(e, t) { - (t = t.checked), t != null && O9(e, "checked", t, !1); -} -function x4(e, t) { - PR(e, t); - var n = ll(t.value), - r = t.type; - if (n != null) - r === "number" - ? ((n === 0 && e.value === "") || e.value != n) && (e.value = "" + n) - : e.value !== "" + n && (e.value = "" + n); - else if (r === "submit" || r === "reset") { - e.removeAttribute("value"); - return; - } - t.hasOwnProperty("value") - ? k4(e, t.type, n) - : t.hasOwnProperty("defaultValue") && k4(e, t.type, ll(t.defaultValue)), - t.checked == null && - t.defaultChecked != null && - (e.defaultChecked = !!t.defaultChecked); -} -function Sw(e, t, n) { - if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { - var r = t.type; - if ( - !( - (r !== "submit" && r !== "reset") || - (t.value !== void 0 && t.value !== null) - ) - ) - return; - (t = "" + e._wrapperState.initialValue), - n || t === e.value || (e.value = t), - (e.defaultValue = t); - } - (n = e.name), - n !== "" && (e.name = ""), - (e.defaultChecked = !!e._wrapperState.initialChecked), - n !== "" && (e.name = n); -} -function k4(e, t, n) { - (t !== "number" || Ch(e.ownerDocument) !== e) && - (n == null - ? (e.defaultValue = "" + e._wrapperState.initialValue) - : e.defaultValue !== "" + n && (e.defaultValue = "" + n)); -} -var sd = Array.isArray; -function I1(e, t, n, r) { - if (((e = e.options), t)) { - t = {}; - for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0; - for (n = 0; n < e.length; n++) - (i = t.hasOwnProperty("$" + e[n].value)), - e[n].selected !== i && (e[n].selected = i), - i && r && (e[n].defaultSelected = !0); - } else { - for (n = "" + ll(n), t = null, i = 0; i < e.length; i++) { - if (e[i].value === n) { - (e[i].selected = !0), r && (e[i].defaultSelected = !0); - return; - } - t !== null || e[i].disabled || (t = e[i]); - } - t !== null && (t.selected = !0); - } -} -function I4(e, t) { - if (t.dangerouslySetInnerHTML != null) throw Error(Pe(91)); - return Dn({}, t, { - value: void 0, - defaultValue: void 0, - children: "" + e._wrapperState.initialValue, - }); -} -function ww(e, t) { - var n = t.value; - if (n == null) { - if (((n = t.children), (t = t.defaultValue), n != null)) { - if (t != null) throw Error(Pe(92)); - if (sd(n)) { - if (1 < n.length) throw Error(Pe(93)); - n = n[0]; - } - t = n; - } - t == null && (t = ""), (n = t); - } - e._wrapperState = { initialValue: ll(n) }; -} -function BR(e, t) { - var n = ll(t.value), - r = ll(t.defaultValue); - n != null && - ((n = "" + n), - n !== e.value && (e.value = n), - t.defaultValue == null && e.defaultValue !== n && (e.defaultValue = n)), - r != null && (e.defaultValue = "" + r); -} -function Aw(e) { - var t = e.textContent; - t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t); -} -function UR(e) { - switch (e) { - case "svg": - return "http://www.w3.org/2000/svg"; - case "math": - return "http://www.w3.org/1998/Math/MathML"; - default: - return "http://www.w3.org/1999/xhtml"; - } -} -function R4(e, t) { - return e == null || e === "http://www.w3.org/1999/xhtml" - ? UR(t) - : e === "http://www.w3.org/2000/svg" && t === "foreignObject" - ? "http://www.w3.org/1999/xhtml" - : e; -} -var Yf, - $R = (function (e) { - return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction - ? function (t, n, r, i) { - MSApp.execUnsafeLocalFunction(function () { - return e(t, n, r, i); - }); - } - : e; - })(function (e, t) { - if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) - e.innerHTML = t; - else { - for ( - Yf = Yf || document.createElement("div"), - Yf.innerHTML = "" + t.valueOf().toString() + "", - t = Yf.firstChild; - e.firstChild; - - ) - e.removeChild(e.firstChild); - for (; t.firstChild; ) e.appendChild(t.firstChild); - } - }); -function zd(e, t) { - if (t) { - var n = e.firstChild; - if (n && n === e.lastChild && n.nodeType === 3) { - n.nodeValue = t; - return; - } - } - e.textContent = t; -} -var hd = { - animationIterationCount: !0, - aspectRatio: !0, - borderImageOutset: !0, - borderImageSlice: !0, - borderImageWidth: !0, - boxFlex: !0, - boxFlexGroup: !0, - boxOrdinalGroup: !0, - columnCount: !0, - columns: !0, - flex: !0, - flexGrow: !0, - flexPositive: !0, - flexShrink: !0, - flexNegative: !0, - flexOrder: !0, - gridArea: !0, - gridRow: !0, - gridRowEnd: !0, - gridRowSpan: !0, - gridRowStart: !0, - gridColumn: !0, - gridColumnEnd: !0, - gridColumnSpan: !0, - gridColumnStart: !0, - fontWeight: !0, - lineClamp: !0, - lineHeight: !0, - opacity: !0, - order: !0, - orphans: !0, - tabSize: !0, - widows: !0, - zIndex: !0, - zoom: !0, - fillOpacity: !0, - floodOpacity: !0, - stopOpacity: !0, - strokeDasharray: !0, - strokeDashoffset: !0, - strokeMiterlimit: !0, - strokeOpacity: !0, - strokeWidth: !0, - }, - cV = ["Webkit", "ms", "Moz", "O"]; -Object.keys(hd).forEach(function (e) { - cV.forEach(function (t) { - (t = t + e.charAt(0).toUpperCase() + e.substring(1)), (hd[t] = hd[e]); - }); -}); -function zR(e, t, n) { - return t == null || typeof t == "boolean" || t === "" - ? "" - : n || typeof t != "number" || t === 0 || (hd.hasOwnProperty(e) && hd[e]) - ? ("" + t).trim() - : t + "px"; -} -function HR(e, t) { - e = e.style; - for (var n in t) - if (t.hasOwnProperty(n)) { - var r = n.indexOf("--") === 0, - i = zR(n, t[n], r); - n === "float" && (n = "cssFloat"), r ? e.setProperty(n, i) : (e[n] = i); - } -} -var dV = Dn( - { menuitem: !0 }, - { - area: !0, - base: !0, - br: !0, - col: !0, - embed: !0, - hr: !0, - img: !0, - input: !0, - keygen: !0, - link: !0, - meta: !0, - param: !0, - source: !0, - track: !0, - wbr: !0, - } -); -function N4(e, t) { - if (t) { - if (dV[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) - throw Error(Pe(137, e)); - if (t.dangerouslySetInnerHTML != null) { - if (t.children != null) throw Error(Pe(60)); - if ( - typeof t.dangerouslySetInnerHTML != "object" || - !("__html" in t.dangerouslySetInnerHTML) - ) - throw Error(Pe(61)); - } - if (t.style != null && typeof t.style != "object") throw Error(Pe(62)); - } -} -function O4(e, t) { - if (e.indexOf("-") === -1) return typeof t.is == "string"; - switch (e) { - case "annotation-xml": - case "color-profile": - case "font-face": - case "font-face-src": - case "font-face-uri": - case "font-face-format": - case "font-face-name": - case "missing-glyph": - return !1; - default: - return !0; - } -} -var D4 = null; -function F9(e) { - return ( - (e = e.target || e.srcElement || window), - e.correspondingUseElement && (e = e.correspondingUseElement), - e.nodeType === 3 ? e.parentNode : e - ); -} -var L4 = null, - R1 = null, - N1 = null; -function Cw(e) { - if ((e = _p(e))) { - if (typeof L4 != "function") throw Error(Pe(280)); - var t = e.stateNode; - t && ((t = $g(t)), L4(e.stateNode, e.type, t)); - } -} -function jR(e) { - R1 ? (N1 ? N1.push(e) : (N1 = [e])) : (R1 = e); -} -function GR() { - if (R1) { - var e = R1, - t = N1; - if (((N1 = R1 = null), Cw(e), t)) for (e = 0; e < t.length; e++) Cw(t[e]); - } -} -function VR(e, t) { - return e(t); -} -function WR() {} -var O5 = !1; -function qR(e, t, n) { - if (O5) return e(t, n); - O5 = !0; - try { - return VR(e, t, n); - } finally { - (O5 = !1), (R1 !== null || N1 !== null) && (WR(), GR()); - } -} -function Hd(e, t) { - var n = e.stateNode; - if (n === null) return null; - var r = $g(n); - if (r === null) return null; - n = r[t]; - e: switch (t) { - case "onClick": - case "onClickCapture": - case "onDoubleClick": - case "onDoubleClickCapture": - case "onMouseDown": - case "onMouseDownCapture": - case "onMouseMove": - case "onMouseMoveCapture": - case "onMouseUp": - case "onMouseUpCapture": - case "onMouseEnter": - (r = !r.disabled) || - ((e = e.type), - (r = !( - e === "button" || - e === "input" || - e === "select" || - e === "textarea" - ))), - (e = !r); - break e; - default: - e = !1; - } - if (e) return null; - if (n && typeof n != "function") throw Error(Pe(231, t, typeof n)); - return n; -} -var M4 = !1; -if (Qo) - try { - var Mc = {}; - Object.defineProperty(Mc, "passive", { - get: function () { - M4 = !0; - }, - }), - window.addEventListener("test", Mc, Mc), - window.removeEventListener("test", Mc, Mc); - } catch { - M4 = !1; - } -function pV(e, t, n, r, i, a, o, s, u) { - var c = Array.prototype.slice.call(arguments, 3); - try { - t.apply(n, c); - } catch (p) { - this.onError(p); - } -} -var gd = !1, - xh = null, - kh = !1, - F4 = null, - fV = { - onError: function (e) { - (gd = !0), (xh = e); - }, - }; -function hV(e, t, n, r, i, a, o, s, u) { - (gd = !1), (xh = null), pV.apply(fV, arguments); -} -function gV(e, t, n, r, i, a, o, s, u) { - if ((hV.apply(this, arguments), gd)) { - if (gd) { - var c = xh; - (gd = !1), (xh = null); - } else throw Error(Pe(198)); - kh || ((kh = !0), (F4 = c)); - } -} -function yu(e) { - var t = e, - n = e; - if (e.alternate) for (; t.return; ) t = t.return; - else { - e = t; - do (t = e), t.flags & 4098 && (n = t.return), (e = t.return); - while (e); - } - return t.tag === 3 ? n : null; -} -function KR(e) { - if (e.tag === 13) { - var t = e.memoizedState; - if ( - (t === null && ((e = e.alternate), e !== null && (t = e.memoizedState)), - t !== null) - ) - return t.dehydrated; - } - return null; -} -function xw(e) { - if (yu(e) !== e) throw Error(Pe(188)); -} -function mV(e) { - var t = e.alternate; - if (!t) { - if (((t = yu(e)), t === null)) throw Error(Pe(188)); - return t !== e ? null : e; - } - for (var n = e, r = t; ; ) { - var i = n.return; - if (i === null) break; - var a = i.alternate; - if (a === null) { - if (((r = i.return), r !== null)) { - n = r; - continue; - } - break; - } - if (i.child === a.child) { - for (a = i.child; a; ) { - if (a === n) return xw(i), e; - if (a === r) return xw(i), t; - a = a.sibling; - } - throw Error(Pe(188)); - } - if (n.return !== r.return) (n = i), (r = a); - else { - for (var o = !1, s = i.child; s; ) { - if (s === n) { - (o = !0), (n = i), (r = a); - break; - } - if (s === r) { - (o = !0), (r = i), (n = a); - break; - } - s = s.sibling; - } - if (!o) { - for (s = a.child; s; ) { - if (s === n) { - (o = !0), (n = a), (r = i); - break; - } - if (s === r) { - (o = !0), (r = a), (n = i); - break; - } - s = s.sibling; - } - if (!o) throw Error(Pe(189)); - } - } - if (n.alternate !== r) throw Error(Pe(190)); - } - if (n.tag !== 3) throw Error(Pe(188)); - return n.stateNode.current === n ? e : t; -} -function YR(e) { - return (e = mV(e)), e !== null ? XR(e) : null; -} -function XR(e) { - if (e.tag === 5 || e.tag === 6) return e; - for (e = e.child; e !== null; ) { - var t = XR(e); - if (t !== null) return t; - e = e.sibling; - } - return null; -} -var ZR = Bi.unstable_scheduleCallback, - kw = Bi.unstable_cancelCallback, - bV = Bi.unstable_shouldYield, - EV = Bi.unstable_requestPaint, - jn = Bi.unstable_now, - vV = Bi.unstable_getCurrentPriorityLevel, - P9 = Bi.unstable_ImmediatePriority, - QR = Bi.unstable_UserBlockingPriority, - Ih = Bi.unstable_NormalPriority, - yV = Bi.unstable_LowPriority, - JR = Bi.unstable_IdlePriority, - Fg = null, - ho = null; -function _V(e) { - if (ho && typeof ho.onCommitFiberRoot == "function") - try { - ho.onCommitFiberRoot(Fg, e, void 0, (e.current.flags & 128) === 128); - } catch {} -} -var $a = Math.clz32 ? Math.clz32 : wV, - TV = Math.log, - SV = Math.LN2; -function wV(e) { - return (e >>>= 0), e === 0 ? 32 : (31 - ((TV(e) / SV) | 0)) | 0; -} -var Xf = 64, - Zf = 4194304; -function ld(e) { - switch (e & -e) { - case 1: - return 1; - case 2: - return 2; - case 4: - return 4; - case 8: - return 8; - case 16: - return 16; - case 32: - return 32; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return e & 4194240; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return e & 130023424; - case 134217728: - return 134217728; - case 268435456: - return 268435456; - case 536870912: - return 536870912; - case 1073741824: - return 1073741824; - default: - return e; - } -} -function Rh(e, t) { - var n = e.pendingLanes; - if (n === 0) return 0; - var r = 0, - i = e.suspendedLanes, - a = e.pingedLanes, - o = n & 268435455; - if (o !== 0) { - var s = o & ~i; - s !== 0 ? (r = ld(s)) : ((a &= o), a !== 0 && (r = ld(a))); - } else (o = n & ~i), o !== 0 ? (r = ld(o)) : a !== 0 && (r = ld(a)); - if (r === 0) return 0; - if ( - t !== 0 && - t !== r && - !(t & i) && - ((i = r & -r), (a = t & -t), i >= a || (i === 16 && (a & 4194240) !== 0)) - ) - return t; - if ((r & 4 && (r |= n & 16), (t = e.entangledLanes), t !== 0)) - for (e = e.entanglements, t &= r; 0 < t; ) - (n = 31 - $a(t)), (i = 1 << n), (r |= e[n]), (t &= ~i); - return r; -} -function AV(e, t) { - switch (e) { - case 1: - case 2: - case 4: - return t + 250; - case 8: - case 16: - case 32: - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return t + 5e3; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return -1; - case 134217728: - case 268435456: - case 536870912: - case 1073741824: - return -1; - default: - return -1; - } -} -function CV(e, t) { - for ( - var n = e.suspendedLanes, - r = e.pingedLanes, - i = e.expirationTimes, - a = e.pendingLanes; - 0 < a; - - ) { - var o = 31 - $a(a), - s = 1 << o, - u = i[o]; - u === -1 - ? (!(s & n) || s & r) && (i[o] = AV(s, t)) - : u <= t && (e.expiredLanes |= s), - (a &= ~s); - } -} -function P4(e) { - return ( - (e = e.pendingLanes & -1073741825), - e !== 0 ? e : e & 1073741824 ? 1073741824 : 0 - ); -} -function eN() { - var e = Xf; - return (Xf <<= 1), !(Xf & 4194240) && (Xf = 64), e; -} -function D5(e) { - for (var t = [], n = 0; 31 > n; n++) t.push(e); - return t; -} -function vp(e, t, n) { - (e.pendingLanes |= t), - t !== 536870912 && ((e.suspendedLanes = 0), (e.pingedLanes = 0)), - (e = e.eventTimes), - (t = 31 - $a(t)), - (e[t] = n); -} -function xV(e, t) { - var n = e.pendingLanes & ~t; - (e.pendingLanes = t), - (e.suspendedLanes = 0), - (e.pingedLanes = 0), - (e.expiredLanes &= t), - (e.mutableReadLanes &= t), - (e.entangledLanes &= t), - (t = e.entanglements); - var r = e.eventTimes; - for (e = e.expirationTimes; 0 < n; ) { - var i = 31 - $a(n), - a = 1 << i; - (t[i] = 0), (r[i] = -1), (e[i] = -1), (n &= ~a); - } -} -function B9(e, t) { - var n = (e.entangledLanes |= t); - for (e = e.entanglements; n; ) { - var r = 31 - $a(n), - i = 1 << r; - (i & t) | (e[r] & t) && (e[r] |= t), (n &= ~i); - } -} -var an = 0; -function tN(e) { - return (e &= -e), 1 < e ? (4 < e ? (e & 268435455 ? 16 : 536870912) : 4) : 1; -} -var nN, - U9, - rN, - iN, - aN, - B4 = !1, - Qf = [], - Ks = null, - Ys = null, - Xs = null, - jd = new Map(), - Gd = new Map(), - Bs = [], - kV = - "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split( - " " - ); -function Iw(e, t) { - switch (e) { - case "focusin": - case "focusout": - Ks = null; - break; - case "dragenter": - case "dragleave": - Ys = null; - break; - case "mouseover": - case "mouseout": - Xs = null; - break; - case "pointerover": - case "pointerout": - jd.delete(t.pointerId); - break; - case "gotpointercapture": - case "lostpointercapture": - Gd.delete(t.pointerId); - } -} -function Fc(e, t, n, r, i, a) { - return e === null || e.nativeEvent !== a - ? ((e = { - blockedOn: t, - domEventName: n, - eventSystemFlags: r, - nativeEvent: a, - targetContainers: [i], - }), - t !== null && ((t = _p(t)), t !== null && U9(t)), - e) - : ((e.eventSystemFlags |= r), - (t = e.targetContainers), - i !== null && t.indexOf(i) === -1 && t.push(i), - e); -} -function IV(e, t, n, r, i) { - switch (t) { - case "focusin": - return (Ks = Fc(Ks, e, t, n, r, i)), !0; - case "dragenter": - return (Ys = Fc(Ys, e, t, n, r, i)), !0; - case "mouseover": - return (Xs = Fc(Xs, e, t, n, r, i)), !0; - case "pointerover": - var a = i.pointerId; - return jd.set(a, Fc(jd.get(a) || null, e, t, n, r, i)), !0; - case "gotpointercapture": - return ( - (a = i.pointerId), Gd.set(a, Fc(Gd.get(a) || null, e, t, n, r, i)), !0 - ); - } - return !1; -} -function oN(e) { - var t = Xl(e.target); - if (t !== null) { - var n = yu(t); - if (n !== null) { - if (((t = n.tag), t === 13)) { - if (((t = KR(n)), t !== null)) { - (e.blockedOn = t), - aN(e.priority, function () { - rN(n); - }); - return; - } - } else if (t === 3 && n.stateNode.current.memoizedState.isDehydrated) { - e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null; - return; - } - } - } - e.blockedOn = null; -} -function Z0(e) { - if (e.blockedOn !== null) return !1; - for (var t = e.targetContainers; 0 < t.length; ) { - var n = U4(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); - if (n === null) { - n = e.nativeEvent; - var r = new n.constructor(n.type, n); - (D4 = r), n.target.dispatchEvent(r), (D4 = null); - } else return (t = _p(n)), t !== null && U9(t), (e.blockedOn = n), !1; - t.shift(); - } - return !0; -} -function Rw(e, t, n) { - Z0(e) && n.delete(t); -} -function RV() { - (B4 = !1), - Ks !== null && Z0(Ks) && (Ks = null), - Ys !== null && Z0(Ys) && (Ys = null), - Xs !== null && Z0(Xs) && (Xs = null), - jd.forEach(Rw), - Gd.forEach(Rw); -} -function Pc(e, t) { - e.blockedOn === t && - ((e.blockedOn = null), - B4 || - ((B4 = !0), - Bi.unstable_scheduleCallback(Bi.unstable_NormalPriority, RV))); -} -function Vd(e) { - function t(i) { - return Pc(i, e); - } - if (0 < Qf.length) { - Pc(Qf[0], e); - for (var n = 1; n < Qf.length; n++) { - var r = Qf[n]; - r.blockedOn === e && (r.blockedOn = null); - } - } - for ( - Ks !== null && Pc(Ks, e), - Ys !== null && Pc(Ys, e), - Xs !== null && Pc(Xs, e), - jd.forEach(t), - Gd.forEach(t), - n = 0; - n < Bs.length; - n++ - ) - (r = Bs[n]), r.blockedOn === e && (r.blockedOn = null); - for (; 0 < Bs.length && ((n = Bs[0]), n.blockedOn === null); ) - oN(n), n.blockedOn === null && Bs.shift(); -} -var O1 = os.ReactCurrentBatchConfig, - Nh = !0; -function NV(e, t, n, r) { - var i = an, - a = O1.transition; - O1.transition = null; - try { - (an = 1), $9(e, t, n, r); - } finally { - (an = i), (O1.transition = a); - } -} -function OV(e, t, n, r) { - var i = an, - a = O1.transition; - O1.transition = null; - try { - (an = 4), $9(e, t, n, r); - } finally { - (an = i), (O1.transition = a); - } -} -function $9(e, t, n, r) { - if (Nh) { - var i = U4(e, t, n, r); - if (i === null) j5(e, t, r, Oh, n), Iw(e, r); - else if (IV(i, e, t, n, r)) r.stopPropagation(); - else if ((Iw(e, r), t & 4 && -1 < kV.indexOf(e))) { - for (; i !== null; ) { - var a = _p(i); - if ( - (a !== null && nN(a), - (a = U4(e, t, n, r)), - a === null && j5(e, t, r, Oh, n), - a === i) - ) - break; - i = a; - } - i !== null && r.stopPropagation(); - } else j5(e, t, r, null, n); - } -} -var Oh = null; -function U4(e, t, n, r) { - if (((Oh = null), (e = F9(r)), (e = Xl(e)), e !== null)) - if (((t = yu(e)), t === null)) e = null; - else if (((n = t.tag), n === 13)) { - if (((e = KR(t)), e !== null)) return e; - e = null; - } else if (n === 3) { - if (t.stateNode.current.memoizedState.isDehydrated) - return t.tag === 3 ? t.stateNode.containerInfo : null; - e = null; - } else t !== e && (e = null); - return (Oh = e), null; -} -function sN(e) { - switch (e) { - case "cancel": - case "click": - case "close": - case "contextmenu": - case "copy": - case "cut": - case "auxclick": - case "dblclick": - case "dragend": - case "dragstart": - case "drop": - case "focusin": - case "focusout": - case "input": - case "invalid": - case "keydown": - case "keypress": - case "keyup": - case "mousedown": - case "mouseup": - case "paste": - case "pause": - case "play": - case "pointercancel": - case "pointerdown": - case "pointerup": - case "ratechange": - case "reset": - case "resize": - case "seeked": - case "submit": - case "touchcancel": - case "touchend": - case "touchstart": - case "volumechange": - case "change": - case "selectionchange": - case "textInput": - case "compositionstart": - case "compositionend": - case "compositionupdate": - case "beforeblur": - case "afterblur": - case "beforeinput": - case "blur": - case "fullscreenchange": - case "focus": - case "hashchange": - case "popstate": - case "select": - case "selectstart": - return 1; - case "drag": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "mousemove": - case "mouseout": - case "mouseover": - case "pointermove": - case "pointerout": - case "pointerover": - case "scroll": - case "toggle": - case "touchmove": - case "wheel": - case "mouseenter": - case "mouseleave": - case "pointerenter": - case "pointerleave": - return 4; - case "message": - switch (vV()) { - case P9: - return 1; - case QR: - return 4; - case Ih: - case yV: - return 16; - case JR: - return 536870912; - default: - return 16; - } - default: - return 16; - } -} -var Hs = null, - z9 = null, - Q0 = null; -function lN() { - if (Q0) return Q0; - var e, - t = z9, - n = t.length, - r, - i = "value" in Hs ? Hs.value : Hs.textContent, - a = i.length; - for (e = 0; e < n && t[e] === i[e]; e++); - var o = n - e; - for (r = 1; r <= o && t[n - r] === i[a - r]; r++); - return (Q0 = i.slice(e, 1 < r ? 1 - r : void 0)); -} -function J0(e) { - var t = e.keyCode; - return ( - "charCode" in e - ? ((e = e.charCode), e === 0 && t === 13 && (e = 13)) - : (e = t), - e === 10 && (e = 13), - 32 <= e || e === 13 ? e : 0 - ); -} -function Jf() { - return !0; -} -function Nw() { - return !1; -} -function Gi(e) { - function t(n, r, i, a, o) { - (this._reactName = n), - (this._targetInst = i), - (this.type = r), - (this.nativeEvent = a), - (this.target = o), - (this.currentTarget = null); - for (var s in e) - e.hasOwnProperty(s) && ((n = e[s]), (this[s] = n ? n(a) : a[s])); - return ( - (this.isDefaultPrevented = ( - a.defaultPrevented != null ? a.defaultPrevented : a.returnValue === !1 - ) - ? Jf - : Nw), - (this.isPropagationStopped = Nw), - this - ); - } - return ( - Dn(t.prototype, { - preventDefault: function () { - this.defaultPrevented = !0; - var n = this.nativeEvent; - n && - (n.preventDefault - ? n.preventDefault() - : typeof n.returnValue != "unknown" && (n.returnValue = !1), - (this.isDefaultPrevented = Jf)); - }, - stopPropagation: function () { - var n = this.nativeEvent; - n && - (n.stopPropagation - ? n.stopPropagation() - : typeof n.cancelBubble != "unknown" && (n.cancelBubble = !0), - (this.isPropagationStopped = Jf)); - }, - persist: function () {}, - isPersistent: Jf, - }), - t - ); -} -var rc = { - eventPhase: 0, - bubbles: 0, - cancelable: 0, - timeStamp: function (e) { - return e.timeStamp || Date.now(); - }, - defaultPrevented: 0, - isTrusted: 0, - }, - H9 = Gi(rc), - yp = Dn({}, rc, { view: 0, detail: 0 }), - DV = Gi(yp), - L5, - M5, - Bc, - Pg = Dn({}, yp, { - screenX: 0, - screenY: 0, - clientX: 0, - clientY: 0, - pageX: 0, - pageY: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - getModifierState: j9, - button: 0, - buttons: 0, - relatedTarget: function (e) { - return e.relatedTarget === void 0 - ? e.fromElement === e.srcElement - ? e.toElement - : e.fromElement - : e.relatedTarget; - }, - movementX: function (e) { - return "movementX" in e - ? e.movementX - : (e !== Bc && - (Bc && e.type === "mousemove" - ? ((L5 = e.screenX - Bc.screenX), (M5 = e.screenY - Bc.screenY)) - : (M5 = L5 = 0), - (Bc = e)), - L5); - }, - movementY: function (e) { - return "movementY" in e ? e.movementY : M5; - }, - }), - Ow = Gi(Pg), - LV = Dn({}, Pg, { dataTransfer: 0 }), - MV = Gi(LV), - FV = Dn({}, yp, { relatedTarget: 0 }), - F5 = Gi(FV), - PV = Dn({}, rc, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), - BV = Gi(PV), - UV = Dn({}, rc, { - clipboardData: function (e) { - return "clipboardData" in e ? e.clipboardData : window.clipboardData; - }, - }), - $V = Gi(UV), - zV = Dn({}, rc, { data: 0 }), - Dw = Gi(zV), - HV = { - Esc: "Escape", - Spacebar: " ", - Left: "ArrowLeft", - Up: "ArrowUp", - Right: "ArrowRight", - Down: "ArrowDown", - Del: "Delete", - Win: "OS", - Menu: "ContextMenu", - Apps: "ContextMenu", - Scroll: "ScrollLock", - MozPrintableKey: "Unidentified", - }, - jV = { - 8: "Backspace", - 9: "Tab", - 12: "Clear", - 13: "Enter", - 16: "Shift", - 17: "Control", - 18: "Alt", - 19: "Pause", - 20: "CapsLock", - 27: "Escape", - 32: " ", - 33: "PageUp", - 34: "PageDown", - 35: "End", - 36: "Home", - 37: "ArrowLeft", - 38: "ArrowUp", - 39: "ArrowRight", - 40: "ArrowDown", - 45: "Insert", - 46: "Delete", - 112: "F1", - 113: "F2", - 114: "F3", - 115: "F4", - 116: "F5", - 117: "F6", - 118: "F7", - 119: "F8", - 120: "F9", - 121: "F10", - 122: "F11", - 123: "F12", - 144: "NumLock", - 145: "ScrollLock", - 224: "Meta", - }, - GV = { - Alt: "altKey", - Control: "ctrlKey", - Meta: "metaKey", - Shift: "shiftKey", - }; -function VV(e) { - var t = this.nativeEvent; - return t.getModifierState ? t.getModifierState(e) : (e = GV[e]) ? !!t[e] : !1; -} -function j9() { - return VV; -} -var WV = Dn({}, yp, { - key: function (e) { - if (e.key) { - var t = HV[e.key] || e.key; - if (t !== "Unidentified") return t; - } - return e.type === "keypress" - ? ((e = J0(e)), e === 13 ? "Enter" : String.fromCharCode(e)) - : e.type === "keydown" || e.type === "keyup" - ? jV[e.keyCode] || "Unidentified" - : ""; - }, - code: 0, - location: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - repeat: 0, - locale: 0, - getModifierState: j9, - charCode: function (e) { - return e.type === "keypress" ? J0(e) : 0; - }, - keyCode: function (e) { - return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; - }, - which: function (e) { - return e.type === "keypress" - ? J0(e) - : e.type === "keydown" || e.type === "keyup" - ? e.keyCode - : 0; - }, - }), - qV = Gi(WV), - KV = Dn({}, Pg, { - pointerId: 0, - width: 0, - height: 0, - pressure: 0, - tangentialPressure: 0, - tiltX: 0, - tiltY: 0, - twist: 0, - pointerType: 0, - isPrimary: 0, - }), - Lw = Gi(KV), - YV = Dn({}, yp, { - touches: 0, - targetTouches: 0, - changedTouches: 0, - altKey: 0, - metaKey: 0, - ctrlKey: 0, - shiftKey: 0, - getModifierState: j9, - }), - XV = Gi(YV), - ZV = Dn({}, rc, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), - QV = Gi(ZV), - JV = Dn({}, Pg, { - deltaX: function (e) { - return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0; - }, - deltaY: function (e) { - return "deltaY" in e - ? e.deltaY - : "wheelDeltaY" in e - ? -e.wheelDeltaY - : "wheelDelta" in e - ? -e.wheelDelta - : 0; - }, - deltaZ: 0, - deltaMode: 0, - }), - eW = Gi(JV), - tW = [9, 13, 27, 32], - G9 = Qo && "CompositionEvent" in window, - md = null; -Qo && "documentMode" in document && (md = document.documentMode); -var nW = Qo && "TextEvent" in window && !md, - uN = Qo && (!G9 || (md && 8 < md && 11 >= md)), - Mw = String.fromCharCode(32), - Fw = !1; -function cN(e, t) { - switch (e) { - case "keyup": - return tW.indexOf(t.keyCode) !== -1; - case "keydown": - return t.keyCode !== 229; - case "keypress": - case "mousedown": - case "focusout": - return !0; - default: - return !1; - } -} -function dN(e) { - return (e = e.detail), typeof e == "object" && "data" in e ? e.data : null; -} -var s1 = !1; -function rW(e, t) { - switch (e) { - case "compositionend": - return dN(t); - case "keypress": - return t.which !== 32 ? null : ((Fw = !0), Mw); - case "textInput": - return (e = t.data), e === Mw && Fw ? null : e; - default: - return null; - } -} -function iW(e, t) { - if (s1) - return e === "compositionend" || (!G9 && cN(e, t)) - ? ((e = lN()), (Q0 = z9 = Hs = null), (s1 = !1), e) - : null; - switch (e) { - case "paste": - return null; - case "keypress": - if (!(t.ctrlKey || t.altKey || t.metaKey) || (t.ctrlKey && t.altKey)) { - if (t.char && 1 < t.char.length) return t.char; - if (t.which) return String.fromCharCode(t.which); - } - return null; - case "compositionend": - return uN && t.locale !== "ko" ? null : t.data; - default: - return null; - } -} -var aW = { - color: !0, - date: !0, - datetime: !0, - "datetime-local": !0, - email: !0, - month: !0, - number: !0, - password: !0, - range: !0, - search: !0, - tel: !0, - text: !0, - time: !0, - url: !0, - week: !0, -}; -function Pw(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return t === "input" ? !!aW[e.type] : t === "textarea"; -} -function pN(e, t, n, r) { - jR(r), - (t = Dh(t, "onChange")), - 0 < t.length && - ((n = new H9("onChange", "change", null, n, r)), - e.push({ event: n, listeners: t })); -} -var bd = null, - Wd = null; -function oW(e) { - SN(e, 0); -} -function Bg(e) { - var t = c1(e); - if (FR(t)) return e; -} -function sW(e, t) { - if (e === "change") return t; -} -var fN = !1; -if (Qo) { - var P5; - if (Qo) { - var B5 = "oninput" in document; - if (!B5) { - var Bw = document.createElement("div"); - Bw.setAttribute("oninput", "return;"), - (B5 = typeof Bw.oninput == "function"); - } - P5 = B5; - } else P5 = !1; - fN = P5 && (!document.documentMode || 9 < document.documentMode); -} -function Uw() { - bd && (bd.detachEvent("onpropertychange", hN), (Wd = bd = null)); -} -function hN(e) { - if (e.propertyName === "value" && Bg(Wd)) { - var t = []; - pN(t, Wd, e, F9(e)), qR(oW, t); - } -} -function lW(e, t, n) { - e === "focusin" - ? (Uw(), (bd = t), (Wd = n), bd.attachEvent("onpropertychange", hN)) - : e === "focusout" && Uw(); -} -function uW(e) { - if (e === "selectionchange" || e === "keyup" || e === "keydown") - return Bg(Wd); -} -function cW(e, t) { - if (e === "click") return Bg(t); -} -function dW(e, t) { - if (e === "input" || e === "change") return Bg(t); -} -function pW(e, t) { - return (e === t && (e !== 0 || 1 / e === 1 / t)) || (e !== e && t !== t); -} -var ja = typeof Object.is == "function" ? Object.is : pW; -function qd(e, t) { - if (ja(e, t)) return !0; - if (typeof e != "object" || e === null || typeof t != "object" || t === null) - return !1; - var n = Object.keys(e), - r = Object.keys(t); - if (n.length !== r.length) return !1; - for (r = 0; r < n.length; r++) { - var i = n[r]; - if (!_4.call(t, i) || !ja(e[i], t[i])) return !1; - } - return !0; -} -function $w(e) { - for (; e && e.firstChild; ) e = e.firstChild; - return e; -} -function zw(e, t) { - var n = $w(e); - e = 0; - for (var r; n; ) { - if (n.nodeType === 3) { - if (((r = e + n.textContent.length), e <= t && r >= t)) - return { node: n, offset: t - e }; - e = r; - } - e: { - for (; n; ) { - if (n.nextSibling) { - n = n.nextSibling; - break e; - } - n = n.parentNode; - } - n = void 0; - } - n = $w(n); - } -} -function gN(e, t) { - return e && t - ? e === t - ? !0 - : e && e.nodeType === 3 - ? !1 - : t && t.nodeType === 3 - ? gN(e, t.parentNode) - : "contains" in e - ? e.contains(t) - : e.compareDocumentPosition - ? !!(e.compareDocumentPosition(t) & 16) - : !1 - : !1; -} -function mN() { - for (var e = window, t = Ch(); t instanceof e.HTMLIFrameElement; ) { - try { - var n = typeof t.contentWindow.location.href == "string"; - } catch { - n = !1; - } - if (n) e = t.contentWindow; - else break; - t = Ch(e.document); - } - return t; -} -function V9(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return ( - t && - ((t === "input" && - (e.type === "text" || - e.type === "search" || - e.type === "tel" || - e.type === "url" || - e.type === "password")) || - t === "textarea" || - e.contentEditable === "true") - ); -} -function fW(e) { - var t = mN(), - n = e.focusedElem, - r = e.selectionRange; - if ( - t !== n && - n && - n.ownerDocument && - gN(n.ownerDocument.documentElement, n) - ) { - if (r !== null && V9(n)) { - if ( - ((t = r.start), - (e = r.end), - e === void 0 && (e = t), - "selectionStart" in n) - ) - (n.selectionStart = t), (n.selectionEnd = Math.min(e, n.value.length)); - else if ( - ((e = ((t = n.ownerDocument || document) && t.defaultView) || window), - e.getSelection) - ) { - e = e.getSelection(); - var i = n.textContent.length, - a = Math.min(r.start, i); - (r = r.end === void 0 ? a : Math.min(r.end, i)), - !e.extend && a > r && ((i = r), (r = a), (a = i)), - (i = zw(n, a)); - var o = zw(n, r); - i && - o && - (e.rangeCount !== 1 || - e.anchorNode !== i.node || - e.anchorOffset !== i.offset || - e.focusNode !== o.node || - e.focusOffset !== o.offset) && - ((t = t.createRange()), - t.setStart(i.node, i.offset), - e.removeAllRanges(), - a > r - ? (e.addRange(t), e.extend(o.node, o.offset)) - : (t.setEnd(o.node, o.offset), e.addRange(t))); - } - } - for (t = [], e = n; (e = e.parentNode); ) - e.nodeType === 1 && - t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); - for (typeof n.focus == "function" && n.focus(), n = 0; n < t.length; n++) - (e = t[n]), - (e.element.scrollLeft = e.left), - (e.element.scrollTop = e.top); - } -} -var hW = Qo && "documentMode" in document && 11 >= document.documentMode, - l1 = null, - $4 = null, - Ed = null, - z4 = !1; -function Hw(e, t, n) { - var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument; - z4 || - l1 == null || - l1 !== Ch(r) || - ((r = l1), - "selectionStart" in r && V9(r) - ? (r = { start: r.selectionStart, end: r.selectionEnd }) - : ((r = ( - (r.ownerDocument && r.ownerDocument.defaultView) || - window - ).getSelection()), - (r = { - anchorNode: r.anchorNode, - anchorOffset: r.anchorOffset, - focusNode: r.focusNode, - focusOffset: r.focusOffset, - })), - (Ed && qd(Ed, r)) || - ((Ed = r), - (r = Dh($4, "onSelect")), - 0 < r.length && - ((t = new H9("onSelect", "select", null, t, n)), - e.push({ event: t, listeners: r }), - (t.target = l1)))); -} -function e0(e, t) { - var n = {}; - return ( - (n[e.toLowerCase()] = t.toLowerCase()), - (n["Webkit" + e] = "webkit" + t), - (n["Moz" + e] = "moz" + t), - n - ); -} -var u1 = { - animationend: e0("Animation", "AnimationEnd"), - animationiteration: e0("Animation", "AnimationIteration"), - animationstart: e0("Animation", "AnimationStart"), - transitionend: e0("Transition", "TransitionEnd"), - }, - U5 = {}, - bN = {}; -Qo && - ((bN = document.createElement("div").style), - "AnimationEvent" in window || - (delete u1.animationend.animation, - delete u1.animationiteration.animation, - delete u1.animationstart.animation), - "TransitionEvent" in window || delete u1.transitionend.transition); -function Ug(e) { - if (U5[e]) return U5[e]; - if (!u1[e]) return e; - var t = u1[e], - n; - for (n in t) if (t.hasOwnProperty(n) && n in bN) return (U5[e] = t[n]); - return e; -} -var EN = Ug("animationend"), - vN = Ug("animationiteration"), - yN = Ug("animationstart"), - _N = Ug("transitionend"), - TN = new Map(), - jw = - "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split( - " " - ); -function gl(e, t) { - TN.set(e, t), vu(t, [e]); -} -for (var $5 = 0; $5 < jw.length; $5++) { - var z5 = jw[$5], - gW = z5.toLowerCase(), - mW = z5[0].toUpperCase() + z5.slice(1); - gl(gW, "on" + mW); -} -gl(EN, "onAnimationEnd"); -gl(vN, "onAnimationIteration"); -gl(yN, "onAnimationStart"); -gl("dblclick", "onDoubleClick"); -gl("focusin", "onFocus"); -gl("focusout", "onBlur"); -gl(_N, "onTransitionEnd"); -z1("onMouseEnter", ["mouseout", "mouseover"]); -z1("onMouseLeave", ["mouseout", "mouseover"]); -z1("onPointerEnter", ["pointerout", "pointerover"]); -z1("onPointerLeave", ["pointerout", "pointerover"]); -vu( - "onChange", - "change click focusin focusout input keydown keyup selectionchange".split(" ") -); -vu( - "onSelect", - "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split( - " " - ) -); -vu("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); -vu( - "onCompositionEnd", - "compositionend focusout keydown keypress keyup mousedown".split(" ") -); -vu( - "onCompositionStart", - "compositionstart focusout keydown keypress keyup mousedown".split(" ") -); -vu( - "onCompositionUpdate", - "compositionupdate focusout keydown keypress keyup mousedown".split(" ") -); -var ud = - "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split( - " " - ), - bW = new Set("cancel close invalid load scroll toggle".split(" ").concat(ud)); -function Gw(e, t, n) { - var r = e.type || "unknown-event"; - (e.currentTarget = n), gV(r, t, void 0, e), (e.currentTarget = null); -} -function SN(e, t) { - t = (t & 4) !== 0; - for (var n = 0; n < e.length; n++) { - var r = e[n], - i = r.event; - r = r.listeners; - e: { - var a = void 0; - if (t) - for (var o = r.length - 1; 0 <= o; o--) { - var s = r[o], - u = s.instance, - c = s.currentTarget; - if (((s = s.listener), u !== a && i.isPropagationStopped())) break e; - Gw(i, s, c), (a = u); - } - else - for (o = 0; o < r.length; o++) { - if ( - ((s = r[o]), - (u = s.instance), - (c = s.currentTarget), - (s = s.listener), - u !== a && i.isPropagationStopped()) - ) - break e; - Gw(i, s, c), (a = u); - } - } - } - if (kh) throw ((e = F4), (kh = !1), (F4 = null), e); -} -function yn(e, t) { - var n = t[W4]; - n === void 0 && (n = t[W4] = new Set()); - var r = e + "__bubble"; - n.has(r) || (wN(t, e, 2, !1), n.add(r)); -} -function H5(e, t, n) { - var r = 0; - t && (r |= 4), wN(n, e, r, t); -} -var t0 = "_reactListening" + Math.random().toString(36).slice(2); -function Kd(e) { - if (!e[t0]) { - (e[t0] = !0), - NR.forEach(function (n) { - n !== "selectionchange" && (bW.has(n) || H5(n, !1, e), H5(n, !0, e)); - }); - var t = e.nodeType === 9 ? e : e.ownerDocument; - t === null || t[t0] || ((t[t0] = !0), H5("selectionchange", !1, t)); - } -} -function wN(e, t, n, r) { - switch (sN(t)) { - case 1: - var i = NV; - break; - case 4: - i = OV; - break; - default: - i = $9; - } - (n = i.bind(null, t, n, e)), - (i = void 0), - !M4 || - (t !== "touchstart" && t !== "touchmove" && t !== "wheel") || - (i = !0), - r - ? i !== void 0 - ? e.addEventListener(t, n, { capture: !0, passive: i }) - : e.addEventListener(t, n, !0) - : i !== void 0 - ? e.addEventListener(t, n, { passive: i }) - : e.addEventListener(t, n, !1); -} -function j5(e, t, n, r, i) { - var a = r; - if (!(t & 1) && !(t & 2) && r !== null) - e: for (;;) { - if (r === null) return; - var o = r.tag; - if (o === 3 || o === 4) { - var s = r.stateNode.containerInfo; - if (s === i || (s.nodeType === 8 && s.parentNode === i)) break; - if (o === 4) - for (o = r.return; o !== null; ) { - var u = o.tag; - if ( - (u === 3 || u === 4) && - ((u = o.stateNode.containerInfo), - u === i || (u.nodeType === 8 && u.parentNode === i)) - ) - return; - o = o.return; - } - for (; s !== null; ) { - if (((o = Xl(s)), o === null)) return; - if (((u = o.tag), u === 5 || u === 6)) { - r = a = o; - continue e; - } - s = s.parentNode; - } - } - r = r.return; - } - qR(function () { - var c = a, - p = F9(n), - f = []; - e: { - var m = TN.get(e); - if (m !== void 0) { - var g = H9, - E = e; - switch (e) { - case "keypress": - if (J0(n) === 0) break e; - case "keydown": - case "keyup": - g = qV; - break; - case "focusin": - (E = "focus"), (g = F5); - break; - case "focusout": - (E = "blur"), (g = F5); - break; - case "beforeblur": - case "afterblur": - g = F5; - break; - case "click": - if (n.button === 2) break e; - case "auxclick": - case "dblclick": - case "mousedown": - case "mousemove": - case "mouseup": - case "mouseout": - case "mouseover": - case "contextmenu": - g = Ow; - break; - case "drag": - case "dragend": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "dragstart": - case "drop": - g = MV; - break; - case "touchcancel": - case "touchend": - case "touchmove": - case "touchstart": - g = XV; - break; - case EN: - case vN: - case yN: - g = BV; - break; - case _N: - g = QV; - break; - case "scroll": - g = DV; - break; - case "wheel": - g = eW; - break; - case "copy": - case "cut": - case "paste": - g = $V; - break; - case "gotpointercapture": - case "lostpointercapture": - case "pointercancel": - case "pointerdown": - case "pointermove": - case "pointerout": - case "pointerover": - case "pointerup": - g = Lw; - } - var b = (t & 4) !== 0, - T = !b && e === "scroll", - v = b ? (m !== null ? m + "Capture" : null) : m; - b = []; - for (var y = c, w; y !== null; ) { - w = y; - var A = w.stateNode; - if ( - (w.tag === 5 && - A !== null && - ((w = A), - v !== null && ((A = Hd(y, v)), A != null && b.push(Yd(y, A, w)))), - T) - ) - break; - y = y.return; - } - 0 < b.length && - ((m = new g(m, E, null, n, p)), f.push({ event: m, listeners: b })); - } - } - if (!(t & 7)) { - e: { - if ( - ((m = e === "mouseover" || e === "pointerover"), - (g = e === "mouseout" || e === "pointerout"), - m && - n !== D4 && - (E = n.relatedTarget || n.fromElement) && - (Xl(E) || E[Jo])) - ) - break e; - if ( - (g || m) && - ((m = - p.window === p - ? p - : (m = p.ownerDocument) - ? m.defaultView || m.parentWindow - : window), - g - ? ((E = n.relatedTarget || n.toElement), - (g = c), - (E = E ? Xl(E) : null), - E !== null && - ((T = yu(E)), E !== T || (E.tag !== 5 && E.tag !== 6)) && - (E = null)) - : ((g = null), (E = c)), - g !== E) - ) { - if ( - ((b = Ow), - (A = "onMouseLeave"), - (v = "onMouseEnter"), - (y = "mouse"), - (e === "pointerout" || e === "pointerover") && - ((b = Lw), - (A = "onPointerLeave"), - (v = "onPointerEnter"), - (y = "pointer")), - (T = g == null ? m : c1(g)), - (w = E == null ? m : c1(E)), - (m = new b(A, y + "leave", g, n, p)), - (m.target = T), - (m.relatedTarget = w), - (A = null), - Xl(p) === c && - ((b = new b(v, y + "enter", E, n, p)), - (b.target = w), - (b.relatedTarget = T), - (A = b)), - (T = A), - g && E) - ) - t: { - for (b = g, v = E, y = 0, w = b; w; w = Vu(w)) y++; - for (w = 0, A = v; A; A = Vu(A)) w++; - for (; 0 < y - w; ) (b = Vu(b)), y--; - for (; 0 < w - y; ) (v = Vu(v)), w--; - for (; y--; ) { - if (b === v || (v !== null && b === v.alternate)) break t; - (b = Vu(b)), (v = Vu(v)); - } - b = null; - } - else b = null; - g !== null && Vw(f, m, g, b, !1), - E !== null && T !== null && Vw(f, T, E, b, !0); - } - } - e: { - if ( - ((m = c ? c1(c) : window), - (g = m.nodeName && m.nodeName.toLowerCase()), - g === "select" || (g === "input" && m.type === "file")) - ) - var D = sW; - else if (Pw(m)) - if (fN) D = dW; - else { - D = uW; - var k = lW; - } - else - (g = m.nodeName) && - g.toLowerCase() === "input" && - (m.type === "checkbox" || m.type === "radio") && - (D = cW); - if (D && (D = D(e, c))) { - pN(f, D, n, p); - break e; - } - k && k(e, m, c), - e === "focusout" && - (k = m._wrapperState) && - k.controlled && - m.type === "number" && - k4(m, "number", m.value); - } - switch (((k = c ? c1(c) : window), e)) { - case "focusin": - (Pw(k) || k.contentEditable === "true") && - ((l1 = k), ($4 = c), (Ed = null)); - break; - case "focusout": - Ed = $4 = l1 = null; - break; - case "mousedown": - z4 = !0; - break; - case "contextmenu": - case "mouseup": - case "dragend": - (z4 = !1), Hw(f, n, p); - break; - case "selectionchange": - if (hW) break; - case "keydown": - case "keyup": - Hw(f, n, p); - } - var R; - if (G9) - e: { - switch (e) { - case "compositionstart": - var B = "onCompositionStart"; - break e; - case "compositionend": - B = "onCompositionEnd"; - break e; - case "compositionupdate": - B = "onCompositionUpdate"; - break e; - } - B = void 0; - } - else - s1 - ? cN(e, n) && (B = "onCompositionEnd") - : e === "keydown" && n.keyCode === 229 && (B = "onCompositionStart"); - B && - (uN && - n.locale !== "ko" && - (s1 || B !== "onCompositionStart" - ? B === "onCompositionEnd" && s1 && (R = lN()) - : ((Hs = p), - (z9 = "value" in Hs ? Hs.value : Hs.textContent), - (s1 = !0))), - (k = Dh(c, B)), - 0 < k.length && - ((B = new Dw(B, e, null, n, p)), - f.push({ event: B, listeners: k }), - R ? (B.data = R) : ((R = dN(n)), R !== null && (B.data = R)))), - (R = nW ? rW(e, n) : iW(e, n)) && - ((c = Dh(c, "onBeforeInput")), - 0 < c.length && - ((p = new Dw("onBeforeInput", "beforeinput", null, n, p)), - f.push({ event: p, listeners: c }), - (p.data = R))); - } - SN(f, t); - }); -} -function Yd(e, t, n) { - return { instance: e, listener: t, currentTarget: n }; -} -function Dh(e, t) { - for (var n = t + "Capture", r = []; e !== null; ) { - var i = e, - a = i.stateNode; - i.tag === 5 && - a !== null && - ((i = a), - (a = Hd(e, n)), - a != null && r.unshift(Yd(e, a, i)), - (a = Hd(e, t)), - a != null && r.push(Yd(e, a, i))), - (e = e.return); - } - return r; -} -function Vu(e) { - if (e === null) return null; - do e = e.return; - while (e && e.tag !== 5); - return e || null; -} -function Vw(e, t, n, r, i) { - for (var a = t._reactName, o = []; n !== null && n !== r; ) { - var s = n, - u = s.alternate, - c = s.stateNode; - if (u !== null && u === r) break; - s.tag === 5 && - c !== null && - ((s = c), - i - ? ((u = Hd(n, a)), u != null && o.unshift(Yd(n, u, s))) - : i || ((u = Hd(n, a)), u != null && o.push(Yd(n, u, s)))), - (n = n.return); - } - o.length !== 0 && e.push({ event: t, listeners: o }); -} -var EW = /\r\n?/g, - vW = /\u0000|\uFFFD/g; -function Ww(e) { - return (typeof e == "string" ? e : "" + e) - .replace( - EW, - ` -` - ) - .replace(vW, ""); -} -function n0(e, t, n) { - if (((t = Ww(t)), Ww(e) !== t && n)) throw Error(Pe(425)); -} -function Lh() {} -var H4 = null, - j4 = null; -function G4(e, t) { - return ( - e === "textarea" || - e === "noscript" || - typeof t.children == "string" || - typeof t.children == "number" || - (typeof t.dangerouslySetInnerHTML == "object" && - t.dangerouslySetInnerHTML !== null && - t.dangerouslySetInnerHTML.__html != null) - ); -} -var V4 = typeof setTimeout == "function" ? setTimeout : void 0, - yW = typeof clearTimeout == "function" ? clearTimeout : void 0, - qw = typeof Promise == "function" ? Promise : void 0, - _W = - typeof queueMicrotask == "function" - ? queueMicrotask - : typeof qw < "u" - ? function (e) { - return qw.resolve(null).then(e).catch(TW); - } - : V4; -function TW(e) { - setTimeout(function () { - throw e; - }); -} -function G5(e, t) { - var n = t, - r = 0; - do { - var i = n.nextSibling; - if ((e.removeChild(n), i && i.nodeType === 8)) - if (((n = i.data), n === "/$")) { - if (r === 0) { - e.removeChild(i), Vd(t); - return; - } - r--; - } else (n !== "$" && n !== "$?" && n !== "$!") || r++; - n = i; - } while (n); - Vd(t); -} -function Zs(e) { - for (; e != null; e = e.nextSibling) { - var t = e.nodeType; - if (t === 1 || t === 3) break; - if (t === 8) { - if (((t = e.data), t === "$" || t === "$!" || t === "$?")) break; - if (t === "/$") return null; - } - } - return e; -} -function Kw(e) { - e = e.previousSibling; - for (var t = 0; e; ) { - if (e.nodeType === 8) { - var n = e.data; - if (n === "$" || n === "$!" || n === "$?") { - if (t === 0) return e; - t--; - } else n === "/$" && t++; - } - e = e.previousSibling; - } - return null; -} -var ic = Math.random().toString(36).slice(2), - lo = "__reactFiber$" + ic, - Xd = "__reactProps$" + ic, - Jo = "__reactContainer$" + ic, - W4 = "__reactEvents$" + ic, - SW = "__reactListeners$" + ic, - wW = "__reactHandles$" + ic; -function Xl(e) { - var t = e[lo]; - if (t) return t; - for (var n = e.parentNode; n; ) { - if ((t = n[Jo] || n[lo])) { - if ( - ((n = t.alternate), - t.child !== null || (n !== null && n.child !== null)) - ) - for (e = Kw(e); e !== null; ) { - if ((n = e[lo])) return n; - e = Kw(e); - } - return t; - } - (e = n), (n = e.parentNode); - } - return null; -} -function _p(e) { - return ( - (e = e[lo] || e[Jo]), - !e || (e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3) ? null : e - ); -} -function c1(e) { - if (e.tag === 5 || e.tag === 6) return e.stateNode; - throw Error(Pe(33)); -} -function $g(e) { - return e[Xd] || null; -} -var q4 = [], - d1 = -1; -function ml(e) { - return { current: e }; -} -function Sn(e) { - 0 > d1 || ((e.current = q4[d1]), (q4[d1] = null), d1--); -} -function mn(e, t) { - d1++, (q4[d1] = e.current), (e.current = t); -} -var ul = {}, - zr = ml(ul), - mi = ml(!1), - lu = ul; -function H1(e, t) { - var n = e.type.contextTypes; - if (!n) return ul; - var r = e.stateNode; - if (r && r.__reactInternalMemoizedUnmaskedChildContext === t) - return r.__reactInternalMemoizedMaskedChildContext; - var i = {}, - a; - for (a in n) i[a] = t[a]; - return ( - r && - ((e = e.stateNode), - (e.__reactInternalMemoizedUnmaskedChildContext = t), - (e.__reactInternalMemoizedMaskedChildContext = i)), - i - ); -} -function bi(e) { - return (e = e.childContextTypes), e != null; -} -function Mh() { - Sn(mi), Sn(zr); -} -function Yw(e, t, n) { - if (zr.current !== ul) throw Error(Pe(168)); - mn(zr, t), mn(mi, n); -} -function AN(e, t, n) { - var r = e.stateNode; - if (((t = t.childContextTypes), typeof r.getChildContext != "function")) - return n; - r = r.getChildContext(); - for (var i in r) if (!(i in t)) throw Error(Pe(108, lV(e) || "Unknown", i)); - return Dn({}, n, r); -} -function Fh(e) { - return ( - (e = - ((e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext) || ul), - (lu = zr.current), - mn(zr, e), - mn(mi, mi.current), - !0 - ); -} -function Xw(e, t, n) { - var r = e.stateNode; - if (!r) throw Error(Pe(169)); - n - ? ((e = AN(e, t, lu)), - (r.__reactInternalMemoizedMergedChildContext = e), - Sn(mi), - Sn(zr), - mn(zr, e)) - : Sn(mi), - mn(mi, n); -} -var Vo = null, - zg = !1, - V5 = !1; -function CN(e) { - Vo === null ? (Vo = [e]) : Vo.push(e); -} -function AW(e) { - (zg = !0), CN(e); -} -function bl() { - if (!V5 && Vo !== null) { - V5 = !0; - var e = 0, - t = an; - try { - var n = Vo; - for (an = 1; e < n.length; e++) { - var r = n[e]; - do r = r(!0); - while (r !== null); - } - (Vo = null), (zg = !1); - } catch (i) { - throw (Vo !== null && (Vo = Vo.slice(e + 1)), ZR(P9, bl), i); - } finally { - (an = t), (V5 = !1); - } - } - return null; -} -var p1 = [], - f1 = 0, - Ph = null, - Bh = 0, - oa = [], - sa = 0, - uu = null, - qo = 1, - Ko = ""; -function Hl(e, t) { - (p1[f1++] = Bh), (p1[f1++] = Ph), (Ph = e), (Bh = t); -} -function xN(e, t, n) { - (oa[sa++] = qo), (oa[sa++] = Ko), (oa[sa++] = uu), (uu = e); - var r = qo; - e = Ko; - var i = 32 - $a(r) - 1; - (r &= ~(1 << i)), (n += 1); - var a = 32 - $a(t) + i; - if (30 < a) { - var o = i - (i % 5); - (a = (r & ((1 << o) - 1)).toString(32)), - (r >>= o), - (i -= o), - (qo = (1 << (32 - $a(t) + i)) | (n << i) | r), - (Ko = a + e); - } else (qo = (1 << a) | (n << i) | r), (Ko = e); -} -function W9(e) { - e.return !== null && (Hl(e, 1), xN(e, 1, 0)); -} -function q9(e) { - for (; e === Ph; ) - (Ph = p1[--f1]), (p1[f1] = null), (Bh = p1[--f1]), (p1[f1] = null); - for (; e === uu; ) - (uu = oa[--sa]), - (oa[sa] = null), - (Ko = oa[--sa]), - (oa[sa] = null), - (qo = oa[--sa]), - (oa[sa] = null); -} -var Li = null, - Di = null, - xn = !1, - Fa = null; -function kN(e, t) { - var n = ua(5, null, null, 0); - (n.elementType = "DELETED"), - (n.stateNode = t), - (n.return = e), - (t = e.deletions), - t === null ? ((e.deletions = [n]), (e.flags |= 16)) : t.push(n); -} -function Zw(e, t) { - switch (e.tag) { - case 5: - var n = e.type; - return ( - (t = - t.nodeType !== 1 || n.toLowerCase() !== t.nodeName.toLowerCase() - ? null - : t), - t !== null - ? ((e.stateNode = t), (Li = e), (Di = Zs(t.firstChild)), !0) - : !1 - ); - case 6: - return ( - (t = e.pendingProps === "" || t.nodeType !== 3 ? null : t), - t !== null ? ((e.stateNode = t), (Li = e), (Di = null), !0) : !1 - ); - case 13: - return ( - (t = t.nodeType !== 8 ? null : t), - t !== null - ? ((n = uu !== null ? { id: qo, overflow: Ko } : null), - (e.memoizedState = { - dehydrated: t, - treeContext: n, - retryLane: 1073741824, - }), - (n = ua(18, null, null, 0)), - (n.stateNode = t), - (n.return = e), - (e.child = n), - (Li = e), - (Di = null), - !0) - : !1 - ); - default: - return !1; - } -} -function K4(e) { - return (e.mode & 1) !== 0 && (e.flags & 128) === 0; -} -function Y4(e) { - if (xn) { - var t = Di; - if (t) { - var n = t; - if (!Zw(e, t)) { - if (K4(e)) throw Error(Pe(418)); - t = Zs(n.nextSibling); - var r = Li; - t && Zw(e, t) - ? kN(r, n) - : ((e.flags = (e.flags & -4097) | 2), (xn = !1), (Li = e)); - } - } else { - if (K4(e)) throw Error(Pe(418)); - (e.flags = (e.flags & -4097) | 2), (xn = !1), (Li = e); - } - } -} -function Qw(e) { - for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) - e = e.return; - Li = e; -} -function r0(e) { - if (e !== Li) return !1; - if (!xn) return Qw(e), (xn = !0), !1; - var t; - if ( - ((t = e.tag !== 3) && - !(t = e.tag !== 5) && - ((t = e.type), - (t = t !== "head" && t !== "body" && !G4(e.type, e.memoizedProps))), - t && (t = Di)) - ) { - if (K4(e)) throw (IN(), Error(Pe(418))); - for (; t; ) kN(e, t), (t = Zs(t.nextSibling)); - } - if ((Qw(e), e.tag === 13)) { - if (((e = e.memoizedState), (e = e !== null ? e.dehydrated : null), !e)) - throw Error(Pe(317)); - e: { - for (e = e.nextSibling, t = 0; e; ) { - if (e.nodeType === 8) { - var n = e.data; - if (n === "/$") { - if (t === 0) { - Di = Zs(e.nextSibling); - break e; - } - t--; - } else (n !== "$" && n !== "$!" && n !== "$?") || t++; - } - e = e.nextSibling; - } - Di = null; - } - } else Di = Li ? Zs(e.stateNode.nextSibling) : null; - return !0; -} -function IN() { - for (var e = Di; e; ) e = Zs(e.nextSibling); -} -function j1() { - (Di = Li = null), (xn = !1); -} -function K9(e) { - Fa === null ? (Fa = [e]) : Fa.push(e); -} -var CW = os.ReactCurrentBatchConfig; -function Da(e, t) { - if (e && e.defaultProps) { - (t = Dn({}, t)), (e = e.defaultProps); - for (var n in e) t[n] === void 0 && (t[n] = e[n]); - return t; - } - return t; -} -var Uh = ml(null), - $h = null, - h1 = null, - Y9 = null; -function X9() { - Y9 = h1 = $h = null; -} -function Z9(e) { - var t = Uh.current; - Sn(Uh), (e._currentValue = t); -} -function X4(e, t, n) { - for (; e !== null; ) { - var r = e.alternate; - if ( - ((e.childLanes & t) !== t - ? ((e.childLanes |= t), r !== null && (r.childLanes |= t)) - : r !== null && (r.childLanes & t) !== t && (r.childLanes |= t), - e === n) - ) - break; - e = e.return; - } -} -function D1(e, t) { - ($h = e), - (Y9 = h1 = null), - (e = e.dependencies), - e !== null && - e.firstContext !== null && - (e.lanes & t && (hi = !0), (e.firstContext = null)); -} -function ha(e) { - var t = e._currentValue; - if (Y9 !== e) - if (((e = { context: e, memoizedValue: t, next: null }), h1 === null)) { - if ($h === null) throw Error(Pe(308)); - (h1 = e), ($h.dependencies = { lanes: 0, firstContext: e }); - } else h1 = h1.next = e; - return t; -} -var Zl = null; -function Q9(e) { - Zl === null ? (Zl = [e]) : Zl.push(e); -} -function RN(e, t, n, r) { - var i = t.interleaved; - return ( - i === null ? ((n.next = n), Q9(t)) : ((n.next = i.next), (i.next = n)), - (t.interleaved = n), - es(e, r) - ); -} -function es(e, t) { - e.lanes |= t; - var n = e.alternate; - for (n !== null && (n.lanes |= t), n = e, e = e.return; e !== null; ) - (e.childLanes |= t), - (n = e.alternate), - n !== null && (n.childLanes |= t), - (n = e), - (e = e.return); - return n.tag === 3 ? n.stateNode : null; -} -var Ms = !1; -function J9(e) { - e.updateQueue = { - baseState: e.memoizedState, - firstBaseUpdate: null, - lastBaseUpdate: null, - shared: { pending: null, interleaved: null, lanes: 0 }, - effects: null, - }; -} -function NN(e, t) { - (e = e.updateQueue), - t.updateQueue === e && - (t.updateQueue = { - baseState: e.baseState, - firstBaseUpdate: e.firstBaseUpdate, - lastBaseUpdate: e.lastBaseUpdate, - shared: e.shared, - effects: e.effects, - }); -} -function Xo(e, t) { - return { - eventTime: e, - lane: t, - tag: 0, - payload: null, - callback: null, - next: null, - }; -} -function Qs(e, t, n) { - var r = e.updateQueue; - if (r === null) return null; - if (((r = r.shared), qt & 2)) { - var i = r.pending; - return ( - i === null ? (t.next = t) : ((t.next = i.next), (i.next = t)), - (r.pending = t), - es(e, n) - ); - } - return ( - (i = r.interleaved), - i === null ? ((t.next = t), Q9(r)) : ((t.next = i.next), (i.next = t)), - (r.interleaved = t), - es(e, n) - ); -} -function eh(e, t, n) { - if ( - ((t = t.updateQueue), t !== null && ((t = t.shared), (n & 4194240) !== 0)) - ) { - var r = t.lanes; - (r &= e.pendingLanes), (n |= r), (t.lanes = n), B9(e, n); - } -} -function Jw(e, t) { - var n = e.updateQueue, - r = e.alternate; - if (r !== null && ((r = r.updateQueue), n === r)) { - var i = null, - a = null; - if (((n = n.firstBaseUpdate), n !== null)) { - do { - var o = { - eventTime: n.eventTime, - lane: n.lane, - tag: n.tag, - payload: n.payload, - callback: n.callback, - next: null, - }; - a === null ? (i = a = o) : (a = a.next = o), (n = n.next); - } while (n !== null); - a === null ? (i = a = t) : (a = a.next = t); - } else i = a = t; - (n = { - baseState: r.baseState, - firstBaseUpdate: i, - lastBaseUpdate: a, - shared: r.shared, - effects: r.effects, - }), - (e.updateQueue = n); - return; - } - (e = n.lastBaseUpdate), - e === null ? (n.firstBaseUpdate = t) : (e.next = t), - (n.lastBaseUpdate = t); -} -function zh(e, t, n, r) { - var i = e.updateQueue; - Ms = !1; - var a = i.firstBaseUpdate, - o = i.lastBaseUpdate, - s = i.shared.pending; - if (s !== null) { - i.shared.pending = null; - var u = s, - c = u.next; - (u.next = null), o === null ? (a = c) : (o.next = c), (o = u); - var p = e.alternate; - p !== null && - ((p = p.updateQueue), - (s = p.lastBaseUpdate), - s !== o && - (s === null ? (p.firstBaseUpdate = c) : (s.next = c), - (p.lastBaseUpdate = u))); - } - if (a !== null) { - var f = i.baseState; - (o = 0), (p = c = u = null), (s = a); - do { - var m = s.lane, - g = s.eventTime; - if ((r & m) === m) { - p !== null && - (p = p.next = - { - eventTime: g, - lane: 0, - tag: s.tag, - payload: s.payload, - callback: s.callback, - next: null, - }); - e: { - var E = e, - b = s; - switch (((m = t), (g = n), b.tag)) { - case 1: - if (((E = b.payload), typeof E == "function")) { - f = E.call(g, f, m); - break e; - } - f = E; - break e; - case 3: - E.flags = (E.flags & -65537) | 128; - case 0: - if ( - ((E = b.payload), - (m = typeof E == "function" ? E.call(g, f, m) : E), - m == null) - ) - break e; - f = Dn({}, f, m); - break e; - case 2: - Ms = !0; - } - } - s.callback !== null && - s.lane !== 0 && - ((e.flags |= 64), - (m = i.effects), - m === null ? (i.effects = [s]) : m.push(s)); - } else - (g = { - eventTime: g, - lane: m, - tag: s.tag, - payload: s.payload, - callback: s.callback, - next: null, - }), - p === null ? ((c = p = g), (u = f)) : (p = p.next = g), - (o |= m); - if (((s = s.next), s === null)) { - if (((s = i.shared.pending), s === null)) break; - (m = s), - (s = m.next), - (m.next = null), - (i.lastBaseUpdate = m), - (i.shared.pending = null); - } - } while (1); - if ( - (p === null && (u = f), - (i.baseState = u), - (i.firstBaseUpdate = c), - (i.lastBaseUpdate = p), - (t = i.shared.interleaved), - t !== null) - ) { - i = t; - do (o |= i.lane), (i = i.next); - while (i !== t); - } else a === null && (i.shared.lanes = 0); - (du |= o), (e.lanes = o), (e.memoizedState = f); - } -} -function eA(e, t, n) { - if (((e = t.effects), (t.effects = null), e !== null)) - for (t = 0; t < e.length; t++) { - var r = e[t], - i = r.callback; - if (i !== null) { - if (((r.callback = null), (r = n), typeof i != "function")) - throw Error(Pe(191, i)); - i.call(r); - } - } -} -var ON = new RR.Component().refs; -function Z4(e, t, n, r) { - (t = e.memoizedState), - (n = n(r, t)), - (n = n == null ? t : Dn({}, t, n)), - (e.memoizedState = n), - e.lanes === 0 && (e.updateQueue.baseState = n); -} -var Hg = { - isMounted: function (e) { - return (e = e._reactInternals) ? yu(e) === e : !1; - }, - enqueueSetState: function (e, t, n) { - e = e._reactInternals; - var r = ei(), - i = el(e), - a = Xo(r, i); - (a.payload = t), - n != null && (a.callback = n), - (t = Qs(e, a, i)), - t !== null && (za(t, e, i, r), eh(t, e, i)); - }, - enqueueReplaceState: function (e, t, n) { - e = e._reactInternals; - var r = ei(), - i = el(e), - a = Xo(r, i); - (a.tag = 1), - (a.payload = t), - n != null && (a.callback = n), - (t = Qs(e, a, i)), - t !== null && (za(t, e, i, r), eh(t, e, i)); - }, - enqueueForceUpdate: function (e, t) { - e = e._reactInternals; - var n = ei(), - r = el(e), - i = Xo(n, r); - (i.tag = 2), - t != null && (i.callback = t), - (t = Qs(e, i, r)), - t !== null && (za(t, e, r, n), eh(t, e, r)); - }, -}; -function tA(e, t, n, r, i, a, o) { - return ( - (e = e.stateNode), - typeof e.shouldComponentUpdate == "function" - ? e.shouldComponentUpdate(r, a, o) - : t.prototype && t.prototype.isPureReactComponent - ? !qd(n, r) || !qd(i, a) - : !0 - ); -} -function DN(e, t, n) { - var r = !1, - i = ul, - a = t.contextType; - return ( - typeof a == "object" && a !== null - ? (a = ha(a)) - : ((i = bi(t) ? lu : zr.current), - (r = t.contextTypes), - (a = (r = r != null) ? H1(e, i) : ul)), - (t = new t(n, a)), - (e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null), - (t.updater = Hg), - (e.stateNode = t), - (t._reactInternals = e), - r && - ((e = e.stateNode), - (e.__reactInternalMemoizedUnmaskedChildContext = i), - (e.__reactInternalMemoizedMaskedChildContext = a)), - t - ); -} -function nA(e, t, n, r) { - (e = t.state), - typeof t.componentWillReceiveProps == "function" && - t.componentWillReceiveProps(n, r), - typeof t.UNSAFE_componentWillReceiveProps == "function" && - t.UNSAFE_componentWillReceiveProps(n, r), - t.state !== e && Hg.enqueueReplaceState(t, t.state, null); -} -function Q4(e, t, n, r) { - var i = e.stateNode; - (i.props = n), (i.state = e.memoizedState), (i.refs = ON), J9(e); - var a = t.contextType; - typeof a == "object" && a !== null - ? (i.context = ha(a)) - : ((a = bi(t) ? lu : zr.current), (i.context = H1(e, a))), - (i.state = e.memoizedState), - (a = t.getDerivedStateFromProps), - typeof a == "function" && (Z4(e, t, a, n), (i.state = e.memoizedState)), - typeof t.getDerivedStateFromProps == "function" || - typeof i.getSnapshotBeforeUpdate == "function" || - (typeof i.UNSAFE_componentWillMount != "function" && - typeof i.componentWillMount != "function") || - ((t = i.state), - typeof i.componentWillMount == "function" && i.componentWillMount(), - typeof i.UNSAFE_componentWillMount == "function" && - i.UNSAFE_componentWillMount(), - t !== i.state && Hg.enqueueReplaceState(i, i.state, null), - zh(e, n, i, r), - (i.state = e.memoizedState)), - typeof i.componentDidMount == "function" && (e.flags |= 4194308); -} -function Uc(e, t, n) { - if ( - ((e = n.ref), e !== null && typeof e != "function" && typeof e != "object") - ) { - if (n._owner) { - if (((n = n._owner), n)) { - if (n.tag !== 1) throw Error(Pe(309)); - var r = n.stateNode; - } - if (!r) throw Error(Pe(147, e)); - var i = r, - a = "" + e; - return t !== null && - t.ref !== null && - typeof t.ref == "function" && - t.ref._stringRef === a - ? t.ref - : ((t = function (o) { - var s = i.refs; - s === ON && (s = i.refs = {}), - o === null ? delete s[a] : (s[a] = o); - }), - (t._stringRef = a), - t); - } - if (typeof e != "string") throw Error(Pe(284)); - if (!n._owner) throw Error(Pe(290, e)); - } - return e; -} -function i0(e, t) { - throw ( - ((e = Object.prototype.toString.call(t)), - Error( - Pe( - 31, - e === "[object Object]" - ? "object with keys {" + Object.keys(t).join(", ") + "}" - : e - ) - )) - ); -} -function rA(e) { - var t = e._init; - return t(e._payload); -} -function LN(e) { - function t(v, y) { - if (e) { - var w = v.deletions; - w === null ? ((v.deletions = [y]), (v.flags |= 16)) : w.push(y); - } - } - function n(v, y) { - if (!e) return null; - for (; y !== null; ) t(v, y), (y = y.sibling); - return null; - } - function r(v, y) { - for (v = new Map(); y !== null; ) - y.key !== null ? v.set(y.key, y) : v.set(y.index, y), (y = y.sibling); - return v; - } - function i(v, y) { - return (v = tl(v, y)), (v.index = 0), (v.sibling = null), v; - } - function a(v, y, w) { - return ( - (v.index = w), - e - ? ((w = v.alternate), - w !== null - ? ((w = w.index), w < y ? ((v.flags |= 2), y) : w) - : ((v.flags |= 2), y)) - : ((v.flags |= 1048576), y) - ); - } - function o(v) { - return e && v.alternate === null && (v.flags |= 2), v; - } - function s(v, y, w, A) { - return y === null || y.tag !== 6 - ? ((y = Q5(w, v.mode, A)), (y.return = v), y) - : ((y = i(y, w)), (y.return = v), y); - } - function u(v, y, w, A) { - var D = w.type; - return D === o1 - ? p(v, y, w.props.children, A, w.key) - : y !== null && - (y.elementType === D || - (typeof D == "object" && - D !== null && - D.$$typeof === Ls && - rA(D) === y.type)) - ? ((A = i(y, w.props)), (A.ref = Uc(v, y, w)), (A.return = v), A) - : ((A = oh(w.type, w.key, w.props, null, v.mode, A)), - (A.ref = Uc(v, y, w)), - (A.return = v), - A); - } - function c(v, y, w, A) { - return y === null || - y.tag !== 4 || - y.stateNode.containerInfo !== w.containerInfo || - y.stateNode.implementation !== w.implementation - ? ((y = J5(w, v.mode, A)), (y.return = v), y) - : ((y = i(y, w.children || [])), (y.return = v), y); - } - function p(v, y, w, A, D) { - return y === null || y.tag !== 7 - ? ((y = iu(w, v.mode, A, D)), (y.return = v), y) - : ((y = i(y, w)), (y.return = v), y); - } - function f(v, y, w) { - if ((typeof y == "string" && y !== "") || typeof y == "number") - return (y = Q5("" + y, v.mode, w)), (y.return = v), y; - if (typeof y == "object" && y !== null) { - switch (y.$$typeof) { - case qf: - return ( - (w = oh(y.type, y.key, y.props, null, v.mode, w)), - (w.ref = Uc(v, null, y)), - (w.return = v), - w - ); - case a1: - return (y = J5(y, v.mode, w)), (y.return = v), y; - case Ls: - var A = y._init; - return f(v, A(y._payload), w); - } - if (sd(y) || Lc(y)) - return (y = iu(y, v.mode, w, null)), (y.return = v), y; - i0(v, y); - } - return null; - } - function m(v, y, w, A) { - var D = y !== null ? y.key : null; - if ((typeof w == "string" && w !== "") || typeof w == "number") - return D !== null ? null : s(v, y, "" + w, A); - if (typeof w == "object" && w !== null) { - switch (w.$$typeof) { - case qf: - return w.key === D ? u(v, y, w, A) : null; - case a1: - return w.key === D ? c(v, y, w, A) : null; - case Ls: - return (D = w._init), m(v, y, D(w._payload), A); - } - if (sd(w) || Lc(w)) return D !== null ? null : p(v, y, w, A, null); - i0(v, w); - } - return null; - } - function g(v, y, w, A, D) { - if ((typeof A == "string" && A !== "") || typeof A == "number") - return (v = v.get(w) || null), s(y, v, "" + A, D); - if (typeof A == "object" && A !== null) { - switch (A.$$typeof) { - case qf: - return (v = v.get(A.key === null ? w : A.key) || null), u(y, v, A, D); - case a1: - return (v = v.get(A.key === null ? w : A.key) || null), c(y, v, A, D); - case Ls: - var k = A._init; - return g(v, y, w, k(A._payload), D); - } - if (sd(A) || Lc(A)) return (v = v.get(w) || null), p(y, v, A, D, null); - i0(y, A); - } - return null; - } - function E(v, y, w, A) { - for ( - var D = null, k = null, R = y, B = (y = 0), W = null; - R !== null && B < w.length; - B++ - ) { - R.index > B ? ((W = R), (R = null)) : (W = R.sibling); - var P = m(v, R, w[B], A); - if (P === null) { - R === null && (R = W); - break; - } - e && R && P.alternate === null && t(v, R), - (y = a(P, y, B)), - k === null ? (D = P) : (k.sibling = P), - (k = P), - (R = W); - } - if (B === w.length) return n(v, R), xn && Hl(v, B), D; - if (R === null) { - for (; B < w.length; B++) - (R = f(v, w[B], A)), - R !== null && - ((y = a(R, y, B)), k === null ? (D = R) : (k.sibling = R), (k = R)); - return xn && Hl(v, B), D; - } - for (R = r(v, R); B < w.length; B++) - (W = g(R, v, B, w[B], A)), - W !== null && - (e && W.alternate !== null && R.delete(W.key === null ? B : W.key), - (y = a(W, y, B)), - k === null ? (D = W) : (k.sibling = W), - (k = W)); - return ( - e && - R.forEach(function (Q) { - return t(v, Q); - }), - xn && Hl(v, B), - D - ); - } - function b(v, y, w, A) { - var D = Lc(w); - if (typeof D != "function") throw Error(Pe(150)); - if (((w = D.call(w)), w == null)) throw Error(Pe(151)); - for ( - var k = (D = null), R = y, B = (y = 0), W = null, P = w.next(); - R !== null && !P.done; - B++, P = w.next() - ) { - R.index > B ? ((W = R), (R = null)) : (W = R.sibling); - var Q = m(v, R, P.value, A); - if (Q === null) { - R === null && (R = W); - break; - } - e && R && Q.alternate === null && t(v, R), - (y = a(Q, y, B)), - k === null ? (D = Q) : (k.sibling = Q), - (k = Q), - (R = W); - } - if (P.done) return n(v, R), xn && Hl(v, B), D; - if (R === null) { - for (; !P.done; B++, P = w.next()) - (P = f(v, P.value, A)), - P !== null && - ((y = a(P, y, B)), k === null ? (D = P) : (k.sibling = P), (k = P)); - return xn && Hl(v, B), D; - } - for (R = r(v, R); !P.done; B++, P = w.next()) - (P = g(R, v, B, P.value, A)), - P !== null && - (e && P.alternate !== null && R.delete(P.key === null ? B : P.key), - (y = a(P, y, B)), - k === null ? (D = P) : (k.sibling = P), - (k = P)); - return ( - e && - R.forEach(function (z) { - return t(v, z); - }), - xn && Hl(v, B), - D - ); - } - function T(v, y, w, A) { - if ( - (typeof w == "object" && - w !== null && - w.type === o1 && - w.key === null && - (w = w.props.children), - typeof w == "object" && w !== null) - ) { - switch (w.$$typeof) { - case qf: - e: { - for (var D = w.key, k = y; k !== null; ) { - if (k.key === D) { - if (((D = w.type), D === o1)) { - if (k.tag === 7) { - n(v, k.sibling), - (y = i(k, w.props.children)), - (y.return = v), - (v = y); - break e; - } - } else if ( - k.elementType === D || - (typeof D == "object" && - D !== null && - D.$$typeof === Ls && - rA(D) === k.type) - ) { - n(v, k.sibling), - (y = i(k, w.props)), - (y.ref = Uc(v, k, w)), - (y.return = v), - (v = y); - break e; - } - n(v, k); - break; - } else t(v, k); - k = k.sibling; - } - w.type === o1 - ? ((y = iu(w.props.children, v.mode, A, w.key)), - (y.return = v), - (v = y)) - : ((A = oh(w.type, w.key, w.props, null, v.mode, A)), - (A.ref = Uc(v, y, w)), - (A.return = v), - (v = A)); - } - return o(v); - case a1: - e: { - for (k = w.key; y !== null; ) { - if (y.key === k) - if ( - y.tag === 4 && - y.stateNode.containerInfo === w.containerInfo && - y.stateNode.implementation === w.implementation - ) { - n(v, y.sibling), - (y = i(y, w.children || [])), - (y.return = v), - (v = y); - break e; - } else { - n(v, y); - break; - } - else t(v, y); - y = y.sibling; - } - (y = J5(w, v.mode, A)), (y.return = v), (v = y); - } - return o(v); - case Ls: - return (k = w._init), T(v, y, k(w._payload), A); - } - if (sd(w)) return E(v, y, w, A); - if (Lc(w)) return b(v, y, w, A); - i0(v, w); - } - return (typeof w == "string" && w !== "") || typeof w == "number" - ? ((w = "" + w), - y !== null && y.tag === 6 - ? (n(v, y.sibling), (y = i(y, w)), (y.return = v), (v = y)) - : (n(v, y), (y = Q5(w, v.mode, A)), (y.return = v), (v = y)), - o(v)) - : n(v, y); - } - return T; -} -var G1 = LN(!0), - MN = LN(!1), - Tp = {}, - go = ml(Tp), - Zd = ml(Tp), - Qd = ml(Tp); -function Ql(e) { - if (e === Tp) throw Error(Pe(174)); - return e; -} -function eE(e, t) { - switch ((mn(Qd, t), mn(Zd, e), mn(go, Tp), (e = t.nodeType), e)) { - case 9: - case 11: - t = (t = t.documentElement) ? t.namespaceURI : R4(null, ""); - break; - default: - (e = e === 8 ? t.parentNode : t), - (t = e.namespaceURI || null), - (e = e.tagName), - (t = R4(t, e)); - } - Sn(go), mn(go, t); -} -function V1() { - Sn(go), Sn(Zd), Sn(Qd); -} -function FN(e) { - Ql(Qd.current); - var t = Ql(go.current), - n = R4(t, e.type); - t !== n && (mn(Zd, e), mn(go, n)); -} -function tE(e) { - Zd.current === e && (Sn(go), Sn(Zd)); -} -var Nn = ml(0); -function Hh(e) { - for (var t = e; t !== null; ) { - if (t.tag === 13) { - var n = t.memoizedState; - if ( - n !== null && - ((n = n.dehydrated), n === null || n.data === "$?" || n.data === "$!") - ) - return t; - } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) { - if (t.flags & 128) return t; - } else if (t.child !== null) { - (t.child.return = t), (t = t.child); - continue; - } - if (t === e) break; - for (; t.sibling === null; ) { - if (t.return === null || t.return === e) return null; - t = t.return; - } - (t.sibling.return = t.return), (t = t.sibling); - } - return null; -} -var W5 = []; -function nE() { - for (var e = 0; e < W5.length; e++) - W5[e]._workInProgressVersionPrimary = null; - W5.length = 0; -} -var th = os.ReactCurrentDispatcher, - q5 = os.ReactCurrentBatchConfig, - cu = 0, - On = null, - er = null, - ur = null, - jh = !1, - vd = !1, - Jd = 0, - xW = 0; -function Lr() { - throw Error(Pe(321)); -} -function rE(e, t) { - if (t === null) return !1; - for (var n = 0; n < t.length && n < e.length; n++) - if (!ja(e[n], t[n])) return !1; - return !0; -} -function iE(e, t, n, r, i, a) { - if ( - ((cu = a), - (On = t), - (t.memoizedState = null), - (t.updateQueue = null), - (t.lanes = 0), - (th.current = e === null || e.memoizedState === null ? NW : OW), - (e = n(r, i)), - vd) - ) { - a = 0; - do { - if (((vd = !1), (Jd = 0), 25 <= a)) throw Error(Pe(301)); - (a += 1), - (ur = er = null), - (t.updateQueue = null), - (th.current = DW), - (e = n(r, i)); - } while (vd); - } - if ( - ((th.current = Gh), - (t = er !== null && er.next !== null), - (cu = 0), - (ur = er = On = null), - (jh = !1), - t) - ) - throw Error(Pe(300)); - return e; -} -function aE() { - var e = Jd !== 0; - return (Jd = 0), e; -} -function io() { - var e = { - memoizedState: null, - baseState: null, - baseQueue: null, - queue: null, - next: null, - }; - return ur === null ? (On.memoizedState = ur = e) : (ur = ur.next = e), ur; -} -function ga() { - if (er === null) { - var e = On.alternate; - e = e !== null ? e.memoizedState : null; - } else e = er.next; - var t = ur === null ? On.memoizedState : ur.next; - if (t !== null) (ur = t), (er = e); - else { - if (e === null) throw Error(Pe(310)); - (er = e), - (e = { - memoizedState: er.memoizedState, - baseState: er.baseState, - baseQueue: er.baseQueue, - queue: er.queue, - next: null, - }), - ur === null ? (On.memoizedState = ur = e) : (ur = ur.next = e); - } - return ur; -} -function ep(e, t) { - return typeof t == "function" ? t(e) : t; -} -function K5(e) { - var t = ga(), - n = t.queue; - if (n === null) throw Error(Pe(311)); - n.lastRenderedReducer = e; - var r = er, - i = r.baseQueue, - a = n.pending; - if (a !== null) { - if (i !== null) { - var o = i.next; - (i.next = a.next), (a.next = o); - } - (r.baseQueue = i = a), (n.pending = null); - } - if (i !== null) { - (a = i.next), (r = r.baseState); - var s = (o = null), - u = null, - c = a; - do { - var p = c.lane; - if ((cu & p) === p) - u !== null && - (u = u.next = - { - lane: 0, - action: c.action, - hasEagerState: c.hasEagerState, - eagerState: c.eagerState, - next: null, - }), - (r = c.hasEagerState ? c.eagerState : e(r, c.action)); - else { - var f = { - lane: p, - action: c.action, - hasEagerState: c.hasEagerState, - eagerState: c.eagerState, - next: null, - }; - u === null ? ((s = u = f), (o = r)) : (u = u.next = f), - (On.lanes |= p), - (du |= p); - } - c = c.next; - } while (c !== null && c !== a); - u === null ? (o = r) : (u.next = s), - ja(r, t.memoizedState) || (hi = !0), - (t.memoizedState = r), - (t.baseState = o), - (t.baseQueue = u), - (n.lastRenderedState = r); - } - if (((e = n.interleaved), e !== null)) { - i = e; - do (a = i.lane), (On.lanes |= a), (du |= a), (i = i.next); - while (i !== e); - } else i === null && (n.lanes = 0); - return [t.memoizedState, n.dispatch]; -} -function Y5(e) { - var t = ga(), - n = t.queue; - if (n === null) throw Error(Pe(311)); - n.lastRenderedReducer = e; - var r = n.dispatch, - i = n.pending, - a = t.memoizedState; - if (i !== null) { - n.pending = null; - var o = (i = i.next); - do (a = e(a, o.action)), (o = o.next); - while (o !== i); - ja(a, t.memoizedState) || (hi = !0), - (t.memoizedState = a), - t.baseQueue === null && (t.baseState = a), - (n.lastRenderedState = a); - } - return [a, r]; -} -function PN() {} -function BN(e, t) { - var n = On, - r = ga(), - i = t(), - a = !ja(r.memoizedState, i); - if ( - (a && ((r.memoizedState = i), (hi = !0)), - (r = r.queue), - oE(zN.bind(null, n, r, e), [e]), - r.getSnapshot !== t || a || (ur !== null && ur.memoizedState.tag & 1)) - ) { - if ( - ((n.flags |= 2048), - tp(9, $N.bind(null, n, r, i, t), void 0, null), - dr === null) - ) - throw Error(Pe(349)); - cu & 30 || UN(n, t, i); - } - return i; -} -function UN(e, t, n) { - (e.flags |= 16384), - (e = { getSnapshot: t, value: n }), - (t = On.updateQueue), - t === null - ? ((t = { lastEffect: null, stores: null }), - (On.updateQueue = t), - (t.stores = [e])) - : ((n = t.stores), n === null ? (t.stores = [e]) : n.push(e)); -} -function $N(e, t, n, r) { - (t.value = n), (t.getSnapshot = r), HN(t) && jN(e); -} -function zN(e, t, n) { - return n(function () { - HN(t) && jN(e); - }); -} -function HN(e) { - var t = e.getSnapshot; - e = e.value; - try { - var n = t(); - return !ja(e, n); - } catch { - return !0; - } -} -function jN(e) { - var t = es(e, 1); - t !== null && za(t, e, 1, -1); -} -function iA(e) { - var t = io(); - return ( - typeof e == "function" && (e = e()), - (t.memoizedState = t.baseState = e), - (e = { - pending: null, - interleaved: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: ep, - lastRenderedState: e, - }), - (t.queue = e), - (e = e.dispatch = RW.bind(null, On, e)), - [t.memoizedState, e] - ); -} -function tp(e, t, n, r) { - return ( - (e = { tag: e, create: t, destroy: n, deps: r, next: null }), - (t = On.updateQueue), - t === null - ? ((t = { lastEffect: null, stores: null }), - (On.updateQueue = t), - (t.lastEffect = e.next = e)) - : ((n = t.lastEffect), - n === null - ? (t.lastEffect = e.next = e) - : ((r = n.next), (n.next = e), (e.next = r), (t.lastEffect = e))), - e - ); -} -function GN() { - return ga().memoizedState; -} -function nh(e, t, n, r) { - var i = io(); - (On.flags |= e), - (i.memoizedState = tp(1 | t, n, void 0, r === void 0 ? null : r)); -} -function jg(e, t, n, r) { - var i = ga(); - r = r === void 0 ? null : r; - var a = void 0; - if (er !== null) { - var o = er.memoizedState; - if (((a = o.destroy), r !== null && rE(r, o.deps))) { - i.memoizedState = tp(t, n, a, r); - return; - } - } - (On.flags |= e), (i.memoizedState = tp(1 | t, n, a, r)); -} -function aA(e, t) { - return nh(8390656, 8, e, t); -} -function oE(e, t) { - return jg(2048, 8, e, t); -} -function VN(e, t) { - return jg(4, 2, e, t); -} -function WN(e, t) { - return jg(4, 4, e, t); -} -function qN(e, t) { - if (typeof t == "function") - return ( - (e = e()), - t(e), - function () { - t(null); - } - ); - if (t != null) - return ( - (e = e()), - (t.current = e), - function () { - t.current = null; - } - ); -} -function KN(e, t, n) { - return ( - (n = n != null ? n.concat([e]) : null), jg(4, 4, qN.bind(null, t, e), n) - ); -} -function sE() {} -function YN(e, t) { - var n = ga(); - t = t === void 0 ? null : t; - var r = n.memoizedState; - return r !== null && t !== null && rE(t, r[1]) - ? r[0] - : ((n.memoizedState = [e, t]), e); -} -function XN(e, t) { - var n = ga(); - t = t === void 0 ? null : t; - var r = n.memoizedState; - return r !== null && t !== null && rE(t, r[1]) - ? r[0] - : ((e = e()), (n.memoizedState = [e, t]), e); -} -function ZN(e, t, n) { - return cu & 21 - ? (ja(n, t) || ((n = eN()), (On.lanes |= n), (du |= n), (e.baseState = !0)), - t) - : (e.baseState && ((e.baseState = !1), (hi = !0)), (e.memoizedState = n)); -} -function kW(e, t) { - var n = an; - (an = n !== 0 && 4 > n ? n : 4), e(!0); - var r = q5.transition; - q5.transition = {}; - try { - e(!1), t(); - } finally { - (an = n), (q5.transition = r); - } -} -function QN() { - return ga().memoizedState; -} -function IW(e, t, n) { - var r = el(e); - if ( - ((n = { - lane: r, - action: n, - hasEagerState: !1, - eagerState: null, - next: null, - }), - JN(e)) - ) - eO(t, n); - else if (((n = RN(e, t, n, r)), n !== null)) { - var i = ei(); - za(n, e, r, i), tO(n, t, r); - } -} -function RW(e, t, n) { - var r = el(e), - i = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }; - if (JN(e)) eO(t, i); - else { - var a = e.alternate; - if ( - e.lanes === 0 && - (a === null || a.lanes === 0) && - ((a = t.lastRenderedReducer), a !== null) - ) - try { - var o = t.lastRenderedState, - s = a(o, n); - if (((i.hasEagerState = !0), (i.eagerState = s), ja(s, o))) { - var u = t.interleaved; - u === null - ? ((i.next = i), Q9(t)) - : ((i.next = u.next), (u.next = i)), - (t.interleaved = i); - return; - } - } catch { - } finally { - } - (n = RN(e, t, i, r)), - n !== null && ((i = ei()), za(n, e, r, i), tO(n, t, r)); - } -} -function JN(e) { - var t = e.alternate; - return e === On || (t !== null && t === On); -} -function eO(e, t) { - vd = jh = !0; - var n = e.pending; - n === null ? (t.next = t) : ((t.next = n.next), (n.next = t)), - (e.pending = t); -} -function tO(e, t, n) { - if (n & 4194240) { - var r = t.lanes; - (r &= e.pendingLanes), (n |= r), (t.lanes = n), B9(e, n); - } -} -var Gh = { - readContext: ha, - useCallback: Lr, - useContext: Lr, - useEffect: Lr, - useImperativeHandle: Lr, - useInsertionEffect: Lr, - useLayoutEffect: Lr, - useMemo: Lr, - useReducer: Lr, - useRef: Lr, - useState: Lr, - useDebugValue: Lr, - useDeferredValue: Lr, - useTransition: Lr, - useMutableSource: Lr, - useSyncExternalStore: Lr, - useId: Lr, - unstable_isNewReconciler: !1, - }, - NW = { - readContext: ha, - useCallback: function (e, t) { - return (io().memoizedState = [e, t === void 0 ? null : t]), e; - }, - useContext: ha, - useEffect: aA, - useImperativeHandle: function (e, t, n) { - return ( - (n = n != null ? n.concat([e]) : null), - nh(4194308, 4, qN.bind(null, t, e), n) - ); - }, - useLayoutEffect: function (e, t) { - return nh(4194308, 4, e, t); - }, - useInsertionEffect: function (e, t) { - return nh(4, 2, e, t); - }, - useMemo: function (e, t) { - var n = io(); - return ( - (t = t === void 0 ? null : t), (e = e()), (n.memoizedState = [e, t]), e - ); - }, - useReducer: function (e, t, n) { - var r = io(); - return ( - (t = n !== void 0 ? n(t) : t), - (r.memoizedState = r.baseState = t), - (e = { - pending: null, - interleaved: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: e, - lastRenderedState: t, - }), - (r.queue = e), - (e = e.dispatch = IW.bind(null, On, e)), - [r.memoizedState, e] - ); - }, - useRef: function (e) { - var t = io(); - return (e = { current: e }), (t.memoizedState = e); - }, - useState: iA, - useDebugValue: sE, - useDeferredValue: function (e) { - return (io().memoizedState = e); - }, - useTransition: function () { - var e = iA(!1), - t = e[0]; - return (e = kW.bind(null, e[1])), (io().memoizedState = e), [t, e]; - }, - useMutableSource: function () {}, - useSyncExternalStore: function (e, t, n) { - var r = On, - i = io(); - if (xn) { - if (n === void 0) throw Error(Pe(407)); - n = n(); - } else { - if (((n = t()), dr === null)) throw Error(Pe(349)); - cu & 30 || UN(r, t, n); - } - i.memoizedState = n; - var a = { value: n, getSnapshot: t }; - return ( - (i.queue = a), - aA(zN.bind(null, r, a, e), [e]), - (r.flags |= 2048), - tp(9, $N.bind(null, r, a, n, t), void 0, null), - n - ); - }, - useId: function () { - var e = io(), - t = dr.identifierPrefix; - if (xn) { - var n = Ko, - r = qo; - (n = (r & ~(1 << (32 - $a(r) - 1))).toString(32) + n), - (t = ":" + t + "R" + n), - (n = Jd++), - 0 < n && (t += "H" + n.toString(32)), - (t += ":"); - } else (n = xW++), (t = ":" + t + "r" + n.toString(32) + ":"); - return (e.memoizedState = t); - }, - unstable_isNewReconciler: !1, - }, - OW = { - readContext: ha, - useCallback: YN, - useContext: ha, - useEffect: oE, - useImperativeHandle: KN, - useInsertionEffect: VN, - useLayoutEffect: WN, - useMemo: XN, - useReducer: K5, - useRef: GN, - useState: function () { - return K5(ep); - }, - useDebugValue: sE, - useDeferredValue: function (e) { - var t = ga(); - return ZN(t, er.memoizedState, e); - }, - useTransition: function () { - var e = K5(ep)[0], - t = ga().memoizedState; - return [e, t]; - }, - useMutableSource: PN, - useSyncExternalStore: BN, - useId: QN, - unstable_isNewReconciler: !1, - }, - DW = { - readContext: ha, - useCallback: YN, - useContext: ha, - useEffect: oE, - useImperativeHandle: KN, - useInsertionEffect: VN, - useLayoutEffect: WN, - useMemo: XN, - useReducer: Y5, - useRef: GN, - useState: function () { - return Y5(ep); - }, - useDebugValue: sE, - useDeferredValue: function (e) { - var t = ga(); - return er === null ? (t.memoizedState = e) : ZN(t, er.memoizedState, e); - }, - useTransition: function () { - var e = Y5(ep)[0], - t = ga().memoizedState; - return [e, t]; - }, - useMutableSource: PN, - useSyncExternalStore: BN, - useId: QN, - unstable_isNewReconciler: !1, - }; -function W1(e, t) { - try { - var n = "", - r = t; - do (n += sV(r)), (r = r.return); - while (r); - var i = n; - } catch (a) { - i = - ` -Error generating stack: ` + - a.message + - ` -` + - a.stack; - } - return { value: e, source: t, stack: i, digest: null }; -} -function X5(e, t, n) { - return { value: e, source: null, stack: n ?? null, digest: t ?? null }; -} -function J4(e, t) { - try { - console.error(t.value); - } catch (n) { - setTimeout(function () { - throw n; - }); - } -} -var LW = typeof WeakMap == "function" ? WeakMap : Map; -function nO(e, t, n) { - (n = Xo(-1, n)), (n.tag = 3), (n.payload = { element: null }); - var r = t.value; - return ( - (n.callback = function () { - Wh || ((Wh = !0), (ub = r)), J4(e, t); - }), - n - ); -} -function rO(e, t, n) { - (n = Xo(-1, n)), (n.tag = 3); - var r = e.type.getDerivedStateFromError; - if (typeof r == "function") { - var i = t.value; - (n.payload = function () { - return r(i); - }), - (n.callback = function () { - J4(e, t); - }); - } - var a = e.stateNode; - return ( - a !== null && - typeof a.componentDidCatch == "function" && - (n.callback = function () { - J4(e, t), - typeof r != "function" && - (Js === null ? (Js = new Set([this])) : Js.add(this)); - var o = t.stack; - this.componentDidCatch(t.value, { - componentStack: o !== null ? o : "", - }); - }), - n - ); -} -function oA(e, t, n) { - var r = e.pingCache; - if (r === null) { - r = e.pingCache = new LW(); - var i = new Set(); - r.set(t, i); - } else (i = r.get(t)), i === void 0 && ((i = new Set()), r.set(t, i)); - i.has(n) || (i.add(n), (e = KW.bind(null, e, t, n)), t.then(e, e)); -} -function sA(e) { - do { - var t; - if ( - ((t = e.tag === 13) && - ((t = e.memoizedState), (t = t !== null ? t.dehydrated !== null : !0)), - t) - ) - return e; - e = e.return; - } while (e !== null); - return null; -} -function lA(e, t, n, r, i) { - return e.mode & 1 - ? ((e.flags |= 65536), (e.lanes = i), e) - : (e === t - ? (e.flags |= 65536) - : ((e.flags |= 128), - (n.flags |= 131072), - (n.flags &= -52805), - n.tag === 1 && - (n.alternate === null - ? (n.tag = 17) - : ((t = Xo(-1, 1)), (t.tag = 2), Qs(n, t, 1))), - (n.lanes |= 1)), - e); -} -var MW = os.ReactCurrentOwner, - hi = !1; -function Xr(e, t, n, r) { - t.child = e === null ? MN(t, null, n, r) : G1(t, e.child, n, r); -} -function uA(e, t, n, r, i) { - n = n.render; - var a = t.ref; - return ( - D1(t, i), - (r = iE(e, t, n, r, a, i)), - (n = aE()), - e !== null && !hi - ? ((t.updateQueue = e.updateQueue), - (t.flags &= -2053), - (e.lanes &= ~i), - ts(e, t, i)) - : (xn && n && W9(t), (t.flags |= 1), Xr(e, t, r, i), t.child) - ); -} -function cA(e, t, n, r, i) { - if (e === null) { - var a = n.type; - return typeof a == "function" && - !gE(a) && - a.defaultProps === void 0 && - n.compare === null && - n.defaultProps === void 0 - ? ((t.tag = 15), (t.type = a), iO(e, t, a, r, i)) - : ((e = oh(n.type, null, r, t, t.mode, i)), - (e.ref = t.ref), - (e.return = t), - (t.child = e)); - } - if (((a = e.child), !(e.lanes & i))) { - var o = a.memoizedProps; - if ( - ((n = n.compare), (n = n !== null ? n : qd), n(o, r) && e.ref === t.ref) - ) - return ts(e, t, i); - } - return ( - (t.flags |= 1), - (e = tl(a, r)), - (e.ref = t.ref), - (e.return = t), - (t.child = e) - ); -} -function iO(e, t, n, r, i) { - if (e !== null) { - var a = e.memoizedProps; - if (qd(a, r) && e.ref === t.ref) - if (((hi = !1), (t.pendingProps = r = a), (e.lanes & i) !== 0)) - e.flags & 131072 && (hi = !0); - else return (t.lanes = e.lanes), ts(e, t, i); - } - return eb(e, t, n, r, i); -} -function aO(e, t, n) { - var r = t.pendingProps, - i = r.children, - a = e !== null ? e.memoizedState : null; - if (r.mode === "hidden") - if (!(t.mode & 1)) - (t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), - mn(m1, Ni), - (Ni |= n); - else { - if (!(n & 1073741824)) - return ( - (e = a !== null ? a.baseLanes | n : n), - (t.lanes = t.childLanes = 1073741824), - (t.memoizedState = { - baseLanes: e, - cachePool: null, - transitions: null, - }), - (t.updateQueue = null), - mn(m1, Ni), - (Ni |= e), - null - ); - (t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), - (r = a !== null ? a.baseLanes : n), - mn(m1, Ni), - (Ni |= r); - } - else - a !== null ? ((r = a.baseLanes | n), (t.memoizedState = null)) : (r = n), - mn(m1, Ni), - (Ni |= r); - return Xr(e, t, i, n), t.child; -} -function oO(e, t) { - var n = t.ref; - ((e === null && n !== null) || (e !== null && e.ref !== n)) && - ((t.flags |= 512), (t.flags |= 2097152)); -} -function eb(e, t, n, r, i) { - var a = bi(n) ? lu : zr.current; - return ( - (a = H1(t, a)), - D1(t, i), - (n = iE(e, t, n, r, a, i)), - (r = aE()), - e !== null && !hi - ? ((t.updateQueue = e.updateQueue), - (t.flags &= -2053), - (e.lanes &= ~i), - ts(e, t, i)) - : (xn && r && W9(t), (t.flags |= 1), Xr(e, t, n, i), t.child) - ); -} -function dA(e, t, n, r, i) { - if (bi(n)) { - var a = !0; - Fh(t); - } else a = !1; - if ((D1(t, i), t.stateNode === null)) - rh(e, t), DN(t, n, r), Q4(t, n, r, i), (r = !0); - else if (e === null) { - var o = t.stateNode, - s = t.memoizedProps; - o.props = s; - var u = o.context, - c = n.contextType; - typeof c == "object" && c !== null - ? (c = ha(c)) - : ((c = bi(n) ? lu : zr.current), (c = H1(t, c))); - var p = n.getDerivedStateFromProps, - f = - typeof p == "function" || - typeof o.getSnapshotBeforeUpdate == "function"; - f || - (typeof o.UNSAFE_componentWillReceiveProps != "function" && - typeof o.componentWillReceiveProps != "function") || - ((s !== r || u !== c) && nA(t, o, r, c)), - (Ms = !1); - var m = t.memoizedState; - (o.state = m), - zh(t, r, o, i), - (u = t.memoizedState), - s !== r || m !== u || mi.current || Ms - ? (typeof p == "function" && (Z4(t, n, p, r), (u = t.memoizedState)), - (s = Ms || tA(t, n, s, r, m, u, c)) - ? (f || - (typeof o.UNSAFE_componentWillMount != "function" && - typeof o.componentWillMount != "function") || - (typeof o.componentWillMount == "function" && - o.componentWillMount(), - typeof o.UNSAFE_componentWillMount == "function" && - o.UNSAFE_componentWillMount()), - typeof o.componentDidMount == "function" && (t.flags |= 4194308)) - : (typeof o.componentDidMount == "function" && (t.flags |= 4194308), - (t.memoizedProps = r), - (t.memoizedState = u)), - (o.props = r), - (o.state = u), - (o.context = c), - (r = s)) - : (typeof o.componentDidMount == "function" && (t.flags |= 4194308), - (r = !1)); - } else { - (o = t.stateNode), - NN(e, t), - (s = t.memoizedProps), - (c = t.type === t.elementType ? s : Da(t.type, s)), - (o.props = c), - (f = t.pendingProps), - (m = o.context), - (u = n.contextType), - typeof u == "object" && u !== null - ? (u = ha(u)) - : ((u = bi(n) ? lu : zr.current), (u = H1(t, u))); - var g = n.getDerivedStateFromProps; - (p = - typeof g == "function" || - typeof o.getSnapshotBeforeUpdate == "function") || - (typeof o.UNSAFE_componentWillReceiveProps != "function" && - typeof o.componentWillReceiveProps != "function") || - ((s !== f || m !== u) && nA(t, o, r, u)), - (Ms = !1), - (m = t.memoizedState), - (o.state = m), - zh(t, r, o, i); - var E = t.memoizedState; - s !== f || m !== E || mi.current || Ms - ? (typeof g == "function" && (Z4(t, n, g, r), (E = t.memoizedState)), - (c = Ms || tA(t, n, c, r, m, E, u) || !1) - ? (p || - (typeof o.UNSAFE_componentWillUpdate != "function" && - typeof o.componentWillUpdate != "function") || - (typeof o.componentWillUpdate == "function" && - o.componentWillUpdate(r, E, u), - typeof o.UNSAFE_componentWillUpdate == "function" && - o.UNSAFE_componentWillUpdate(r, E, u)), - typeof o.componentDidUpdate == "function" && (t.flags |= 4), - typeof o.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) - : (typeof o.componentDidUpdate != "function" || - (s === e.memoizedProps && m === e.memoizedState) || - (t.flags |= 4), - typeof o.getSnapshotBeforeUpdate != "function" || - (s === e.memoizedProps && m === e.memoizedState) || - (t.flags |= 1024), - (t.memoizedProps = r), - (t.memoizedState = E)), - (o.props = r), - (o.state = E), - (o.context = u), - (r = c)) - : (typeof o.componentDidUpdate != "function" || - (s === e.memoizedProps && m === e.memoizedState) || - (t.flags |= 4), - typeof o.getSnapshotBeforeUpdate != "function" || - (s === e.memoizedProps && m === e.memoizedState) || - (t.flags |= 1024), - (r = !1)); - } - return tb(e, t, n, r, a, i); -} -function tb(e, t, n, r, i, a) { - oO(e, t); - var o = (t.flags & 128) !== 0; - if (!r && !o) return i && Xw(t, n, !1), ts(e, t, a); - (r = t.stateNode), (MW.current = t); - var s = - o && typeof n.getDerivedStateFromError != "function" ? null : r.render(); - return ( - (t.flags |= 1), - e !== null && o - ? ((t.child = G1(t, e.child, null, a)), (t.child = G1(t, null, s, a))) - : Xr(e, t, s, a), - (t.memoizedState = r.state), - i && Xw(t, n, !0), - t.child - ); -} -function sO(e) { - var t = e.stateNode; - t.pendingContext - ? Yw(e, t.pendingContext, t.pendingContext !== t.context) - : t.context && Yw(e, t.context, !1), - eE(e, t.containerInfo); -} -function pA(e, t, n, r, i) { - return j1(), K9(i), (t.flags |= 256), Xr(e, t, n, r), t.child; -} -var nb = { dehydrated: null, treeContext: null, retryLane: 0 }; -function rb(e) { - return { baseLanes: e, cachePool: null, transitions: null }; -} -function lO(e, t, n) { - var r = t.pendingProps, - i = Nn.current, - a = !1, - o = (t.flags & 128) !== 0, - s; - if ( - ((s = o) || - (s = e !== null && e.memoizedState === null ? !1 : (i & 2) !== 0), - s - ? ((a = !0), (t.flags &= -129)) - : (e === null || e.memoizedState !== null) && (i |= 1), - mn(Nn, i & 1), - e === null) - ) - return ( - Y4(t), - (e = t.memoizedState), - e !== null && ((e = e.dehydrated), e !== null) - ? (t.mode & 1 - ? e.data === "$!" - ? (t.lanes = 8) - : (t.lanes = 1073741824) - : (t.lanes = 1), - null) - : ((o = r.children), - (e = r.fallback), - a - ? ((r = t.mode), - (a = t.child), - (o = { mode: "hidden", children: o }), - !(r & 1) && a !== null - ? ((a.childLanes = 0), (a.pendingProps = o)) - : (a = Wg(o, r, 0, null)), - (e = iu(e, r, n, null)), - (a.return = t), - (e.return = t), - (a.sibling = e), - (t.child = a), - (t.child.memoizedState = rb(n)), - (t.memoizedState = nb), - e) - : lE(t, o)) - ); - if (((i = e.memoizedState), i !== null && ((s = i.dehydrated), s !== null))) - return FW(e, t, o, r, s, i, n); - if (a) { - (a = r.fallback), (o = t.mode), (i = e.child), (s = i.sibling); - var u = { mode: "hidden", children: r.children }; - return ( - !(o & 1) && t.child !== i - ? ((r = t.child), - (r.childLanes = 0), - (r.pendingProps = u), - (t.deletions = null)) - : ((r = tl(i, u)), (r.subtreeFlags = i.subtreeFlags & 14680064)), - s !== null ? (a = tl(s, a)) : ((a = iu(a, o, n, null)), (a.flags |= 2)), - (a.return = t), - (r.return = t), - (r.sibling = a), - (t.child = r), - (r = a), - (a = t.child), - (o = e.child.memoizedState), - (o = - o === null - ? rb(n) - : { - baseLanes: o.baseLanes | n, - cachePool: null, - transitions: o.transitions, - }), - (a.memoizedState = o), - (a.childLanes = e.childLanes & ~n), - (t.memoizedState = nb), - r - ); - } - return ( - (a = e.child), - (e = a.sibling), - (r = tl(a, { mode: "visible", children: r.children })), - !(t.mode & 1) && (r.lanes = n), - (r.return = t), - (r.sibling = null), - e !== null && - ((n = t.deletions), - n === null ? ((t.deletions = [e]), (t.flags |= 16)) : n.push(e)), - (t.child = r), - (t.memoizedState = null), - r - ); -} -function lE(e, t) { - return ( - (t = Wg({ mode: "visible", children: t }, e.mode, 0, null)), - (t.return = e), - (e.child = t) - ); -} -function a0(e, t, n, r) { - return ( - r !== null && K9(r), - G1(t, e.child, null, n), - (e = lE(t, t.pendingProps.children)), - (e.flags |= 2), - (t.memoizedState = null), - e - ); -} -function FW(e, t, n, r, i, a, o) { - if (n) - return t.flags & 256 - ? ((t.flags &= -257), (r = X5(Error(Pe(422)))), a0(e, t, o, r)) - : t.memoizedState !== null - ? ((t.child = e.child), (t.flags |= 128), null) - : ((a = r.fallback), - (i = t.mode), - (r = Wg({ mode: "visible", children: r.children }, i, 0, null)), - (a = iu(a, i, o, null)), - (a.flags |= 2), - (r.return = t), - (a.return = t), - (r.sibling = a), - (t.child = r), - t.mode & 1 && G1(t, e.child, null, o), - (t.child.memoizedState = rb(o)), - (t.memoizedState = nb), - a); - if (!(t.mode & 1)) return a0(e, t, o, null); - if (i.data === "$!") { - if (((r = i.nextSibling && i.nextSibling.dataset), r)) var s = r.dgst; - return ( - (r = s), (a = Error(Pe(419))), (r = X5(a, r, void 0)), a0(e, t, o, r) - ); - } - if (((s = (o & e.childLanes) !== 0), hi || s)) { - if (((r = dr), r !== null)) { - switch (o & -o) { - case 4: - i = 2; - break; - case 16: - i = 8; - break; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - i = 32; - break; - case 536870912: - i = 268435456; - break; - default: - i = 0; - } - (i = i & (r.suspendedLanes | o) ? 0 : i), - i !== 0 && - i !== a.retryLane && - ((a.retryLane = i), es(e, i), za(r, e, i, -1)); - } - return hE(), (r = X5(Error(Pe(421)))), a0(e, t, o, r); - } - return i.data === "$?" - ? ((t.flags |= 128), - (t.child = e.child), - (t = YW.bind(null, e)), - (i._reactRetry = t), - null) - : ((e = a.treeContext), - (Di = Zs(i.nextSibling)), - (Li = t), - (xn = !0), - (Fa = null), - e !== null && - ((oa[sa++] = qo), - (oa[sa++] = Ko), - (oa[sa++] = uu), - (qo = e.id), - (Ko = e.overflow), - (uu = t)), - (t = lE(t, r.children)), - (t.flags |= 4096), - t); -} -function fA(e, t, n) { - e.lanes |= t; - var r = e.alternate; - r !== null && (r.lanes |= t), X4(e.return, t, n); -} -function Z5(e, t, n, r, i) { - var a = e.memoizedState; - a === null - ? (e.memoizedState = { - isBackwards: t, - rendering: null, - renderingStartTime: 0, - last: r, - tail: n, - tailMode: i, - }) - : ((a.isBackwards = t), - (a.rendering = null), - (a.renderingStartTime = 0), - (a.last = r), - (a.tail = n), - (a.tailMode = i)); -} -function uO(e, t, n) { - var r = t.pendingProps, - i = r.revealOrder, - a = r.tail; - if ((Xr(e, t, r.children, n), (r = Nn.current), r & 2)) - (r = (r & 1) | 2), (t.flags |= 128); - else { - if (e !== null && e.flags & 128) - e: for (e = t.child; e !== null; ) { - if (e.tag === 13) e.memoizedState !== null && fA(e, n, t); - else if (e.tag === 19) fA(e, n, t); - else if (e.child !== null) { - (e.child.return = e), (e = e.child); - continue; - } - if (e === t) break e; - for (; e.sibling === null; ) { - if (e.return === null || e.return === t) break e; - e = e.return; - } - (e.sibling.return = e.return), (e = e.sibling); - } - r &= 1; - } - if ((mn(Nn, r), !(t.mode & 1))) t.memoizedState = null; - else - switch (i) { - case "forwards": - for (n = t.child, i = null; n !== null; ) - (e = n.alternate), - e !== null && Hh(e) === null && (i = n), - (n = n.sibling); - (n = i), - n === null - ? ((i = t.child), (t.child = null)) - : ((i = n.sibling), (n.sibling = null)), - Z5(t, !1, i, n, a); - break; - case "backwards": - for (n = null, i = t.child, t.child = null; i !== null; ) { - if (((e = i.alternate), e !== null && Hh(e) === null)) { - t.child = i; - break; - } - (e = i.sibling), (i.sibling = n), (n = i), (i = e); - } - Z5(t, !0, n, null, a); - break; - case "together": - Z5(t, !1, null, null, void 0); - break; - default: - t.memoizedState = null; - } - return t.child; -} -function rh(e, t) { - !(t.mode & 1) && - e !== null && - ((e.alternate = null), (t.alternate = null), (t.flags |= 2)); -} -function ts(e, t, n) { - if ( - (e !== null && (t.dependencies = e.dependencies), - (du |= t.lanes), - !(n & t.childLanes)) - ) - return null; - if (e !== null && t.child !== e.child) throw Error(Pe(153)); - if (t.child !== null) { - for ( - e = t.child, n = tl(e, e.pendingProps), t.child = n, n.return = t; - e.sibling !== null; - - ) - (e = e.sibling), (n = n.sibling = tl(e, e.pendingProps)), (n.return = t); - n.sibling = null; - } - return t.child; -} -function PW(e, t, n) { - switch (t.tag) { - case 3: - sO(t), j1(); - break; - case 5: - FN(t); - break; - case 1: - bi(t.type) && Fh(t); - break; - case 4: - eE(t, t.stateNode.containerInfo); - break; - case 10: - var r = t.type._context, - i = t.memoizedProps.value; - mn(Uh, r._currentValue), (r._currentValue = i); - break; - case 13: - if (((r = t.memoizedState), r !== null)) - return r.dehydrated !== null - ? (mn(Nn, Nn.current & 1), (t.flags |= 128), null) - : n & t.child.childLanes - ? lO(e, t, n) - : (mn(Nn, Nn.current & 1), - (e = ts(e, t, n)), - e !== null ? e.sibling : null); - mn(Nn, Nn.current & 1); - break; - case 19: - if (((r = (n & t.childLanes) !== 0), e.flags & 128)) { - if (r) return uO(e, t, n); - t.flags |= 128; - } - if ( - ((i = t.memoizedState), - i !== null && - ((i.rendering = null), (i.tail = null), (i.lastEffect = null)), - mn(Nn, Nn.current), - r) - ) - break; - return null; - case 22: - case 23: - return (t.lanes = 0), aO(e, t, n); - } - return ts(e, t, n); -} -var cO, ib, dO, pO; -cO = function (e, t) { - for (var n = t.child; n !== null; ) { - if (n.tag === 5 || n.tag === 6) e.appendChild(n.stateNode); - else if (n.tag !== 4 && n.child !== null) { - (n.child.return = n), (n = n.child); - continue; - } - if (n === t) break; - for (; n.sibling === null; ) { - if (n.return === null || n.return === t) return; - n = n.return; - } - (n.sibling.return = n.return), (n = n.sibling); - } -}; -ib = function () {}; -dO = function (e, t, n, r) { - var i = e.memoizedProps; - if (i !== r) { - (e = t.stateNode), Ql(go.current); - var a = null; - switch (n) { - case "input": - (i = C4(e, i)), (r = C4(e, r)), (a = []); - break; - case "select": - (i = Dn({}, i, { value: void 0 })), - (r = Dn({}, r, { value: void 0 })), - (a = []); - break; - case "textarea": - (i = I4(e, i)), (r = I4(e, r)), (a = []); - break; - default: - typeof i.onClick != "function" && - typeof r.onClick == "function" && - (e.onclick = Lh); - } - N4(n, r); - var o; - n = null; - for (c in i) - if (!r.hasOwnProperty(c) && i.hasOwnProperty(c) && i[c] != null) - if (c === "style") { - var s = i[c]; - for (o in s) s.hasOwnProperty(o) && (n || (n = {}), (n[o] = "")); - } else - c !== "dangerouslySetInnerHTML" && - c !== "children" && - c !== "suppressContentEditableWarning" && - c !== "suppressHydrationWarning" && - c !== "autoFocus" && - ($d.hasOwnProperty(c) - ? a || (a = []) - : (a = a || []).push(c, null)); - for (c in r) { - var u = r[c]; - if ( - ((s = i != null ? i[c] : void 0), - r.hasOwnProperty(c) && u !== s && (u != null || s != null)) - ) - if (c === "style") - if (s) { - for (o in s) - !s.hasOwnProperty(o) || - (u && u.hasOwnProperty(o)) || - (n || (n = {}), (n[o] = "")); - for (o in u) - u.hasOwnProperty(o) && - s[o] !== u[o] && - (n || (n = {}), (n[o] = u[o])); - } else n || (a || (a = []), a.push(c, n)), (n = u); - else - c === "dangerouslySetInnerHTML" - ? ((u = u ? u.__html : void 0), - (s = s ? s.__html : void 0), - u != null && s !== u && (a = a || []).push(c, u)) - : c === "children" - ? (typeof u != "string" && typeof u != "number") || - (a = a || []).push(c, "" + u) - : c !== "suppressContentEditableWarning" && - c !== "suppressHydrationWarning" && - ($d.hasOwnProperty(c) - ? (u != null && c === "onScroll" && yn("scroll", e), - a || s === u || (a = [])) - : (a = a || []).push(c, u)); - } - n && (a = a || []).push("style", n); - var c = a; - (t.updateQueue = c) && (t.flags |= 4); - } -}; -pO = function (e, t, n, r) { - n !== r && (t.flags |= 4); -}; -function $c(e, t) { - if (!xn) - switch (e.tailMode) { - case "hidden": - t = e.tail; - for (var n = null; t !== null; ) - t.alternate !== null && (n = t), (t = t.sibling); - n === null ? (e.tail = null) : (n.sibling = null); - break; - case "collapsed": - n = e.tail; - for (var r = null; n !== null; ) - n.alternate !== null && (r = n), (n = n.sibling); - r === null - ? t || e.tail === null - ? (e.tail = null) - : (e.tail.sibling = null) - : (r.sibling = null); - } -} -function Mr(e) { - var t = e.alternate !== null && e.alternate.child === e.child, - n = 0, - r = 0; - if (t) - for (var i = e.child; i !== null; ) - (n |= i.lanes | i.childLanes), - (r |= i.subtreeFlags & 14680064), - (r |= i.flags & 14680064), - (i.return = e), - (i = i.sibling); - else - for (i = e.child; i !== null; ) - (n |= i.lanes | i.childLanes), - (r |= i.subtreeFlags), - (r |= i.flags), - (i.return = e), - (i = i.sibling); - return (e.subtreeFlags |= r), (e.childLanes = n), t; -} -function BW(e, t, n) { - var r = t.pendingProps; - switch ((q9(t), t.tag)) { - case 2: - case 16: - case 15: - case 0: - case 11: - case 7: - case 8: - case 12: - case 9: - case 14: - return Mr(t), null; - case 1: - return bi(t.type) && Mh(), Mr(t), null; - case 3: - return ( - (r = t.stateNode), - V1(), - Sn(mi), - Sn(zr), - nE(), - r.pendingContext && - ((r.context = r.pendingContext), (r.pendingContext = null)), - (e === null || e.child === null) && - (r0(t) - ? (t.flags |= 4) - : e === null || - (e.memoizedState.isDehydrated && !(t.flags & 256)) || - ((t.flags |= 1024), Fa !== null && (pb(Fa), (Fa = null)))), - ib(e, t), - Mr(t), - null - ); - case 5: - tE(t); - var i = Ql(Qd.current); - if (((n = t.type), e !== null && t.stateNode != null)) - dO(e, t, n, r, i), - e.ref !== t.ref && ((t.flags |= 512), (t.flags |= 2097152)); - else { - if (!r) { - if (t.stateNode === null) throw Error(Pe(166)); - return Mr(t), null; - } - if (((e = Ql(go.current)), r0(t))) { - (r = t.stateNode), (n = t.type); - var a = t.memoizedProps; - switch (((r[lo] = t), (r[Xd] = a), (e = (t.mode & 1) !== 0), n)) { - case "dialog": - yn("cancel", r), yn("close", r); - break; - case "iframe": - case "object": - case "embed": - yn("load", r); - break; - case "video": - case "audio": - for (i = 0; i < ud.length; i++) yn(ud[i], r); - break; - case "source": - yn("error", r); - break; - case "img": - case "image": - case "link": - yn("error", r), yn("load", r); - break; - case "details": - yn("toggle", r); - break; - case "input": - Tw(r, a), yn("invalid", r); - break; - case "select": - (r._wrapperState = { wasMultiple: !!a.multiple }), - yn("invalid", r); - break; - case "textarea": - ww(r, a), yn("invalid", r); - } - N4(n, a), (i = null); - for (var o in a) - if (a.hasOwnProperty(o)) { - var s = a[o]; - o === "children" - ? typeof s == "string" - ? r.textContent !== s && - (a.suppressHydrationWarning !== !0 && - n0(r.textContent, s, e), - (i = ["children", s])) - : typeof s == "number" && - r.textContent !== "" + s && - (a.suppressHydrationWarning !== !0 && - n0(r.textContent, s, e), - (i = ["children", "" + s])) - : $d.hasOwnProperty(o) && - s != null && - o === "onScroll" && - yn("scroll", r); - } - switch (n) { - case "input": - Kf(r), Sw(r, a, !0); - break; - case "textarea": - Kf(r), Aw(r); - break; - case "select": - case "option": - break; - default: - typeof a.onClick == "function" && (r.onclick = Lh); - } - (r = i), (t.updateQueue = r), r !== null && (t.flags |= 4); - } else { - (o = i.nodeType === 9 ? i : i.ownerDocument), - e === "http://www.w3.org/1999/xhtml" && (e = UR(n)), - e === "http://www.w3.org/1999/xhtml" - ? n === "script" - ? ((e = o.createElement("div")), - (e.innerHTML = ""), - (e = e.removeChild(e.firstChild))) - : typeof r.is == "string" - ? (e = o.createElement(n, { is: r.is })) - : ((e = o.createElement(n)), - n === "select" && - ((o = e), - r.multiple - ? (o.multiple = !0) - : r.size && (o.size = r.size))) - : (e = o.createElementNS(e, n)), - (e[lo] = t), - (e[Xd] = r), - cO(e, t, !1, !1), - (t.stateNode = e); - e: { - switch (((o = O4(n, r)), n)) { - case "dialog": - yn("cancel", e), yn("close", e), (i = r); - break; - case "iframe": - case "object": - case "embed": - yn("load", e), (i = r); - break; - case "video": - case "audio": - for (i = 0; i < ud.length; i++) yn(ud[i], e); - i = r; - break; - case "source": - yn("error", e), (i = r); - break; - case "img": - case "image": - case "link": - yn("error", e), yn("load", e), (i = r); - break; - case "details": - yn("toggle", e), (i = r); - break; - case "input": - Tw(e, r), (i = C4(e, r)), yn("invalid", e); - break; - case "option": - i = r; - break; - case "select": - (e._wrapperState = { wasMultiple: !!r.multiple }), - (i = Dn({}, r, { value: void 0 })), - yn("invalid", e); - break; - case "textarea": - ww(e, r), (i = I4(e, r)), yn("invalid", e); - break; - default: - i = r; - } - N4(n, i), (s = i); - for (a in s) - if (s.hasOwnProperty(a)) { - var u = s[a]; - a === "style" - ? HR(e, u) - : a === "dangerouslySetInnerHTML" - ? ((u = u ? u.__html : void 0), u != null && $R(e, u)) - : a === "children" - ? typeof u == "string" - ? (n !== "textarea" || u !== "") && zd(e, u) - : typeof u == "number" && zd(e, "" + u) - : a !== "suppressContentEditableWarning" && - a !== "suppressHydrationWarning" && - a !== "autoFocus" && - ($d.hasOwnProperty(a) - ? u != null && a === "onScroll" && yn("scroll", e) - : u != null && O9(e, a, u, o)); - } - switch (n) { - case "input": - Kf(e), Sw(e, r, !1); - break; - case "textarea": - Kf(e), Aw(e); - break; - case "option": - r.value != null && e.setAttribute("value", "" + ll(r.value)); - break; - case "select": - (e.multiple = !!r.multiple), - (a = r.value), - a != null - ? I1(e, !!r.multiple, a, !1) - : r.defaultValue != null && - I1(e, !!r.multiple, r.defaultValue, !0); - break; - default: - typeof i.onClick == "function" && (e.onclick = Lh); - } - switch (n) { - case "button": - case "input": - case "select": - case "textarea": - r = !!r.autoFocus; - break e; - case "img": - r = !0; - break e; - default: - r = !1; - } - } - r && (t.flags |= 4); - } - t.ref !== null && ((t.flags |= 512), (t.flags |= 2097152)); - } - return Mr(t), null; - case 6: - if (e && t.stateNode != null) pO(e, t, e.memoizedProps, r); - else { - if (typeof r != "string" && t.stateNode === null) throw Error(Pe(166)); - if (((n = Ql(Qd.current)), Ql(go.current), r0(t))) { - if ( - ((r = t.stateNode), - (n = t.memoizedProps), - (r[lo] = t), - (a = r.nodeValue !== n) && ((e = Li), e !== null)) - ) - switch (e.tag) { - case 3: - n0(r.nodeValue, n, (e.mode & 1) !== 0); - break; - case 5: - e.memoizedProps.suppressHydrationWarning !== !0 && - n0(r.nodeValue, n, (e.mode & 1) !== 0); - } - a && (t.flags |= 4); - } else - (r = (n.nodeType === 9 ? n : n.ownerDocument).createTextNode(r)), - (r[lo] = t), - (t.stateNode = r); - } - return Mr(t), null; - case 13: - if ( - (Sn(Nn), - (r = t.memoizedState), - e === null || - (e.memoizedState !== null && e.memoizedState.dehydrated !== null)) - ) { - if (xn && Di !== null && t.mode & 1 && !(t.flags & 128)) - IN(), j1(), (t.flags |= 98560), (a = !1); - else if (((a = r0(t)), r !== null && r.dehydrated !== null)) { - if (e === null) { - if (!a) throw Error(Pe(318)); - if ( - ((a = t.memoizedState), - (a = a !== null ? a.dehydrated : null), - !a) - ) - throw Error(Pe(317)); - a[lo] = t; - } else - j1(), !(t.flags & 128) && (t.memoizedState = null), (t.flags |= 4); - Mr(t), (a = !1); - } else Fa !== null && (pb(Fa), (Fa = null)), (a = !0); - if (!a) return t.flags & 65536 ? t : null; - } - return t.flags & 128 - ? ((t.lanes = n), t) - : ((r = r !== null), - r !== (e !== null && e.memoizedState !== null) && - r && - ((t.child.flags |= 8192), - t.mode & 1 && - (e === null || Nn.current & 1 ? tr === 0 && (tr = 3) : hE())), - t.updateQueue !== null && (t.flags |= 4), - Mr(t), - null); - case 4: - return ( - V1(), ib(e, t), e === null && Kd(t.stateNode.containerInfo), Mr(t), null - ); - case 10: - return Z9(t.type._context), Mr(t), null; - case 17: - return bi(t.type) && Mh(), Mr(t), null; - case 19: - if ((Sn(Nn), (a = t.memoizedState), a === null)) return Mr(t), null; - if (((r = (t.flags & 128) !== 0), (o = a.rendering), o === null)) - if (r) $c(a, !1); - else { - if (tr !== 0 || (e !== null && e.flags & 128)) - for (e = t.child; e !== null; ) { - if (((o = Hh(e)), o !== null)) { - for ( - t.flags |= 128, - $c(a, !1), - r = o.updateQueue, - r !== null && ((t.updateQueue = r), (t.flags |= 4)), - t.subtreeFlags = 0, - r = n, - n = t.child; - n !== null; - - ) - (a = n), - (e = r), - (a.flags &= 14680066), - (o = a.alternate), - o === null - ? ((a.childLanes = 0), - (a.lanes = e), - (a.child = null), - (a.subtreeFlags = 0), - (a.memoizedProps = null), - (a.memoizedState = null), - (a.updateQueue = null), - (a.dependencies = null), - (a.stateNode = null)) - : ((a.childLanes = o.childLanes), - (a.lanes = o.lanes), - (a.child = o.child), - (a.subtreeFlags = 0), - (a.deletions = null), - (a.memoizedProps = o.memoizedProps), - (a.memoizedState = o.memoizedState), - (a.updateQueue = o.updateQueue), - (a.type = o.type), - (e = o.dependencies), - (a.dependencies = - e === null - ? null - : { - lanes: e.lanes, - firstContext: e.firstContext, - })), - (n = n.sibling); - return mn(Nn, (Nn.current & 1) | 2), t.child; - } - e = e.sibling; - } - a.tail !== null && - jn() > q1 && - ((t.flags |= 128), (r = !0), $c(a, !1), (t.lanes = 4194304)); - } - else { - if (!r) - if (((e = Hh(o)), e !== null)) { - if ( - ((t.flags |= 128), - (r = !0), - (n = e.updateQueue), - n !== null && ((t.updateQueue = n), (t.flags |= 4)), - $c(a, !0), - a.tail === null && a.tailMode === "hidden" && !o.alternate && !xn) - ) - return Mr(t), null; - } else - 2 * jn() - a.renderingStartTime > q1 && - n !== 1073741824 && - ((t.flags |= 128), (r = !0), $c(a, !1), (t.lanes = 4194304)); - a.isBackwards - ? ((o.sibling = t.child), (t.child = o)) - : ((n = a.last), - n !== null ? (n.sibling = o) : (t.child = o), - (a.last = o)); - } - return a.tail !== null - ? ((t = a.tail), - (a.rendering = t), - (a.tail = t.sibling), - (a.renderingStartTime = jn()), - (t.sibling = null), - (n = Nn.current), - mn(Nn, r ? (n & 1) | 2 : n & 1), - t) - : (Mr(t), null); - case 22: - case 23: - return ( - fE(), - (r = t.memoizedState !== null), - e !== null && (e.memoizedState !== null) !== r && (t.flags |= 8192), - r && t.mode & 1 - ? Ni & 1073741824 && (Mr(t), t.subtreeFlags & 6 && (t.flags |= 8192)) - : Mr(t), - null - ); - case 24: - return null; - case 25: - return null; - } - throw Error(Pe(156, t.tag)); -} -function UW(e, t) { - switch ((q9(t), t.tag)) { - case 1: - return ( - bi(t.type) && Mh(), - (e = t.flags), - e & 65536 ? ((t.flags = (e & -65537) | 128), t) : null - ); - case 3: - return ( - V1(), - Sn(mi), - Sn(zr), - nE(), - (e = t.flags), - e & 65536 && !(e & 128) ? ((t.flags = (e & -65537) | 128), t) : null - ); - case 5: - return tE(t), null; - case 13: - if ( - (Sn(Nn), (e = t.memoizedState), e !== null && e.dehydrated !== null) - ) { - if (t.alternate === null) throw Error(Pe(340)); - j1(); - } - return ( - (e = t.flags), e & 65536 ? ((t.flags = (e & -65537) | 128), t) : null - ); - case 19: - return Sn(Nn), null; - case 4: - return V1(), null; - case 10: - return Z9(t.type._context), null; - case 22: - case 23: - return fE(), null; - case 24: - return null; - default: - return null; - } -} -var o0 = !1, - Br = !1, - $W = typeof WeakSet == "function" ? WeakSet : Set, - nt = null; -function g1(e, t) { - var n = e.ref; - if (n !== null) - if (typeof n == "function") - try { - n(null); - } catch (r) { - Pn(e, t, r); - } - else n.current = null; -} -function ab(e, t, n) { - try { - n(); - } catch (r) { - Pn(e, t, r); - } -} -var hA = !1; -function zW(e, t) { - if (((H4 = Nh), (e = mN()), V9(e))) { - if ("selectionStart" in e) - var n = { start: e.selectionStart, end: e.selectionEnd }; - else - e: { - n = ((n = e.ownerDocument) && n.defaultView) || window; - var r = n.getSelection && n.getSelection(); - if (r && r.rangeCount !== 0) { - n = r.anchorNode; - var i = r.anchorOffset, - a = r.focusNode; - r = r.focusOffset; - try { - n.nodeType, a.nodeType; - } catch { - n = null; - break e; - } - var o = 0, - s = -1, - u = -1, - c = 0, - p = 0, - f = e, - m = null; - t: for (;;) { - for ( - var g; - f !== n || (i !== 0 && f.nodeType !== 3) || (s = o + i), - f !== a || (r !== 0 && f.nodeType !== 3) || (u = o + r), - f.nodeType === 3 && (o += f.nodeValue.length), - (g = f.firstChild) !== null; - - ) - (m = f), (f = g); - for (;;) { - if (f === e) break t; - if ( - (m === n && ++c === i && (s = o), - m === a && ++p === r && (u = o), - (g = f.nextSibling) !== null) - ) - break; - (f = m), (m = f.parentNode); - } - f = g; - } - n = s === -1 || u === -1 ? null : { start: s, end: u }; - } else n = null; - } - n = n || { start: 0, end: 0 }; - } else n = null; - for ( - j4 = { focusedElem: e, selectionRange: n }, Nh = !1, nt = t; - nt !== null; - - ) - if (((t = nt), (e = t.child), (t.subtreeFlags & 1028) !== 0 && e !== null)) - (e.return = t), (nt = e); - else - for (; nt !== null; ) { - t = nt; - try { - var E = t.alternate; - if (t.flags & 1024) - switch (t.tag) { - case 0: - case 11: - case 15: - break; - case 1: - if (E !== null) { - var b = E.memoizedProps, - T = E.memoizedState, - v = t.stateNode, - y = v.getSnapshotBeforeUpdate( - t.elementType === t.type ? b : Da(t.type, b), - T - ); - v.__reactInternalSnapshotBeforeUpdate = y; - } - break; - case 3: - var w = t.stateNode.containerInfo; - w.nodeType === 1 - ? (w.textContent = "") - : w.nodeType === 9 && - w.documentElement && - w.removeChild(w.documentElement); - break; - case 5: - case 6: - case 4: - case 17: - break; - default: - throw Error(Pe(163)); - } - } catch (A) { - Pn(t, t.return, A); - } - if (((e = t.sibling), e !== null)) { - (e.return = t.return), (nt = e); - break; - } - nt = t.return; - } - return (E = hA), (hA = !1), E; -} -function yd(e, t, n) { - var r = t.updateQueue; - if (((r = r !== null ? r.lastEffect : null), r !== null)) { - var i = (r = r.next); - do { - if ((i.tag & e) === e) { - var a = i.destroy; - (i.destroy = void 0), a !== void 0 && ab(t, n, a); - } - i = i.next; - } while (i !== r); - } -} -function Gg(e, t) { - if ( - ((t = t.updateQueue), (t = t !== null ? t.lastEffect : null), t !== null) - ) { - var n = (t = t.next); - do { - if ((n.tag & e) === e) { - var r = n.create; - n.destroy = r(); - } - n = n.next; - } while (n !== t); - } -} -function ob(e) { - var t = e.ref; - if (t !== null) { - var n = e.stateNode; - switch (e.tag) { - case 5: - e = n; - break; - default: - e = n; - } - typeof t == "function" ? t(e) : (t.current = e); - } -} -function fO(e) { - var t = e.alternate; - t !== null && ((e.alternate = null), fO(t)), - (e.child = null), - (e.deletions = null), - (e.sibling = null), - e.tag === 5 && - ((t = e.stateNode), - t !== null && - (delete t[lo], delete t[Xd], delete t[W4], delete t[SW], delete t[wW])), - (e.stateNode = null), - (e.return = null), - (e.dependencies = null), - (e.memoizedProps = null), - (e.memoizedState = null), - (e.pendingProps = null), - (e.stateNode = null), - (e.updateQueue = null); -} -function hO(e) { - return e.tag === 5 || e.tag === 3 || e.tag === 4; -} -function gA(e) { - e: for (;;) { - for (; e.sibling === null; ) { - if (e.return === null || hO(e.return)) return null; - e = e.return; - } - for ( - e.sibling.return = e.return, e = e.sibling; - e.tag !== 5 && e.tag !== 6 && e.tag !== 18; - - ) { - if (e.flags & 2 || e.child === null || e.tag === 4) continue e; - (e.child.return = e), (e = e.child); - } - if (!(e.flags & 2)) return e.stateNode; - } -} -function sb(e, t, n) { - var r = e.tag; - if (r === 5 || r === 6) - (e = e.stateNode), - t - ? n.nodeType === 8 - ? n.parentNode.insertBefore(e, t) - : n.insertBefore(e, t) - : (n.nodeType === 8 - ? ((t = n.parentNode), t.insertBefore(e, n)) - : ((t = n), t.appendChild(e)), - (n = n._reactRootContainer), - n != null || t.onclick !== null || (t.onclick = Lh)); - else if (r !== 4 && ((e = e.child), e !== null)) - for (sb(e, t, n), e = e.sibling; e !== null; ) sb(e, t, n), (e = e.sibling); -} -function lb(e, t, n) { - var r = e.tag; - if (r === 5 || r === 6) - (e = e.stateNode), t ? n.insertBefore(e, t) : n.appendChild(e); - else if (r !== 4 && ((e = e.child), e !== null)) - for (lb(e, t, n), e = e.sibling; e !== null; ) lb(e, t, n), (e = e.sibling); -} -var Er = null, - La = !1; -function ws(e, t, n) { - for (n = n.child; n !== null; ) gO(e, t, n), (n = n.sibling); -} -function gO(e, t, n) { - if (ho && typeof ho.onCommitFiberUnmount == "function") - try { - ho.onCommitFiberUnmount(Fg, n); - } catch {} - switch (n.tag) { - case 5: - Br || g1(n, t); - case 6: - var r = Er, - i = La; - (Er = null), - ws(e, t, n), - (Er = r), - (La = i), - Er !== null && - (La - ? ((e = Er), - (n = n.stateNode), - e.nodeType === 8 ? e.parentNode.removeChild(n) : e.removeChild(n)) - : Er.removeChild(n.stateNode)); - break; - case 18: - Er !== null && - (La - ? ((e = Er), - (n = n.stateNode), - e.nodeType === 8 - ? G5(e.parentNode, n) - : e.nodeType === 1 && G5(e, n), - Vd(e)) - : G5(Er, n.stateNode)); - break; - case 4: - (r = Er), - (i = La), - (Er = n.stateNode.containerInfo), - (La = !0), - ws(e, t, n), - (Er = r), - (La = i); - break; - case 0: - case 11: - case 14: - case 15: - if ( - !Br && - ((r = n.updateQueue), r !== null && ((r = r.lastEffect), r !== null)) - ) { - i = r = r.next; - do { - var a = i, - o = a.destroy; - (a = a.tag), - o !== void 0 && (a & 2 || a & 4) && ab(n, t, o), - (i = i.next); - } while (i !== r); - } - ws(e, t, n); - break; - case 1: - if ( - !Br && - (g1(n, t), - (r = n.stateNode), - typeof r.componentWillUnmount == "function") - ) - try { - (r.props = n.memoizedProps), - (r.state = n.memoizedState), - r.componentWillUnmount(); - } catch (s) { - Pn(n, t, s); - } - ws(e, t, n); - break; - case 21: - ws(e, t, n); - break; - case 22: - n.mode & 1 - ? ((Br = (r = Br) || n.memoizedState !== null), ws(e, t, n), (Br = r)) - : ws(e, t, n); - break; - default: - ws(e, t, n); - } -} -function mA(e) { - var t = e.updateQueue; - if (t !== null) { - e.updateQueue = null; - var n = e.stateNode; - n === null && (n = e.stateNode = new $W()), - t.forEach(function (r) { - var i = XW.bind(null, e, r); - n.has(r) || (n.add(r), r.then(i, i)); - }); - } -} -function xa(e, t) { - var n = t.deletions; - if (n !== null) - for (var r = 0; r < n.length; r++) { - var i = n[r]; - try { - var a = e, - o = t, - s = o; - e: for (; s !== null; ) { - switch (s.tag) { - case 5: - (Er = s.stateNode), (La = !1); - break e; - case 3: - (Er = s.stateNode.containerInfo), (La = !0); - break e; - case 4: - (Er = s.stateNode.containerInfo), (La = !0); - break e; - } - s = s.return; - } - if (Er === null) throw Error(Pe(160)); - gO(a, o, i), (Er = null), (La = !1); - var u = i.alternate; - u !== null && (u.return = null), (i.return = null); - } catch (c) { - Pn(i, t, c); - } - } - if (t.subtreeFlags & 12854) - for (t = t.child; t !== null; ) mO(t, e), (t = t.sibling); -} -function mO(e, t) { - var n = e.alternate, - r = e.flags; - switch (e.tag) { - case 0: - case 11: - case 14: - case 15: - if ((xa(t, e), eo(e), r & 4)) { - try { - yd(3, e, e.return), Gg(3, e); - } catch (b) { - Pn(e, e.return, b); - } - try { - yd(5, e, e.return); - } catch (b) { - Pn(e, e.return, b); - } - } - break; - case 1: - xa(t, e), eo(e), r & 512 && n !== null && g1(n, n.return); - break; - case 5: - if ( - (xa(t, e), - eo(e), - r & 512 && n !== null && g1(n, n.return), - e.flags & 32) - ) { - var i = e.stateNode; - try { - zd(i, ""); - } catch (b) { - Pn(e, e.return, b); - } - } - if (r & 4 && ((i = e.stateNode), i != null)) { - var a = e.memoizedProps, - o = n !== null ? n.memoizedProps : a, - s = e.type, - u = e.updateQueue; - if (((e.updateQueue = null), u !== null)) - try { - s === "input" && a.type === "radio" && a.name != null && PR(i, a), - O4(s, o); - var c = O4(s, a); - for (o = 0; o < u.length; o += 2) { - var p = u[o], - f = u[o + 1]; - p === "style" - ? HR(i, f) - : p === "dangerouslySetInnerHTML" - ? $R(i, f) - : p === "children" - ? zd(i, f) - : O9(i, p, f, c); - } - switch (s) { - case "input": - x4(i, a); - break; - case "textarea": - BR(i, a); - break; - case "select": - var m = i._wrapperState.wasMultiple; - i._wrapperState.wasMultiple = !!a.multiple; - var g = a.value; - g != null - ? I1(i, !!a.multiple, g, !1) - : m !== !!a.multiple && - (a.defaultValue != null - ? I1(i, !!a.multiple, a.defaultValue, !0) - : I1(i, !!a.multiple, a.multiple ? [] : "", !1)); - } - i[Xd] = a; - } catch (b) { - Pn(e, e.return, b); - } - } - break; - case 6: - if ((xa(t, e), eo(e), r & 4)) { - if (e.stateNode === null) throw Error(Pe(162)); - (i = e.stateNode), (a = e.memoizedProps); - try { - i.nodeValue = a; - } catch (b) { - Pn(e, e.return, b); - } - } - break; - case 3: - if ( - (xa(t, e), eo(e), r & 4 && n !== null && n.memoizedState.isDehydrated) - ) - try { - Vd(t.containerInfo); - } catch (b) { - Pn(e, e.return, b); - } - break; - case 4: - xa(t, e), eo(e); - break; - case 13: - xa(t, e), - eo(e), - (i = e.child), - i.flags & 8192 && - ((a = i.memoizedState !== null), - (i.stateNode.isHidden = a), - !a || - (i.alternate !== null && i.alternate.memoizedState !== null) || - (dE = jn())), - r & 4 && mA(e); - break; - case 22: - if ( - ((p = n !== null && n.memoizedState !== null), - e.mode & 1 ? ((Br = (c = Br) || p), xa(t, e), (Br = c)) : xa(t, e), - eo(e), - r & 8192) - ) { - if ( - ((c = e.memoizedState !== null), - (e.stateNode.isHidden = c) && !p && e.mode & 1) - ) - for (nt = e, p = e.child; p !== null; ) { - for (f = nt = p; nt !== null; ) { - switch (((m = nt), (g = m.child), m.tag)) { - case 0: - case 11: - case 14: - case 15: - yd(4, m, m.return); - break; - case 1: - g1(m, m.return); - var E = m.stateNode; - if (typeof E.componentWillUnmount == "function") { - (r = m), (n = m.return); - try { - (t = r), - (E.props = t.memoizedProps), - (E.state = t.memoizedState), - E.componentWillUnmount(); - } catch (b) { - Pn(r, n, b); - } - } - break; - case 5: - g1(m, m.return); - break; - case 22: - if (m.memoizedState !== null) { - EA(f); - continue; - } - } - g !== null ? ((g.return = m), (nt = g)) : EA(f); - } - p = p.sibling; - } - e: for (p = null, f = e; ; ) { - if (f.tag === 5) { - if (p === null) { - p = f; - try { - (i = f.stateNode), - c - ? ((a = i.style), - typeof a.setProperty == "function" - ? a.setProperty("display", "none", "important") - : (a.display = "none")) - : ((s = f.stateNode), - (u = f.memoizedProps.style), - (o = - u != null && u.hasOwnProperty("display") - ? u.display - : null), - (s.style.display = zR("display", o))); - } catch (b) { - Pn(e, e.return, b); - } - } - } else if (f.tag === 6) { - if (p === null) - try { - f.stateNode.nodeValue = c ? "" : f.memoizedProps; - } catch (b) { - Pn(e, e.return, b); - } - } else if ( - ((f.tag !== 22 && f.tag !== 23) || - f.memoizedState === null || - f === e) && - f.child !== null - ) { - (f.child.return = f), (f = f.child); - continue; - } - if (f === e) break e; - for (; f.sibling === null; ) { - if (f.return === null || f.return === e) break e; - p === f && (p = null), (f = f.return); - } - p === f && (p = null), (f.sibling.return = f.return), (f = f.sibling); - } - } - break; - case 19: - xa(t, e), eo(e), r & 4 && mA(e); - break; - case 21: - break; - default: - xa(t, e), eo(e); - } -} -function eo(e) { - var t = e.flags; - if (t & 2) { - try { - e: { - for (var n = e.return; n !== null; ) { - if (hO(n)) { - var r = n; - break e; - } - n = n.return; - } - throw Error(Pe(160)); - } - switch (r.tag) { - case 5: - var i = r.stateNode; - r.flags & 32 && (zd(i, ""), (r.flags &= -33)); - var a = gA(e); - lb(e, a, i); - break; - case 3: - case 4: - var o = r.stateNode.containerInfo, - s = gA(e); - sb(e, s, o); - break; - default: - throw Error(Pe(161)); - } - } catch (u) { - Pn(e, e.return, u); - } - e.flags &= -3; - } - t & 4096 && (e.flags &= -4097); -} -function HW(e, t, n) { - (nt = e), bO(e); -} -function bO(e, t, n) { - for (var r = (e.mode & 1) !== 0; nt !== null; ) { - var i = nt, - a = i.child; - if (i.tag === 22 && r) { - var o = i.memoizedState !== null || o0; - if (!o) { - var s = i.alternate, - u = (s !== null && s.memoizedState !== null) || Br; - s = o0; - var c = Br; - if (((o0 = o), (Br = u) && !c)) - for (nt = i; nt !== null; ) - (o = nt), - (u = o.child), - o.tag === 22 && o.memoizedState !== null - ? vA(i) - : u !== null - ? ((u.return = o), (nt = u)) - : vA(i); - for (; a !== null; ) (nt = a), bO(a), (a = a.sibling); - (nt = i), (o0 = s), (Br = c); - } - bA(e); - } else - i.subtreeFlags & 8772 && a !== null ? ((a.return = i), (nt = a)) : bA(e); - } -} -function bA(e) { - for (; nt !== null; ) { - var t = nt; - if (t.flags & 8772) { - var n = t.alternate; - try { - if (t.flags & 8772) - switch (t.tag) { - case 0: - case 11: - case 15: - Br || Gg(5, t); - break; - case 1: - var r = t.stateNode; - if (t.flags & 4 && !Br) - if (n === null) r.componentDidMount(); - else { - var i = - t.elementType === t.type - ? n.memoizedProps - : Da(t.type, n.memoizedProps); - r.componentDidUpdate( - i, - n.memoizedState, - r.__reactInternalSnapshotBeforeUpdate - ); - } - var a = t.updateQueue; - a !== null && eA(t, a, r); - break; - case 3: - var o = t.updateQueue; - if (o !== null) { - if (((n = null), t.child !== null)) - switch (t.child.tag) { - case 5: - n = t.child.stateNode; - break; - case 1: - n = t.child.stateNode; - } - eA(t, o, n); - } - break; - case 5: - var s = t.stateNode; - if (n === null && t.flags & 4) { - n = s; - var u = t.memoizedProps; - switch (t.type) { - case "button": - case "input": - case "select": - case "textarea": - u.autoFocus && n.focus(); - break; - case "img": - u.src && (n.src = u.src); - } - } - break; - case 6: - break; - case 4: - break; - case 12: - break; - case 13: - if (t.memoizedState === null) { - var c = t.alternate; - if (c !== null) { - var p = c.memoizedState; - if (p !== null) { - var f = p.dehydrated; - f !== null && Vd(f); - } - } - } - break; - case 19: - case 17: - case 21: - case 22: - case 23: - case 25: - break; - default: - throw Error(Pe(163)); - } - Br || (t.flags & 512 && ob(t)); - } catch (m) { - Pn(t, t.return, m); - } - } - if (t === e) { - nt = null; - break; - } - if (((n = t.sibling), n !== null)) { - (n.return = t.return), (nt = n); - break; - } - nt = t.return; - } -} -function EA(e) { - for (; nt !== null; ) { - var t = nt; - if (t === e) { - nt = null; - break; - } - var n = t.sibling; - if (n !== null) { - (n.return = t.return), (nt = n); - break; - } - nt = t.return; - } -} -function vA(e) { - for (; nt !== null; ) { - var t = nt; - try { - switch (t.tag) { - case 0: - case 11: - case 15: - var n = t.return; - try { - Gg(4, t); - } catch (u) { - Pn(t, n, u); - } - break; - case 1: - var r = t.stateNode; - if (typeof r.componentDidMount == "function") { - var i = t.return; - try { - r.componentDidMount(); - } catch (u) { - Pn(t, i, u); - } - } - var a = t.return; - try { - ob(t); - } catch (u) { - Pn(t, a, u); - } - break; - case 5: - var o = t.return; - try { - ob(t); - } catch (u) { - Pn(t, o, u); - } - } - } catch (u) { - Pn(t, t.return, u); - } - if (t === e) { - nt = null; - break; - } - var s = t.sibling; - if (s !== null) { - (s.return = t.return), (nt = s); - break; - } - nt = t.return; - } -} -var jW = Math.ceil, - Vh = os.ReactCurrentDispatcher, - uE = os.ReactCurrentOwner, - ca = os.ReactCurrentBatchConfig, - qt = 0, - dr = null, - Kn = null, - wr = 0, - Ni = 0, - m1 = ml(0), - tr = 0, - np = null, - du = 0, - Vg = 0, - cE = 0, - _d = null, - fi = null, - dE = 0, - q1 = 1 / 0, - Go = null, - Wh = !1, - ub = null, - Js = null, - s0 = !1, - js = null, - qh = 0, - Td = 0, - cb = null, - ih = -1, - ah = 0; -function ei() { - return qt & 6 ? jn() : ih !== -1 ? ih : (ih = jn()); -} -function el(e) { - return e.mode & 1 - ? qt & 2 && wr !== 0 - ? wr & -wr - : CW.transition !== null - ? (ah === 0 && (ah = eN()), ah) - : ((e = an), - e !== 0 || ((e = window.event), (e = e === void 0 ? 16 : sN(e.type))), - e) - : 1; -} -function za(e, t, n, r) { - if (50 < Td) throw ((Td = 0), (cb = null), Error(Pe(185))); - vp(e, n, r), - (!(qt & 2) || e !== dr) && - (e === dr && (!(qt & 2) && (Vg |= n), tr === 4 && Us(e, wr)), - Ei(e, r), - n === 1 && qt === 0 && !(t.mode & 1) && ((q1 = jn() + 500), zg && bl())); -} -function Ei(e, t) { - var n = e.callbackNode; - CV(e, t); - var r = Rh(e, e === dr ? wr : 0); - if (r === 0) - n !== null && kw(n), (e.callbackNode = null), (e.callbackPriority = 0); - else if (((t = r & -r), e.callbackPriority !== t)) { - if ((n != null && kw(n), t === 1)) - e.tag === 0 ? AW(yA.bind(null, e)) : CN(yA.bind(null, e)), - _W(function () { - !(qt & 6) && bl(); - }), - (n = null); - else { - switch (tN(r)) { - case 1: - n = P9; - break; - case 4: - n = QR; - break; - case 16: - n = Ih; - break; - case 536870912: - n = JR; - break; - default: - n = Ih; - } - n = AO(n, EO.bind(null, e)); - } - (e.callbackPriority = t), (e.callbackNode = n); - } -} -function EO(e, t) { - if (((ih = -1), (ah = 0), qt & 6)) throw Error(Pe(327)); - var n = e.callbackNode; - if (L1() && e.callbackNode !== n) return null; - var r = Rh(e, e === dr ? wr : 0); - if (r === 0) return null; - if (r & 30 || r & e.expiredLanes || t) t = Kh(e, r); - else { - t = r; - var i = qt; - qt |= 2; - var a = yO(); - (dr !== e || wr !== t) && ((Go = null), (q1 = jn() + 500), ru(e, t)); - do - try { - WW(); - break; - } catch (s) { - vO(e, s); - } - while (1); - X9(), - (Vh.current = a), - (qt = i), - Kn !== null ? (t = 0) : ((dr = null), (wr = 0), (t = tr)); - } - if (t !== 0) { - if ( - (t === 2 && ((i = P4(e)), i !== 0 && ((r = i), (t = db(e, i)))), t === 1) - ) - throw ((n = np), ru(e, 0), Us(e, r), Ei(e, jn()), n); - if (t === 6) Us(e, r); - else { - if ( - ((i = e.current.alternate), - !(r & 30) && - !GW(i) && - ((t = Kh(e, r)), - t === 2 && ((a = P4(e)), a !== 0 && ((r = a), (t = db(e, a)))), - t === 1)) - ) - throw ((n = np), ru(e, 0), Us(e, r), Ei(e, jn()), n); - switch (((e.finishedWork = i), (e.finishedLanes = r), t)) { - case 0: - case 1: - throw Error(Pe(345)); - case 2: - jl(e, fi, Go); - break; - case 3: - if ( - (Us(e, r), (r & 130023424) === r && ((t = dE + 500 - jn()), 10 < t)) - ) { - if (Rh(e, 0) !== 0) break; - if (((i = e.suspendedLanes), (i & r) !== r)) { - ei(), (e.pingedLanes |= e.suspendedLanes & i); - break; - } - e.timeoutHandle = V4(jl.bind(null, e, fi, Go), t); - break; - } - jl(e, fi, Go); - break; - case 4: - if ((Us(e, r), (r & 4194240) === r)) break; - for (t = e.eventTimes, i = -1; 0 < r; ) { - var o = 31 - $a(r); - (a = 1 << o), (o = t[o]), o > i && (i = o), (r &= ~a); - } - if ( - ((r = i), - (r = jn() - r), - (r = - (120 > r - ? 120 - : 480 > r - ? 480 - : 1080 > r - ? 1080 - : 1920 > r - ? 1920 - : 3e3 > r - ? 3e3 - : 4320 > r - ? 4320 - : 1960 * jW(r / 1960)) - r), - 10 < r) - ) { - e.timeoutHandle = V4(jl.bind(null, e, fi, Go), r); - break; - } - jl(e, fi, Go); - break; - case 5: - jl(e, fi, Go); - break; - default: - throw Error(Pe(329)); - } - } - } - return Ei(e, jn()), e.callbackNode === n ? EO.bind(null, e) : null; -} -function db(e, t) { - var n = _d; - return ( - e.current.memoizedState.isDehydrated && (ru(e, t).flags |= 256), - (e = Kh(e, t)), - e !== 2 && ((t = fi), (fi = n), t !== null && pb(t)), - e - ); -} -function pb(e) { - fi === null ? (fi = e) : fi.push.apply(fi, e); -} -function GW(e) { - for (var t = e; ; ) { - if (t.flags & 16384) { - var n = t.updateQueue; - if (n !== null && ((n = n.stores), n !== null)) - for (var r = 0; r < n.length; r++) { - var i = n[r], - a = i.getSnapshot; - i = i.value; - try { - if (!ja(a(), i)) return !1; - } catch { - return !1; - } - } - } - if (((n = t.child), t.subtreeFlags & 16384 && n !== null)) - (n.return = t), (t = n); - else { - if (t === e) break; - for (; t.sibling === null; ) { - if (t.return === null || t.return === e) return !0; - t = t.return; - } - (t.sibling.return = t.return), (t = t.sibling); - } - } - return !0; -} -function Us(e, t) { - for ( - t &= ~cE, - t &= ~Vg, - e.suspendedLanes |= t, - e.pingedLanes &= ~t, - e = e.expirationTimes; - 0 < t; - - ) { - var n = 31 - $a(t), - r = 1 << n; - (e[n] = -1), (t &= ~r); - } -} -function yA(e) { - if (qt & 6) throw Error(Pe(327)); - L1(); - var t = Rh(e, 0); - if (!(t & 1)) return Ei(e, jn()), null; - var n = Kh(e, t); - if (e.tag !== 0 && n === 2) { - var r = P4(e); - r !== 0 && ((t = r), (n = db(e, r))); - } - if (n === 1) throw ((n = np), ru(e, 0), Us(e, t), Ei(e, jn()), n); - if (n === 6) throw Error(Pe(345)); - return ( - (e.finishedWork = e.current.alternate), - (e.finishedLanes = t), - jl(e, fi, Go), - Ei(e, jn()), - null - ); -} -function pE(e, t) { - var n = qt; - qt |= 1; - try { - return e(t); - } finally { - (qt = n), qt === 0 && ((q1 = jn() + 500), zg && bl()); - } -} -function pu(e) { - js !== null && js.tag === 0 && !(qt & 6) && L1(); - var t = qt; - qt |= 1; - var n = ca.transition, - r = an; - try { - if (((ca.transition = null), (an = 1), e)) return e(); - } finally { - (an = r), (ca.transition = n), (qt = t), !(qt & 6) && bl(); - } -} -function fE() { - (Ni = m1.current), Sn(m1); -} -function ru(e, t) { - (e.finishedWork = null), (e.finishedLanes = 0); - var n = e.timeoutHandle; - if ((n !== -1 && ((e.timeoutHandle = -1), yW(n)), Kn !== null)) - for (n = Kn.return; n !== null; ) { - var r = n; - switch ((q9(r), r.tag)) { - case 1: - (r = r.type.childContextTypes), r != null && Mh(); - break; - case 3: - V1(), Sn(mi), Sn(zr), nE(); - break; - case 5: - tE(r); - break; - case 4: - V1(); - break; - case 13: - Sn(Nn); - break; - case 19: - Sn(Nn); - break; - case 10: - Z9(r.type._context); - break; - case 22: - case 23: - fE(); - } - n = n.return; - } - if ( - ((dr = e), - (Kn = e = tl(e.current, null)), - (wr = Ni = t), - (tr = 0), - (np = null), - (cE = Vg = du = 0), - (fi = _d = null), - Zl !== null) - ) { - for (t = 0; t < Zl.length; t++) - if (((n = Zl[t]), (r = n.interleaved), r !== null)) { - n.interleaved = null; - var i = r.next, - a = n.pending; - if (a !== null) { - var o = a.next; - (a.next = i), (r.next = o); - } - n.pending = r; - } - Zl = null; - } - return e; -} -function vO(e, t) { - do { - var n = Kn; - try { - if ((X9(), (th.current = Gh), jh)) { - for (var r = On.memoizedState; r !== null; ) { - var i = r.queue; - i !== null && (i.pending = null), (r = r.next); - } - jh = !1; - } - if ( - ((cu = 0), - (ur = er = On = null), - (vd = !1), - (Jd = 0), - (uE.current = null), - n === null || n.return === null) - ) { - (tr = 1), (np = t), (Kn = null); - break; - } - e: { - var a = e, - o = n.return, - s = n, - u = t; - if ( - ((t = wr), - (s.flags |= 32768), - u !== null && typeof u == "object" && typeof u.then == "function") - ) { - var c = u, - p = s, - f = p.tag; - if (!(p.mode & 1) && (f === 0 || f === 11 || f === 15)) { - var m = p.alternate; - m - ? ((p.updateQueue = m.updateQueue), - (p.memoizedState = m.memoizedState), - (p.lanes = m.lanes)) - : ((p.updateQueue = null), (p.memoizedState = null)); - } - var g = sA(o); - if (g !== null) { - (g.flags &= -257), - lA(g, o, s, a, t), - g.mode & 1 && oA(a, c, t), - (t = g), - (u = c); - var E = t.updateQueue; - if (E === null) { - var b = new Set(); - b.add(u), (t.updateQueue = b); - } else E.add(u); - break e; - } else { - if (!(t & 1)) { - oA(a, c, t), hE(); - break e; - } - u = Error(Pe(426)); - } - } else if (xn && s.mode & 1) { - var T = sA(o); - if (T !== null) { - !(T.flags & 65536) && (T.flags |= 256), - lA(T, o, s, a, t), - K9(W1(u, s)); - break e; - } - } - (a = u = W1(u, s)), - tr !== 4 && (tr = 2), - _d === null ? (_d = [a]) : _d.push(a), - (a = o); - do { - switch (a.tag) { - case 3: - (a.flags |= 65536), (t &= -t), (a.lanes |= t); - var v = nO(a, u, t); - Jw(a, v); - break e; - case 1: - s = u; - var y = a.type, - w = a.stateNode; - if ( - !(a.flags & 128) && - (typeof y.getDerivedStateFromError == "function" || - (w !== null && - typeof w.componentDidCatch == "function" && - (Js === null || !Js.has(w)))) - ) { - (a.flags |= 65536), (t &= -t), (a.lanes |= t); - var A = rO(a, s, t); - Jw(a, A); - break e; - } - } - a = a.return; - } while (a !== null); - } - TO(n); - } catch (D) { - (t = D), Kn === n && n !== null && (Kn = n = n.return); - continue; - } - break; - } while (1); -} -function yO() { - var e = Vh.current; - return (Vh.current = Gh), e === null ? Gh : e; -} -function hE() { - (tr === 0 || tr === 3 || tr === 2) && (tr = 4), - dr === null || (!(du & 268435455) && !(Vg & 268435455)) || Us(dr, wr); -} -function Kh(e, t) { - var n = qt; - qt |= 2; - var r = yO(); - (dr !== e || wr !== t) && ((Go = null), ru(e, t)); - do - try { - VW(); - break; - } catch (i) { - vO(e, i); - } - while (1); - if ((X9(), (qt = n), (Vh.current = r), Kn !== null)) throw Error(Pe(261)); - return (dr = null), (wr = 0), tr; -} -function VW() { - for (; Kn !== null; ) _O(Kn); -} -function WW() { - for (; Kn !== null && !bV(); ) _O(Kn); -} -function _O(e) { - var t = wO(e.alternate, e, Ni); - (e.memoizedProps = e.pendingProps), - t === null ? TO(e) : (Kn = t), - (uE.current = null); -} -function TO(e) { - var t = e; - do { - var n = t.alternate; - if (((e = t.return), t.flags & 32768)) { - if (((n = UW(n, t)), n !== null)) { - (n.flags &= 32767), (Kn = n); - return; - } - if (e !== null) - (e.flags |= 32768), (e.subtreeFlags = 0), (e.deletions = null); - else { - (tr = 6), (Kn = null); - return; - } - } else if (((n = BW(n, t, Ni)), n !== null)) { - Kn = n; - return; - } - if (((t = t.sibling), t !== null)) { - Kn = t; - return; - } - Kn = t = e; - } while (t !== null); - tr === 0 && (tr = 5); -} -function jl(e, t, n) { - var r = an, - i = ca.transition; - try { - (ca.transition = null), (an = 1), qW(e, t, n, r); - } finally { - (ca.transition = i), (an = r); - } - return null; -} -function qW(e, t, n, r) { - do L1(); - while (js !== null); - if (qt & 6) throw Error(Pe(327)); - n = e.finishedWork; - var i = e.finishedLanes; - if (n === null) return null; - if (((e.finishedWork = null), (e.finishedLanes = 0), n === e.current)) - throw Error(Pe(177)); - (e.callbackNode = null), (e.callbackPriority = 0); - var a = n.lanes | n.childLanes; - if ( - (xV(e, a), - e === dr && ((Kn = dr = null), (wr = 0)), - (!(n.subtreeFlags & 2064) && !(n.flags & 2064)) || - s0 || - ((s0 = !0), - AO(Ih, function () { - return L1(), null; - })), - (a = (n.flags & 15990) !== 0), - n.subtreeFlags & 15990 || a) - ) { - (a = ca.transition), (ca.transition = null); - var o = an; - an = 1; - var s = qt; - (qt |= 4), - (uE.current = null), - zW(e, n), - mO(n, e), - fW(j4), - (Nh = !!H4), - (j4 = H4 = null), - (e.current = n), - HW(n), - EV(), - (qt = s), - (an = o), - (ca.transition = a); - } else e.current = n; - if ( - (s0 && ((s0 = !1), (js = e), (qh = i)), - (a = e.pendingLanes), - a === 0 && (Js = null), - _V(n.stateNode), - Ei(e, jn()), - t !== null) - ) - for (r = e.onRecoverableError, n = 0; n < t.length; n++) - (i = t[n]), r(i.value, { componentStack: i.stack, digest: i.digest }); - if (Wh) throw ((Wh = !1), (e = ub), (ub = null), e); - return ( - qh & 1 && e.tag !== 0 && L1(), - (a = e.pendingLanes), - a & 1 ? (e === cb ? Td++ : ((Td = 0), (cb = e))) : (Td = 0), - bl(), - null - ); -} -function L1() { - if (js !== null) { - var e = tN(qh), - t = ca.transition, - n = an; - try { - if (((ca.transition = null), (an = 16 > e ? 16 : e), js === null)) - var r = !1; - else { - if (((e = js), (js = null), (qh = 0), qt & 6)) throw Error(Pe(331)); - var i = qt; - for (qt |= 4, nt = e.current; nt !== null; ) { - var a = nt, - o = a.child; - if (nt.flags & 16) { - var s = a.deletions; - if (s !== null) { - for (var u = 0; u < s.length; u++) { - var c = s[u]; - for (nt = c; nt !== null; ) { - var p = nt; - switch (p.tag) { - case 0: - case 11: - case 15: - yd(8, p, a); - } - var f = p.child; - if (f !== null) (f.return = p), (nt = f); - else - for (; nt !== null; ) { - p = nt; - var m = p.sibling, - g = p.return; - if ((fO(p), p === c)) { - nt = null; - break; - } - if (m !== null) { - (m.return = g), (nt = m); - break; - } - nt = g; - } - } - } - var E = a.alternate; - if (E !== null) { - var b = E.child; - if (b !== null) { - E.child = null; - do { - var T = b.sibling; - (b.sibling = null), (b = T); - } while (b !== null); - } - } - nt = a; - } - } - if (a.subtreeFlags & 2064 && o !== null) (o.return = a), (nt = o); - else - e: for (; nt !== null; ) { - if (((a = nt), a.flags & 2048)) - switch (a.tag) { - case 0: - case 11: - case 15: - yd(9, a, a.return); - } - var v = a.sibling; - if (v !== null) { - (v.return = a.return), (nt = v); - break e; - } - nt = a.return; - } - } - var y = e.current; - for (nt = y; nt !== null; ) { - o = nt; - var w = o.child; - if (o.subtreeFlags & 2064 && w !== null) (w.return = o), (nt = w); - else - e: for (o = y; nt !== null; ) { - if (((s = nt), s.flags & 2048)) - try { - switch (s.tag) { - case 0: - case 11: - case 15: - Gg(9, s); - } - } catch (D) { - Pn(s, s.return, D); - } - if (s === o) { - nt = null; - break e; - } - var A = s.sibling; - if (A !== null) { - (A.return = s.return), (nt = A); - break e; - } - nt = s.return; - } - } - if ( - ((qt = i), bl(), ho && typeof ho.onPostCommitFiberRoot == "function") - ) - try { - ho.onPostCommitFiberRoot(Fg, e); - } catch {} - r = !0; - } - return r; - } finally { - (an = n), (ca.transition = t); - } - } - return !1; -} -function _A(e, t, n) { - (t = W1(n, t)), - (t = nO(e, t, 1)), - (e = Qs(e, t, 1)), - (t = ei()), - e !== null && (vp(e, 1, t), Ei(e, t)); -} -function Pn(e, t, n) { - if (e.tag === 3) _A(e, e, n); - else - for (; t !== null; ) { - if (t.tag === 3) { - _A(t, e, n); - break; - } else if (t.tag === 1) { - var r = t.stateNode; - if ( - typeof t.type.getDerivedStateFromError == "function" || - (typeof r.componentDidCatch == "function" && - (Js === null || !Js.has(r))) - ) { - (e = W1(n, e)), - (e = rO(t, e, 1)), - (t = Qs(t, e, 1)), - (e = ei()), - t !== null && (vp(t, 1, e), Ei(t, e)); - break; - } - } - t = t.return; - } -} -function KW(e, t, n) { - var r = e.pingCache; - r !== null && r.delete(t), - (t = ei()), - (e.pingedLanes |= e.suspendedLanes & n), - dr === e && - (wr & n) === n && - (tr === 4 || (tr === 3 && (wr & 130023424) === wr && 500 > jn() - dE) - ? ru(e, 0) - : (cE |= n)), - Ei(e, t); -} -function SO(e, t) { - t === 0 && - (e.mode & 1 - ? ((t = Zf), (Zf <<= 1), !(Zf & 130023424) && (Zf = 4194304)) - : (t = 1)); - var n = ei(); - (e = es(e, t)), e !== null && (vp(e, t, n), Ei(e, n)); -} -function YW(e) { - var t = e.memoizedState, - n = 0; - t !== null && (n = t.retryLane), SO(e, n); -} -function XW(e, t) { - var n = 0; - switch (e.tag) { - case 13: - var r = e.stateNode, - i = e.memoizedState; - i !== null && (n = i.retryLane); - break; - case 19: - r = e.stateNode; - break; - default: - throw Error(Pe(314)); - } - r !== null && r.delete(t), SO(e, n); -} -var wO; -wO = function (e, t, n) { - if (e !== null) - if (e.memoizedProps !== t.pendingProps || mi.current) hi = !0; - else { - if (!(e.lanes & n) && !(t.flags & 128)) return (hi = !1), PW(e, t, n); - hi = !!(e.flags & 131072); - } - else (hi = !1), xn && t.flags & 1048576 && xN(t, Bh, t.index); - switch (((t.lanes = 0), t.tag)) { - case 2: - var r = t.type; - rh(e, t), (e = t.pendingProps); - var i = H1(t, zr.current); - D1(t, n), (i = iE(null, t, r, e, i, n)); - var a = aE(); - return ( - (t.flags |= 1), - typeof i == "object" && - i !== null && - typeof i.render == "function" && - i.$$typeof === void 0 - ? ((t.tag = 1), - (t.memoizedState = null), - (t.updateQueue = null), - bi(r) ? ((a = !0), Fh(t)) : (a = !1), - (t.memoizedState = - i.state !== null && i.state !== void 0 ? i.state : null), - J9(t), - (i.updater = Hg), - (t.stateNode = i), - (i._reactInternals = t), - Q4(t, r, e, n), - (t = tb(null, t, r, !0, a, n))) - : ((t.tag = 0), xn && a && W9(t), Xr(null, t, i, n), (t = t.child)), - t - ); - case 16: - r = t.elementType; - e: { - switch ( - (rh(e, t), - (e = t.pendingProps), - (i = r._init), - (r = i(r._payload)), - (t.type = r), - (i = t.tag = QW(r)), - (e = Da(r, e)), - i) - ) { - case 0: - t = eb(null, t, r, e, n); - break e; - case 1: - t = dA(null, t, r, e, n); - break e; - case 11: - t = uA(null, t, r, e, n); - break e; - case 14: - t = cA(null, t, r, Da(r.type, e), n); - break e; - } - throw Error(Pe(306, r, "")); - } - return t; - case 0: - return ( - (r = t.type), - (i = t.pendingProps), - (i = t.elementType === r ? i : Da(r, i)), - eb(e, t, r, i, n) - ); - case 1: - return ( - (r = t.type), - (i = t.pendingProps), - (i = t.elementType === r ? i : Da(r, i)), - dA(e, t, r, i, n) - ); - case 3: - e: { - if ((sO(t), e === null)) throw Error(Pe(387)); - (r = t.pendingProps), - (a = t.memoizedState), - (i = a.element), - NN(e, t), - zh(t, r, null, n); - var o = t.memoizedState; - if (((r = o.element), a.isDehydrated)) - if ( - ((a = { - element: r, - isDehydrated: !1, - cache: o.cache, - pendingSuspenseBoundaries: o.pendingSuspenseBoundaries, - transitions: o.transitions, - }), - (t.updateQueue.baseState = a), - (t.memoizedState = a), - t.flags & 256) - ) { - (i = W1(Error(Pe(423)), t)), (t = pA(e, t, r, n, i)); - break e; - } else if (r !== i) { - (i = W1(Error(Pe(424)), t)), (t = pA(e, t, r, n, i)); - break e; - } else - for ( - Di = Zs(t.stateNode.containerInfo.firstChild), - Li = t, - xn = !0, - Fa = null, - n = MN(t, null, r, n), - t.child = n; - n; - - ) - (n.flags = (n.flags & -3) | 4096), (n = n.sibling); - else { - if ((j1(), r === i)) { - t = ts(e, t, n); - break e; - } - Xr(e, t, r, n); - } - t = t.child; - } - return t; - case 5: - return ( - FN(t), - e === null && Y4(t), - (r = t.type), - (i = t.pendingProps), - (a = e !== null ? e.memoizedProps : null), - (o = i.children), - G4(r, i) ? (o = null) : a !== null && G4(r, a) && (t.flags |= 32), - oO(e, t), - Xr(e, t, o, n), - t.child - ); - case 6: - return e === null && Y4(t), null; - case 13: - return lO(e, t, n); - case 4: - return ( - eE(t, t.stateNode.containerInfo), - (r = t.pendingProps), - e === null ? (t.child = G1(t, null, r, n)) : Xr(e, t, r, n), - t.child - ); - case 11: - return ( - (r = t.type), - (i = t.pendingProps), - (i = t.elementType === r ? i : Da(r, i)), - uA(e, t, r, i, n) - ); - case 7: - return Xr(e, t, t.pendingProps, n), t.child; - case 8: - return Xr(e, t, t.pendingProps.children, n), t.child; - case 12: - return Xr(e, t, t.pendingProps.children, n), t.child; - case 10: - e: { - if ( - ((r = t.type._context), - (i = t.pendingProps), - (a = t.memoizedProps), - (o = i.value), - mn(Uh, r._currentValue), - (r._currentValue = o), - a !== null) - ) - if (ja(a.value, o)) { - if (a.children === i.children && !mi.current) { - t = ts(e, t, n); - break e; - } - } else - for (a = t.child, a !== null && (a.return = t); a !== null; ) { - var s = a.dependencies; - if (s !== null) { - o = a.child; - for (var u = s.firstContext; u !== null; ) { - if (u.context === r) { - if (a.tag === 1) { - (u = Xo(-1, n & -n)), (u.tag = 2); - var c = a.updateQueue; - if (c !== null) { - c = c.shared; - var p = c.pending; - p === null - ? (u.next = u) - : ((u.next = p.next), (p.next = u)), - (c.pending = u); - } - } - (a.lanes |= n), - (u = a.alternate), - u !== null && (u.lanes |= n), - X4(a.return, n, t), - (s.lanes |= n); - break; - } - u = u.next; - } - } else if (a.tag === 10) o = a.type === t.type ? null : a.child; - else if (a.tag === 18) { - if (((o = a.return), o === null)) throw Error(Pe(341)); - (o.lanes |= n), - (s = o.alternate), - s !== null && (s.lanes |= n), - X4(o, n, t), - (o = a.sibling); - } else o = a.child; - if (o !== null) o.return = a; - else - for (o = a; o !== null; ) { - if (o === t) { - o = null; - break; - } - if (((a = o.sibling), a !== null)) { - (a.return = o.return), (o = a); - break; - } - o = o.return; - } - a = o; - } - Xr(e, t, i.children, n), (t = t.child); - } - return t; - case 9: - return ( - (i = t.type), - (r = t.pendingProps.children), - D1(t, n), - (i = ha(i)), - (r = r(i)), - (t.flags |= 1), - Xr(e, t, r, n), - t.child - ); - case 14: - return ( - (r = t.type), - (i = Da(r, t.pendingProps)), - (i = Da(r.type, i)), - cA(e, t, r, i, n) - ); - case 15: - return iO(e, t, t.type, t.pendingProps, n); - case 17: - return ( - (r = t.type), - (i = t.pendingProps), - (i = t.elementType === r ? i : Da(r, i)), - rh(e, t), - (t.tag = 1), - bi(r) ? ((e = !0), Fh(t)) : (e = !1), - D1(t, n), - DN(t, r, i), - Q4(t, r, i, n), - tb(null, t, r, !0, e, n) - ); - case 19: - return uO(e, t, n); - case 22: - return aO(e, t, n); - } - throw Error(Pe(156, t.tag)); -}; -function AO(e, t) { - return ZR(e, t); -} -function ZW(e, t, n, r) { - (this.tag = e), - (this.key = n), - (this.sibling = - this.child = - this.return = - this.stateNode = - this.type = - this.elementType = - null), - (this.index = 0), - (this.ref = null), - (this.pendingProps = t), - (this.dependencies = - this.memoizedState = - this.updateQueue = - this.memoizedProps = - null), - (this.mode = r), - (this.subtreeFlags = this.flags = 0), - (this.deletions = null), - (this.childLanes = this.lanes = 0), - (this.alternate = null); -} -function ua(e, t, n, r) { - return new ZW(e, t, n, r); -} -function gE(e) { - return (e = e.prototype), !(!e || !e.isReactComponent); -} -function QW(e) { - if (typeof e == "function") return gE(e) ? 1 : 0; - if (e != null) { - if (((e = e.$$typeof), e === L9)) return 11; - if (e === M9) return 14; - } - return 2; -} -function tl(e, t) { - var n = e.alternate; - return ( - n === null - ? ((n = ua(e.tag, t, e.key, e.mode)), - (n.elementType = e.elementType), - (n.type = e.type), - (n.stateNode = e.stateNode), - (n.alternate = e), - (e.alternate = n)) - : ((n.pendingProps = t), - (n.type = e.type), - (n.flags = 0), - (n.subtreeFlags = 0), - (n.deletions = null)), - (n.flags = e.flags & 14680064), - (n.childLanes = e.childLanes), - (n.lanes = e.lanes), - (n.child = e.child), - (n.memoizedProps = e.memoizedProps), - (n.memoizedState = e.memoizedState), - (n.updateQueue = e.updateQueue), - (t = e.dependencies), - (n.dependencies = - t === null ? null : { lanes: t.lanes, firstContext: t.firstContext }), - (n.sibling = e.sibling), - (n.index = e.index), - (n.ref = e.ref), - n - ); -} -function oh(e, t, n, r, i, a) { - var o = 2; - if (((r = e), typeof e == "function")) gE(e) && (o = 1); - else if (typeof e == "string") o = 5; - else - e: switch (e) { - case o1: - return iu(n.children, i, a, t); - case D9: - (o = 8), (i |= 8); - break; - case T4: - return ( - (e = ua(12, n, t, i | 2)), (e.elementType = T4), (e.lanes = a), e - ); - case S4: - return (e = ua(13, n, t, i)), (e.elementType = S4), (e.lanes = a), e; - case w4: - return (e = ua(19, n, t, i)), (e.elementType = w4), (e.lanes = a), e; - case LR: - return Wg(n, i, a, t); - default: - if (typeof e == "object" && e !== null) - switch (e.$$typeof) { - case OR: - o = 10; - break e; - case DR: - o = 9; - break e; - case L9: - o = 11; - break e; - case M9: - o = 14; - break e; - case Ls: - (o = 16), (r = null); - break e; - } - throw Error(Pe(130, e == null ? e : typeof e, "")); - } - return ( - (t = ua(o, n, t, i)), (t.elementType = e), (t.type = r), (t.lanes = a), t - ); -} -function iu(e, t, n, r) { - return (e = ua(7, e, r, t)), (e.lanes = n), e; -} -function Wg(e, t, n, r) { - return ( - (e = ua(22, e, r, t)), - (e.elementType = LR), - (e.lanes = n), - (e.stateNode = { isHidden: !1 }), - e - ); -} -function Q5(e, t, n) { - return (e = ua(6, e, null, t)), (e.lanes = n), e; -} -function J5(e, t, n) { - return ( - (t = ua(4, e.children !== null ? e.children : [], e.key, t)), - (t.lanes = n), - (t.stateNode = { - containerInfo: e.containerInfo, - pendingChildren: null, - implementation: e.implementation, - }), - t - ); -} -function JW(e, t, n, r, i) { - (this.tag = t), - (this.containerInfo = e), - (this.finishedWork = - this.pingCache = - this.current = - this.pendingChildren = - null), - (this.timeoutHandle = -1), - (this.callbackNode = this.pendingContext = this.context = null), - (this.callbackPriority = 0), - (this.eventTimes = D5(0)), - (this.expirationTimes = D5(-1)), - (this.entangledLanes = - this.finishedLanes = - this.mutableReadLanes = - this.expiredLanes = - this.pingedLanes = - this.suspendedLanes = - this.pendingLanes = - 0), - (this.entanglements = D5(0)), - (this.identifierPrefix = r), - (this.onRecoverableError = i), - (this.mutableSourceEagerHydrationData = null); -} -function mE(e, t, n, r, i, a, o, s, u) { - return ( - (e = new JW(e, t, n, s, u)), - t === 1 ? ((t = 1), a === !0 && (t |= 8)) : (t = 0), - (a = ua(3, null, null, t)), - (e.current = a), - (a.stateNode = e), - (a.memoizedState = { - element: r, - isDehydrated: n, - cache: null, - transitions: null, - pendingSuspenseBoundaries: null, - }), - J9(a), - e - ); -} -function eq(e, t, n) { - var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; - return { - $$typeof: a1, - key: r == null ? null : "" + r, - children: e, - containerInfo: t, - implementation: n, - }; -} -function CO(e) { - if (!e) return ul; - e = e._reactInternals; - e: { - if (yu(e) !== e || e.tag !== 1) throw Error(Pe(170)); - var t = e; - do { - switch (t.tag) { - case 3: - t = t.stateNode.context; - break e; - case 1: - if (bi(t.type)) { - t = t.stateNode.__reactInternalMemoizedMergedChildContext; - break e; - } - } - t = t.return; - } while (t !== null); - throw Error(Pe(171)); - } - if (e.tag === 1) { - var n = e.type; - if (bi(n)) return AN(e, n, t); - } - return t; -} -function xO(e, t, n, r, i, a, o, s, u) { - return ( - (e = mE(n, r, !0, e, i, a, o, s, u)), - (e.context = CO(null)), - (n = e.current), - (r = ei()), - (i = el(n)), - (a = Xo(r, i)), - (a.callback = t ?? null), - Qs(n, a, i), - (e.current.lanes = i), - vp(e, i, r), - Ei(e, r), - e - ); -} -function qg(e, t, n, r) { - var i = t.current, - a = ei(), - o = el(i); - return ( - (n = CO(n)), - t.context === null ? (t.context = n) : (t.pendingContext = n), - (t = Xo(a, o)), - (t.payload = { element: e }), - (r = r === void 0 ? null : r), - r !== null && (t.callback = r), - (e = Qs(i, t, o)), - e !== null && (za(e, i, o, a), eh(e, i, o)), - o - ); -} -function Yh(e) { - if (((e = e.current), !e.child)) return null; - switch (e.child.tag) { - case 5: - return e.child.stateNode; - default: - return e.child.stateNode; - } -} -function TA(e, t) { - if (((e = e.memoizedState), e !== null && e.dehydrated !== null)) { - var n = e.retryLane; - e.retryLane = n !== 0 && n < t ? n : t; - } -} -function bE(e, t) { - TA(e, t), (e = e.alternate) && TA(e, t); -} -function tq() { - return null; -} -var kO = - typeof reportError == "function" - ? reportError - : function (e) { - console.error(e); - }; -function EE(e) { - this._internalRoot = e; -} -Kg.prototype.render = EE.prototype.render = function (e) { - var t = this._internalRoot; - if (t === null) throw Error(Pe(409)); - qg(e, t, null, null); -}; -Kg.prototype.unmount = EE.prototype.unmount = function () { - var e = this._internalRoot; - if (e !== null) { - this._internalRoot = null; - var t = e.containerInfo; - pu(function () { - qg(null, e, null, null); - }), - (t[Jo] = null); - } -}; -function Kg(e) { - this._internalRoot = e; -} -Kg.prototype.unstable_scheduleHydration = function (e) { - if (e) { - var t = iN(); - e = { blockedOn: null, target: e, priority: t }; - for (var n = 0; n < Bs.length && t !== 0 && t < Bs[n].priority; n++); - Bs.splice(n, 0, e), n === 0 && oN(e); - } -}; -function vE(e) { - return !(!e || (e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)); -} -function Yg(e) { - return !( - !e || - (e.nodeType !== 1 && - e.nodeType !== 9 && - e.nodeType !== 11 && - (e.nodeType !== 8 || e.nodeValue !== " react-mount-point-unstable ")) - ); -} -function SA() {} -function nq(e, t, n, r, i) { - if (i) { - if (typeof r == "function") { - var a = r; - r = function () { - var c = Yh(o); - a.call(c); - }; - } - var o = xO(t, r, e, 0, null, !1, !1, "", SA); - return ( - (e._reactRootContainer = o), - (e[Jo] = o.current), - Kd(e.nodeType === 8 ? e.parentNode : e), - pu(), - o - ); - } - for (; (i = e.lastChild); ) e.removeChild(i); - if (typeof r == "function") { - var s = r; - r = function () { - var c = Yh(u); - s.call(c); - }; - } - var u = mE(e, 0, !1, null, null, !1, !1, "", SA); - return ( - (e._reactRootContainer = u), - (e[Jo] = u.current), - Kd(e.nodeType === 8 ? e.parentNode : e), - pu(function () { - qg(t, u, n, r); - }), - u - ); -} -function Xg(e, t, n, r, i) { - var a = n._reactRootContainer; - if (a) { - var o = a; - if (typeof i == "function") { - var s = i; - i = function () { - var u = Yh(o); - s.call(u); - }; - } - qg(t, o, e, i); - } else o = nq(n, t, e, i, r); - return Yh(o); -} -nN = function (e) { - switch (e.tag) { - case 3: - var t = e.stateNode; - if (t.current.memoizedState.isDehydrated) { - var n = ld(t.pendingLanes); - n !== 0 && - (B9(t, n | 1), Ei(t, jn()), !(qt & 6) && ((q1 = jn() + 500), bl())); - } - break; - case 13: - pu(function () { - var r = es(e, 1); - if (r !== null) { - var i = ei(); - za(r, e, 1, i); - } - }), - bE(e, 1); - } -}; -U9 = function (e) { - if (e.tag === 13) { - var t = es(e, 134217728); - if (t !== null) { - var n = ei(); - za(t, e, 134217728, n); - } - bE(e, 134217728); - } -}; -rN = function (e) { - if (e.tag === 13) { - var t = el(e), - n = es(e, t); - if (n !== null) { - var r = ei(); - za(n, e, t, r); - } - bE(e, t); - } -}; -iN = function () { - return an; -}; -aN = function (e, t) { - var n = an; - try { - return (an = e), t(); - } finally { - an = n; - } -}; -L4 = function (e, t, n) { - switch (t) { - case "input": - if ((x4(e, n), (t = n.name), n.type === "radio" && t != null)) { - for (n = e; n.parentNode; ) n = n.parentNode; - for ( - n = n.querySelectorAll( - "input[name=" + JSON.stringify("" + t) + '][type="radio"]' - ), - t = 0; - t < n.length; - t++ - ) { - var r = n[t]; - if (r !== e && r.form === e.form) { - var i = $g(r); - if (!i) throw Error(Pe(90)); - FR(r), x4(r, i); - } - } - } - break; - case "textarea": - BR(e, n); - break; - case "select": - (t = n.value), t != null && I1(e, !!n.multiple, t, !1); - } -}; -VR = pE; -WR = pu; -var rq = { usingClientEntryPoint: !1, Events: [_p, c1, $g, jR, GR, pE] }, - zc = { - findFiberByHostInstance: Xl, - bundleType: 0, - version: "18.2.0", - rendererPackageName: "react-dom", - }, - iq = { - bundleType: zc.bundleType, - version: zc.version, - rendererPackageName: zc.rendererPackageName, - rendererConfig: zc.rendererConfig, - overrideHookState: null, - overrideHookStateDeletePath: null, - overrideHookStateRenamePath: null, - overrideProps: null, - overridePropsDeletePath: null, - overridePropsRenamePath: null, - setErrorHandler: null, - setSuspenseHandler: null, - scheduleUpdate: null, - currentDispatcherRef: os.ReactCurrentDispatcher, - findHostInstanceByFiber: function (e) { - return (e = YR(e)), e === null ? null : e.stateNode; - }, - findFiberByHostInstance: zc.findFiberByHostInstance || tq, - findHostInstancesForRefresh: null, - scheduleRefresh: null, - scheduleRoot: null, - setRefreshHandler: null, - getCurrentFiber: null, - reconcilerVersion: "18.2.0-next-9e3b772b8-20220608", - }; -if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") { - var l0 = __REACT_DEVTOOLS_GLOBAL_HOOK__; - if (!l0.isDisabled && l0.supportsFiber) - try { - (Fg = l0.inject(iq)), (ho = l0); - } catch {} -} -ji.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = rq; -ji.createPortal = function (e, t) { - var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; - if (!vE(t)) throw Error(Pe(200)); - return eq(e, t, null, n); -}; -ji.createRoot = function (e, t) { - if (!vE(e)) throw Error(Pe(299)); - var n = !1, - r = "", - i = kO; - return ( - t != null && - (t.unstable_strictMode === !0 && (n = !0), - t.identifierPrefix !== void 0 && (r = t.identifierPrefix), - t.onRecoverableError !== void 0 && (i = t.onRecoverableError)), - (t = mE(e, 1, !1, null, null, n, !1, r, i)), - (e[Jo] = t.current), - Kd(e.nodeType === 8 ? e.parentNode : e), - new EE(t) - ); -}; -ji.findDOMNode = function (e) { - if (e == null) return null; - if (e.nodeType === 1) return e; - var t = e._reactInternals; - if (t === void 0) - throw typeof e.render == "function" - ? Error(Pe(188)) - : ((e = Object.keys(e).join(",")), Error(Pe(268, e))); - return (e = YR(t)), (e = e === null ? null : e.stateNode), e; -}; -ji.flushSync = function (e) { - return pu(e); -}; -ji.hydrate = function (e, t, n) { - if (!Yg(t)) throw Error(Pe(200)); - return Xg(null, e, t, !0, n); -}; -ji.hydrateRoot = function (e, t, n) { - if (!vE(e)) throw Error(Pe(405)); - var r = (n != null && n.hydratedSources) || null, - i = !1, - a = "", - o = kO; - if ( - (n != null && - (n.unstable_strictMode === !0 && (i = !0), - n.identifierPrefix !== void 0 && (a = n.identifierPrefix), - n.onRecoverableError !== void 0 && (o = n.onRecoverableError)), - (t = xO(t, null, e, 1, n ?? null, i, !1, a, o)), - (e[Jo] = t.current), - Kd(e), - r) - ) - for (e = 0; e < r.length; e++) - (n = r[e]), - (i = n._getVersion), - (i = i(n._source)), - t.mutableSourceEagerHydrationData == null - ? (t.mutableSourceEagerHydrationData = [n, i]) - : t.mutableSourceEagerHydrationData.push(n, i); - return new Kg(t); -}; -ji.render = function (e, t, n) { - if (!Yg(t)) throw Error(Pe(200)); - return Xg(null, e, t, !1, n); -}; -ji.unmountComponentAtNode = function (e) { - if (!Yg(e)) throw Error(Pe(40)); - return e._reactRootContainer - ? (pu(function () { - Xg(null, null, e, !1, function () { - (e._reactRootContainer = null), (e[Jo] = null); - }); - }), - !0) - : !1; -}; -ji.unstable_batchedUpdates = pE; -ji.unstable_renderSubtreeIntoContainer = function (e, t, n, r) { - if (!Yg(n)) throw Error(Pe(200)); - if (e == null || e._reactInternals === void 0) throw Error(Pe(38)); - return Xg(e, t, n, !1, r); -}; -ji.version = "18.2.0-next-9e3b772b8-20220608"; -function IO() { - if ( - !( - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function" - ) - ) - try { - __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(IO); - } catch (e) { - console.error(e); - } -} -IO(), (xR.exports = ji); -var yE = xR.exports; -const _E = Hi(yE); -var wA = yE; -(y4.createRoot = wA.createRoot), (y4.hydrateRoot = wA.hydrateRoot); -var RO = { exports: {} }, - on = {}; -/** + */var RR=C,Bi=nV;function Pe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_4=Object.prototype.hasOwnProperty,rV=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,vw={},yw={};function iV(e){return _4.call(yw,e)?!0:_4.call(vw,e)?!1:rV.test(e)?yw[e]=!0:(vw[e]=!0,!1)}function aV(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function oV(e,t,n,r){if(t===null||typeof t>"u"||aV(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ri(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var Cr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Cr[e]=new ri(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Cr[t]=new ri(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Cr[e]=new ri(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Cr[e]=new ri(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Cr[e]=new ri(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Cr[e]=new ri(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Cr[e]=new ri(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Cr[e]=new ri(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Cr[e]=new ri(e,5,!1,e.toLowerCase(),null,!1,!1)});var R9=/[\-:]([a-z])/g;function N9(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(R9,N9);Cr[t]=new ri(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(R9,N9);Cr[t]=new ri(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(R9,N9);Cr[t]=new ri(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Cr[e]=new ri(e,1,!1,e.toLowerCase(),null,!1,!1)});Cr.xlinkHref=new ri("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Cr[e]=new ri(e,1,!1,e.toLowerCase(),null,!0,!0)});function O9(e,t,n,r){var i=Cr.hasOwnProperty(t)?Cr[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==a[s]){var u=` +`+i[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{R5=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?od(e):""}function sV(e){switch(e.tag){case 5:return od(e.type);case 16:return od("Lazy");case 13:return od("Suspense");case 19:return od("SuspenseList");case 0:case 2:case 15:return e=N5(e.type,!1),e;case 11:return e=N5(e.type.render,!1),e;case 1:return e=N5(e.type,!0),e;default:return""}}function A4(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case o1:return"Fragment";case a1:return"Portal";case T4:return"Profiler";case D9:return"StrictMode";case S4:return"Suspense";case w4:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case DR:return(e.displayName||"Context")+".Consumer";case OR:return(e._context.displayName||"Context")+".Provider";case L9:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case M9:return t=e.displayName||null,t!==null?t:A4(e.type)||"Memo";case Ls:t=e._payload,e=e._init;try{return A4(e(t))}catch{}}return null}function lV(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return A4(t);case 8:return t===D9?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ll(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function MR(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function uV(e){var t=MR(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Kf(e){e._valueTracker||(e._valueTracker=uV(e))}function FR(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=MR(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ch(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function C4(e,t){var n=t.checked;return Dn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Tw(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ll(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function PR(e,t){t=t.checked,t!=null&&O9(e,"checked",t,!1)}function x4(e,t){PR(e,t);var n=ll(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?k4(e,t.type,n):t.hasOwnProperty("defaultValue")&&k4(e,t.type,ll(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Sw(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function k4(e,t,n){(t!=="number"||Ch(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var sd=Array.isArray;function I1(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Yf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zd(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var hd={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},cV=["Webkit","ms","Moz","O"];Object.keys(hd).forEach(function(e){cV.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),hd[t]=hd[e]})});function zR(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||hd.hasOwnProperty(e)&&hd[e]?(""+t).trim():t+"px"}function HR(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=zR(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var dV=Dn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function N4(e,t){if(t){if(dV[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Pe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Pe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Pe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Pe(62))}}function O4(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var D4=null;function F9(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var L4=null,R1=null,N1=null;function Cw(e){if(e=_p(e)){if(typeof L4!="function")throw Error(Pe(280));var t=e.stateNode;t&&(t=$g(t),L4(e.stateNode,e.type,t))}}function jR(e){R1?N1?N1.push(e):N1=[e]:R1=e}function GR(){if(R1){var e=R1,t=N1;if(N1=R1=null,Cw(e),t)for(e=0;e>>=0,e===0?32:31-(TV(e)/SV|0)|0}var Xf=64,Zf=4194304;function ld(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Rh(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=ld(s):(a&=o,a!==0&&(r=ld(a)))}else o=n&~i,o!==0?r=ld(o):a!==0&&(r=ld(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function vp(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-$a(t),e[t]=n}function xV(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=md),Mw=String.fromCharCode(32),Fw=!1;function cN(e,t){switch(e){case"keyup":return tW.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dN(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var s1=!1;function rW(e,t){switch(e){case"compositionend":return dN(t);case"keypress":return t.which!==32?null:(Fw=!0,Mw);case"textInput":return e=t.data,e===Mw&&Fw?null:e;default:return null}}function iW(e,t){if(s1)return e==="compositionend"||!G9&&cN(e,t)?(e=lN(),Q0=z9=Hs=null,s1=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=$w(n)}}function gN(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?gN(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function mN(){for(var e=window,t=Ch();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ch(e.document)}return t}function V9(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function fW(e){var t=mN(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&gN(n.ownerDocument.documentElement,n)){if(r!==null&&V9(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=zw(n,a);var o=zw(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,l1=null,$4=null,Ed=null,z4=!1;function Hw(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;z4||l1==null||l1!==Ch(r)||(r=l1,"selectionStart"in r&&V9(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ed&&qd(Ed,r)||(Ed=r,r=Dh($4,"onSelect"),0d1||(e.current=q4[d1],q4[d1]=null,d1--)}function mn(e,t){d1++,q4[d1]=e.current,e.current=t}var ul={},zr=ml(ul),mi=ml(!1),lu=ul;function H1(e,t){var n=e.type.contextTypes;if(!n)return ul;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function bi(e){return e=e.childContextTypes,e!=null}function Mh(){Sn(mi),Sn(zr)}function Yw(e,t,n){if(zr.current!==ul)throw Error(Pe(168));mn(zr,t),mn(mi,n)}function AN(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Pe(108,lV(e)||"Unknown",i));return Dn({},n,r)}function Fh(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ul,lu=zr.current,mn(zr,e),mn(mi,mi.current),!0}function Xw(e,t,n){var r=e.stateNode;if(!r)throw Error(Pe(169));n?(e=AN(e,t,lu),r.__reactInternalMemoizedMergedChildContext=e,Sn(mi),Sn(zr),mn(zr,e)):Sn(mi),mn(mi,n)}var Vo=null,zg=!1,V5=!1;function CN(e){Vo===null?Vo=[e]:Vo.push(e)}function AW(e){zg=!0,CN(e)}function bl(){if(!V5&&Vo!==null){V5=!0;var e=0,t=an;try{var n=Vo;for(an=1;e>=o,i-=o,qo=1<<32-$a(t)+i|n<B?(W=R,R=null):W=R.sibling;var P=m(v,R,w[B],A);if(P===null){R===null&&(R=W);break}e&&R&&P.alternate===null&&t(v,R),y=a(P,y,B),k===null?D=P:k.sibling=P,k=P,R=W}if(B===w.length)return n(v,R),xn&&Hl(v,B),D;if(R===null){for(;BB?(W=R,R=null):W=R.sibling;var Q=m(v,R,P.value,A);if(Q===null){R===null&&(R=W);break}e&&R&&Q.alternate===null&&t(v,R),y=a(Q,y,B),k===null?D=Q:k.sibling=Q,k=Q,R=W}if(P.done)return n(v,R),xn&&Hl(v,B),D;if(R===null){for(;!P.done;B++,P=w.next())P=f(v,P.value,A),P!==null&&(y=a(P,y,B),k===null?D=P:k.sibling=P,k=P);return xn&&Hl(v,B),D}for(R=r(v,R);!P.done;B++,P=w.next())P=g(R,v,B,P.value,A),P!==null&&(e&&P.alternate!==null&&R.delete(P.key===null?B:P.key),y=a(P,y,B),k===null?D=P:k.sibling=P,k=P);return e&&R.forEach(function(z){return t(v,z)}),xn&&Hl(v,B),D}function T(v,y,w,A){if(typeof w=="object"&&w!==null&&w.type===o1&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case qf:e:{for(var D=w.key,k=y;k!==null;){if(k.key===D){if(D=w.type,D===o1){if(k.tag===7){n(v,k.sibling),y=i(k,w.props.children),y.return=v,v=y;break e}}else if(k.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Ls&&rA(D)===k.type){n(v,k.sibling),y=i(k,w.props),y.ref=Uc(v,k,w),y.return=v,v=y;break e}n(v,k);break}else t(v,k);k=k.sibling}w.type===o1?(y=iu(w.props.children,v.mode,A,w.key),y.return=v,v=y):(A=oh(w.type,w.key,w.props,null,v.mode,A),A.ref=Uc(v,y,w),A.return=v,v=A)}return o(v);case a1:e:{for(k=w.key;y!==null;){if(y.key===k)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){n(v,y.sibling),y=i(y,w.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=J5(w,v.mode,A),y.return=v,v=y}return o(v);case Ls:return k=w._init,T(v,y,k(w._payload),A)}if(sd(w))return E(v,y,w,A);if(Lc(w))return b(v,y,w,A);i0(v,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,y!==null&&y.tag===6?(n(v,y.sibling),y=i(y,w),y.return=v,v=y):(n(v,y),y=Q5(w,v.mode,A),y.return=v,v=y),o(v)):n(v,y)}return T}var G1=LN(!0),MN=LN(!1),Tp={},go=ml(Tp),Zd=ml(Tp),Qd=ml(Tp);function Ql(e){if(e===Tp)throw Error(Pe(174));return e}function eE(e,t){switch(mn(Qd,t),mn(Zd,e),mn(go,Tp),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:R4(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=R4(t,e)}Sn(go),mn(go,t)}function V1(){Sn(go),Sn(Zd),Sn(Qd)}function FN(e){Ql(Qd.current);var t=Ql(go.current),n=R4(t,e.type);t!==n&&(mn(Zd,e),mn(go,n))}function tE(e){Zd.current===e&&(Sn(go),Sn(Zd))}var Nn=ml(0);function Hh(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var W5=[];function nE(){for(var e=0;en?n:4,e(!0);var r=q5.transition;q5.transition={};try{e(!1),t()}finally{an=n,q5.transition=r}}function QN(){return ga().memoizedState}function IW(e,t,n){var r=el(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},JN(e))eO(t,n);else if(n=RN(e,t,n,r),n!==null){var i=ei();za(n,e,r,i),tO(n,t,r)}}function RW(e,t,n){var r=el(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(JN(e))eO(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,ja(s,o)){var u=t.interleaved;u===null?(i.next=i,Q9(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=RN(e,t,i,r),n!==null&&(i=ei(),za(n,e,r,i),tO(n,t,r))}}function JN(e){var t=e.alternate;return e===On||t!==null&&t===On}function eO(e,t){vd=jh=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function tO(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,B9(e,n)}}var Gh={readContext:ha,useCallback:Lr,useContext:Lr,useEffect:Lr,useImperativeHandle:Lr,useInsertionEffect:Lr,useLayoutEffect:Lr,useMemo:Lr,useReducer:Lr,useRef:Lr,useState:Lr,useDebugValue:Lr,useDeferredValue:Lr,useTransition:Lr,useMutableSource:Lr,useSyncExternalStore:Lr,useId:Lr,unstable_isNewReconciler:!1},NW={readContext:ha,useCallback:function(e,t){return io().memoizedState=[e,t===void 0?null:t],e},useContext:ha,useEffect:aA,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,nh(4194308,4,qN.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nh(4194308,4,e,t)},useInsertionEffect:function(e,t){return nh(4,2,e,t)},useMemo:function(e,t){var n=io();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=io();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=IW.bind(null,On,e),[r.memoizedState,e]},useRef:function(e){var t=io();return e={current:e},t.memoizedState=e},useState:iA,useDebugValue:sE,useDeferredValue:function(e){return io().memoizedState=e},useTransition:function(){var e=iA(!1),t=e[0];return e=kW.bind(null,e[1]),io().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=On,i=io();if(xn){if(n===void 0)throw Error(Pe(407));n=n()}else{if(n=t(),dr===null)throw Error(Pe(349));cu&30||UN(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,aA(zN.bind(null,r,a,e),[e]),r.flags|=2048,tp(9,$N.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=io(),t=dr.identifierPrefix;if(xn){var n=Ko,r=qo;n=(r&~(1<<32-$a(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Jd++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[lo]=t,e[Xd]=r,cO(e,t,!1,!1),t.stateNode=e;e:{switch(o=O4(n,r),n){case"dialog":yn("cancel",e),yn("close",e),i=r;break;case"iframe":case"object":case"embed":yn("load",e),i=r;break;case"video":case"audio":for(i=0;iq1&&(t.flags|=128,r=!0,$c(a,!1),t.lanes=4194304)}else{if(!r)if(e=Hh(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$c(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!xn)return Mr(t),null}else 2*jn()-a.renderingStartTime>q1&&n!==1073741824&&(t.flags|=128,r=!0,$c(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=jn(),t.sibling=null,n=Nn.current,mn(Nn,r?n&1|2:n&1),t):(Mr(t),null);case 22:case 23:return fE(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ni&1073741824&&(Mr(t),t.subtreeFlags&6&&(t.flags|=8192)):Mr(t),null;case 24:return null;case 25:return null}throw Error(Pe(156,t.tag))}function UW(e,t){switch(q9(t),t.tag){case 1:return bi(t.type)&&Mh(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return V1(),Sn(mi),Sn(zr),nE(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return tE(t),null;case 13:if(Sn(Nn),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Pe(340));j1()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Sn(Nn),null;case 4:return V1(),null;case 10:return Z9(t.type._context),null;case 22:case 23:return fE(),null;case 24:return null;default:return null}}var o0=!1,Br=!1,$W=typeof WeakSet=="function"?WeakSet:Set,nt=null;function g1(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Pn(e,t,r)}else n.current=null}function ab(e,t,n){try{n()}catch(r){Pn(e,t,r)}}var hA=!1;function zW(e,t){if(H4=Nh,e=mN(),V9(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,c=0,p=0,f=e,m=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(s=o+i),f!==a||r!==0&&f.nodeType!==3||(u=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(g=f.firstChild)!==null;)m=f,f=g;for(;;){if(f===e)break t;if(m===n&&++c===i&&(s=o),m===a&&++p===r&&(u=o),(g=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=g}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(j4={focusedElem:e,selectionRange:n},Nh=!1,nt=t;nt!==null;)if(t=nt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,nt=e;else for(;nt!==null;){t=nt;try{var E=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var b=E.memoizedProps,T=E.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?b:Da(t.type,b),T);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Pe(163))}}catch(A){Pn(t,t.return,A)}if(e=t.sibling,e!==null){e.return=t.return,nt=e;break}nt=t.return}return E=hA,hA=!1,E}function yd(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&ab(t,n,a)}i=i.next}while(i!==r)}}function Gg(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ob(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function fO(e){var t=e.alternate;t!==null&&(e.alternate=null,fO(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[lo],delete t[Xd],delete t[W4],delete t[SW],delete t[wW])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hO(e){return e.tag===5||e.tag===3||e.tag===4}function gA(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hO(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function sb(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Lh));else if(r!==4&&(e=e.child,e!==null))for(sb(e,t,n),e=e.sibling;e!==null;)sb(e,t,n),e=e.sibling}function lb(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(lb(e,t,n),e=e.sibling;e!==null;)lb(e,t,n),e=e.sibling}var Er=null,La=!1;function ws(e,t,n){for(n=n.child;n!==null;)gO(e,t,n),n=n.sibling}function gO(e,t,n){if(ho&&typeof ho.onCommitFiberUnmount=="function")try{ho.onCommitFiberUnmount(Fg,n)}catch{}switch(n.tag){case 5:Br||g1(n,t);case 6:var r=Er,i=La;Er=null,ws(e,t,n),Er=r,La=i,Er!==null&&(La?(e=Er,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Er.removeChild(n.stateNode));break;case 18:Er!==null&&(La?(e=Er,n=n.stateNode,e.nodeType===8?G5(e.parentNode,n):e.nodeType===1&&G5(e,n),Vd(e)):G5(Er,n.stateNode));break;case 4:r=Er,i=La,Er=n.stateNode.containerInfo,La=!0,ws(e,t,n),Er=r,La=i;break;case 0:case 11:case 14:case 15:if(!Br&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&ab(n,t,o),i=i.next}while(i!==r)}ws(e,t,n);break;case 1:if(!Br&&(g1(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Pn(n,t,s)}ws(e,t,n);break;case 21:ws(e,t,n);break;case 22:n.mode&1?(Br=(r=Br)||n.memoizedState!==null,ws(e,t,n),Br=r):ws(e,t,n);break;default:ws(e,t,n)}}function mA(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $W),t.forEach(function(r){var i=XW.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function xa(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=jn()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jW(r/1960))-r,10e?16:e,js===null)var r=!1;else{if(e=js,js=null,qh=0,qt&6)throw Error(Pe(331));var i=qt;for(qt|=4,nt=e.current;nt!==null;){var a=nt,o=a.child;if(nt.flags&16){var s=a.deletions;if(s!==null){for(var u=0;ujn()-dE?ru(e,0):cE|=n),Ei(e,t)}function SO(e,t){t===0&&(e.mode&1?(t=Zf,Zf<<=1,!(Zf&130023424)&&(Zf=4194304)):t=1);var n=ei();e=es(e,t),e!==null&&(vp(e,t,n),Ei(e,n))}function YW(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),SO(e,n)}function XW(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Pe(314))}r!==null&&r.delete(t),SO(e,n)}var wO;wO=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||mi.current)hi=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return hi=!1,PW(e,t,n);hi=!!(e.flags&131072)}else hi=!1,xn&&t.flags&1048576&&xN(t,Bh,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;rh(e,t),e=t.pendingProps;var i=H1(t,zr.current);D1(t,n),i=iE(null,t,r,e,i,n);var a=aE();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,bi(r)?(a=!0,Fh(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,J9(t),i.updater=Hg,t.stateNode=i,i._reactInternals=t,Q4(t,r,e,n),t=tb(null,t,r,!0,a,n)):(t.tag=0,xn&&a&&W9(t),Xr(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(rh(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=QW(r),e=Da(r,e),i){case 0:t=eb(null,t,r,e,n);break e;case 1:t=dA(null,t,r,e,n);break e;case 11:t=uA(null,t,r,e,n);break e;case 14:t=cA(null,t,r,Da(r.type,e),n);break e}throw Error(Pe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Da(r,i),eb(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Da(r,i),dA(e,t,r,i,n);case 3:e:{if(sO(t),e===null)throw Error(Pe(387));r=t.pendingProps,a=t.memoizedState,i=a.element,NN(e,t),zh(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=W1(Error(Pe(423)),t),t=pA(e,t,r,n,i);break e}else if(r!==i){i=W1(Error(Pe(424)),t),t=pA(e,t,r,n,i);break e}else for(Di=Zs(t.stateNode.containerInfo.firstChild),Li=t,xn=!0,Fa=null,n=MN(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(j1(),r===i){t=ts(e,t,n);break e}Xr(e,t,r,n)}t=t.child}return t;case 5:return FN(t),e===null&&Y4(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,G4(r,i)?o=null:a!==null&&G4(r,a)&&(t.flags|=32),oO(e,t),Xr(e,t,o,n),t.child;case 6:return e===null&&Y4(t),null;case 13:return lO(e,t,n);case 4:return eE(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=G1(t,null,r,n):Xr(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Da(r,i),uA(e,t,r,i,n);case 7:return Xr(e,t,t.pendingProps,n),t.child;case 8:return Xr(e,t,t.pendingProps.children,n),t.child;case 12:return Xr(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,mn(Uh,r._currentValue),r._currentValue=o,a!==null)if(ja(a.value,o)){if(a.children===i.children&&!mi.current){t=ts(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(a.tag===1){u=Xo(-1,n&-n),u.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var p=c.pending;p===null?u.next=u:(u.next=p.next,p.next=u),c.pending=u}}a.lanes|=n,u=a.alternate,u!==null&&(u.lanes|=n),X4(a.return,n,t),s.lanes|=n;break}u=u.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(Pe(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),X4(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}Xr(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,D1(t,n),i=ha(i),r=r(i),t.flags|=1,Xr(e,t,r,n),t.child;case 14:return r=t.type,i=Da(r,t.pendingProps),i=Da(r.type,i),cA(e,t,r,i,n);case 15:return iO(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Da(r,i),rh(e,t),t.tag=1,bi(r)?(e=!0,Fh(t)):e=!1,D1(t,n),DN(t,r,i),Q4(t,r,i,n),tb(null,t,r,!0,e,n);case 19:return uO(e,t,n);case 22:return aO(e,t,n)}throw Error(Pe(156,t.tag))};function AO(e,t){return ZR(e,t)}function ZW(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ua(e,t,n,r){return new ZW(e,t,n,r)}function gE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function QW(e){if(typeof e=="function")return gE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===L9)return 11;if(e===M9)return 14}return 2}function tl(e,t){var n=e.alternate;return n===null?(n=ua(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function oh(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")gE(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case o1:return iu(n.children,i,a,t);case D9:o=8,i|=8;break;case T4:return e=ua(12,n,t,i|2),e.elementType=T4,e.lanes=a,e;case S4:return e=ua(13,n,t,i),e.elementType=S4,e.lanes=a,e;case w4:return e=ua(19,n,t,i),e.elementType=w4,e.lanes=a,e;case LR:return Wg(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case OR:o=10;break e;case DR:o=9;break e;case L9:o=11;break e;case M9:o=14;break e;case Ls:o=16,r=null;break e}throw Error(Pe(130,e==null?e:typeof e,""))}return t=ua(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function iu(e,t,n,r){return e=ua(7,e,r,t),e.lanes=n,e}function Wg(e,t,n,r){return e=ua(22,e,r,t),e.elementType=LR,e.lanes=n,e.stateNode={isHidden:!1},e}function Q5(e,t,n){return e=ua(6,e,null,t),e.lanes=n,e}function J5(e,t,n){return t=ua(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function JW(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=D5(0),this.expirationTimes=D5(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=D5(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function mE(e,t,n,r,i,a,o,s,u){return e=new JW(e,t,n,s,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=ua(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},J9(a),e}function eq(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(IO)}catch(e){console.error(e)}}IO(),xR.exports=ji;var yE=xR.exports;const _E=Hi(yE);var wA=yE;y4.createRoot=wA.createRoot,y4.hydrateRoot=wA.hydrateRoot;var RO={exports:{}},on={};/** * @license React * react-is.production.min.js * @@ -9051,3907 +45,27 @@ var RO = { exports: {} }, * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ var TE = Symbol.for("react.element"), - SE = Symbol.for("react.portal"), - Zg = Symbol.for("react.fragment"), - Qg = Symbol.for("react.strict_mode"), - Jg = Symbol.for("react.profiler"), - e2 = Symbol.for("react.provider"), - t2 = Symbol.for("react.context"), - aq = Symbol.for("react.server_context"), - n2 = Symbol.for("react.forward_ref"), - r2 = Symbol.for("react.suspense"), - i2 = Symbol.for("react.suspense_list"), - a2 = Symbol.for("react.memo"), - o2 = Symbol.for("react.lazy"), - oq = Symbol.for("react.offscreen"), - NO; -NO = Symbol.for("react.module.reference"); -function Ea(e) { - if (typeof e == "object" && e !== null) { - var t = e.$$typeof; - switch (t) { - case TE: - switch (((e = e.type), e)) { - case Zg: - case Jg: - case Qg: - case r2: - case i2: - return e; - default: - switch (((e = e && e.$$typeof), e)) { - case aq: - case t2: - case n2: - case o2: - case a2: - case e2: - return e; - default: - return t; - } - } - case SE: - return t; - } - } -} -on.ContextConsumer = t2; -on.ContextProvider = e2; -on.Element = TE; -on.ForwardRef = n2; -on.Fragment = Zg; -on.Lazy = o2; -on.Memo = a2; -on.Portal = SE; -on.Profiler = Jg; -on.StrictMode = Qg; -on.Suspense = r2; -on.SuspenseList = i2; -on.isAsyncMode = function () { - return !1; -}; -on.isConcurrentMode = function () { - return !1; -}; -on.isContextConsumer = function (e) { - return Ea(e) === t2; -}; -on.isContextProvider = function (e) { - return Ea(e) === e2; -}; -on.isElement = function (e) { - return typeof e == "object" && e !== null && e.$$typeof === TE; -}; -on.isForwardRef = function (e) { - return Ea(e) === n2; -}; -on.isFragment = function (e) { - return Ea(e) === Zg; -}; -on.isLazy = function (e) { - return Ea(e) === o2; -}; -on.isMemo = function (e) { - return Ea(e) === a2; -}; -on.isPortal = function (e) { - return Ea(e) === SE; -}; -on.isProfiler = function (e) { - return Ea(e) === Jg; -}; -on.isStrictMode = function (e) { - return Ea(e) === Qg; -}; -on.isSuspense = function (e) { - return Ea(e) === r2; -}; -on.isSuspenseList = function (e) { - return Ea(e) === i2; -}; -on.isValidElementType = function (e) { - return ( - typeof e == "string" || - typeof e == "function" || - e === Zg || - e === Jg || - e === Qg || - e === r2 || - e === i2 || - e === oq || - (typeof e == "object" && - e !== null && - (e.$$typeof === o2 || - e.$$typeof === a2 || - e.$$typeof === e2 || - e.$$typeof === t2 || - e.$$typeof === n2 || - e.$$typeof === NO || - e.getModuleId !== void 0)) - ); -}; -on.typeOf = Ea; -RO.exports = on; -var wE = RO.exports; -const sq = Hi(wE); -function lq(e) { - function t(oe, O, re, Te, K) { - for ( - var xe = 0, - ne = 0, - Le = 0, - Re = 0, - Xe, - Ve, - dt = 0, - ot = 0, - Ge, - pt = (Ge = Xe = 0), - U = 0, - ie = 0, - pe = 0, - ke = 0, - ve = re.length, - Se = ve - 1, - Me, - ze = "", - Ke = "", - jt = "", - ue = "", - ye; - U < ve; - - ) { - if ( - ((Ve = re.charCodeAt(U)), - U === Se && - ne + Re + Le + xe !== 0 && - (ne !== 0 && (Ve = ne === 47 ? 10 : 47), - (Re = Le = xe = 0), - ve++, - Se++), - ne + Re + Le + xe === 0) - ) { - if ( - U === Se && - (0 < ie && (ze = ze.replace(m, "")), 0 < ze.trim().length) - ) { - switch (Ve) { - case 32: - case 9: - case 59: - case 13: - case 10: - break; - default: - ze += re.charAt(U); - } - Ve = 59; - } - switch (Ve) { - case 123: - for ( - ze = ze.trim(), Xe = ze.charCodeAt(0), Ge = 1, ke = ++U; - U < ve; - - ) { - switch ((Ve = re.charCodeAt(U))) { - case 123: - Ge++; - break; - case 125: - Ge--; - break; - case 47: - switch ((Ve = re.charCodeAt(U + 1))) { - case 42: - case 47: - e: { - for (pt = U + 1; pt < Se; ++pt) - switch (re.charCodeAt(pt)) { - case 47: - if ( - Ve === 42 && - re.charCodeAt(pt - 1) === 42 && - U + 2 !== pt - ) { - U = pt + 1; - break e; - } - break; - case 10: - if (Ve === 47) { - U = pt + 1; - break e; - } - } - U = pt; - } - } - break; - case 91: - Ve++; - case 40: - Ve++; - case 34: - case 39: - for (; U++ < Se && re.charCodeAt(U) !== Ve; ); - } - if (Ge === 0) break; - U++; - } - switch ( - ((Ge = re.substring(ke, U)), - Xe === 0 && (Xe = (ze = ze.replace(f, "").trim()).charCodeAt(0)), - Xe) - ) { - case 64: - switch ( - (0 < ie && (ze = ze.replace(m, "")), - (Ve = ze.charCodeAt(1)), - Ve) - ) { - case 100: - case 109: - case 115: - case 45: - ie = O; - break; - default: - ie = fe; - } - if ( - ((Ge = t(O, ie, Ge, Ve, K + 1)), - (ke = Ge.length), - 0 < V && - ((ie = n(fe, ze, pe)), - (ye = s(3, Ge, ie, O, le, z, ke, Ve, K, Te)), - (ze = ie.join("")), - ye !== void 0 && - (ke = (Ge = ye.trim()).length) === 0 && - ((Ve = 0), (Ge = ""))), - 0 < ke) - ) - switch (Ve) { - case 115: - ze = ze.replace(k, o); - case 100: - case 109: - case 45: - Ge = ze + "{" + Ge + "}"; - break; - case 107: - (ze = ze.replace(y, "$1 $2")), - (Ge = ze + "{" + Ge + "}"), - (Ge = - de === 1 || (de === 2 && a("@" + Ge, 3)) - ? "@-webkit-" + Ge + "@" + Ge - : "@" + Ge); - break; - default: - (Ge = ze + Ge), Te === 112 && (Ge = ((Ke += Ge), "")); - } - else Ge = ""; - break; - default: - Ge = t(O, n(O, ze, pe), Ge, Te, K + 1); - } - (jt += Ge), - (Ge = pe = ie = pt = Xe = 0), - (ze = ""), - (Ve = re.charCodeAt(++U)); - break; - case 125: - case 59: - if ( - ((ze = (0 < ie ? ze.replace(m, "") : ze).trim()), - 1 < (ke = ze.length)) - ) - switch ( - (pt === 0 && - ((Xe = ze.charCodeAt(0)), - Xe === 45 || (96 < Xe && 123 > Xe)) && - (ke = (ze = ze.replace(" ", ":")).length), - 0 < V && - (ye = s(1, ze, O, oe, le, z, Ke.length, Te, K, Te)) !== - void 0 && - (ke = (ze = ye.trim()).length) === 0 && - (ze = "\0\0"), - (Xe = ze.charCodeAt(0)), - (Ve = ze.charCodeAt(1)), - Xe) - ) { - case 0: - break; - case 64: - if (Ve === 105 || Ve === 99) { - ue += ze + re.charAt(U); - break; - } - default: - ze.charCodeAt(ke - 1) !== 58 && - (Ke += i(ze, Xe, Ve, ze.charCodeAt(2))); - } - (pe = ie = pt = Xe = 0), (ze = ""), (Ve = re.charCodeAt(++U)); - } - } - switch (Ve) { - case 13: - case 10: - ne === 47 - ? (ne = 0) - : 1 + Xe === 0 && - Te !== 107 && - 0 < ze.length && - ((ie = 1), (ze += "\0")), - 0 < V * N && s(0, ze, O, oe, le, z, Ke.length, Te, K, Te), - (z = 1), - le++; - break; - case 59: - case 125: - if (ne + Re + Le + xe === 0) { - z++; - break; - } - default: - switch ((z++, (Me = re.charAt(U)), Ve)) { - case 9: - case 32: - if (Re + xe + ne === 0) - switch (dt) { - case 44: - case 58: - case 9: - case 32: - Me = ""; - break; - default: - Ve !== 32 && (Me = " "); - } - break; - case 0: - Me = "\\0"; - break; - case 12: - Me = "\\f"; - break; - case 11: - Me = "\\v"; - break; - case 38: - Re + ne + xe === 0 && ((ie = pe = 1), (Me = "\f" + Me)); - break; - case 108: - if (Re + ne + xe + he === 0 && 0 < pt) - switch (U - pt) { - case 2: - dt === 112 && re.charCodeAt(U - 3) === 58 && (he = dt); - case 8: - ot === 111 && (he = ot); - } - break; - case 58: - Re + ne + xe === 0 && (pt = U); - break; - case 44: - ne + Le + Re + xe === 0 && ((ie = 1), (Me += "\r")); - break; - case 34: - case 39: - ne === 0 && (Re = Re === Ve ? 0 : Re === 0 ? Ve : Re); - break; - case 91: - Re + ne + Le === 0 && xe++; - break; - case 93: - Re + ne + Le === 0 && xe--; - break; - case 41: - Re + ne + xe === 0 && Le--; - break; - case 40: - if (Re + ne + xe === 0) { - if (Xe === 0) - switch (2 * dt + 3 * ot) { - case 533: - break; - default: - Xe = 1; - } - Le++; - } - break; - case 64: - ne + Le + Re + xe + pt + Ge === 0 && (Ge = 1); - break; - case 42: - case 47: - if (!(0 < Re + xe + Le)) - switch (ne) { - case 0: - switch (2 * Ve + 3 * re.charCodeAt(U + 1)) { - case 235: - ne = 47; - break; - case 220: - (ke = U), (ne = 42); - } - break; - case 42: - Ve === 47 && - dt === 42 && - ke + 2 !== U && - (re.charCodeAt(ke + 2) === 33 && - (Ke += re.substring(ke, U + 1)), - (Me = ""), - (ne = 0)); - } - } - ne === 0 && (ze += Me); - } - (ot = dt), (dt = Ve), U++; - } - if (((ke = Ke.length), 0 < ke)) { - if ( - ((ie = O), - 0 < V && - ((ye = s(2, Ke, ie, oe, le, z, ke, Te, K, Te)), - ye !== void 0 && (Ke = ye).length === 0)) - ) - return ue + Ke + jt; - if (((Ke = ie.join(",") + "{" + Ke + "}"), de * he !== 0)) { - switch ((de !== 2 || a(Ke, 2) || (he = 0), he)) { - case 111: - Ke = Ke.replace(A, ":-moz-$1") + Ke; - break; - case 112: - Ke = - Ke.replace(w, "::-webkit-input-$1") + - Ke.replace(w, "::-moz-$1") + - Ke.replace(w, ":-ms-input-$1") + - Ke; - } - he = 0; - } - } - return ue + Ke + jt; - } - function n(oe, O, re) { - var Te = O.trim().split(T); - O = Te; - var K = Te.length, - xe = oe.length; - switch (xe) { - case 0: - case 1: - var ne = 0; - for (oe = xe === 0 ? "" : oe[0] + " "; ne < K; ++ne) - O[ne] = r(oe, O[ne], re).trim(); - break; - default: - var Le = (ne = 0); - for (O = []; ne < K; ++ne) - for (var Re = 0; Re < xe; ++Re) - O[Le++] = r(oe[Re] + " ", Te[ne], re).trim(); - } - return O; - } - function r(oe, O, re) { - var Te = O.charCodeAt(0); - switch ((33 > Te && (Te = (O = O.trim()).charCodeAt(0)), Te)) { - case 38: - return O.replace(v, "$1" + oe.trim()); - case 58: - return oe.trim() + O.replace(v, "$1" + oe.trim()); - default: - if (0 < 1 * re && 0 < O.indexOf("\f")) - return O.replace( - v, - (oe.charCodeAt(0) === 58 ? "" : "$1") + oe.trim() - ); - } - return oe + O; - } - function i(oe, O, re, Te) { - var K = oe + ";", - xe = 2 * O + 3 * re + 4 * Te; - if (xe === 944) { - oe = K.indexOf(":", 9) + 1; - var ne = K.substring(oe, K.length - 1).trim(); - return ( - (ne = K.substring(0, oe).trim() + ne + ";"), - de === 1 || (de === 2 && a(ne, 1)) ? "-webkit-" + ne + ne : ne - ); - } - if (de === 0 || (de === 2 && !a(K, 1))) return K; - switch (xe) { - case 1015: - return K.charCodeAt(10) === 97 ? "-webkit-" + K + K : K; - case 951: - return K.charCodeAt(3) === 116 ? "-webkit-" + K + K : K; - case 963: - return K.charCodeAt(5) === 110 ? "-webkit-" + K + K : K; - case 1009: - if (K.charCodeAt(4) !== 100) break; - case 969: - case 942: - return "-webkit-" + K + K; - case 978: - return "-webkit-" + K + "-moz-" + K + K; - case 1019: - case 983: - return "-webkit-" + K + "-moz-" + K + "-ms-" + K + K; - case 883: - if (K.charCodeAt(8) === 45) return "-webkit-" + K + K; - if (0 < K.indexOf("image-set(", 11)) - return K.replace(Q, "$1-webkit-$2") + K; - break; - case 932: - if (K.charCodeAt(4) === 45) - switch (K.charCodeAt(5)) { - case 103: - return ( - "-webkit-box-" + - K.replace("-grow", "") + - "-webkit-" + - K + - "-ms-" + - K.replace("grow", "positive") + - K - ); - case 115: - return ( - "-webkit-" + K + "-ms-" + K.replace("shrink", "negative") + K - ); - case 98: - return ( - "-webkit-" + - K + - "-ms-" + - K.replace("basis", "preferred-size") + - K - ); - } - return "-webkit-" + K + "-ms-" + K + K; - case 964: - return "-webkit-" + K + "-ms-flex-" + K + K; - case 1023: - if (K.charCodeAt(8) !== 99) break; - return ( - (ne = K.substring(K.indexOf(":", 15)) - .replace("flex-", "") - .replace("space-between", "justify")), - "-webkit-box-pack" + ne + "-webkit-" + K + "-ms-flex-pack" + ne + K - ); - case 1005: - return E.test(K) - ? K.replace(g, ":-webkit-") + K.replace(g, ":-moz-") + K - : K; - case 1e3: - switch ( - ((ne = K.substring(13).trim()), - (O = ne.indexOf("-") + 1), - ne.charCodeAt(0) + ne.charCodeAt(O)) - ) { - case 226: - ne = K.replace(D, "tb"); - break; - case 232: - ne = K.replace(D, "tb-rl"); - break; - case 220: - ne = K.replace(D, "lr"); - break; - default: - return K; - } - return "-webkit-" + K + "-ms-" + ne + K; - case 1017: - if (K.indexOf("sticky", 9) === -1) break; - case 975: - switch ( - ((O = (K = oe).length - 10), - (ne = (K.charCodeAt(O) === 33 ? K.substring(0, O) : K) - .substring(oe.indexOf(":", 7) + 1) - .trim()), - (xe = ne.charCodeAt(0) + (ne.charCodeAt(7) | 0))) - ) { - case 203: - if (111 > ne.charCodeAt(8)) break; - case 115: - K = K.replace(ne, "-webkit-" + ne) + ";" + K; - break; - case 207: - case 102: - K = - K.replace(ne, "-webkit-" + (102 < xe ? "inline-" : "") + "box") + - ";" + - K.replace(ne, "-webkit-" + ne) + - ";" + - K.replace(ne, "-ms-" + ne + "box") + - ";" + - K; - } - return K + ";"; - case 938: - if (K.charCodeAt(5) === 45) - switch (K.charCodeAt(6)) { - case 105: - return ( - (ne = K.replace("-items", "")), - "-webkit-" + K + "-webkit-box-" + ne + "-ms-flex-" + ne + K - ); - case 115: - return "-webkit-" + K + "-ms-flex-item-" + K.replace(B, "") + K; - default: - return ( - "-webkit-" + - K + - "-ms-flex-line-pack" + - K.replace("align-content", "").replace(B, "") + - K - ); - } - break; - case 973: - case 989: - if (K.charCodeAt(3) !== 45 || K.charCodeAt(4) === 122) break; - case 931: - case 953: - if (P.test(oe) === !0) - return (ne = oe.substring(oe.indexOf(":") + 1)).charCodeAt(0) === 115 - ? i(oe.replace("stretch", "fill-available"), O, re, Te).replace( - ":fill-available", - ":stretch" - ) - : K.replace(ne, "-webkit-" + ne) + - K.replace(ne, "-moz-" + ne.replace("fill-", "")) + - K; - break; - case 962: - if ( - ((K = - "-webkit-" + K + (K.charCodeAt(5) === 102 ? "-ms-" + K : "") + K), - re + Te === 211 && - K.charCodeAt(13) === 105 && - 0 < K.indexOf("transform", 10)) - ) - return ( - K.substring(0, K.indexOf(";", 27) + 1).replace(b, "$1-webkit-$2") + - K - ); - } - return K; - } - function a(oe, O) { - var re = oe.indexOf(O === 1 ? ":" : "{"), - Te = oe.substring(0, O !== 3 ? re : 10); - return ( - (re = oe.substring(re + 1, oe.length - 1)), - ce(O !== 2 ? Te : Te.replace(W, "$1"), re, O) - ); - } - function o(oe, O) { - var re = i(O, O.charCodeAt(0), O.charCodeAt(1), O.charCodeAt(2)); - return re !== O + ";" - ? re.replace(R, " or ($1)").substring(4) - : "(" + O + ")"; - } - function s(oe, O, re, Te, K, xe, ne, Le, Re, Xe) { - for (var Ve = 0, dt = O, ot; Ve < V; ++Ve) - switch ((ot = Z[Ve].call(p, oe, dt, re, Te, K, xe, ne, Le, Re, Xe))) { - case void 0: - case !1: - case !0: - case null: - break; - default: - dt = ot; - } - if (dt !== O) return dt; - } - function u(oe) { - switch (oe) { - case void 0: - case null: - V = Z.length = 0; - break; - default: - if (typeof oe == "function") Z[V++] = oe; - else if (typeof oe == "object") - for (var O = 0, re = oe.length; O < re; ++O) u(oe[O]); - else N = !!oe | 0; - } - return u; - } - function c(oe) { - return ( - (oe = oe.prefix), - oe !== void 0 && - ((ce = null), - oe - ? typeof oe != "function" - ? (de = 1) - : ((de = 2), (ce = oe)) - : (de = 0)), - c - ); - } - function p(oe, O) { - var re = oe; - if ( - (33 > re.charCodeAt(0) && (re = re.trim()), (me = re), (re = [me]), 0 < V) - ) { - var Te = s(-1, O, re, re, le, z, 0, 0, 0, 0); - Te !== void 0 && typeof Te == "string" && (O = Te); - } - var K = t(fe, re, O, 0, 0); - return ( - 0 < V && - ((Te = s(-2, K, re, re, le, z, K.length, 0, 0, 0)), - Te !== void 0 && (K = Te)), - (me = ""), - (he = 0), - (z = le = 1), - K - ); - } - var f = /^\0+/g, - m = /[\0\r\f]/g, - g = /: */g, - E = /zoo|gra/, - b = /([,: ])(transform)/g, - T = /,\r+?/g, - v = /([\t\r\n ])*\f?&/g, - y = /@(k\w+)\s*(\S*)\s*/, - w = /::(place)/g, - A = /:(read-only)/g, - D = /[svh]\w+-[tblr]{2}/, - k = /\(\s*(.*)\s*\)/g, - R = /([\s\S]*?);/g, - B = /-self|flex-/g, - W = /[^]*?(:[rp][el]a[\w-]+)[^]*/, - P = /stretch|:\s*\w+\-(?:conte|avail)/, - Q = /([^-])(image-set\()/, - z = 1, - le = 1, - he = 0, - de = 1, - fe = [], - Z = [], - V = 0, - ce = null, - N = 0, - me = ""; - return (p.use = u), (p.set = c), e !== void 0 && c(e), p; -} -var uq = { - animationIterationCount: 1, - borderImageOutset: 1, - borderImageSlice: 1, - borderImageWidth: 1, - boxFlex: 1, - boxFlexGroup: 1, - boxOrdinalGroup: 1, - columnCount: 1, - columns: 1, - flex: 1, - flexGrow: 1, - flexPositive: 1, - flexShrink: 1, - flexNegative: 1, - flexOrder: 1, - gridRow: 1, - gridRowEnd: 1, - gridRowSpan: 1, - gridRowStart: 1, - gridColumn: 1, - gridColumnEnd: 1, - gridColumnSpan: 1, - gridColumnStart: 1, - msGridRow: 1, - msGridRowSpan: 1, - msGridColumn: 1, - msGridColumnSpan: 1, - fontWeight: 1, - lineHeight: 1, - opacity: 1, - order: 1, - orphans: 1, - tabSize: 1, - widows: 1, - zIndex: 1, - zoom: 1, - WebkitLineClamp: 1, - fillOpacity: 1, - floodOpacity: 1, - stopOpacity: 1, - strokeDasharray: 1, - strokeDashoffset: 1, - strokeMiterlimit: 1, - strokeOpacity: 1, - strokeWidth: 1, -}; -function cq(e) { - var t = Object.create(null); - return function (n) { - return t[n] === void 0 && (t[n] = e(n)), t[n]; - }; -} -var dq = - /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, - AA = cq(function (e) { - return ( - dq.test(e) || - (e.charCodeAt(0) === 111 && - e.charCodeAt(1) === 110 && - e.charCodeAt(2) < 91) - ); - }), - OO = { exports: {} }, - sn = {}; -/** @license React v16.13.1 + */var TE=Symbol.for("react.element"),SE=Symbol.for("react.portal"),Zg=Symbol.for("react.fragment"),Qg=Symbol.for("react.strict_mode"),Jg=Symbol.for("react.profiler"),e2=Symbol.for("react.provider"),t2=Symbol.for("react.context"),aq=Symbol.for("react.server_context"),n2=Symbol.for("react.forward_ref"),r2=Symbol.for("react.suspense"),i2=Symbol.for("react.suspense_list"),a2=Symbol.for("react.memo"),o2=Symbol.for("react.lazy"),oq=Symbol.for("react.offscreen"),NO;NO=Symbol.for("react.module.reference");function Ea(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case TE:switch(e=e.type,e){case Zg:case Jg:case Qg:case r2:case i2:return e;default:switch(e=e&&e.$$typeof,e){case aq:case t2:case n2:case o2:case a2:case e2:return e;default:return t}}case SE:return t}}}on.ContextConsumer=t2;on.ContextProvider=e2;on.Element=TE;on.ForwardRef=n2;on.Fragment=Zg;on.Lazy=o2;on.Memo=a2;on.Portal=SE;on.Profiler=Jg;on.StrictMode=Qg;on.Suspense=r2;on.SuspenseList=i2;on.isAsyncMode=function(){return!1};on.isConcurrentMode=function(){return!1};on.isContextConsumer=function(e){return Ea(e)===t2};on.isContextProvider=function(e){return Ea(e)===e2};on.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===TE};on.isForwardRef=function(e){return Ea(e)===n2};on.isFragment=function(e){return Ea(e)===Zg};on.isLazy=function(e){return Ea(e)===o2};on.isMemo=function(e){return Ea(e)===a2};on.isPortal=function(e){return Ea(e)===SE};on.isProfiler=function(e){return Ea(e)===Jg};on.isStrictMode=function(e){return Ea(e)===Qg};on.isSuspense=function(e){return Ea(e)===r2};on.isSuspenseList=function(e){return Ea(e)===i2};on.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Zg||e===Jg||e===Qg||e===r2||e===i2||e===oq||typeof e=="object"&&e!==null&&(e.$$typeof===o2||e.$$typeof===a2||e.$$typeof===e2||e.$$typeof===t2||e.$$typeof===n2||e.$$typeof===NO||e.getModuleId!==void 0)};on.typeOf=Ea;RO.exports=on;var wE=RO.exports;const sq=Hi(wE);function lq(e){function t(oe,O,re,Te,K){for(var xe=0,ne=0,Le=0,Re=0,Xe,Ve,dt=0,ot=0,Ge,pt=Ge=Xe=0,U=0,ie=0,pe=0,ke=0,ve=re.length,Se=ve-1,Me,ze="",Ke="",jt="",ue="",ye;UXe)&&(ke=(ze=ze.replace(" ",":")).length),0Te&&(Te=(O=O.trim()).charCodeAt(0)),Te){case 38:return O.replace(v,"$1"+oe.trim());case 58:return oe.trim()+O.replace(v,"$1"+oe.trim());default:if(0<1*re&&0ne.charCodeAt(8))break;case 115:K=K.replace(ne,"-webkit-"+ne)+";"+K;break;case 207:case 102:K=K.replace(ne,"-webkit-"+(102re.charCodeAt(0)&&(re=re.trim()),me=re,re=[me],0 1 ? t - 1 : 0), r = 1; - r < t; - r++ - ) - n[r - 1] = arguments[r]; - throw new Error( - "An error occurred. See https://git.io/JUIaE#" + - e + - " for more information." + - (n.length > 0 ? " Args: " + n.join(", ") : "") - ); -} -var kq = (function () { - function e(n) { - (this.groupSizes = new Uint32Array(512)), - (this.length = 512), - (this.tag = n); - } - var t = e.prototype; - return ( - (t.indexOfGroup = function (n) { - for (var r = 0, i = 0; i < n; i++) r += this.groupSizes[i]; - return r; - }), - (t.insertRules = function (n, r) { - if (n >= this.groupSizes.length) { - for (var i = this.groupSizes, a = i.length, o = a; n >= o; ) - (o <<= 1) < 0 && Sp(16, "" + n); - (this.groupSizes = new Uint32Array(o)), - this.groupSizes.set(i), - (this.length = o); - for (var s = a; s < o; s++) this.groupSizes[s] = 0; - } - for (var u = this.indexOfGroup(n + 1), c = 0, p = r.length; c < p; c++) - this.tag.insertRule(u, r[c]) && (this.groupSizes[n]++, u++); - }), - (t.clearGroup = function (n) { - if (n < this.length) { - var r = this.groupSizes[n], - i = this.indexOfGroup(n), - a = i + r; - this.groupSizes[n] = 0; - for (var o = i; o < a; o++) this.tag.deleteRule(i); - } - }), - (t.getGroup = function (n) { - var r = ""; - if (n >= this.length || this.groupSizes[n] === 0) return r; - for ( - var i = this.groupSizes[n], - a = this.indexOfGroup(n), - o = a + i, - s = a; - s < o; - s++ - ) - r += - this.tag.getRule(s) + - `/*!sc*/ -`; - return r; - }), - e - ); - })(), - sh = new Map(), - Zh = new Map(), - Sd = 1, - u0 = function (e) { - if (sh.has(e)) return sh.get(e); - for (; Zh.has(Sd); ) Sd++; - var t = Sd++; - return sh.set(e, t), Zh.set(t, e), t; - }, - Iq = function (e) { - return Zh.get(e); - }, - Rq = function (e, t) { - t >= Sd && (Sd = t + 1), sh.set(e, t), Zh.set(t, e); - }, - Nq = "style[" + K1 + '][data-styled-version="5.3.11"]', - Oq = new RegExp("^" + K1 + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), - Dq = function (e, t, n) { - for (var r, i = n.split(","), a = 0, o = i.length; a < o; a++) - (r = i[a]) && e.registerName(t, r); - }, - Lq = function (e, t) { - for ( - var n = (t.textContent || "").split(`/*!sc*/ -`), - r = [], - i = 0, - a = n.length; - i < a; - i++ - ) { - var o = n[i].trim(); - if (o) { - var s = o.match(Oq); - if (s) { - var u = 0 | parseInt(s[1], 10), - c = s[2]; - u !== 0 && (Rq(c, u), Dq(e, c, s[3]), e.getTag().insertRules(u, r)), - (r.length = 0); - } else r.push(o); - } - } - }, - Mq = function () { - return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null; - }, - FO = function (e) { - var t = document.head, - n = e || t, - r = document.createElement("style"), - i = (function (s) { - for (var u = s.childNodes, c = u.length; c >= 0; c--) { - var p = u[c]; - if (p && p.nodeType === 1 && p.hasAttribute(K1)) return p; - } - })(n), - a = i !== void 0 ? i.nextSibling : null; - r.setAttribute(K1, "active"), - r.setAttribute("data-styled-version", "5.3.11"); - var o = Mq(); - return o && r.setAttribute("nonce", o), n.insertBefore(r, a), r; - }, - Fq = (function () { - function e(n) { - var r = (this.element = FO(n)); - r.appendChild(document.createTextNode("")), - (this.sheet = (function (i) { - if (i.sheet) return i.sheet; - for (var a = document.styleSheets, o = 0, s = a.length; o < s; o++) { - var u = a[o]; - if (u.ownerNode === i) return u; - } - Sp(17); - })(r)), - (this.length = 0); - } - var t = e.prototype; - return ( - (t.insertRule = function (n, r) { - try { - return this.sheet.insertRule(r, n), this.length++, !0; - } catch { - return !1; - } - }), - (t.deleteRule = function (n) { - this.sheet.deleteRule(n), this.length--; - }), - (t.getRule = function (n) { - var r = this.sheet.cssRules[n]; - return r !== void 0 && typeof r.cssText == "string" ? r.cssText : ""; - }), - e - ); - })(), - Pq = (function () { - function e(n) { - var r = (this.element = FO(n)); - (this.nodes = r.childNodes), (this.length = 0); - } - var t = e.prototype; - return ( - (t.insertRule = function (n, r) { - if (n <= this.length && n >= 0) { - var i = document.createTextNode(r), - a = this.nodes[n]; - return this.element.insertBefore(i, a || null), this.length++, !0; - } - return !1; - }), - (t.deleteRule = function (n) { - this.element.removeChild(this.nodes[n]), this.length--; - }), - (t.getRule = function (n) { - return n < this.length ? this.nodes[n].textContent : ""; - }), - e - ); - })(), - Bq = (function () { - function e(n) { - (this.rules = []), (this.length = 0); - } - var t = e.prototype; - return ( - (t.insertRule = function (n, r) { - return ( - n <= this.length && (this.rules.splice(n, 0, r), this.length++, !0) - ); - }), - (t.deleteRule = function (n) { - this.rules.splice(n, 1), this.length--; - }), - (t.getRule = function (n) { - return n < this.length ? this.rules[n] : ""; - }), - e - ); - })(), - NA = NE, - Uq = { isServer: !NE, useCSSOMInjection: !xq }, - PO = (function () { - function e(n, r, i) { - n === void 0 && (n = nl), - r === void 0 && (r = {}), - (this.options = Yo({}, Uq, {}, n)), - (this.gs = r), - (this.names = new Map(i)), - (this.server = !!n.isServer), - !this.server && - NE && - NA && - ((NA = !1), - (function (a) { - for ( - var o = document.querySelectorAll(Nq), s = 0, u = o.length; - s < u; - s++ - ) { - var c = o[s]; - c && - c.getAttribute(K1) !== "active" && - (Lq(a, c), c.parentNode && c.parentNode.removeChild(c)); - } - })(this)); - } - e.registerId = function (n) { - return u0(n); - }; - var t = e.prototype; - return ( - (t.reconstructWithOptions = function (n, r) { - return ( - r === void 0 && (r = !0), - new e( - Yo({}, this.options, {}, n), - this.gs, - (r && this.names) || void 0 - ) - ); - }), - (t.allocateGSInstance = function (n) { - return (this.gs[n] = (this.gs[n] || 0) + 1); - }), - (t.getTag = function () { - return ( - this.tag || - (this.tag = - ((i = (r = this.options).isServer), - (a = r.useCSSOMInjection), - (o = r.target), - (n = i ? new Bq(o) : a ? new Fq(o) : new Pq(o)), - new kq(n))) - ); - var n, r, i, a, o; - }), - (t.hasNameForId = function (n, r) { - return this.names.has(n) && this.names.get(n).has(r); - }), - (t.registerName = function (n, r) { - if ((u0(n), this.names.has(n))) this.names.get(n).add(r); - else { - var i = new Set(); - i.add(r), this.names.set(n, i); - } - }), - (t.insertRules = function (n, r, i) { - this.registerName(n, r), this.getTag().insertRules(u0(n), i); - }), - (t.clearNames = function (n) { - this.names.has(n) && this.names.get(n).clear(); - }), - (t.clearRules = function (n) { - this.getTag().clearGroup(u0(n)), this.clearNames(n); - }), - (t.clearTag = function () { - this.tag = void 0; - }), - (t.toString = function () { - return (function (n) { - for (var r = n.getTag(), i = r.length, a = "", o = 0; o < i; o++) { - var s = Iq(o); - if (s !== void 0) { - var u = n.names.get(s), - c = r.getGroup(o); - if (u && c && u.size) { - var p = K1 + ".g" + o + '[id="' + s + '"]', - f = ""; - u !== void 0 && - u.forEach(function (m) { - m.length > 0 && (f += m + ","); - }), - (a += - "" + - c + - p + - '{content:"' + - f + - `"}/*!sc*/ -`); - } - } - } - return a; - })(this); - }), - e - ); - })(), - $q = /(a)(d)/gi, - OA = function (e) { - return String.fromCharCode(e + (e > 25 ? 39 : 97)); - }; -function hb(e) { - var t, - n = ""; - for (t = Math.abs(e); t > 52; t = (t / 52) | 0) n = OA(t % 52) + n; - return (OA(t % 52) + n).replace($q, "$1-$2"); -} -var b1 = function (e, t) { - for (var n = t.length; n; ) e = (33 * e) ^ t.charCodeAt(--n); - return e; - }, - BO = function (e) { - return b1(5381, e); - }; -function zq(e) { - for (var t = 0; t < e.length; t += 1) { - var n = e[t]; - if (rp(n) && !RE(n)) return !1; - } - return !0; -} -var Hq = BO("5.3.11"), - jq = (function () { - function e(t, n, r) { - (this.rules = t), - (this.staticRulesId = ""), - (this.isStatic = (r === void 0 || r.isStatic) && zq(t)), - (this.componentId = n), - (this.baseHash = b1(Hq, n)), - (this.baseStyle = r), - PO.registerId(n); - } - return ( - (e.prototype.generateAndInjectStyles = function (t, n, r) { - var i = this.componentId, - a = []; - if ( - (this.baseStyle && - a.push(this.baseStyle.generateAndInjectStyles(t, n, r)), - this.isStatic && !r.hash) - ) - if (this.staticRulesId && n.hasNameForId(i, this.staticRulesId)) - a.push(this.staticRulesId); - else { - var o = Y1(this.rules, t, n, r).join(""), - s = hb(b1(this.baseHash, o) >>> 0); - if (!n.hasNameForId(i, s)) { - var u = r(o, "." + s, void 0, i); - n.insertRules(i, s, u); - } - a.push(s), (this.staticRulesId = s); - } - else { - for ( - var c = this.rules.length, - p = b1(this.baseHash, r.hash), - f = "", - m = 0; - m < c; - m++ - ) { - var g = this.rules[m]; - if (typeof g == "string") f += g; - else if (g) { - var E = Y1(g, t, n, r), - b = Array.isArray(E) ? E.join("") : E; - (p = b1(p, b + m)), (f += b); - } - } - if (f) { - var T = hb(p >>> 0); - if (!n.hasNameForId(i, T)) { - var v = r(f, "." + T, void 0, i); - n.insertRules(i, T, v); - } - a.push(T); - } - } - return a.join(" "); - }), - e - ); - })(), - Gq = /^\s*\/\/.*$/gm, - Vq = [":", "[", ".", "#"]; -function Wq(e) { - var t, - n, - r, - i, - a = e === void 0 ? nl : e, - o = a.options, - s = o === void 0 ? nl : o, - u = a.plugins, - c = u === void 0 ? Xh : u, - p = new lq(s), - f = [], - m = (function (b) { - function T(v) { - if (v) - try { - b(v + "}"); - } catch {} - } - return function (v, y, w, A, D, k, R, B, W, P) { - switch (v) { - case 1: - if (W === 0 && y.charCodeAt(0) === 64) return b(y + ";"), ""; - break; - case 2: - if (B === 0) return y + "/*|*/"; - break; - case 3: - switch (B) { - case 102: - case 112: - return b(w[0] + y), ""; - default: - return y + (P === 0 ? "/*|*/" : ""); - } - case -2: - y.split("/*|*/}").forEach(T); - } - }; - })(function (b) { - f.push(b); - }), - g = function (b, T, v) { - return (T === 0 && Vq.indexOf(v[n.length]) !== -1) || v.match(i) - ? b - : "." + t; - }; - function E(b, T, v, y) { - y === void 0 && (y = "&"); - var w = b.replace(Gq, ""), - A = T && v ? v + " " + T + " { " + w + " }" : w; - return ( - (t = y), - (n = T), - (r = new RegExp("\\" + n + "\\b", "g")), - (i = new RegExp("(\\" + n + "\\b){2,}")), - p(v || !T ? "" : T, A) - ); - } - return ( - p.use( - [].concat(c, [ - function (b, T, v) { - b === 2 && - v.length && - v[0].lastIndexOf(n) > 0 && - (v[0] = v[0].replace(r, g)); - }, - m, - function (b) { - if (b === -2) { - var T = f; - return (f = []), T; - } - }, - ]) - ), - (E.hash = c.length - ? c - .reduce(function (b, T) { - return T.name || Sp(15), b1(b, T.name); - }, 5381) - .toString() - : ""), - E - ); -} -var UO = ut.createContext(); -UO.Consumer; -var $O = ut.createContext(), - qq = ($O.Consumer, new PO()), - gb = Wq(); -function Kq() { - return C.useContext(UO) || qq; -} -function Yq() { - return C.useContext($O) || gb; -} -var zO = (function () { - function e(t, n) { - var r = this; - (this.inject = function (i, a) { - a === void 0 && (a = gb); - var o = r.name + a.hash; - i.hasNameForId(r.id, o) || - i.insertRules(r.id, o, a(r.rules, o, "@keyframes")); - }), - (this.toString = function () { - return Sp(12, String(r.name)); - }), - (this.name = t), - (this.id = "sc-keyframes-" + t), - (this.rules = n); - } - return ( - (e.prototype.getName = function (t) { - return t === void 0 && (t = gb), this.name + t.hash; - }), - e - ); - })(), - Xq = /([A-Z])/, - Zq = /([A-Z])/g, - Qq = /^ms-/, - Jq = function (e) { - return "-" + e.toLowerCase(); - }; -function DA(e) { - return Xq.test(e) ? e.replace(Zq, Jq).replace(Qq, "-ms-") : e; -} -var LA = function (e) { - return e == null || e === !1 || e === ""; -}; -function Y1(e, t, n, r) { - if (Array.isArray(e)) { - for (var i, a = [], o = 0, s = e.length; o < s; o += 1) - (i = Y1(e[o], t, n, r)) !== "" && - (Array.isArray(i) ? a.push.apply(a, i) : a.push(i)); - return a; - } - if (LA(e)) return ""; - if (RE(e)) return "." + e.styledComponentId; - if (rp(e)) { - if ( - typeof (c = e) != "function" || - (c.prototype && c.prototype.isReactComponent) || - !t - ) - return e; - var u = e(t); - return Y1(u, t, n, r); - } - var c; - return e instanceof zO - ? n - ? (e.inject(n, r), e.getName(r)) - : e - : fb(e) - ? (function p(f, m) { - var g, - E, - b = []; - for (var T in f) - f.hasOwnProperty(T) && - !LA(f[T]) && - ((Array.isArray(f[T]) && f[T].isCss) || rp(f[T]) - ? b.push(DA(T) + ":", f[T], ";") - : fb(f[T]) - ? b.push.apply(b, p(f[T], T)) - : b.push( - DA(T) + - ": " + - ((g = T), - (E = f[T]) == null || typeof E == "boolean" || E === "" - ? "" - : typeof E != "number" || - E === 0 || - g in uq || - g.startsWith("--") - ? String(E).trim() - : E + "px") + - ";" - )); - return m ? [m + " {"].concat(b, ["}"]) : b; - })(e) - : e.toString(); -} -var MA = function (e) { - return Array.isArray(e) && (e.isCss = !0), e; -}; -function HO(e) { - for ( - var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; - r < t; - r++ - ) - n[r - 1] = arguments[r]; - return rp(e) || fb(e) - ? MA(Y1(IA(Xh, [e].concat(n)))) - : n.length === 0 && e.length === 1 && typeof e[0] == "string" - ? e - : MA(Y1(IA(e, n))); -} -var eK = function (e, t, n) { - return ( - n === void 0 && (n = nl), (e.theme !== n.theme && e.theme) || t || n.theme - ); - }, - tK = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, - nK = /(^-|-$)/g; -function e3(e) { - return e.replace(tK, "-").replace(nK, ""); -} -var jO = function (e) { - return hb(BO(e) >>> 0); -}; -function c0(e) { - return typeof e == "string" && !0; -} -var mb = function (e) { - return ( - typeof e == "function" || - (typeof e == "object" && e !== null && !Array.isArray(e)) - ); - }, - rK = function (e) { - return e !== "__proto__" && e !== "constructor" && e !== "prototype"; - }; -function iK(e, t, n) { - var r = e[n]; - mb(t) && mb(r) ? GO(r, t) : (e[n] = t); -} -function GO(e) { - for ( - var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; - r < t; - r++ - ) - n[r - 1] = arguments[r]; - for (var i = 0, a = n; i < a.length; i++) { - var o = a[i]; - if (mb(o)) for (var s in o) rK(s) && iK(e, o[s], s); - } - return e; -} -var VO = ut.createContext(); -VO.Consumer; -var t3 = {}; -function WO(e, t, n) { - var r = RE(e), - i = !c0(e), - a = t.attrs, - o = a === void 0 ? Xh : a, - s = t.componentId, - u = - s === void 0 - ? (function (y, w) { - var A = typeof y != "string" ? "sc" : e3(y); - t3[A] = (t3[A] || 0) + 1; - var D = A + "-" + jO("5.3.11" + A + t3[A]); - return w ? w + "-" + D : D; - })(t.displayName, t.parentComponentId) - : s, - c = t.displayName, - p = - c === void 0 - ? (function (y) { - return c0(y) ? "styled." + y : "Styled(" + RA(y) + ")"; - })(e) - : c, - f = - t.displayName && t.componentId - ? e3(t.displayName) + "-" + t.componentId - : t.componentId || u, - m = r && e.attrs ? Array.prototype.concat(e.attrs, o).filter(Boolean) : o, - g = t.shouldForwardProp; - r && - e.shouldForwardProp && - (g = t.shouldForwardProp - ? function (y, w, A) { - return e.shouldForwardProp(y, w, A) && t.shouldForwardProp(y, w, A); - } - : e.shouldForwardProp); - var E, - b = new jq(n, f, r ? e.componentStyle : void 0), - T = b.isStatic && o.length === 0, - v = function (y, w) { - return (function (A, D, k, R) { - var B = A.attrs, - W = A.componentStyle, - P = A.defaultProps, - Q = A.foldedComponentIds, - z = A.shouldForwardProp, - le = A.styledComponentId, - he = A.target, - de = (function (Te, K, xe) { - Te === void 0 && (Te = nl); - var ne = Yo({}, K, { theme: Te }), - Le = {}; - return ( - xe.forEach(function (Re) { - var Xe, - Ve, - dt, - ot = Re; - for (Xe in (rp(ot) && (ot = ot(ne)), ot)) - ne[Xe] = Le[Xe] = - Xe === "className" - ? ((Ve = Le[Xe]), - (dt = ot[Xe]), - Ve && dt ? Ve + " " + dt : Ve || dt) - : ot[Xe]; - }), - [ne, Le] - ); - })(eK(D, C.useContext(VO), P) || nl, D, B), - fe = de[0], - Z = de[1], - V = (function (Te, K, xe, ne) { - var Le = Kq(), - Re = Yq(), - Xe = K - ? Te.generateAndInjectStyles(nl, Le, Re) - : Te.generateAndInjectStyles(xe, Le, Re); - return Xe; - })(W, R, fe), - ce = k, - N = Z.$as || D.$as || Z.as || D.as || he, - me = c0(N), - oe = Z !== D ? Yo({}, D, {}, Z) : D, - O = {}; - for (var re in oe) - re[0] !== "$" && - re !== "as" && - (re === "forwardedAs" - ? (O.as = oe[re]) - : (z ? z(re, AA, N) : !me || AA(re)) && (O[re] = oe[re])); - return ( - D.style && - Z.style !== D.style && - (O.style = Yo({}, D.style, {}, Z.style)), - (O.className = Array.prototype - .concat(Q, le, V !== le ? V : null, D.className, Z.className) - .filter(Boolean) - .join(" ")), - (O.ref = ce), - C.createElement(N, O) - ); - })(E, y, w, T); - }; - return ( - (v.displayName = p), - ((E = ut.forwardRef(v)).attrs = m), - (E.componentStyle = b), - (E.displayName = p), - (E.shouldForwardProp = g), - (E.foldedComponentIds = r - ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) - : Xh), - (E.styledComponentId = f), - (E.target = r ? e.target : e), - (E.withComponent = function (y) { - var w = t.componentId, - A = (function (k, R) { - if (k == null) return {}; - var B, - W, - P = {}, - Q = Object.keys(k); - for (W = 0; W < Q.length; W++) - (B = Q[W]), R.indexOf(B) >= 0 || (P[B] = k[B]); - return P; - })(t, ["componentId"]), - D = w && w + "-" + (c0(y) ? y : e3(RA(y))); - return WO(y, Yo({}, A, { attrs: m, componentId: D }), n); - }), - Object.defineProperty(E, "defaultProps", { - get: function () { - return this._foldedDefaultProps; - }, - set: function (y) { - this._foldedDefaultProps = r ? GO({}, e.defaultProps, y) : y; - }, - }), - Object.defineProperty(E, "toString", { - value: function () { - return "." + E.styledComponentId; - }, - }), - i && - Cq(E, e, { - attrs: !0, - componentStyle: !0, - displayName: !0, - foldedComponentIds: !0, - shouldForwardProp: !0, - styledComponentId: !0, - target: !0, - withComponent: !0, - }), - E - ); -} -var bb = function (e) { - return (function t(n, r, i) { - if ((i === void 0 && (i = nl), !wE.isValidElementType(r))) - return Sp(1, String(r)); - var a = function () { - return n(r, i, HO.apply(void 0, arguments)); - }; - return ( - (a.withConfig = function (o) { - return t(n, r, Yo({}, i, {}, o)); - }), - (a.attrs = function (o) { - return t( - n, - r, - Yo({}, i, { - attrs: Array.prototype.concat(i.attrs, o).filter(Boolean), - }) - ); - }), - a - ); - })(WO, e); -}; -[ - "a", - "abbr", - "address", - "area", - "article", - "aside", - "audio", - "b", - "base", - "bdi", - "bdo", - "big", - "blockquote", - "body", - "br", - "button", - "canvas", - "caption", - "cite", - "code", - "col", - "colgroup", - "data", - "datalist", - "dd", - "del", - "details", - "dfn", - "dialog", - "div", - "dl", - "dt", - "em", - "embed", - "fieldset", - "figcaption", - "figure", - "footer", - "form", - "h1", - "h2", - "h3", - "h4", - "h5", - "h6", - "head", - "header", - "hgroup", - "hr", - "html", - "i", - "iframe", - "img", - "input", - "ins", - "kbd", - "keygen", - "label", - "legend", - "li", - "link", - "main", - "map", - "mark", - "marquee", - "menu", - "menuitem", - "meta", - "meter", - "nav", - "noscript", - "object", - "ol", - "optgroup", - "option", - "output", - "p", - "param", - "picture", - "pre", - "progress", - "q", - "rp", - "rt", - "ruby", - "s", - "samp", - "script", - "section", - "select", - "small", - "source", - "span", - "strong", - "style", - "sub", - "summary", - "sup", - "table", - "tbody", - "td", - "textarea", - "tfoot", - "th", - "thead", - "time", - "title", - "tr", - "track", - "u", - "ul", - "var", - "video", - "wbr", - "circle", - "clipPath", - "defs", - "ellipse", - "foreignObject", - "g", - "image", - "line", - "linearGradient", - "marker", - "mask", - "path", - "pattern", - "polygon", - "polyline", - "radialGradient", - "rect", - "stop", - "svg", - "text", - "textPath", - "tspan", -].forEach(function (e) { - bb[e] = bb(e); -}); -function b2(e) { - for ( - var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; - r < t; - r++ - ) - n[r - 1] = arguments[r]; - var i = HO.apply(void 0, [e].concat(n)).join(""), - a = jO(i); - return new zO(a, i); -} -const He = bb; -var qO = { exports: {} }; -/*! + */var pr=typeof Symbol=="function"&&Symbol.for,AE=pr?Symbol.for("react.element"):60103,CE=pr?Symbol.for("react.portal"):60106,s2=pr?Symbol.for("react.fragment"):60107,l2=pr?Symbol.for("react.strict_mode"):60108,u2=pr?Symbol.for("react.profiler"):60114,c2=pr?Symbol.for("react.provider"):60109,d2=pr?Symbol.for("react.context"):60110,xE=pr?Symbol.for("react.async_mode"):60111,p2=pr?Symbol.for("react.concurrent_mode"):60111,f2=pr?Symbol.for("react.forward_ref"):60112,h2=pr?Symbol.for("react.suspense"):60113,pq=pr?Symbol.for("react.suspense_list"):60120,g2=pr?Symbol.for("react.memo"):60115,m2=pr?Symbol.for("react.lazy"):60116,fq=pr?Symbol.for("react.block"):60121,hq=pr?Symbol.for("react.fundamental"):60117,gq=pr?Symbol.for("react.responder"):60118,mq=pr?Symbol.for("react.scope"):60119;function Vi(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case AE:switch(e=e.type,e){case xE:case p2:case s2:case u2:case l2:case h2:return e;default:switch(e=e&&e.$$typeof,e){case d2:case f2:case m2:case g2:case c2:return e;default:return t}}case CE:return t}}}function DO(e){return Vi(e)===p2}sn.AsyncMode=xE;sn.ConcurrentMode=p2;sn.ContextConsumer=d2;sn.ContextProvider=c2;sn.Element=AE;sn.ForwardRef=f2;sn.Fragment=s2;sn.Lazy=m2;sn.Memo=g2;sn.Portal=CE;sn.Profiler=u2;sn.StrictMode=l2;sn.Suspense=h2;sn.isAsyncMode=function(e){return DO(e)||Vi(e)===xE};sn.isConcurrentMode=DO;sn.isContextConsumer=function(e){return Vi(e)===d2};sn.isContextProvider=function(e){return Vi(e)===c2};sn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===AE};sn.isForwardRef=function(e){return Vi(e)===f2};sn.isFragment=function(e){return Vi(e)===s2};sn.isLazy=function(e){return Vi(e)===m2};sn.isMemo=function(e){return Vi(e)===g2};sn.isPortal=function(e){return Vi(e)===CE};sn.isProfiler=function(e){return Vi(e)===u2};sn.isStrictMode=function(e){return Vi(e)===l2};sn.isSuspense=function(e){return Vi(e)===h2};sn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===s2||e===p2||e===u2||e===l2||e===h2||e===pq||typeof e=="object"&&e!==null&&(e.$$typeof===m2||e.$$typeof===g2||e.$$typeof===c2||e.$$typeof===d2||e.$$typeof===f2||e.$$typeof===hq||e.$$typeof===gq||e.$$typeof===mq||e.$$typeof===fq)};sn.typeOf=Vi;OO.exports=sn;var bq=OO.exports,kE=bq,Eq={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},vq={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},yq={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},LO={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},IE={};IE[kE.ForwardRef]=yq;IE[kE.Memo]=LO;function CA(e){return kE.isMemo(e)?LO:IE[e.$$typeof]||Eq}var _q=Object.defineProperty,Tq=Object.getOwnPropertyNames,xA=Object.getOwnPropertySymbols,Sq=Object.getOwnPropertyDescriptor,wq=Object.getPrototypeOf,kA=Object.prototype;function MO(e,t,n){if(typeof t!="string"){if(kA){var r=wq(t);r&&r!==kA&&MO(e,r,n)}var i=Tq(t);xA&&(i=i.concat(xA(t)));for(var a=CA(e),o=CA(t),s=0;s1?t-1:0),r=1;r0?" Args: "+n.join(", "):""))}var kq=function(){function e(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var t=e.prototype;return t.indexOfGroup=function(n){for(var r=0,i=0;i=this.groupSizes.length){for(var i=this.groupSizes,a=i.length,o=a;n>=o;)(o<<=1)<0&&Sp(16,""+n);this.groupSizes=new Uint32Array(o),this.groupSizes.set(i),this.length=o;for(var s=a;s=this.length||this.groupSizes[n]===0)return r;for(var i=this.groupSizes[n],a=this.indexOfGroup(n),o=a+i,s=a;s=Sd&&(Sd=t+1),sh.set(e,t),Zh.set(t,e)},Nq="style["+K1+'][data-styled-version="5.3.11"]',Oq=new RegExp("^"+K1+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Dq=function(e,t,n){for(var r,i=n.split(","),a=0,o=i.length;a=0;c--){var p=u[c];if(p&&p.nodeType===1&&p.hasAttribute(K1))return p}}(n),a=i!==void 0?i.nextSibling:null;r.setAttribute(K1,"active"),r.setAttribute("data-styled-version","5.3.11");var o=Mq();return o&&r.setAttribute("nonce",o),n.insertBefore(r,a),r},Fq=function(){function e(n){var r=this.element=FO(n);r.appendChild(document.createTextNode("")),this.sheet=function(i){if(i.sheet)return i.sheet;for(var a=document.styleSheets,o=0,s=a.length;o=0){var i=document.createTextNode(r),a=this.nodes[n];return this.element.insertBefore(i,a||null),this.length++,!0}return!1},t.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},t.getRule=function(n){return n0&&(f+=m+",")}),a+=""+c+p+'{content:"'+f+`"}/*!sc*/ +`}}}return a}(this)},e}(),$q=/(a)(d)/gi,OA=function(e){return String.fromCharCode(e+(e>25?39:97))};function hb(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=OA(t%52)+n;return(OA(t%52)+n).replace($q,"$1-$2")}var b1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},BO=function(e){return b1(5381,e)};function zq(e){for(var t=0;t>>0);if(!n.hasNameForId(i,s)){var u=r(o,"."+s,void 0,i);n.insertRules(i,s,u)}a.push(s),this.staticRulesId=s}else{for(var c=this.rules.length,p=b1(this.baseHash,r.hash),f="",m=0;m>>0);if(!n.hasNameForId(i,T)){var v=r(f,"."+T,void 0,i);n.insertRules(i,T,v)}a.push(T)}}return a.join(" ")},e}(),Gq=/^\s*\/\/.*$/gm,Vq=[":","[",".","#"];function Wq(e){var t,n,r,i,a=e===void 0?nl:e,o=a.options,s=o===void 0?nl:o,u=a.plugins,c=u===void 0?Xh:u,p=new lq(s),f=[],m=function(b){function T(v){if(v)try{b(v+"}")}catch{}}return function(v,y,w,A,D,k,R,B,W,P){switch(v){case 1:if(W===0&&y.charCodeAt(0)===64)return b(y+";"),"";break;case 2:if(B===0)return y+"/*|*/";break;case 3:switch(B){case 102:case 112:return b(w[0]+y),"";default:return y+(P===0?"/*|*/":"")}case-2:y.split("/*|*/}").forEach(T)}}}(function(b){f.push(b)}),g=function(b,T,v){return T===0&&Vq.indexOf(v[n.length])!==-1||v.match(i)?b:"."+t};function E(b,T,v,y){y===void 0&&(y="&");var w=b.replace(Gq,""),A=T&&v?v+" "+T+" { "+w+" }":w;return t=y,n=T,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),p(v||!T?"":T,A)}return p.use([].concat(c,[function(b,T,v){b===2&&v.length&&v[0].lastIndexOf(n)>0&&(v[0]=v[0].replace(r,g))},m,function(b){if(b===-2){var T=f;return f=[],T}}])),E.hash=c.length?c.reduce(function(b,T){return T.name||Sp(15),b1(b,T.name)},5381).toString():"",E}var UO=ut.createContext();UO.Consumer;var $O=ut.createContext(),qq=($O.Consumer,new PO),gb=Wq();function Kq(){return C.useContext(UO)||qq}function Yq(){return C.useContext($O)||gb}var zO=function(){function e(t,n){var r=this;this.inject=function(i,a){a===void 0&&(a=gb);var o=r.name+a.hash;i.hasNameForId(r.id,o)||i.insertRules(r.id,o,a(r.rules,o,"@keyframes"))},this.toString=function(){return Sp(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=n}return e.prototype.getName=function(t){return t===void 0&&(t=gb),this.name+t.hash},e}(),Xq=/([A-Z])/,Zq=/([A-Z])/g,Qq=/^ms-/,Jq=function(e){return"-"+e.toLowerCase()};function DA(e){return Xq.test(e)?e.replace(Zq,Jq).replace(Qq,"-ms-"):e}var LA=function(e){return e==null||e===!1||e===""};function Y1(e,t,n,r){if(Array.isArray(e)){for(var i,a=[],o=0,s=e.length;o1?t-1:0),r=1;r?@[\\\]^`{|}~-]+/g,nK=/(^-|-$)/g;function e3(e){return e.replace(tK,"-").replace(nK,"")}var jO=function(e){return hb(BO(e)>>>0)};function c0(e){return typeof e=="string"&&!0}var mb=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},rK=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function iK(e,t,n){var r=e[n];mb(t)&&mb(r)?GO(r,t):e[n]=t}function GO(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0||(P[B]=k[B]);return P}(t,["componentId"]),D=w&&w+"-"+(c0(y)?y:e3(RA(y)));return WO(y,Yo({},A,{attrs:m,componentId:D}),n)},Object.defineProperty(E,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(y){this._foldedDefaultProps=r?GO({},e.defaultProps,y):y}}),Object.defineProperty(E,"toString",{value:function(){return"."+E.styledComponentId}}),i&&Cq(E,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),E}var bb=function(e){return function t(n,r,i){if(i===void 0&&(i=nl),!wE.isValidElementType(r))return Sp(1,String(r));var a=function(){return n(r,i,HO.apply(void 0,arguments))};return a.withConfig=function(o){return t(n,r,Yo({},i,{},o))},a.attrs=function(o){return t(n,r,Yo({},i,{attrs:Array.prototype.concat(i.attrs,o).filter(Boolean)}))},a}(WO,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){bb[e]=bb(e)});function b2(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r ({ x: e, y: e }), - oK = { left: "right", right: "left", bottom: "top", top: "bottom" }, - sK = { start: "end", end: "start" }; -function Eb(e, t, n) { - return M1(e, ip(t, n)); -} -function wp(e, t) { - return typeof e == "function" ? e(t) : e; -} -function fu(e) { - return e.split("-")[0]; -} -function Ap(e) { - return e.split("-")[1]; -} -function KO(e) { - return e === "x" ? "y" : "x"; -} -function OE(e) { - return e === "y" ? "height" : "width"; -} -function E2(e) { - return ["top", "bottom"].includes(fu(e)) ? "y" : "x"; -} -function DE(e) { - return KO(E2(e)); -} -function lK(e, t, n) { - n === void 0 && (n = !1); - const r = Ap(e), - i = DE(e), - a = OE(i); - let o = - i === "x" - ? r === (n ? "end" : "start") - ? "right" - : "left" - : r === "start" - ? "bottom" - : "top"; - return t.reference[a] > t.floating[a] && (o = Jh(o)), [o, Jh(o)]; -} -function uK(e) { - const t = Jh(e); - return [vb(e), t, vb(t)]; -} -function vb(e) { - return e.replace(/start|end/g, (t) => sK[t]); -} -function cK(e, t, n) { - const r = ["left", "right"], - i = ["right", "left"], - a = ["top", "bottom"], - o = ["bottom", "top"]; - switch (e) { - case "top": - case "bottom": - return n ? (t ? i : r) : t ? r : i; - case "left": - case "right": - return t ? a : o; - default: - return []; - } -} -function dK(e, t, n, r) { - const i = Ap(e); - let a = cK(fu(e), n === "start", r); - return ( - i && ((a = a.map((o) => o + "-" + i)), t && (a = a.concat(a.map(vb)))), a - ); -} -function Jh(e) { - return e.replace(/left|right|bottom|top/g, (t) => oK[t]); -} -function pK(e) { - return { top: 0, right: 0, bottom: 0, left: 0, ...e }; -} -function YO(e) { - return typeof e != "number" - ? pK(e) - : { top: e, right: e, bottom: e, left: e }; -} -function eg(e) { - return { - ...e, - top: e.y, - left: e.x, - right: e.x + e.width, - bottom: e.y + e.height, - }; -} -function PA(e, t, n) { - let { reference: r, floating: i } = e; - const a = E2(t), - o = DE(t), - s = OE(o), - u = fu(t), - c = a === "y", - p = r.x + r.width / 2 - i.width / 2, - f = r.y + r.height / 2 - i.height / 2, - m = r[s] / 2 - i[s] / 2; - let g; - switch (u) { - case "top": - g = { x: p, y: r.y - i.height }; - break; - case "bottom": - g = { x: p, y: r.y + r.height }; - break; - case "right": - g = { x: r.x + r.width, y: f }; - break; - case "left": - g = { x: r.x - i.width, y: f }; - break; - default: - g = { x: r.x, y: r.y }; - } - switch (Ap(t)) { - case "start": - g[o] -= m * (n && c ? -1 : 1); - break; - case "end": - g[o] += m * (n && c ? -1 : 1); - break; - } - return g; -} -const fK = async (e, t, n) => { - const { - placement: r = "bottom", - strategy: i = "absolute", - middleware: a = [], - platform: o, - } = n, - s = a.filter(Boolean), - u = await (o.isRTL == null ? void 0 : o.isRTL(t)); - let c = await o.getElementRects({ reference: e, floating: t, strategy: i }), - { x: p, y: f } = PA(c, r, u), - m = r, - g = {}, - E = 0; - for (let b = 0; b < s.length; b++) { - const { name: T, fn: v } = s[b], - { - x: y, - y: w, - data: A, - reset: D, - } = await v({ - x: p, - y: f, - initialPlacement: r, - placement: m, - strategy: i, - middlewareData: g, - rects: c, - platform: o, - elements: { reference: e, floating: t }, - }); - if ( - ((p = y ?? p), - (f = w ?? f), - (g = { ...g, [T]: { ...g[T], ...A } }), - D && E <= 50) - ) { - E++, - typeof D == "object" && - (D.placement && (m = D.placement), - D.rects && - (c = - D.rects === !0 - ? await o.getElementRects({ - reference: e, - floating: t, - strategy: i, - }) - : D.rects), - ({ x: p, y: f } = PA(c, m, u))), - (b = -1); - continue; - } - } - return { x: p, y: f, placement: m, strategy: i, middlewareData: g }; -}; -async function XO(e, t) { - var n; - t === void 0 && (t = {}); - const { x: r, y: i, platform: a, rects: o, elements: s, strategy: u } = e, - { - boundary: c = "clippingAncestors", - rootBoundary: p = "viewport", - elementContext: f = "floating", - altBoundary: m = !1, - padding: g = 0, - } = wp(t, e), - E = YO(g), - T = s[m ? (f === "floating" ? "reference" : "floating") : f], - v = eg( - await a.getClippingRect({ - element: - (n = await (a.isElement == null ? void 0 : a.isElement(T))) == null || - n - ? T - : T.contextElement || - (await (a.getDocumentElement == null - ? void 0 - : a.getDocumentElement(s.floating))), - boundary: c, - rootBoundary: p, - strategy: u, - }) - ), - y = f === "floating" ? { ...o.floating, x: r, y: i } : o.reference, - w = await (a.getOffsetParent == null - ? void 0 - : a.getOffsetParent(s.floating)), - A = (await (a.isElement == null ? void 0 : a.isElement(w))) - ? (await (a.getScale == null ? void 0 : a.getScale(w))) || { x: 1, y: 1 } - : { x: 1, y: 1 }, - D = eg( - a.convertOffsetParentRelativeRectToViewportRelativeRect - ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({ - rect: y, - offsetParent: w, - strategy: u, - }) - : y - ); - return { - top: (v.top - D.top + E.top) / A.y, - bottom: (D.bottom - v.bottom + E.bottom) / A.y, - left: (v.left - D.left + E.left) / A.x, - right: (D.right - v.right + E.right) / A.x, - }; -} -const hK = (e) => ({ - name: "arrow", - options: e, - async fn(t) { - const { - x: n, - y: r, - placement: i, - rects: a, - platform: o, - elements: s, - } = t, - { element: u, padding: c = 0 } = wp(e, t) || {}; - if (u == null) return {}; - const p = YO(c), - f = { x: n, y: r }, - m = DE(i), - g = OE(m), - E = await o.getDimensions(u), - b = m === "y", - T = b ? "top" : "left", - v = b ? "bottom" : "right", - y = b ? "clientHeight" : "clientWidth", - w = a.reference[g] + a.reference[m] - f[m] - a.floating[g], - A = f[m] - a.reference[m], - D = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(u)); - let k = D ? D[y] : 0; - (!k || !(await (o.isElement == null ? void 0 : o.isElement(D)))) && - (k = s.floating[y] || a.floating[g]); - const R = w / 2 - A / 2, - B = k / 2 - E[g] / 2 - 1, - W = ip(p[T], B), - P = ip(p[v], B), - Q = W, - z = k - E[g] - P, - le = k / 2 - E[g] / 2 + R, - he = Eb(Q, le, z), - fe = - Ap(i) != null && - le != he && - a.reference[g] / 2 - (le < Q ? W : P) - E[g] / 2 < 0 - ? le < Q - ? Q - le - : z - le - : 0; - return { [m]: f[m] - fe, data: { [m]: he, centerOffset: le - he + fe } }; - }, - }), - gK = function (e) { - return ( - e === void 0 && (e = {}), - { - name: "flip", - options: e, - async fn(t) { - var n; - const { - placement: r, - middlewareData: i, - rects: a, - initialPlacement: o, - platform: s, - elements: u, - } = t, - { - mainAxis: c = !0, - crossAxis: p = !0, - fallbackPlacements: f, - fallbackStrategy: m = "bestFit", - fallbackAxisSideDirection: g = "none", - flipAlignment: E = !0, - ...b - } = wp(e, t), - T = fu(r), - v = fu(o) === o, - y = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), - w = f || (v || !E ? [Jh(o)] : uK(o)); - !f && g !== "none" && w.push(...dK(o, E, g, y)); - const A = [o, ...w], - D = await XO(t, b), - k = []; - let R = ((n = i.flip) == null ? void 0 : n.overflows) || []; - if ((c && k.push(D[T]), p)) { - const Q = lK(r, a, y); - k.push(D[Q[0]], D[Q[1]]); - } - if ( - ((R = [...R, { placement: r, overflows: k }]), - !k.every((Q) => Q <= 0)) - ) { - var B, W; - const Q = (((B = i.flip) == null ? void 0 : B.index) || 0) + 1, - z = A[Q]; - if (z) - return { - data: { index: Q, overflows: R }, - reset: { placement: z }, - }; - let le = - (W = R.filter((he) => he.overflows[0] <= 0).sort( - (he, de) => he.overflows[1] - de.overflows[1] - )[0]) == null - ? void 0 - : W.placement; - if (!le) - switch (m) { - case "bestFit": { - var P; - const he = - (P = R.map((de) => [ - de.placement, - de.overflows - .filter((fe) => fe > 0) - .reduce((fe, Z) => fe + Z, 0), - ]).sort((de, fe) => de[1] - fe[1])[0]) == null - ? void 0 - : P[0]; - he && (le = he); - break; - } - case "initialPlacement": - le = o; - break; - } - if (r !== le) return { reset: { placement: le } }; - } - return {}; - }, - } - ); - }; -async function mK(e, t) { - const { placement: n, platform: r, elements: i } = e, - a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), - o = fu(n), - s = Ap(n), - u = E2(n) === "y", - c = ["left", "top"].includes(o) ? -1 : 1, - p = a && u ? -1 : 1, - f = wp(t, e); - let { - mainAxis: m, - crossAxis: g, - alignmentAxis: E, - } = typeof f == "number" - ? { mainAxis: f, crossAxis: 0, alignmentAxis: null } - : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...f }; - return ( - s && typeof E == "number" && (g = s === "end" ? E * -1 : E), - u ? { x: g * p, y: m * c } : { x: m * c, y: g * p } - ); -} -const bK = function (e) { - return ( - e === void 0 && (e = 0), - { - name: "offset", - options: e, - async fn(t) { - const { x: n, y: r } = t, - i = await mK(t, e); - return { x: n + i.x, y: r + i.y, data: i }; - }, - } - ); - }, - EK = function (e) { - return ( - e === void 0 && (e = {}), - { - name: "shift", - options: e, - async fn(t) { - const { x: n, y: r, placement: i } = t, - { - mainAxis: a = !0, - crossAxis: o = !1, - limiter: s = { - fn: (T) => { - let { x: v, y } = T; - return { x: v, y }; - }, - }, - ...u - } = wp(e, t), - c = { x: n, y: r }, - p = await XO(t, u), - f = E2(fu(i)), - m = KO(f); - let g = c[m], - E = c[f]; - if (a) { - const T = m === "y" ? "top" : "left", - v = m === "y" ? "bottom" : "right", - y = g + p[T], - w = g - p[v]; - g = Eb(y, g, w); - } - if (o) { - const T = f === "y" ? "top" : "left", - v = f === "y" ? "bottom" : "right", - y = E + p[T], - w = E - p[v]; - E = Eb(y, E, w); - } - const b = s.fn({ ...t, [m]: g, [f]: E }); - return { ...b, data: { x: b.x - n, y: b.y - r } }; - }, - } - ); - }; -function dl(e) { - return ZO(e) ? (e.nodeName || "").toLowerCase() : "#document"; -} -function Mi(e) { - var t; - return ( - (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || - window - ); -} -function El(e) { - var t; - return (t = (ZO(e) ? e.ownerDocument : e.document) || window.document) == null - ? void 0 - : t.documentElement; -} -function ZO(e) { - return e instanceof Node || e instanceof Mi(e).Node; -} -function ns(e) { - return e instanceof Element || e instanceof Mi(e).Element; -} -function vo(e) { - return e instanceof HTMLElement || e instanceof Mi(e).HTMLElement; -} -function BA(e) { - return typeof ShadowRoot > "u" - ? !1 - : e instanceof ShadowRoot || e instanceof Mi(e).ShadowRoot; -} -function Cp(e) { - const { overflow: t, overflowX: n, overflowY: r, display: i } = ma(e); - return ( - /auto|scroll|overlay|hidden|clip/.test(t + r + n) && - !["inline", "contents"].includes(i) - ); -} -function vK(e) { - return ["table", "td", "th"].includes(dl(e)); -} -function LE(e) { - const t = ME(), - n = ma(e); - return ( - n.transform !== "none" || - n.perspective !== "none" || - (n.containerType ? n.containerType !== "normal" : !1) || - (!t && (n.backdropFilter ? n.backdropFilter !== "none" : !1)) || - (!t && (n.filter ? n.filter !== "none" : !1)) || - ["transform", "perspective", "filter"].some((r) => - (n.willChange || "").includes(r) - ) || - ["paint", "layout", "strict", "content"].some((r) => - (n.contain || "").includes(r) - ) - ); -} -function yK(e) { - let t = X1(e); - for (; vo(t) && !v2(t); ) { - if (LE(t)) return t; - t = X1(t); - } - return null; -} -function ME() { - return typeof CSS > "u" || !CSS.supports - ? !1 - : CSS.supports("-webkit-backdrop-filter", "none"); -} -function v2(e) { - return ["html", "body", "#document"].includes(dl(e)); -} -function ma(e) { - return Mi(e).getComputedStyle(e); -} -function y2(e) { - return ns(e) - ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } - : { scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset }; -} -function X1(e) { - if (dl(e) === "html") return e; - const t = e.assignedSlot || e.parentNode || (BA(e) && e.host) || El(e); - return BA(t) ? t.host : t; -} -function QO(e) { - const t = X1(e); - return v2(t) - ? e.ownerDocument - ? e.ownerDocument.body - : e.body - : vo(t) && Cp(t) - ? t - : QO(t); -} -function JO(e, t) { - var n; - t === void 0 && (t = []); - const r = QO(e), - i = r === ((n = e.ownerDocument) == null ? void 0 : n.body), - a = Mi(r); - return i - ? t.concat(a, a.visualViewport || [], Cp(r) ? r : []) - : t.concat(r, JO(r)); -} -function eD(e) { - const t = ma(e); - let n = parseFloat(t.width) || 0, - r = parseFloat(t.height) || 0; - const i = vo(e), - a = i ? e.offsetWidth : n, - o = i ? e.offsetHeight : r, - s = Qh(n) !== a || Qh(r) !== o; - return s && ((n = a), (r = o)), { width: n, height: r, $: s }; -} -function tD(e) { - return ns(e) ? e : e.contextElement; -} -function F1(e) { - const t = tD(e); - if (!vo(t)) return cl(1); - const n = t.getBoundingClientRect(), - { width: r, height: i, $: a } = eD(t); - let o = (a ? Qh(n.width) : n.width) / r, - s = (a ? Qh(n.height) : n.height) / i; - return ( - (!o || !Number.isFinite(o)) && (o = 1), - (!s || !Number.isFinite(s)) && (s = 1), - { x: o, y: s } - ); -} -const _K = cl(0); -function nD(e) { - const t = Mi(e); - return !ME() || !t.visualViewport - ? _K - : { x: t.visualViewport.offsetLeft, y: t.visualViewport.offsetTop }; -} -function TK(e, t, n) { - return t === void 0 && (t = !1), !n || (t && n !== Mi(e)) ? !1 : t; -} -function ap(e, t, n, r) { - t === void 0 && (t = !1), n === void 0 && (n = !1); - const i = e.getBoundingClientRect(), - a = tD(e); - let o = cl(1); - t && (r ? ns(r) && (o = F1(r)) : (o = F1(e))); - const s = TK(a, n, r) ? nD(a) : cl(0); - let u = (i.left + s.x) / o.x, - c = (i.top + s.y) / o.y, - p = i.width / o.x, - f = i.height / o.y; - if (a) { - const m = Mi(a), - g = r && ns(r) ? Mi(r) : r; - let E = m.frameElement; - for (; E && r && g !== m; ) { - const b = F1(E), - T = E.getBoundingClientRect(), - v = ma(E), - y = T.left + (E.clientLeft + parseFloat(v.paddingLeft)) * b.x, - w = T.top + (E.clientTop + parseFloat(v.paddingTop)) * b.y; - (u *= b.x), - (c *= b.y), - (p *= b.x), - (f *= b.y), - (u += y), - (c += w), - (E = Mi(E).frameElement); - } - } - return eg({ width: p, height: f, x: u, y: c }); -} -function SK(e) { - let { rect: t, offsetParent: n, strategy: r } = e; - const i = vo(n), - a = El(n); - if (n === a) return t; - let o = { scrollLeft: 0, scrollTop: 0 }, - s = cl(1); - const u = cl(0); - if ( - (i || (!i && r !== "fixed")) && - ((dl(n) !== "body" || Cp(a)) && (o = y2(n)), vo(n)) - ) { - const c = ap(n); - (s = F1(n)), (u.x = c.x + n.clientLeft), (u.y = c.y + n.clientTop); - } - return { - width: t.width * s.x, - height: t.height * s.y, - x: t.x * s.x - o.scrollLeft * s.x + u.x, - y: t.y * s.y - o.scrollTop * s.y + u.y, - }; -} -function wK(e) { - return Array.from(e.getClientRects()); -} -function rD(e) { - return ap(El(e)).left + y2(e).scrollLeft; -} -function AK(e) { - const t = El(e), - n = y2(e), - r = e.ownerDocument.body, - i = M1(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), - a = M1(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight); - let o = -n.scrollLeft + rD(e); - const s = -n.scrollTop; - return ( - ma(r).direction === "rtl" && (o += M1(t.clientWidth, r.clientWidth) - i), - { width: i, height: a, x: o, y: s } - ); -} -function CK(e, t) { - const n = Mi(e), - r = El(e), - i = n.visualViewport; - let a = r.clientWidth, - o = r.clientHeight, - s = 0, - u = 0; - if (i) { - (a = i.width), (o = i.height); - const c = ME(); - (!c || (c && t === "fixed")) && ((s = i.offsetLeft), (u = i.offsetTop)); - } - return { width: a, height: o, x: s, y: u }; -} -function xK(e, t) { - const n = ap(e, !0, t === "fixed"), - r = n.top + e.clientTop, - i = n.left + e.clientLeft, - a = vo(e) ? F1(e) : cl(1), - o = e.clientWidth * a.x, - s = e.clientHeight * a.y, - u = i * a.x, - c = r * a.y; - return { width: o, height: s, x: u, y: c }; -} -function UA(e, t, n) { - let r; - if (t === "viewport") r = CK(e, n); - else if (t === "document") r = AK(El(e)); - else if (ns(t)) r = xK(t, n); - else { - const i = nD(e); - r = { ...t, x: t.x - i.x, y: t.y - i.y }; - } - return eg(r); -} -function iD(e, t) { - const n = X1(e); - return n === t || !ns(n) || v2(n) - ? !1 - : ma(n).position === "fixed" || iD(n, t); -} -function kK(e, t) { - const n = t.get(e); - if (n) return n; - let r = JO(e).filter((s) => ns(s) && dl(s) !== "body"), - i = null; - const a = ma(e).position === "fixed"; - let o = a ? X1(e) : e; - for (; ns(o) && !v2(o); ) { - const s = ma(o), - u = LE(o); - !u && s.position === "fixed" && (i = null), - ( - a - ? !u && !i - : (!u && - s.position === "static" && - !!i && - ["absolute", "fixed"].includes(i.position)) || - (Cp(o) && !u && iD(e, o)) - ) - ? (r = r.filter((p) => p !== o)) - : (i = s), - (o = X1(o)); - } - return t.set(e, r), r; -} -function IK(e) { - let { element: t, boundary: n, rootBoundary: r, strategy: i } = e; - const o = [...(n === "clippingAncestors" ? kK(t, this._c) : [].concat(n)), r], - s = o[0], - u = o.reduce((c, p) => { - const f = UA(t, p, i); - return ( - (c.top = M1(f.top, c.top)), - (c.right = ip(f.right, c.right)), - (c.bottom = ip(f.bottom, c.bottom)), - (c.left = M1(f.left, c.left)), - c - ); - }, UA(t, s, i)); - return { - width: u.right - u.left, - height: u.bottom - u.top, - x: u.left, - y: u.top, - }; -} -function RK(e) { - return eD(e); -} -function NK(e, t, n) { - const r = vo(t), - i = El(t), - a = n === "fixed", - o = ap(e, !0, a, t); - let s = { scrollLeft: 0, scrollTop: 0 }; - const u = cl(0); - if (r || (!r && !a)) - if (((dl(t) !== "body" || Cp(i)) && (s = y2(t)), r)) { - const c = ap(t, !0, a, t); - (u.x = c.x + t.clientLeft), (u.y = c.y + t.clientTop); - } else i && (u.x = rD(i)); - return { - x: o.left + s.scrollLeft - u.x, - y: o.top + s.scrollTop - u.y, - width: o.width, - height: o.height, - }; -} -function $A(e, t) { - return !vo(e) || ma(e).position === "fixed" - ? null - : t - ? t(e) - : e.offsetParent; -} -function aD(e, t) { - const n = Mi(e); - if (!vo(e)) return n; - let r = $A(e, t); - for (; r && vK(r) && ma(r).position === "static"; ) r = $A(r, t); - return r && - (dl(r) === "html" || - (dl(r) === "body" && ma(r).position === "static" && !LE(r))) - ? n - : r || yK(e) || n; -} -const OK = async function (e) { - let { reference: t, floating: n, strategy: r } = e; - const i = this.getOffsetParent || aD, - a = this.getDimensions; - return { - reference: NK(t, await i(n), r), - floating: { x: 0, y: 0, ...(await a(n)) }, - }; -}; -function DK(e) { - return ma(e).direction === "rtl"; -} -const LK = { - convertOffsetParentRelativeRectToViewportRelativeRect: SK, - getDocumentElement: El, - getClippingRect: IK, - getOffsetParent: aD, - getElementRects: OK, - getClientRects: wK, - getDimensions: RK, - getScale: F1, - isElement: ns, - isRTL: DK, - }, - zA = (e, t, n) => { - const r = new Map(), - i = { platform: LK, ...n }, - a = { ...i.platform, _c: r }; - return fK(e, t, { ...i, platform: a }); - }; -/* - * React Tooltip - * {@link https://github.com/ReactTooltip/react-tooltip} - * @copyright ReactTooltip Team - * @license MIT - */ const MK = "react-tooltip-core-styles", - FK = "react-tooltip-base-styles", - HA = { core: !1, base: !1 }; -function jA({ css: e, id: t = FK, type: n = "base", ref: r }) { - var i, a; - if ( - !e || - typeof document > "u" || - HA[n] || - (n === "core" && - typeof process < "u" && - !( - (i = process == null ? void 0 : process.env) === null || i === void 0 - ) && - i.REACT_TOOLTIP_DISABLE_CORE_STYLES) || - (n !== "base" && - typeof process < "u" && - !( - (a = process == null ? void 0 : process.env) === null || a === void 0 - ) && - a.REACT_TOOLTIP_DISABLE_BASE_STYLES) - ) - return; - n === "core" && (t = MK), r || (r = {}); - const { insertAt: o } = r; - if (document.getElementById(t)) - return void console.warn( - `[react-tooltip] Element with id '${t}' already exists. Call \`removeStyle()\` first` - ); - const s = document.head || document.getElementsByTagName("head")[0], - u = document.createElement("style"); - (u.id = t), - (u.type = "text/css"), - o === "top" && s.firstChild - ? s.insertBefore(u, s.firstChild) - : s.appendChild(u), - u.styleSheet - ? (u.styleSheet.cssText = e) - : u.appendChild(document.createTextNode(e)), - (HA[n] = !0); -} -const GA = (e, t, n) => { - let r = null; - return function (...i) { - const a = () => { - (r = null), n || e.apply(this, i); - }; - n && !r && (e.apply(this, i), (r = setTimeout(a, t))), - n || (r && clearTimeout(r), (r = setTimeout(a, t))); - }; - }, - PK = "DEFAULT_TOOLTIP_ID", - BK = { - anchorRefs: new Set(), - activeAnchor: { current: null }, - attach: () => {}, - detach: () => {}, - setActiveAnchor: () => {}, - }, - UK = C.createContext({ getTooltipData: () => BK }); -function oD(e = PK) { - return C.useContext(UK).getTooltipData(e); -} -const $K = typeof window < "u" ? C.useLayoutEffect : C.useEffect, - zK = (e) => { - if (!(e instanceof HTMLElement || e instanceof SVGElement)) return !1; - const t = getComputedStyle(e); - return ["overflow", "overflow-x", "overflow-y"].some((n) => { - const r = t.getPropertyValue(n); - return r === "auto" || r === "scroll"; - }); - }, - VA = (e) => { - if (!e) return null; - let t = e.parentElement; - for (; t; ) { - if (zK(t)) return t; - t = t.parentElement; - } - return document.scrollingElement || document.documentElement; - }, - WA = async ({ - elementReference: e = null, - tooltipReference: t = null, - tooltipArrowReference: n = null, - place: r = "top", - offset: i = 10, - strategy: a = "absolute", - middlewares: o = [bK(Number(i)), gK(), EK({ padding: 5 })], - border: s, - }) => { - if (!e) return { tooltipStyles: {}, tooltipArrowStyles: {}, place: r }; - if (t === null) - return { tooltipStyles: {}, tooltipArrowStyles: {}, place: r }; - const u = o; - return n - ? (u.push(hK({ element: n, padding: 5 })), - zA(e, t, { placement: r, strategy: a, middleware: u }).then( - ({ x: c, y: p, placement: f, middlewareData: m }) => { - var g, E; - const b = { left: `${c}px`, top: `${p}px`, border: s }, - { x: T, y: v } = - (g = m.arrow) !== null && g !== void 0 ? g : { x: 0, y: 0 }, - y = - (E = { - top: "bottom", - right: "left", - bottom: "top", - left: "right", - }[f.split("-")[0]]) !== null && E !== void 0 - ? E - : "bottom", - w = - s && - { - top: { borderBottom: s, borderRight: s }, - right: { borderBottom: s, borderLeft: s }, - bottom: { borderTop: s, borderLeft: s }, - left: { borderTop: s, borderRight: s }, - }[f.split("-")[0]]; - let A = 0; - if (s) { - const D = `${s}`.match(/(\d+)px/); - A = D != null && D[1] ? Number(D[1]) : 1; - } - return { - tooltipStyles: b, - tooltipArrowStyles: { - left: T != null ? `${T}px` : "", - top: v != null ? `${v}px` : "", - right: "", - bottom: "", - ...w, - [y]: `-${4 + A}px`, - }, - place: f, - }; - } - )) - : zA(e, t, { placement: "bottom", strategy: a, middleware: u }).then( - ({ x: c, y: p, placement: f }) => ({ - tooltipStyles: { left: `${c}px`, top: `${p}px` }, - tooltipArrowStyles: {}, - place: f, - }) - ); - }; -var HK = "core-styles-module_tooltip__3vRRp", - jK = "core-styles-module_fixed__pcSol", - GK = "core-styles-module_arrow__cvMwQ", - VK = "core-styles-module_noArrow__xock6", - WK = "core-styles-module_clickable__ZuTTB", - qK = "core-styles-module_show__Nt9eE", - n3 = { - tooltip: "styles-module_tooltip__mnnfp", - arrow: "styles-module_arrow__K0L3T", - dark: "styles-module_dark__xNqje", - light: "styles-module_light__Z6W-X", - success: "styles-module_success__A2AKt", - warning: "styles-module_warning__SCK0X", - error: "styles-module_error__JvumD", - info: "styles-module_info__BWdHW", - }; -const KK = ({ - id: e, - className: t, - classNameArrow: n, - variant: r = "dark", - anchorId: i, - anchorSelect: a, - place: o = "top", - offset: s = 10, - events: u = ["hover"], - openOnClick: c = !1, - positionStrategy: p = "absolute", - middlewares: f, - wrapper: m, - delayShow: g = 0, - delayHide: E = 0, - float: b = !1, - hidden: T = !1, - noArrow: v = !1, - clickable: y = !1, - closeOnEsc: w = !1, - closeOnScroll: A = !1, - closeOnResize: D = !1, - style: k, - position: R, - afterShow: B, - afterHide: W, - content: P, - contentWrapperRef: Q, - isOpen: z, - setIsOpen: le, - activeAnchor: he, - setActiveAnchor: de, - border: fe, - opacity: Z, - }) => { - const V = C.useRef(null), - ce = C.useRef(null), - N = C.useRef(null), - me = C.useRef(null), - [oe, O] = C.useState(o), - [re, Te] = C.useState({}), - [K, xe] = C.useState({}), - [ne, Le] = C.useState(!1), - [Re, Xe] = C.useState(!1), - Ve = C.useRef(!1), - dt = C.useRef(null), - { anchorRefs: ot, setActiveAnchor: Ge } = oD(e), - pt = C.useRef(!1), - [U, ie] = C.useState([]), - pe = C.useRef(!1), - ke = c || u.includes("click"); - $K( - () => ( - (pe.current = !0), - () => { - pe.current = !1; - } - ), - [] - ), - C.useEffect(() => { - if (!ne) { - const se = setTimeout(() => { - Xe(!1); - }, 150); - return () => { - clearTimeout(se); - }; - } - return () => null; - }, [ne]); - const ve = (se) => { - pe.current && - (se && Xe(!0), - setTimeout(() => { - pe.current && (le == null || le(se), z === void 0 && Le(se)); - }, 10)); - }; - C.useEffect(() => { - if (z === void 0) return () => null; - z && Xe(!0); - const se = setTimeout(() => { - Le(z); - }, 10); - return () => { - clearTimeout(se); - }; - }, [z]), - C.useEffect(() => { - ne !== Ve.current && - ((Ve.current = ne), ne ? B == null || B() : W == null || W()); - }, [ne]); - const Se = (se = E) => { - me.current && clearTimeout(me.current), - (me.current = setTimeout(() => { - pt.current || ve(!1); - }, se)); - }, - Me = (se) => { - var j; - if (!se) return; - const $ = - (j = se.currentTarget) !== null && j !== void 0 ? j : se.target; - if (!($ != null && $.isConnected)) - return de(null), void Ge({ current: null }); - g - ? (N.current && clearTimeout(N.current), - (N.current = setTimeout(() => { - ve(!0); - }, g))) - : ve(!0), - de($), - Ge({ current: $ }), - me.current && clearTimeout(me.current); - }, - ze = () => { - y ? Se(E || 100) : E ? Se() : ve(!1), - N.current && clearTimeout(N.current); - }, - Ke = ({ x: se, y: j }) => { - WA({ - place: o, - offset: s, - elementReference: { - getBoundingClientRect: () => ({ - x: se, - y: j, - width: 0, - height: 0, - top: j, - left: se, - right: se, - bottom: j, - }), - }, - tooltipReference: V.current, - tooltipArrowReference: ce.current, - strategy: p, - middlewares: f, - border: fe, - }).then(($) => { - Object.keys($.tooltipStyles).length && Te($.tooltipStyles), - Object.keys($.tooltipArrowStyles).length && - xe($.tooltipArrowStyles), - O($.place); - }); - }, - jt = (se) => { - if (!se) return; - const j = se, - $ = { x: j.clientX, y: j.clientY }; - Ke($), (dt.current = $); - }, - ue = (se) => { - Me(se), E && Se(); - }, - ye = (se) => { - var j; - [document.querySelector(`[id='${i}']`), ...U].some(($) => - $ == null ? void 0 : $.contains(se.target) - ) || - (!((j = V.current) === null || j === void 0) && - j.contains(se.target)) || - (ve(!1), N.current && clearTimeout(N.current)); - }, - We = GA(Me, 50, !0), - at = GA(ze, 50, !0); - C.useEffect(() => { - var se, j; - const $ = new Set(ot); - U.forEach((Zt) => { - $.add({ current: Zt }); - }); - const J = document.querySelector(`[id='${i}']`); - J && $.add({ current: J }); - const be = () => { - ve(!1); - }, - Fe = VA(he), - De = VA(V.current); - A && - (window.addEventListener("scroll", be), - Fe == null || Fe.addEventListener("scroll", be), - De == null || De.addEventListener("scroll", be)), - D && window.addEventListener("resize", be); - const tt = (Zt) => { - Zt.key === "Escape" && ve(!1); - }; - w && window.addEventListener("keydown", tt); - const Je = []; - ke - ? (window.addEventListener("click", ye), - Je.push({ event: "click", listener: ue })) - : (Je.push( - { event: "mouseenter", listener: We }, - { event: "mouseleave", listener: at }, - { event: "focus", listener: We }, - { event: "blur", listener: at } - ), - b && Je.push({ event: "mousemove", listener: jt })); - const Ze = () => { - pt.current = !0; - }, - Rt = () => { - (pt.current = !1), ze(); - }; - return ( - y && - !ke && - ((se = V.current) === null || - se === void 0 || - se.addEventListener("mouseenter", Ze), - (j = V.current) === null || - j === void 0 || - j.addEventListener("mouseleave", Rt)), - Je.forEach(({ event: Zt, listener: kt }) => { - $.forEach((nn) => { - var Yt; - (Yt = nn.current) === null || - Yt === void 0 || - Yt.addEventListener(Zt, kt); - }); - }), - () => { - var Zt, kt; - A && - (window.removeEventListener("scroll", be), - Fe == null || Fe.removeEventListener("scroll", be), - De == null || De.removeEventListener("scroll", be)), - D && window.removeEventListener("resize", be), - ke && window.removeEventListener("click", ye), - w && window.removeEventListener("keydown", tt), - y && - !ke && - ((Zt = V.current) === null || - Zt === void 0 || - Zt.removeEventListener("mouseenter", Ze), - (kt = V.current) === null || - kt === void 0 || - kt.removeEventListener("mouseleave", Rt)), - Je.forEach(({ event: nn, listener: Yt }) => { - $.forEach((jr) => { - var Gr; - (Gr = jr.current) === null || - Gr === void 0 || - Gr.removeEventListener(nn, Yt); - }); - }); - } - ); - }, [Re, ot, U, w, u]), - C.useEffect(() => { - let se = a ?? ""; - !se && e && (se = `[data-tooltip-id='${e}']`); - const j = new MutationObserver(($) => { - const J = []; - $.forEach((be) => { - if ( - (be.type === "attributes" && - be.attributeName === "data-tooltip-id" && - be.target.getAttribute("data-tooltip-id") === e && - J.push(be.target), - be.type === "childList" && - (he && - [...be.removedNodes].some((Fe) => { - var De; - return ( - !!( - !( - (De = Fe == null ? void 0 : Fe.contains) === null || - De === void 0 - ) && De.call(Fe, he) - ) && - (Xe(!1), - ve(!1), - de(null), - N.current && clearTimeout(N.current), - me.current && clearTimeout(me.current), - !0) - ); - }), - se)) - ) - try { - const Fe = [...be.addedNodes].filter((De) => De.nodeType === 1); - J.push(...Fe.filter((De) => De.matches(se))), - J.push(...Fe.flatMap((De) => [...De.querySelectorAll(se)])); - } catch {} - }), - J.length && ie((be) => [...be, ...J]); - }); - return ( - j.observe(document.body, { - childList: !0, - subtree: !0, - attributes: !0, - attributeFilter: ["data-tooltip-id"], - }), - () => { - j.disconnect(); - } - ); - }, [e, a, he]); - const Qe = () => { - R - ? Ke(R) - : b - ? dt.current && Ke(dt.current) - : WA({ - place: o, - offset: s, - elementReference: he, - tooltipReference: V.current, - tooltipArrowReference: ce.current, - strategy: p, - middlewares: f, - border: fe, - }).then((se) => { - pe.current && - (Object.keys(se.tooltipStyles).length && Te(se.tooltipStyles), - Object.keys(se.tooltipArrowStyles).length && - xe(se.tooltipArrowStyles), - O(se.place)); - }); - }; - C.useEffect(() => { - Qe(); - }, [ne, he, P, k, o, s, p, R]), - C.useEffect(() => { - if (!(Q != null && Q.current)) return () => null; - const se = new ResizeObserver(() => { - Qe(); - }); - return ( - se.observe(Q.current), - () => { - se.disconnect(); - } - ); - }, [P, Q == null ? void 0 : Q.current]), - C.useEffect(() => { - var se; - const j = document.querySelector(`[id='${i}']`), - $ = [...U, j]; - (he && $.includes(he)) || - de((se = U[0]) !== null && se !== void 0 ? se : j); - }, [i, U, he]), - C.useEffect( - () => () => { - N.current && clearTimeout(N.current), - me.current && clearTimeout(me.current); - }, - [] - ), - C.useEffect(() => { - let se = a; - if ((!se && e && (se = `[data-tooltip-id='${e}']`), se)) - try { - const j = Array.from(document.querySelectorAll(se)); - ie(j); - } catch { - ie([]); - } - }, [e, a]); - const Y = !T && P && ne && Object.keys(re).length > 0; - return Re - ? ut.createElement( - m, - { - id: e, - role: "tooltip", - className: FA( - "react-tooltip", - HK, - n3.tooltip, - n3[r], - t, - `react-tooltip__place-${oe}`, - { [qK]: Y, [jK]: p === "fixed", [WK]: y } - ), - style: { ...k, ...re, opacity: Z !== void 0 && Y ? Z : void 0 }, - ref: V, - }, - P, - ut.createElement(m, { - className: FA("react-tooltip-arrow", GK, n3.arrow, n, { [VK]: v }), - style: K, - ref: ce, - }) - ) - : null; - }, - YK = ({ content: e }) => - ut.createElement("span", { dangerouslySetInnerHTML: { __html: e } }), - XK = ({ - id: e, - anchorId: t, - anchorSelect: n, - content: r, - html: i, - render: a, - className: o, - classNameArrow: s, - variant: u = "dark", - place: c = "top", - offset: p = 10, - wrapper: f = "div", - children: m = null, - events: g = ["hover"], - openOnClick: E = !1, - positionStrategy: b = "absolute", - middlewares: T, - delayShow: v = 0, - delayHide: y = 0, - float: w = !1, - hidden: A = !1, - noArrow: D = !1, - clickable: k = !1, - closeOnEsc: R = !1, - closeOnScroll: B = !1, - closeOnResize: W = !1, - style: P, - position: Q, - isOpen: z, - disableStyleInjection: le = !1, - border: he, - opacity: de, - setIsOpen: fe, - afterShow: Z, - afterHide: V, - }) => { - const [ce, N] = C.useState(r), - [me, oe] = C.useState(i), - [O, re] = C.useState(c), - [Te, K] = C.useState(u), - [xe, ne] = C.useState(p), - [Le, Re] = C.useState(v), - [Xe, Ve] = C.useState(y), - [dt, ot] = C.useState(w), - [Ge, pt] = C.useState(A), - [U, ie] = C.useState(f), - [pe, ke] = C.useState(g), - [ve, Se] = C.useState(b), - [Me, ze] = C.useState(null), - Ke = C.useRef(le), - { anchorRefs: jt, activeAnchor: ue } = oD(e), - ye = (se) => - se == null - ? void 0 - : se.getAttributeNames().reduce((j, $) => { - var J; - return ( - $.startsWith("data-tooltip-") && - (j[$.replace(/^data-tooltip-/, "")] = - (J = se == null ? void 0 : se.getAttribute($)) !== null && - J !== void 0 - ? J - : null), - j - ); - }, {}), - We = (se) => { - const j = { - place: ($) => { - var J; - re((J = $) !== null && J !== void 0 ? J : c); - }, - content: ($) => { - N($ ?? r); - }, - html: ($) => { - oe($ ?? i); - }, - variant: ($) => { - var J; - K((J = $) !== null && J !== void 0 ? J : u); - }, - offset: ($) => { - ne($ === null ? p : Number($)); - }, - wrapper: ($) => { - var J; - ie((J = $) !== null && J !== void 0 ? J : f); - }, - events: ($) => { - const J = $ == null ? void 0 : $.split(" "); - ke(J ?? g); - }, - "position-strategy": ($) => { - var J; - Se((J = $) !== null && J !== void 0 ? J : b); - }, - "delay-show": ($) => { - Re($ === null ? v : Number($)); - }, - "delay-hide": ($) => { - Ve($ === null ? y : Number($)); - }, - float: ($) => { - ot($ === null ? w : $ === "true"); - }, - hidden: ($) => { - pt($ === null ? A : $ === "true"); - }, - }; - Object.values(j).forEach(($) => $(null)), - Object.entries(se).forEach(([$, J]) => { - var be; - (be = j[$]) === null || be === void 0 || be.call(j, J); - }); - }; - C.useEffect(() => { - N(r); - }, [r]), - C.useEffect(() => { - oe(i); - }, [i]), - C.useEffect(() => { - re(c); - }, [c]), - C.useEffect(() => { - K(u); - }, [u]), - C.useEffect(() => { - ne(p); - }, [p]), - C.useEffect(() => { - Re(v); - }, [v]), - C.useEffect(() => { - Ve(y); - }, [y]), - C.useEffect(() => { - ot(w); - }, [w]), - C.useEffect(() => { - pt(A); - }, [A]), - C.useEffect(() => { - Se(b); - }, [b]), - C.useEffect(() => { - Ke.current !== le && - console.warn( - "[react-tooltip] Do not change `disableStyleInjection` dynamically." - ); - }, [le]), - C.useEffect(() => { - typeof window < "u" && - window.dispatchEvent( - new CustomEvent("react-tooltip-inject-styles", { - detail: { disableCore: le === "core", disableBase: le }, - }) - ); - }, []), - C.useEffect(() => { - var se; - const j = new Set(jt); - let $ = n; - if ((!$ && e && ($ = `[data-tooltip-id='${e}']`), $)) - try { - document.querySelectorAll($).forEach((tt) => { - j.add({ current: tt }); - }); - } catch { - console.warn(`[react-tooltip] "${$}" is not a valid CSS selector`); - } - const J = document.querySelector(`[id='${t}']`); - if ((J && j.add({ current: J }), !j.size)) return () => null; - const be = (se = Me ?? J) !== null && se !== void 0 ? se : ue.current, - Fe = new MutationObserver((tt) => { - tt.forEach((Je) => { - var Ze; - if ( - !be || - Je.type !== "attributes" || - !( - !((Ze = Je.attributeName) === null || Ze === void 0) && - Ze.startsWith("data-tooltip-") - ) - ) - return; - const Rt = ye(be); - We(Rt); - }); - }), - De = { attributes: !0, childList: !1, subtree: !1 }; - if (be) { - const tt = ye(be); - We(tt), Fe.observe(be, De); - } - return () => { - Fe.disconnect(); - }; - }, [jt, ue, Me, t, n]), - C.useEffect(() => { - P != null && - P.border && - console.warn( - "[react-tooltip] Do not set `style.border`. Use `border` prop instead." - ), - he && - !CSS.supports("border", `${he}`) && - console.warn(`[react-tooltip] "${he}" is not a valid \`border\`.`), - P != null && - P.opacity && - console.warn( - "[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead." - ), - de && - !CSS.supports("opacity", `${de}`) && - console.warn(`[react-tooltip] "${de}" is not a valid \`opacity\`.`); - }, []); - let at = m; - const Qe = C.useRef(null); - if (a) { - const se = a({ content: ce ?? null, activeAnchor: Me }); - at = se - ? ut.createElement( - "div", - { ref: Qe, className: "react-tooltip-content-wrapper" }, - se - ) - : null; - } else ce && (at = ce); - me && (at = ut.createElement(YK, { content: me })); - const Y = { - id: e, - anchorId: t, - anchorSelect: n, - className: o, - classNameArrow: s, - content: at, - contentWrapperRef: Qe, - place: O, - variant: Te, - offset: xe, - wrapper: U, - events: pe, - openOnClick: E, - positionStrategy: ve, - middlewares: T, - delayShow: Le, - delayHide: Xe, - float: dt, - hidden: Ge, - noArrow: D, - clickable: k, - closeOnEsc: R, - closeOnScroll: B, - closeOnResize: W, - style: P, - position: Q, - isOpen: z, - border: he, - opacity: de, - setIsOpen: fe, - afterShow: Z, - afterHide: V, - activeAnchor: Me, - setActiveAnchor: (se) => ze(se), - }; - return ut.createElement(KK, { ...Y }); - }; -typeof window < "u" && - window.addEventListener("react-tooltip-inject-styles", (e) => { - e.detail.disableCore || - jA({ - css: ":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9}.core-styles-module_tooltip__3vRRp{visibility:hidden;position:absolute;top:0;left:0;pointer-events:none;opacity:0;transition:opacity 0.3s ease-out;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{visibility:visible;opacity:var(--rt-opacity)}", - type: "core", - }), - e.detail.disableBase || - jA({ - css: ` -.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px;transform:rotate(45deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`, - type: "base", - }); - }); -function _2() { - const e = window.navigator.platform.toUpperCase(); - return e.indexOf("MAC") >= 0 - ? "mac" - : e.indexOf("LINUX") >= 0 - ? "linux" - : e.indexOf("WIN") >= 0 - ? "windows" - : "unknown"; -} -function tg(e) { - switch (_2()) { - case "mac": - return e.metaKey; - case "linux": - case "windows": - return e.ctrlKey; - default: - return e.metaKey; - } -} -function ZK() { - switch (_2()) { - case "mac": - return "⌘"; - case "linux": - case "windows": - return "^"; - default: - return "⌘"; - } -} -function nr() { - const e = localStorage.getItem("fontSize"); - return e ? parseInt(e) : 14; -} -function qA(e) { - switch (e.split(".").pop()) { - case "py": - return "python"; - case "js": - return "javascript"; - case "ts": - return "typescript"; - case "java": - return "java"; - case "go": - return "go"; - case "rb": - return "ruby"; - case "rs": - return "rust"; - case "c": - return "c"; - case "cpp": - return "cpp"; - case "cs": - return "csharp"; - case "php": - return "php"; - case "scala": - return "scala"; - case "swift": - return "swift"; - case "kt": - return "kotlin"; - case "md": - return "markdown"; - case "json": - return "json"; - case "html": - return "html"; - case "css": - return "css"; - case "sh": - return "shell"; - case "yaml": - return "yaml"; - case "toml": - return "toml"; - case "tex": - return "latex"; - case "sql": - return "sql"; - default: - return ""; - } -} -const wt = "5px", - vt = "#646464", - da = "#1bbe84", - Lt = "var(--vscode-list-hoverBackground, rgb(45 45 45))", - Kt = "var(--vscode-editor-background, rgb(30 30 30))", - Ht = "var(--vscode-editor-foreground, #fff)"; -if (typeof document < "u") { - const e = localStorage.getItem("--vscode-editor-foreground"), - t = localStorage.getItem("--vscode-editor-background"), - n = localStorage.getItem("--vscode-list-hoverBackground"); - e && document.body.style.setProperty("--vscode-editor-foreground", e), - t && document.body.style.setProperty("--vscode-editor-background", t), - n && document.body.style.setProperty("--vscode-list-hoverBackground", n); -} -const op = He.button` +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i({x:e,y:e}),oK={left:"right",right:"left",bottom:"top",top:"bottom"},sK={start:"end",end:"start"};function Eb(e,t,n){return M1(e,ip(t,n))}function wp(e,t){return typeof e=="function"?e(t):e}function fu(e){return e.split("-")[0]}function Ap(e){return e.split("-")[1]}function KO(e){return e==="x"?"y":"x"}function OE(e){return e==="y"?"height":"width"}function E2(e){return["top","bottom"].includes(fu(e))?"y":"x"}function DE(e){return KO(E2(e))}function lK(e,t,n){n===void 0&&(n=!1);const r=Ap(e),i=DE(e),a=OE(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=Jh(o)),[o,Jh(o)]}function uK(e){const t=Jh(e);return[vb(e),t,vb(t)]}function vb(e){return e.replace(/start|end/g,t=>sK[t])}function cK(e,t,n){const r=["left","right"],i=["right","left"],a=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?a:o;default:return[]}}function dK(e,t,n,r){const i=Ap(e);let a=cK(fu(e),n==="start",r);return i&&(a=a.map(o=>o+"-"+i),t&&(a=a.concat(a.map(vb)))),a}function Jh(e){return e.replace(/left|right|bottom|top/g,t=>oK[t])}function pK(e){return{top:0,right:0,bottom:0,left:0,...e}}function YO(e){return typeof e!="number"?pK(e):{top:e,right:e,bottom:e,left:e}}function eg(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function PA(e,t,n){let{reference:r,floating:i}=e;const a=E2(t),o=DE(t),s=OE(o),u=fu(t),c=a==="y",p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,m=r[s]/2-i[s]/2;let g;switch(u){case"top":g={x:p,y:r.y-i.height};break;case"bottom":g={x:p,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-i.width,y:f};break;default:g={x:r.x,y:r.y}}switch(Ap(t)){case"start":g[o]-=m*(n&&c?-1:1);break;case"end":g[o]+=m*(n&&c?-1:1);break}return g}const fK=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=a.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:p,y:f}=PA(c,r,u),m=r,g={},E=0;for(let b=0;b({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:o,elements:s}=t,{element:u,padding:c=0}=wp(e,t)||{};if(u==null)return{};const p=YO(c),f={x:n,y:r},m=DE(i),g=OE(m),E=await o.getDimensions(u),b=m==="y",T=b?"top":"left",v=b?"bottom":"right",y=b?"clientHeight":"clientWidth",w=a.reference[g]+a.reference[m]-f[m]-a.floating[g],A=f[m]-a.reference[m],D=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let k=D?D[y]:0;(!k||!await(o.isElement==null?void 0:o.isElement(D)))&&(k=s.floating[y]||a.floating[g]);const R=w/2-A/2,B=k/2-E[g]/2-1,W=ip(p[T],B),P=ip(p[v],B),Q=W,z=k-E[g]-P,le=k/2-E[g]/2+R,he=Eb(Q,le,z),fe=Ap(i)!=null&&le!=he&&a.reference[g]/2-(leQ<=0)){var B,W;const Q=(((B=i.flip)==null?void 0:B.index)||0)+1,z=A[Q];if(z)return{data:{index:Q,overflows:R},reset:{placement:z}};let le=(W=R.filter(he=>he.overflows[0]<=0).sort((he,de)=>he.overflows[1]-de.overflows[1])[0])==null?void 0:W.placement;if(!le)switch(m){case"bestFit":{var P;const he=(P=R.map(de=>[de.placement,de.overflows.filter(fe=>fe>0).reduce((fe,Z)=>fe+Z,0)]).sort((de,fe)=>de[1]-fe[1])[0])==null?void 0:P[0];he&&(le=he);break}case"initialPlacement":le=o;break}if(r!==le)return{reset:{placement:le}}}return{}}}};async function mK(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=fu(n),s=Ap(n),u=E2(n)==="y",c=["left","top"].includes(o)?-1:1,p=a&&u?-1:1,f=wp(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:E}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&typeof E=="number"&&(g=s==="end"?E*-1:E),u?{x:g*p,y:m*c}:{x:m*c,y:g*p}}const bK=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await mK(t,e);return{x:n+i.x,y:r+i.y,data:i}}}},EK=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:T=>{let{x:v,y}=T;return{x:v,y}}},...u}=wp(e,t),c={x:n,y:r},p=await XO(t,u),f=E2(fu(i)),m=KO(f);let g=c[m],E=c[f];if(a){const T=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=g+p[T],w=g-p[v];g=Eb(y,g,w)}if(o){const T=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=E+p[T],w=E-p[v];E=Eb(y,E,w)}const b=s.fn({...t,[m]:g,[f]:E});return{...b,data:{x:b.x-n,y:b.y-r}}}}};function dl(e){return ZO(e)?(e.nodeName||"").toLowerCase():"#document"}function Mi(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function El(e){var t;return(t=(ZO(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ZO(e){return e instanceof Node||e instanceof Mi(e).Node}function ns(e){return e instanceof Element||e instanceof Mi(e).Element}function vo(e){return e instanceof HTMLElement||e instanceof Mi(e).HTMLElement}function BA(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Mi(e).ShadowRoot}function Cp(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=ma(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function vK(e){return["table","td","th"].includes(dl(e))}function LE(e){const t=ME(),n=ma(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function yK(e){let t=X1(e);for(;vo(t)&&!v2(t);){if(LE(t))return t;t=X1(t)}return null}function ME(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function v2(e){return["html","body","#document"].includes(dl(e))}function ma(e){return Mi(e).getComputedStyle(e)}function y2(e){return ns(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function X1(e){if(dl(e)==="html")return e;const t=e.assignedSlot||e.parentNode||BA(e)&&e.host||El(e);return BA(t)?t.host:t}function QO(e){const t=X1(e);return v2(t)?e.ownerDocument?e.ownerDocument.body:e.body:vo(t)&&Cp(t)?t:QO(t)}function JO(e,t){var n;t===void 0&&(t=[]);const r=QO(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=Mi(r);return i?t.concat(a,a.visualViewport||[],Cp(r)?r:[]):t.concat(r,JO(r))}function eD(e){const t=ma(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=vo(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Qh(n)!==a||Qh(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function tD(e){return ns(e)?e:e.contextElement}function F1(e){const t=tD(e);if(!vo(t))return cl(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=eD(t);let o=(a?Qh(n.width):n.width)/r,s=(a?Qh(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const _K=cl(0);function nD(e){const t=Mi(e);return!ME()||!t.visualViewport?_K:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function TK(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Mi(e)?!1:t}function ap(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=tD(e);let o=cl(1);t&&(r?ns(r)&&(o=F1(r)):o=F1(e));const s=TK(a,n,r)?nD(a):cl(0);let u=(i.left+s.x)/o.x,c=(i.top+s.y)/o.y,p=i.width/o.x,f=i.height/o.y;if(a){const m=Mi(a),g=r&&ns(r)?Mi(r):r;let E=m.frameElement;for(;E&&r&&g!==m;){const b=F1(E),T=E.getBoundingClientRect(),v=ma(E),y=T.left+(E.clientLeft+parseFloat(v.paddingLeft))*b.x,w=T.top+(E.clientTop+parseFloat(v.paddingTop))*b.y;u*=b.x,c*=b.y,p*=b.x,f*=b.y,u+=y,c+=w,E=Mi(E).frameElement}}return eg({width:p,height:f,x:u,y:c})}function SK(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=vo(n),a=El(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0},s=cl(1);const u=cl(0);if((i||!i&&r!=="fixed")&&((dl(n)!=="body"||Cp(a))&&(o=y2(n)),vo(n))){const c=ap(n);s=F1(n),u.x=c.x+n.clientLeft,u.y=c.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+u.x,y:t.y*s.y-o.scrollTop*s.y+u.y}}function wK(e){return Array.from(e.getClientRects())}function rD(e){return ap(El(e)).left+y2(e).scrollLeft}function AK(e){const t=El(e),n=y2(e),r=e.ownerDocument.body,i=M1(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=M1(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+rD(e);const s=-n.scrollTop;return ma(r).direction==="rtl"&&(o+=M1(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function CK(e,t){const n=Mi(e),r=El(e),i=n.visualViewport;let a=r.clientWidth,o=r.clientHeight,s=0,u=0;if(i){a=i.width,o=i.height;const c=ME();(!c||c&&t==="fixed")&&(s=i.offsetLeft,u=i.offsetTop)}return{width:a,height:o,x:s,y:u}}function xK(e,t){const n=ap(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=vo(e)?F1(e):cl(1),o=e.clientWidth*a.x,s=e.clientHeight*a.y,u=i*a.x,c=r*a.y;return{width:o,height:s,x:u,y:c}}function UA(e,t,n){let r;if(t==="viewport")r=CK(e,n);else if(t==="document")r=AK(El(e));else if(ns(t))r=xK(t,n);else{const i=nD(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return eg(r)}function iD(e,t){const n=X1(e);return n===t||!ns(n)||v2(n)?!1:ma(n).position==="fixed"||iD(n,t)}function kK(e,t){const n=t.get(e);if(n)return n;let r=JO(e).filter(s=>ns(s)&&dl(s)!=="body"),i=null;const a=ma(e).position==="fixed";let o=a?X1(e):e;for(;ns(o)&&!v2(o);){const s=ma(o),u=LE(o);!u&&s.position==="fixed"&&(i=null),(a?!u&&!i:!u&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Cp(o)&&!u&&iD(e,o))?r=r.filter(p=>p!==o):i=s,o=X1(o)}return t.set(e,r),r}function IK(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?kK(t,this._c):[].concat(n),r],s=o[0],u=o.reduce((c,p)=>{const f=UA(t,p,i);return c.top=M1(f.top,c.top),c.right=ip(f.right,c.right),c.bottom=ip(f.bottom,c.bottom),c.left=M1(f.left,c.left),c},UA(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function RK(e){return eD(e)}function NK(e,t,n){const r=vo(t),i=El(t),a=n==="fixed",o=ap(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const u=cl(0);if(r||!r&&!a)if((dl(t)!=="body"||Cp(i))&&(s=y2(t)),r){const c=ap(t,!0,a,t);u.x=c.x+t.clientLeft,u.y=c.y+t.clientTop}else i&&(u.x=rD(i));return{x:o.left+s.scrollLeft-u.x,y:o.top+s.scrollTop-u.y,width:o.width,height:o.height}}function $A(e,t){return!vo(e)||ma(e).position==="fixed"?null:t?t(e):e.offsetParent}function aD(e,t){const n=Mi(e);if(!vo(e))return n;let r=$A(e,t);for(;r&&vK(r)&&ma(r).position==="static";)r=$A(r,t);return r&&(dl(r)==="html"||dl(r)==="body"&&ma(r).position==="static"&&!LE(r))?n:r||yK(e)||n}const OK=async function(e){let{reference:t,floating:n,strategy:r}=e;const i=this.getOffsetParent||aD,a=this.getDimensions;return{reference:NK(t,await i(n),r),floating:{x:0,y:0,...await a(n)}}};function DK(e){return ma(e).direction==="rtl"}const LK={convertOffsetParentRelativeRectToViewportRelativeRect:SK,getDocumentElement:El,getClippingRect:IK,getOffsetParent:aD,getElementRects:OK,getClientRects:wK,getDimensions:RK,getScale:F1,isElement:ns,isRTL:DK},zA=(e,t,n)=>{const r=new Map,i={platform:LK,...n},a={...i.platform,_c:r};return fK(e,t,{...i,platform:a})};/* +* React Tooltip +* {@link https://github.com/ReactTooltip/react-tooltip} +* @copyright ReactTooltip Team +* @license MIT +*/const MK="react-tooltip-core-styles",FK="react-tooltip-base-styles",HA={core:!1,base:!1};function jA({css:e,id:t=FK,type:n="base",ref:r}){var i,a;if(!e||typeof document>"u"||HA[n]||n==="core"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((a=process==null?void 0:process.env)===null||a===void 0)&&a.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(t=MK),r||(r={});const{insertAt:o}=r;if(document.getElementById(t))return void console.warn(`[react-tooltip] Element with id '${t}' already exists. Call \`removeStyle()\` first`);const s=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",o==="top"&&s.firstChild?s.insertBefore(u,s.firstChild):s.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),HA[n]=!0}const GA=(e,t,n)=>{let r=null;return function(...i){const a=()=>{r=null,n||e.apply(this,i)};n&&!r&&(e.apply(this,i),r=setTimeout(a,t)),n||(r&&clearTimeout(r),r=setTimeout(a,t))}},PK="DEFAULT_TOOLTIP_ID",BK={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},UK=C.createContext({getTooltipData:()=>BK});function oD(e=PK){return C.useContext(UK).getTooltipData(e)}const $K=typeof window<"u"?C.useLayoutEffect:C.useEffect,zK=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(n=>{const r=t.getPropertyValue(n);return r==="auto"||r==="scroll"})},VA=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(zK(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},WA=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:i=10,strategy:a="absolute",middlewares:o=[bK(Number(i)),gK(),EK({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const u=o;return n?(u.push(hK({element:n,padding:5})),zA(e,t,{placement:r,strategy:a,middleware:u}).then(({x:c,y:p,placement:f,middlewareData:m})=>{var g,E;const b={left:`${c}px`,top:`${p}px`,border:s},{x:T,y:v}=(g=m.arrow)!==null&&g!==void 0?g:{x:0,y:0},y=(E={top:"bottom",right:"left",bottom:"top",left:"right"}[f.split("-")[0]])!==null&&E!==void 0?E:"bottom",w=s&&{top:{borderBottom:s,borderRight:s},right:{borderBottom:s,borderLeft:s},bottom:{borderTop:s,borderLeft:s},left:{borderTop:s,borderRight:s}}[f.split("-")[0]];let A=0;if(s){const D=`${s}`.match(/(\d+)px/);A=D!=null&&D[1]?Number(D[1]):1}return{tooltipStyles:b,tooltipArrowStyles:{left:T!=null?`${T}px`:"",top:v!=null?`${v}px`:"",right:"",bottom:"",...w,[y]:`-${4+A}px`},place:f}})):zA(e,t,{placement:"bottom",strategy:a,middleware:u}).then(({x:c,y:p,placement:f})=>({tooltipStyles:{left:`${c}px`,top:`${p}px`},tooltipArrowStyles:{},place:f}))};var HK="core-styles-module_tooltip__3vRRp",jK="core-styles-module_fixed__pcSol",GK="core-styles-module_arrow__cvMwQ",VK="core-styles-module_noArrow__xock6",WK="core-styles-module_clickable__ZuTTB",qK="core-styles-module_show__Nt9eE",n3={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const KK=({id:e,className:t,classNameArrow:n,variant:r="dark",anchorId:i,anchorSelect:a,place:o="top",offset:s=10,events:u=["hover"],openOnClick:c=!1,positionStrategy:p="absolute",middlewares:f,wrapper:m,delayShow:g=0,delayHide:E=0,float:b=!1,hidden:T=!1,noArrow:v=!1,clickable:y=!1,closeOnEsc:w=!1,closeOnScroll:A=!1,closeOnResize:D=!1,style:k,position:R,afterShow:B,afterHide:W,content:P,contentWrapperRef:Q,isOpen:z,setIsOpen:le,activeAnchor:he,setActiveAnchor:de,border:fe,opacity:Z})=>{const V=C.useRef(null),ce=C.useRef(null),N=C.useRef(null),me=C.useRef(null),[oe,O]=C.useState(o),[re,Te]=C.useState({}),[K,xe]=C.useState({}),[ne,Le]=C.useState(!1),[Re,Xe]=C.useState(!1),Ve=C.useRef(!1),dt=C.useRef(null),{anchorRefs:ot,setActiveAnchor:Ge}=oD(e),pt=C.useRef(!1),[U,ie]=C.useState([]),pe=C.useRef(!1),ke=c||u.includes("click");$K(()=>(pe.current=!0,()=>{pe.current=!1}),[]),C.useEffect(()=>{if(!ne){const se=setTimeout(()=>{Xe(!1)},150);return()=>{clearTimeout(se)}}return()=>null},[ne]);const ve=se=>{pe.current&&(se&&Xe(!0),setTimeout(()=>{pe.current&&(le==null||le(se),z===void 0&&Le(se))},10))};C.useEffect(()=>{if(z===void 0)return()=>null;z&&Xe(!0);const se=setTimeout(()=>{Le(z)},10);return()=>{clearTimeout(se)}},[z]),C.useEffect(()=>{ne!==Ve.current&&(Ve.current=ne,ne?B==null||B():W==null||W())},[ne]);const Se=(se=E)=>{me.current&&clearTimeout(me.current),me.current=setTimeout(()=>{pt.current||ve(!1)},se)},Me=se=>{var j;if(!se)return;const $=(j=se.currentTarget)!==null&&j!==void 0?j:se.target;if(!($!=null&&$.isConnected))return de(null),void Ge({current:null});g?(N.current&&clearTimeout(N.current),N.current=setTimeout(()=>{ve(!0)},g)):ve(!0),de($),Ge({current:$}),me.current&&clearTimeout(me.current)},ze=()=>{y?Se(E||100):E?Se():ve(!1),N.current&&clearTimeout(N.current)},Ke=({x:se,y:j})=>{WA({place:o,offset:s,elementReference:{getBoundingClientRect:()=>({x:se,y:j,width:0,height:0,top:j,left:se,right:se,bottom:j})},tooltipReference:V.current,tooltipArrowReference:ce.current,strategy:p,middlewares:f,border:fe}).then($=>{Object.keys($.tooltipStyles).length&&Te($.tooltipStyles),Object.keys($.tooltipArrowStyles).length&&xe($.tooltipArrowStyles),O($.place)})},jt=se=>{if(!se)return;const j=se,$={x:j.clientX,y:j.clientY};Ke($),dt.current=$},ue=se=>{Me(se),E&&Se()},ye=se=>{var j;[document.querySelector(`[id='${i}']`),...U].some($=>$==null?void 0:$.contains(se.target))||!((j=V.current)===null||j===void 0)&&j.contains(se.target)||(ve(!1),N.current&&clearTimeout(N.current))},We=GA(Me,50,!0),at=GA(ze,50,!0);C.useEffect(()=>{var se,j;const $=new Set(ot);U.forEach(Zt=>{$.add({current:Zt})});const J=document.querySelector(`[id='${i}']`);J&&$.add({current:J});const be=()=>{ve(!1)},Fe=VA(he),De=VA(V.current);A&&(window.addEventListener("scroll",be),Fe==null||Fe.addEventListener("scroll",be),De==null||De.addEventListener("scroll",be)),D&&window.addEventListener("resize",be);const tt=Zt=>{Zt.key==="Escape"&&ve(!1)};w&&window.addEventListener("keydown",tt);const Je=[];ke?(window.addEventListener("click",ye),Je.push({event:"click",listener:ue})):(Je.push({event:"mouseenter",listener:We},{event:"mouseleave",listener:at},{event:"focus",listener:We},{event:"blur",listener:at}),b&&Je.push({event:"mousemove",listener:jt}));const Ze=()=>{pt.current=!0},Rt=()=>{pt.current=!1,ze()};return y&&!ke&&((se=V.current)===null||se===void 0||se.addEventListener("mouseenter",Ze),(j=V.current)===null||j===void 0||j.addEventListener("mouseleave",Rt)),Je.forEach(({event:Zt,listener:kt})=>{$.forEach(nn=>{var Yt;(Yt=nn.current)===null||Yt===void 0||Yt.addEventListener(Zt,kt)})}),()=>{var Zt,kt;A&&(window.removeEventListener("scroll",be),Fe==null||Fe.removeEventListener("scroll",be),De==null||De.removeEventListener("scroll",be)),D&&window.removeEventListener("resize",be),ke&&window.removeEventListener("click",ye),w&&window.removeEventListener("keydown",tt),y&&!ke&&((Zt=V.current)===null||Zt===void 0||Zt.removeEventListener("mouseenter",Ze),(kt=V.current)===null||kt===void 0||kt.removeEventListener("mouseleave",Rt)),Je.forEach(({event:nn,listener:Yt})=>{$.forEach(jr=>{var Gr;(Gr=jr.current)===null||Gr===void 0||Gr.removeEventListener(nn,Yt)})})}},[Re,ot,U,w,u]),C.useEffect(()=>{let se=a??"";!se&&e&&(se=`[data-tooltip-id='${e}']`);const j=new MutationObserver($=>{const J=[];$.forEach(be=>{if(be.type==="attributes"&&be.attributeName==="data-tooltip-id"&&be.target.getAttribute("data-tooltip-id")===e&&J.push(be.target),be.type==="childList"&&(he&&[...be.removedNodes].some(Fe=>{var De;return!!(!((De=Fe==null?void 0:Fe.contains)===null||De===void 0)&&De.call(Fe,he))&&(Xe(!1),ve(!1),de(null),N.current&&clearTimeout(N.current),me.current&&clearTimeout(me.current),!0)}),se))try{const Fe=[...be.addedNodes].filter(De=>De.nodeType===1);J.push(...Fe.filter(De=>De.matches(se))),J.push(...Fe.flatMap(De=>[...De.querySelectorAll(se)]))}catch{}}),J.length&&ie(be=>[...be,...J])});return j.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"]}),()=>{j.disconnect()}},[e,a,he]);const Qe=()=>{R?Ke(R):b?dt.current&&Ke(dt.current):WA({place:o,offset:s,elementReference:he,tooltipReference:V.current,tooltipArrowReference:ce.current,strategy:p,middlewares:f,border:fe}).then(se=>{pe.current&&(Object.keys(se.tooltipStyles).length&&Te(se.tooltipStyles),Object.keys(se.tooltipArrowStyles).length&&xe(se.tooltipArrowStyles),O(se.place))})};C.useEffect(()=>{Qe()},[ne,he,P,k,o,s,p,R]),C.useEffect(()=>{if(!(Q!=null&&Q.current))return()=>null;const se=new ResizeObserver(()=>{Qe()});return se.observe(Q.current),()=>{se.disconnect()}},[P,Q==null?void 0:Q.current]),C.useEffect(()=>{var se;const j=document.querySelector(`[id='${i}']`),$=[...U,j];he&&$.includes(he)||de((se=U[0])!==null&&se!==void 0?se:j)},[i,U,he]),C.useEffect(()=>()=>{N.current&&clearTimeout(N.current),me.current&&clearTimeout(me.current)},[]),C.useEffect(()=>{let se=a;if(!se&&e&&(se=`[data-tooltip-id='${e}']`),se)try{const j=Array.from(document.querySelectorAll(se));ie(j)}catch{ie([])}},[e,a]);const Y=!T&&P&&ne&&Object.keys(re).length>0;return Re?ut.createElement(m,{id:e,role:"tooltip",className:FA("react-tooltip",HK,n3.tooltip,n3[r],t,`react-tooltip__place-${oe}`,{[qK]:Y,[jK]:p==="fixed",[WK]:y}),style:{...k,...re,opacity:Z!==void 0&&Y?Z:void 0},ref:V},P,ut.createElement(m,{className:FA("react-tooltip-arrow",GK,n3.arrow,n,{[VK]:v}),style:K,ref:ce})):null},YK=({content:e})=>ut.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),XK=({id:e,anchorId:t,anchorSelect:n,content:r,html:i,render:a,className:o,classNameArrow:s,variant:u="dark",place:c="top",offset:p=10,wrapper:f="div",children:m=null,events:g=["hover"],openOnClick:E=!1,positionStrategy:b="absolute",middlewares:T,delayShow:v=0,delayHide:y=0,float:w=!1,hidden:A=!1,noArrow:D=!1,clickable:k=!1,closeOnEsc:R=!1,closeOnScroll:B=!1,closeOnResize:W=!1,style:P,position:Q,isOpen:z,disableStyleInjection:le=!1,border:he,opacity:de,setIsOpen:fe,afterShow:Z,afterHide:V})=>{const[ce,N]=C.useState(r),[me,oe]=C.useState(i),[O,re]=C.useState(c),[Te,K]=C.useState(u),[xe,ne]=C.useState(p),[Le,Re]=C.useState(v),[Xe,Ve]=C.useState(y),[dt,ot]=C.useState(w),[Ge,pt]=C.useState(A),[U,ie]=C.useState(f),[pe,ke]=C.useState(g),[ve,Se]=C.useState(b),[Me,ze]=C.useState(null),Ke=C.useRef(le),{anchorRefs:jt,activeAnchor:ue}=oD(e),ye=se=>se==null?void 0:se.getAttributeNames().reduce((j,$)=>{var J;return $.startsWith("data-tooltip-")&&(j[$.replace(/^data-tooltip-/,"")]=(J=se==null?void 0:se.getAttribute($))!==null&&J!==void 0?J:null),j},{}),We=se=>{const j={place:$=>{var J;re((J=$)!==null&&J!==void 0?J:c)},content:$=>{N($??r)},html:$=>{oe($??i)},variant:$=>{var J;K((J=$)!==null&&J!==void 0?J:u)},offset:$=>{ne($===null?p:Number($))},wrapper:$=>{var J;ie((J=$)!==null&&J!==void 0?J:f)},events:$=>{const J=$==null?void 0:$.split(" ");ke(J??g)},"position-strategy":$=>{var J;Se((J=$)!==null&&J!==void 0?J:b)},"delay-show":$=>{Re($===null?v:Number($))},"delay-hide":$=>{Ve($===null?y:Number($))},float:$=>{ot($===null?w:$==="true")},hidden:$=>{pt($===null?A:$==="true")}};Object.values(j).forEach($=>$(null)),Object.entries(se).forEach(([$,J])=>{var be;(be=j[$])===null||be===void 0||be.call(j,J)})};C.useEffect(()=>{N(r)},[r]),C.useEffect(()=>{oe(i)},[i]),C.useEffect(()=>{re(c)},[c]),C.useEffect(()=>{K(u)},[u]),C.useEffect(()=>{ne(p)},[p]),C.useEffect(()=>{Re(v)},[v]),C.useEffect(()=>{Ve(y)},[y]),C.useEffect(()=>{ot(w)},[w]),C.useEffect(()=>{pt(A)},[A]),C.useEffect(()=>{Se(b)},[b]),C.useEffect(()=>{Ke.current!==le&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[le]),C.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:le==="core",disableBase:le}}))},[]),C.useEffect(()=>{var se;const j=new Set(jt);let $=n;if(!$&&e&&($=`[data-tooltip-id='${e}']`),$)try{document.querySelectorAll($).forEach(tt=>{j.add({current:tt})})}catch{console.warn(`[react-tooltip] "${$}" is not a valid CSS selector`)}const J=document.querySelector(`[id='${t}']`);if(J&&j.add({current:J}),!j.size)return()=>null;const be=(se=Me??J)!==null&&se!==void 0?se:ue.current,Fe=new MutationObserver(tt=>{tt.forEach(Je=>{var Ze;if(!be||Je.type!=="attributes"||!(!((Ze=Je.attributeName)===null||Ze===void 0)&&Ze.startsWith("data-tooltip-")))return;const Rt=ye(be);We(Rt)})}),De={attributes:!0,childList:!1,subtree:!1};if(be){const tt=ye(be);We(tt),Fe.observe(be,De)}return()=>{Fe.disconnect()}},[jt,ue,Me,t,n]),C.useEffect(()=>{P!=null&&P.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),he&&!CSS.supports("border",`${he}`)&&console.warn(`[react-tooltip] "${he}" is not a valid \`border\`.`),P!=null&&P.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),de&&!CSS.supports("opacity",`${de}`)&&console.warn(`[react-tooltip] "${de}" is not a valid \`opacity\`.`)},[]);let at=m;const Qe=C.useRef(null);if(a){const se=a({content:ce??null,activeAnchor:Me});at=se?ut.createElement("div",{ref:Qe,className:"react-tooltip-content-wrapper"},se):null}else ce&&(at=ce);me&&(at=ut.createElement(YK,{content:me}));const Y={id:e,anchorId:t,anchorSelect:n,className:o,classNameArrow:s,content:at,contentWrapperRef:Qe,place:O,variant:Te,offset:xe,wrapper:U,events:pe,openOnClick:E,positionStrategy:ve,middlewares:T,delayShow:Le,delayHide:Xe,float:dt,hidden:Ge,noArrow:D,clickable:k,closeOnEsc:R,closeOnScroll:B,closeOnResize:W,style:P,position:Q,isOpen:z,border:he,opacity:de,setIsOpen:fe,afterShow:Z,afterHide:V,activeAnchor:Me,setActiveAnchor:se=>ze(se)};return ut.createElement(KK,{...Y})};typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||jA({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9}.core-styles-module_tooltip__3vRRp{visibility:hidden;position:absolute;top:0;left:0;pointer-events:none;opacity:0;transition:opacity 0.3s ease-out;will-change:opacity,visibility}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{visibility:visible;opacity:var(--rt-opacity)}",type:"core"}),e.detail.disableBase||jA({css:` +.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px;transform:rotate(45deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});function _2(){const e=window.navigator.platform.toUpperCase();return e.indexOf("MAC")>=0?"mac":e.indexOf("LINUX")>=0?"linux":e.indexOf("WIN")>=0?"windows":"unknown"}function tg(e){switch(_2()){case"mac":return e.metaKey;case"linux":case"windows":return e.ctrlKey;default:return e.metaKey}}function ZK(){switch(_2()){case"mac":return"⌘";case"linux":case"windows":return"^";default:return"⌘"}}function nr(){const e=localStorage.getItem("fontSize");return e?parseInt(e):14}function qA(e){switch(e.split(".").pop()){case"py":return"python";case"js":return"javascript";case"ts":return"typescript";case"java":return"java";case"go":return"go";case"rb":return"ruby";case"rs":return"rust";case"c":return"c";case"cpp":return"cpp";case"cs":return"csharp";case"php":return"php";case"scala":return"scala";case"swift":return"swift";case"kt":return"kotlin";case"md":return"markdown";case"json":return"json";case"html":return"html";case"css":return"css";case"sh":return"shell";case"yaml":return"yaml";case"toml":return"toml";case"tex":return"latex";case"sql":return"sql";default:return""}}const wt="5px",vt="#646464",da="#1bbe84",Lt="var(--vscode-list-hoverBackground, rgb(45 45 45))",Kt="var(--vscode-editor-background, rgb(30 30 30))",Ht="var(--vscode-editor-foreground, #fff)";if(typeof document<"u"){const e=localStorage.getItem("--vscode-editor-foreground"),t=localStorage.getItem("--vscode-editor-background"),n=localStorage.getItem("--vscode-list-hoverBackground");e&&document.body.style.setProperty("--vscode-editor-foreground",e),t&&document.body.style.setProperty("--vscode-editor-background",t),n&&document.body.style.setProperty("--vscode-list-hoverBackground",n)}const op=He.button` padding: 10px 12px; margin: 8px 0; border-radius: ${wt}; @@ -12967,8 +81,7 @@ const op = He.button` &:hover:enabled { cursor: pointer; } -`, - Gs = He(XK)` +`,Gs=He(XK)` font-size: 12px; background-color: rgb(60 60 60); border-radius: ${wt}; @@ -12978,8 +91,7 @@ const op = He.button` z-index: 1000; max-width: 80vw; -`, - QK = He.textarea` +`,QK=He.textarea` padding: 8px; font-family: inherit; border-radius: ${wt}; @@ -13001,8 +113,7 @@ const op = He.button` &::placeholder { color: ${vt}80; } -`; -He.pre` +`;He.pre` border-radius: ${wt}; padding: 8px; max-height: 150px; @@ -13017,14 +128,12 @@ He.pre` white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ -`; -He.h3` +`;He.h3` background-color: ${Lt}; border-radius: ${wt}; padding: 4px 8px; width: fit-content; -`; -const ng = He.input` +`;const ng=He.input` width: 100%; padding: 8px 12px; margin: 8px 0; @@ -13042,8 +151,7 @@ const ng = He.input` &:invalid { outline: 1px solid red; } -`, - JK = He.input.attrs({ type: "number" })` +`,JK=He.input.attrs({type:"number"})` padding: 8px 12px; margin: 8px 4px; box-sizing: border-box; @@ -13056,8 +164,7 @@ const ng = He.input` &:focus { background: ${Lt}; } -`; -He.select` +`;He.select` padding: 8px 12px; margin: 8px 0; box-sizing: border-box; @@ -13066,19 +173,16 @@ He.select` border: none; background-color: ${Kt}; color: ${Ht}; -`; -He.label` - font-size: ${(e) => e.fontSize || nr()}px; -`; -const KA = b2` +`;He.label` + font-size: ${e=>e.fontSize||nr()}px; +`;const KA=b2` from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); } -`; -He.div` +`;He.div` border: 4px solid transparent; border-radius: 50%; border-top: 4px solid white; @@ -13087,13 +191,11 @@ He.div` -webkit-animation: ${KA} 1s ease-in-out infinite; animation: ${KA} 1s ease-in-out infinite; margin: auto; -`; -He.div` +`;He.div` border-radius: ${wt}; - padding: ${(e) => e.borderWidth || "1px"}; + padding: ${e=>e.borderWidth||"1px"}; background-color: white; -`; -He.textarea` +`;He.textarea` padding: 8px; font-size: 16px; border-radius: ${wt}; @@ -13103,8 +205,7 @@ He.textarea` color: ${Ht}; outline: 1px solid orange; resize: none; -`; -b2` +`;b2` from { opacity: 0; transform: translateY(-10px); @@ -13113,14 +214,13 @@ b2` opacity: 1; transform: translateY(0px); } -`; -const eY = He.button` - background-color: ${({ inverted: e }) => (e ? Ht : "transparent")}; - color: ${({ inverted: e }) => (e ? Kt : Ht)}; +`;const eY=He.button` + background-color: ${({inverted:e})=>e?Ht:"transparent"}; + color: ${({inverted:e})=>e?Kt:Ht}; border: none; border-radius: ${wt}; - cursor: ${({ disabled: e }) => (e ? "default" : "pointer")}; + cursor: ${({disabled:e})=>e?"default":"pointer"}; &:focus { outline: none; @@ -13128,36663 +228,59 @@ const eY = He.button` } &:hover { - background-color: ${({ inverted: e }) => - typeof e > "u" || e ? Lt : "transparent"}; + background-color: ${({inverted:e})=>typeof e>"u"||e?Lt:"transparent"}; } display: flex; align-items: center; justify-content: center; gap: 4px; padding: 2px; -`; -function tY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18", - }) - ); -} -const nY = C.forwardRef(tY), - ac = nY; -function rY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99", - }) - ); -} -const iY = C.forwardRef(rY), - aY = iY; -function oY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3", - }) - ); -} -const sY = C.forwardRef(oY), - lY = sY; -function uY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M19.5 19.5l-15-15m0 0v11.25m0-11.25h11.25", - }) - ); -} -const cY = C.forwardRef(uY), - dY = cY; -function pY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25", - }) - ); -} -const fY = C.forwardRef(pY), - hY = fY; -function gY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M12 20.25c4.97 0 9-3.694 9-8.25s-4.03-8.25-9-8.25S3 7.444 3 12c0 2.104.859 4.023 2.273 5.48.432.447.74 1.04.586 1.641a4.483 4.483 0 01-.923 1.785A5.969 5.969 0 006 21c1.282 0 2.47-.402 3.445-1.087.81.22 1.668.337 2.555.337z", - }) - ); -} -const mY = C.forwardRef(gY), - sD = mY; -function bY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M4.5 12.75l6 6 9-13.5", - }) - ); -} -const EY = C.forwardRef(bY), - vY = EY; -function yY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M19.5 8.25l-7.5 7.5-7.5-7.5", - }) - ); -} -const _Y = C.forwardRef(yY), - TY = _Y; -function SY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M8.25 4.5l7.5 7.5-7.5 7.5", - }) - ); -} -const wY = C.forwardRef(SY), - AY = wY; -function CY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9", - }) - ); -} -const xY = C.forwardRef(CY), - kY = xY; -function IY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M14.25 9.75L16.5 12l-2.25 2.25m-4.5 0L7.5 12l2.25-2.25M6 20.25h12A2.25 2.25 0 0020.25 18V6A2.25 2.25 0 0018 3.75H6A2.25 2.25 0 003.75 6v12A2.25 2.25 0 006 20.25z", - }) - ); -} -const RY = C.forwardRef(IY), - NY = RY; -function OY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.324.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 011.37.49l1.296 2.247a1.125 1.125 0 01-.26 1.431l-1.003.827c-.293.24-.438.613-.431.992a6.759 6.759 0 010 .255c-.007.378.138.75.43.99l1.005.828c.424.35.534.954.26 1.43l-1.298 2.247a1.125 1.125 0 01-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.57 6.57 0 01-.22.128c-.331.183-.581.495-.644.869l-.213 1.28c-.09.543-.56.941-1.11.941h-2.594c-.55 0-1.02-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 01-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 01-1.369-.49l-1.297-2.247a1.125 1.125 0 01.26-1.431l1.004-.827c.292-.24.437-.613.43-.992a6.932 6.932 0 010-.255c.007-.378-.138-.75-.43-.99l-1.004-.828a1.125 1.125 0 01-.26-1.43l1.297-2.247a1.125 1.125 0 011.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.087.22-.128.332-.183.582-.495.644-.869l.214-1.281z", - }), - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M15 12a3 3 0 11-6 0 3 3 0 016 0z", - }) - ); -} -const DY = C.forwardRef(OY), - LY = DY; -function MY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z", - }) - ); -} -const FY = C.forwardRef(MY), - lD = FY; -function PY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z", - }) - ); -} -const BY = C.forwardRef(PY), - UY = BY; -function $Y({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z", - }) - ); -} -const zY = C.forwardRef($Y), - HY = zY; -function jY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z", - }) - ); -} -const GY = C.forwardRef(jY), - VY = GY; -function WY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M9.53 16.122a3 3 0 00-5.78 1.128 2.25 2.25 0 01-2.4 2.245 4.5 4.5 0 008.4-2.245c0-.399-.078-.78-.22-1.128zm0 0a15.998 15.998 0 003.388-1.62m-5.043-.025a15.994 15.994 0 011.622-3.395m3.42 3.42a15.995 15.995 0 004.764-4.648l3.876-5.814a1.151 1.151 0 00-1.597-1.597L14.146 6.32a15.996 15.996 0 00-4.649 4.763m3.42 3.42a6.776 6.776 0 00-3.42-3.42", - }) - ); -} -const qY = C.forwardRef(WY), - KY = qY; -function YY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M6 12L3.269 3.126A59.768 59.768 0 0121.485 12 59.77 59.77 0 013.27 20.876L5.999 12zm0 0h7.5", - }) - ); -} -const XY = C.forwardRef(YY), - ZY = XY; -function QY({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z", - }) - ); -} -const JY = C.forwardRef(QY), - uD = JY; -function eX({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M12 4.5v15m7.5-7.5h-15", - }) - ); -} -const tX = C.forwardRef(eX), - cD = tX; -function nX({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z", - }) - ); -} -const rX = C.forwardRef(nX), - iX = rX; -function aX({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 00-2.456 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z", - }) - ); -} -const oX = C.forwardRef(aX), - dD = oX; -function sX({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M5.25 7.5A2.25 2.25 0 017.5 5.25h9a2.25 2.25 0 012.25 2.25v9a2.25 2.25 0 01-2.25 2.25h-9a2.25 2.25 0 01-2.25-2.25v-9z", - }) - ); -} -const lX = C.forwardRef(sX), - uX = lX; -function cX({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0", - }) - ); -} -const dX = C.forwardRef(cX), - pD = dX; -function pX({ title: e, titleId: t, ...n }, r) { - return C.createElement( - "svg", - Object.assign( - { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - strokeWidth: 1.5, - stroke: "currentColor", - "aria-hidden": "true", - ref: r, - "aria-labelledby": t, - }, - n - ), - e ? C.createElement("title", { id: t }, e) : null, - C.createElement("path", { - strokeLinecap: "round", - strokeLinejoin: "round", - d: "M6 18L18 6M6 6l12 12", - }) - ); -} -const fX = C.forwardRef(pX), - T2 = fX, - vi = ut.forwardRef((e, t) => { - const [n, r] = C.useState(!1), - i = document.getElementById("tooltip-portal-div"); - return I.jsxs(I.Fragment, { - children: [ - I.jsx(eY, { - "data-tooltip-id": `header_button_${e.text}`, - inverted: e.inverted, - disabled: e.disabled, - onMouseEnter: () => { - e.disabled || r(!0); - }, - onMouseLeave: () => { - r(!1); - }, - onClick: e.onClick, - onKeyDown: e.onKeyDown, - className: e.className, - ref: t, - tabIndex: e.tabIndex, - children: e.children, - }), - i && - _E.createPortal( - I.jsx(Gs, { - id: `header_button_${e.text}`, - place: "bottom", - children: e.text, - }), - i - ), - ], - }); - }); -function tn() { - return ( - (tn = Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var r in n) - Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); - } - return e; - }), - tn.apply(this, arguments) - ); -} -function E1(e, t) { - if (e == null) return {}; - var n = {}, - r = Object.keys(e), - i, - a; - for (a = 0; a < r.length; a++) - (i = r[a]), !(t.indexOf(i) >= 0) && (n[i] = e[i]); - return n; -} -const YA = ["http", "https", "mailto", "tel"]; -function hX(e) { - const t = (e || "").trim(), - n = t.charAt(0); - if (n === "#" || n === "/") return t; - const r = t.indexOf(":"); - if (r === -1) return t; - let i = -1; - for (; ++i < YA.length; ) { - const a = YA[i]; - if (r === a.length && t.slice(0, a.length).toLowerCase() === a) return t; - } - return ( - (i = t.indexOf("?")), - (i !== -1 && r > i) || ((i = t.indexOf("#")), i !== -1 && r > i) - ? t - : "javascript:void(0)" - ); -} -/*! +`;function tY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18"}))}const nY=C.forwardRef(tY),ac=nY;function rY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"}))}const iY=C.forwardRef(rY),aY=iY;function oY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3"}))}const sY=C.forwardRef(oY),lY=sY;function uY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 19.5l-15-15m0 0v11.25m0-11.25h11.25"}))}const cY=C.forwardRef(uY),dY=cY;function pY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25"}))}const fY=C.forwardRef(pY),hY=fY;function gY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 20.25c4.97 0 9-3.694 9-8.25s-4.03-8.25-9-8.25S3 7.444 3 12c0 2.104.859 4.023 2.273 5.48.432.447.74 1.04.586 1.641a4.483 4.483 0 01-.923 1.785A5.969 5.969 0 006 21c1.282 0 2.47-.402 3.445-1.087.81.22 1.668.337 2.555.337z"}))}const mY=C.forwardRef(gY),sD=mY;function bY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"}))}const EY=C.forwardRef(bY),vY=EY;function yY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 8.25l-7.5 7.5-7.5-7.5"}))}const _Y=C.forwardRef(yY),TY=_Y;function SY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}const wY=C.forwardRef(SY),AY=wY;function CY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"}))}const xY=C.forwardRef(CY),kY=xY;function IY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 9.75L16.5 12l-2.25 2.25m-4.5 0L7.5 12l2.25-2.25M6 20.25h12A2.25 2.25 0 0020.25 18V6A2.25 2.25 0 0018 3.75H6A2.25 2.25 0 003.75 6v12A2.25 2.25 0 006 20.25z"}))}const RY=C.forwardRef(IY),NY=RY;function OY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.324.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 011.37.49l1.296 2.247a1.125 1.125 0 01-.26 1.431l-1.003.827c-.293.24-.438.613-.431.992a6.759 6.759 0 010 .255c-.007.378.138.75.43.99l1.005.828c.424.35.534.954.26 1.43l-1.298 2.247a1.125 1.125 0 01-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.57 6.57 0 01-.22.128c-.331.183-.581.495-.644.869l-.213 1.28c-.09.543-.56.941-1.11.941h-2.594c-.55 0-1.02-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 01-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 01-1.369-.49l-1.297-2.247a1.125 1.125 0 01.26-1.431l1.004-.827c.292-.24.437-.613.43-.992a6.932 6.932 0 010-.255c.007-.378-.138-.75-.43-.99l-1.004-.828a1.125 1.125 0 01-.26-1.43l1.297-2.247a1.125 1.125 0 011.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.087.22-.128.332-.183.582-.495.644-.869l.214-1.281z"}),C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}const DY=C.forwardRef(OY),LY=DY;function MY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))}const FY=C.forwardRef(MY),lD=FY;function PY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"}))}const BY=C.forwardRef(PY),UY=BY;function $Y({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"}))}const zY=C.forwardRef($Y),HY=zY;function jY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"}))}const GY=C.forwardRef(jY),VY=GY;function WY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 00-5.78 1.128 2.25 2.25 0 01-2.4 2.245 4.5 4.5 0 008.4-2.245c0-.399-.078-.78-.22-1.128zm0 0a15.998 15.998 0 003.388-1.62m-5.043-.025a15.994 15.994 0 011.622-3.395m3.42 3.42a15.995 15.995 0 004.764-4.648l3.876-5.814a1.151 1.151 0 00-1.597-1.597L14.146 6.32a15.996 15.996 0 00-4.649 4.763m3.42 3.42a6.776 6.776 0 00-3.42-3.42"}))}const qY=C.forwardRef(WY),KY=qY;function YY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 12L3.269 3.126A59.768 59.768 0 0121.485 12 59.77 59.77 0 013.27 20.876L5.999 12zm0 0h7.5"}))}const XY=C.forwardRef(YY),ZY=XY;function QY({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z"}))}const JY=C.forwardRef(QY),uD=JY;function eX({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))}const tX=C.forwardRef(eX),cD=tX;function nX({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"}))}const rX=C.forwardRef(nX),iX=rX;function aX({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 00-2.456 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z"}))}const oX=C.forwardRef(aX),dD=oX;function sX({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 7.5A2.25 2.25 0 017.5 5.25h9a2.25 2.25 0 012.25 2.25v9a2.25 2.25 0 01-2.25 2.25h-9a2.25 2.25 0 01-2.25-2.25v-9z"}))}const lX=C.forwardRef(sX),uX=lX;function cX({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"}))}const dX=C.forwardRef(cX),pD=dX;function pX({title:e,titleId:t,...n},r){return C.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?C.createElement("title",{id:t},e):null,C.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}const fX=C.forwardRef(pX),T2=fX,vi=ut.forwardRef((e,t)=>{const[n,r]=C.useState(!1),i=document.getElementById("tooltip-portal-div");return I.jsxs(I.Fragment,{children:[I.jsx(eY,{"data-tooltip-id":`header_button_${e.text}`,inverted:e.inverted,disabled:e.disabled,onMouseEnter:()=>{e.disabled||r(!0)},onMouseLeave:()=>{r(!1)},onClick:e.onClick,onKeyDown:e.onKeyDown,className:e.className,ref:t,tabIndex:e.tabIndex,children:e.children}),i&&_E.createPortal(I.jsx(Gs,{id:`header_button_${e.text}`,place:"bottom",children:e.text}),i)]})});function tn(){return tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}const YA=["http","https","mailto","tel"];function hX(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++ii||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT - */ var gX = function (t) { - return ( - t != null && - t.constructor != null && - typeof t.constructor.isBuffer == "function" && - t.constructor.isBuffer(t) - ); -}; -const fD = Hi(gX); -function wd(e) { - return !e || typeof e != "object" - ? "" - : "position" in e || "type" in e - ? XA(e.position) - : "start" in e || "end" in e - ? XA(e) - : "line" in e || "column" in e - ? yb(e) - : ""; -} -function yb(e) { - return ZA(e && e.line) + ":" + ZA(e && e.column); -} -function XA(e) { - return yb(e && e.start) + "-" + yb(e && e.end); -} -function ZA(e) { - return e && typeof e == "number" ? e : 1; -} -class va extends Error { - constructor(t, n, r) { - const i = [null, null]; - let a = { - start: { line: null, column: null }, - end: { line: null, column: null }, - }; - if ( - (super(), - typeof n == "string" && ((r = n), (n = void 0)), - typeof r == "string") - ) { - const o = r.indexOf(":"); - o === -1 ? (i[1] = r) : ((i[0] = r.slice(0, o)), (i[1] = r.slice(o + 1))); - } - n && - ("type" in n || "position" in n - ? n.position && (a = n.position) - : "start" in n || "end" in n - ? (a = n) - : ("line" in n || "column" in n) && (a.start = n)), - (this.name = wd(n) || "1:1"), - (this.message = typeof t == "object" ? t.message : t), - (this.stack = ""), - typeof t == "object" && t.stack && (this.stack = t.stack), - (this.reason = this.message), - this.fatal, - (this.line = a.start.line), - (this.column = a.start.column), - (this.position = a), - (this.source = i[0]), - (this.ruleId = i[1]), - this.file, - this.actual, - this.expected, - this.url, - this.note; - } -} -va.prototype.file = ""; -va.prototype.name = ""; -va.prototype.reason = ""; -va.prototype.message = ""; -va.prototype.stack = ""; -va.prototype.fatal = null; -va.prototype.column = null; -va.prototype.line = null; -va.prototype.source = null; -va.prototype.ruleId = null; -va.prototype.position = null; -const ao = { basename: mX, dirname: bX, extname: EX, join: vX, sep: "/" }; -function mX(e, t) { - if (t !== void 0 && typeof t != "string") - throw new TypeError('"ext" argument must be a string'); - xp(e); - let n = 0, - r = -1, - i = e.length, - a; - if (t === void 0 || t.length === 0 || t.length > e.length) { - for (; i--; ) - if (e.charCodeAt(i) === 47) { - if (a) { - n = i + 1; - break; - } - } else r < 0 && ((a = !0), (r = i + 1)); - return r < 0 ? "" : e.slice(n, r); - } - if (t === e) return ""; - let o = -1, - s = t.length - 1; - for (; i--; ) - if (e.charCodeAt(i) === 47) { - if (a) { - n = i + 1; - break; - } - } else - o < 0 && ((a = !0), (o = i + 1)), - s > -1 && - (e.charCodeAt(i) === t.charCodeAt(s--) - ? s < 0 && (r = i) - : ((s = -1), (r = o))); - return n === r ? (r = o) : r < 0 && (r = e.length), e.slice(n, r); -} -function bX(e) { - if ((xp(e), e.length === 0)) return "."; - let t = -1, - n = e.length, - r; - for (; --n; ) - if (e.charCodeAt(n) === 47) { - if (r) { - t = n; - break; - } - } else r || (r = !0); - return t < 0 - ? e.charCodeAt(0) === 47 - ? "/" - : "." - : t === 1 && e.charCodeAt(0) === 47 - ? "//" - : e.slice(0, t); -} -function EX(e) { - xp(e); - let t = e.length, - n = -1, - r = 0, - i = -1, - a = 0, - o; - for (; t--; ) { - const s = e.charCodeAt(t); - if (s === 47) { - if (o) { - r = t + 1; - break; - } - continue; - } - n < 0 && ((o = !0), (n = t + 1)), - s === 46 ? (i < 0 ? (i = t) : a !== 1 && (a = 1)) : i > -1 && (a = -1); - } - return i < 0 || n < 0 || a === 0 || (a === 1 && i === n - 1 && i === r + 1) - ? "" - : e.slice(i, n); -} -function vX(...e) { - let t = -1, - n; - for (; ++t < e.length; ) - xp(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]); - return n === void 0 ? "." : yX(n); -} -function yX(e) { - xp(e); - const t = e.charCodeAt(0) === 47; - let n = _X(e, !t); - return ( - n.length === 0 && !t && (n = "."), - n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), - t ? "/" + n : n - ); -} -function _X(e, t) { - let n = "", - r = 0, - i = -1, - a = 0, - o = -1, - s, - u; - for (; ++o <= e.length; ) { - if (o < e.length) s = e.charCodeAt(o); - else { - if (s === 47) break; - s = 47; - } - if (s === 47) { - if (!(i === o - 1 || a === 1)) - if (i !== o - 1 && a === 2) { - if ( - n.length < 2 || - r !== 2 || - n.charCodeAt(n.length - 1) !== 46 || - n.charCodeAt(n.length - 2) !== 46 - ) { - if (n.length > 2) { - if (((u = n.lastIndexOf("/")), u !== n.length - 1)) { - u < 0 - ? ((n = ""), (r = 0)) - : ((n = n.slice(0, u)), - (r = n.length - 1 - n.lastIndexOf("/"))), - (i = o), - (a = 0); - continue; - } - } else if (n.length > 0) { - (n = ""), (r = 0), (i = o), (a = 0); - continue; - } - } - t && ((n = n.length > 0 ? n + "/.." : ".."), (r = 2)); - } else - n.length > 0 - ? (n += "/" + e.slice(i + 1, o)) - : (n = e.slice(i + 1, o)), - (r = o - i - 1); - (i = o), (a = 0); - } else s === 46 && a > -1 ? a++ : (a = -1); - } - return n; -} -function xp(e) { - if (typeof e != "string") - throw new TypeError("Path must be a string. Received " + JSON.stringify(e)); -} -const TX = { cwd: SX }; -function SX() { - return "/"; -} -function _b(e) { - return e !== null && typeof e == "object" && e.href && e.origin; -} -function wX(e) { - if (typeof e == "string") e = new URL(e); - else if (!_b(e)) { - const t = new TypeError( - 'The "path" argument must be of type string or an instance of URL. Received `' + - e + - "`" - ); - throw ((t.code = "ERR_INVALID_ARG_TYPE"), t); - } - if (e.protocol !== "file:") { - const t = new TypeError("The URL must be of scheme file"); - throw ((t.code = "ERR_INVALID_URL_SCHEME"), t); - } - return AX(e); -} -function AX(e) { - if (e.hostname !== "") { - const r = new TypeError( - 'File URL host must be "localhost" or empty on darwin' - ); - throw ((r.code = "ERR_INVALID_FILE_URL_HOST"), r); - } - const t = e.pathname; - let n = -1; - for (; ++n < t.length; ) - if (t.charCodeAt(n) === 37 && t.charCodeAt(n + 1) === 50) { - const r = t.charCodeAt(n + 2); - if (r === 70 || r === 102) { - const i = new TypeError( - "File URL path must not include encoded / characters" - ); - throw ((i.code = "ERR_INVALID_FILE_URL_PATH"), i); - } - } - return decodeURIComponent(t); -} -const r3 = ["history", "path", "basename", "stem", "extname", "dirname"]; -class hD { - constructor(t) { - let n; - t - ? typeof t == "string" || CX(t) - ? (n = { value: t }) - : _b(t) - ? (n = { path: t }) - : (n = t) - : (n = {}), - (this.data = {}), - (this.messages = []), - (this.history = []), - (this.cwd = TX.cwd()), - this.value, - this.stored, - this.result, - this.map; - let r = -1; - for (; ++r < r3.length; ) { - const a = r3[r]; - a in n && - n[a] !== void 0 && - n[a] !== null && - (this[a] = a === "history" ? [...n[a]] : n[a]); - } - let i; - for (i in n) r3.includes(i) || (this[i] = n[i]); - } - get path() { - return this.history[this.history.length - 1]; - } - set path(t) { - _b(t) && (t = wX(t)), - a3(t, "path"), - this.path !== t && this.history.push(t); - } - get dirname() { - return typeof this.path == "string" ? ao.dirname(this.path) : void 0; - } - set dirname(t) { - QA(this.basename, "dirname"), (this.path = ao.join(t || "", this.basename)); - } - get basename() { - return typeof this.path == "string" ? ao.basename(this.path) : void 0; - } - set basename(t) { - a3(t, "basename"), - i3(t, "basename"), - (this.path = ao.join(this.dirname || "", t)); - } - get extname() { - return typeof this.path == "string" ? ao.extname(this.path) : void 0; - } - set extname(t) { - if ((i3(t, "extname"), QA(this.dirname, "extname"), t)) { - if (t.charCodeAt(0) !== 46) - throw new Error("`extname` must start with `.`"); - if (t.includes(".", 1)) - throw new Error("`extname` cannot contain multiple dots"); - } - this.path = ao.join(this.dirname, this.stem + (t || "")); - } - get stem() { - return typeof this.path == "string" - ? ao.basename(this.path, this.extname) - : void 0; - } - set stem(t) { - a3(t, "stem"), - i3(t, "stem"), - (this.path = ao.join(this.dirname || "", t + (this.extname || ""))); - } - toString(t) { - return (this.value || "").toString(t || void 0); - } - message(t, n, r) { - const i = new va(t, n, r); - return ( - this.path && ((i.name = this.path + ":" + i.name), (i.file = this.path)), - (i.fatal = !1), - this.messages.push(i), - i - ); - } - info(t, n, r) { - const i = this.message(t, n, r); - return (i.fatal = null), i; - } - fail(t, n, r) { - const i = this.message(t, n, r); - throw ((i.fatal = !0), i); - } -} -function i3(e, t) { - if (e && e.includes(ao.sep)) - throw new Error( - "`" + t + "` cannot be a path: did not expect `" + ao.sep + "`" - ); -} -function a3(e, t) { - if (!e) throw new Error("`" + t + "` cannot be empty"); -} -function QA(e, t) { - if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too"); -} -function CX(e) { - return fD(e); -} -function JA(e) { - if (e) throw e; -} -var lh = Object.prototype.hasOwnProperty, - gD = Object.prototype.toString, - eC = Object.defineProperty, - tC = Object.getOwnPropertyDescriptor, - nC = function (t) { - return typeof Array.isArray == "function" - ? Array.isArray(t) - : gD.call(t) === "[object Array]"; - }, - rC = function (t) { - if (!t || gD.call(t) !== "[object Object]") return !1; - var n = lh.call(t, "constructor"), - r = - t.constructor && - t.constructor.prototype && - lh.call(t.constructor.prototype, "isPrototypeOf"); - if (t.constructor && !n && !r) return !1; - var i; - for (i in t); - return typeof i > "u" || lh.call(t, i); - }, - iC = function (t, n) { - eC && n.name === "__proto__" - ? eC(t, n.name, { - enumerable: !0, - configurable: !0, - value: n.newValue, - writable: !0, - }) - : (t[n.name] = n.newValue); - }, - aC = function (t, n) { - if (n === "__proto__") - if (lh.call(t, n)) { - if (tC) return tC(t, n).value; - } else return; - return t[n]; - }, - xX = function e() { - var t, - n, - r, - i, - a, - o, - s = arguments[0], - u = 1, - c = arguments.length, - p = !1; - for ( - typeof s == "boolean" && ((p = s), (s = arguments[1] || {}), (u = 2)), - (s == null || (typeof s != "object" && typeof s != "function")) && - (s = {}); - u < c; - ++u - ) - if (((t = arguments[u]), t != null)) - for (n in t) - (r = aC(s, n)), - (i = aC(t, n)), - s !== i && - (p && i && (rC(i) || (a = nC(i))) - ? (a - ? ((a = !1), (o = r && nC(r) ? r : [])) - : (o = r && rC(r) ? r : {}), - iC(s, { name: n, newValue: e(p, o, i) })) - : typeof i < "u" && iC(s, { name: n, newValue: i })); - return s; - }; -const v1 = Hi(xX); -function Tb(e) { - if (typeof e != "object" || e === null) return !1; - const t = Object.getPrototypeOf(e); - return ( - (t === null || - t === Object.prototype || - Object.getPrototypeOf(t) === null) && - !(Symbol.toStringTag in e) && - !(Symbol.iterator in e) - ); -} -function kX() { - const e = [], - t = { run: n, use: r }; - return t; - function n(...i) { - let a = -1; - const o = i.pop(); - if (typeof o != "function") - throw new TypeError("Expected function as last argument, not " + o); - s(null, ...i); - function s(u, ...c) { - const p = e[++a]; - let f = -1; - if (u) { - o(u); - return; - } - for (; ++f < i.length; ) - (c[f] === null || c[f] === void 0) && (c[f] = i[f]); - (i = c), p ? IX(p, s)(...c) : o(null, ...c); - } - } - function r(i) { - if (typeof i != "function") - throw new TypeError("Expected `middelware` to be a function, not " + i); - return e.push(i), t; - } -} -function IX(e, t) { - let n; - return r; - function r(...o) { - const s = e.length > o.length; - let u; - s && o.push(i); - try { - u = e.apply(this, o); - } catch (c) { - const p = c; - if (s && n) throw p; - return i(p); - } - s || - (u instanceof Promise ? u.then(a, i) : u instanceof Error ? i(u) : a(u)); - } - function i(o, ...s) { - n || ((n = !0), t(o, ...s)); - } - function a(o) { - i(null, o); - } -} -const RX = bD().freeze(), - mD = {}.hasOwnProperty; -function bD() { - const e = kX(), - t = []; - let n = {}, - r, - i = -1; - return ( - (a.data = o), - (a.Parser = void 0), - (a.Compiler = void 0), - (a.freeze = s), - (a.attachers = t), - (a.use = u), - (a.parse = c), - (a.stringify = p), - (a.run = f), - (a.runSync = m), - (a.process = g), - (a.processSync = E), - a - ); - function a() { - const b = bD(); - let T = -1; - for (; ++T < t.length; ) b.use(...t[T]); - return b.data(v1(!0, {}, n)), b; - } - function o(b, T) { - return typeof b == "string" - ? arguments.length === 2 - ? (l3("data", r), (n[b] = T), a) - : (mD.call(n, b) && n[b]) || null - : b - ? (l3("data", r), (n = b), a) - : n; - } - function s() { - if (r) return a; - for (; ++i < t.length; ) { - const [b, ...T] = t[i]; - if (T[0] === !1) continue; - T[0] === !0 && (T[0] = void 0); - const v = b.call(a, ...T); - typeof v == "function" && e.use(v); - } - return (r = !0), (i = Number.POSITIVE_INFINITY), a; - } - function u(b, ...T) { - let v; - if ((l3("use", r), b != null)) - if (typeof b == "function") D(b, ...T); - else if (typeof b == "object") Array.isArray(b) ? A(b) : w(b); - else throw new TypeError("Expected usable value, not `" + b + "`"); - return v && (n.settings = Object.assign(n.settings || {}, v)), a; - function y(k) { - if (typeof k == "function") D(k); - else if (typeof k == "object") - if (Array.isArray(k)) { - const [R, ...B] = k; - D(R, ...B); - } else w(k); - else throw new TypeError("Expected usable value, not `" + k + "`"); - } - function w(k) { - A(k.plugins), k.settings && (v = Object.assign(v || {}, k.settings)); - } - function A(k) { - let R = -1; - if (k != null) - if (Array.isArray(k)) - for (; ++R < k.length; ) { - const B = k[R]; - y(B); - } - else throw new TypeError("Expected a list of plugins, not `" + k + "`"); - } - function D(k, R) { - let B = -1, - W; - for (; ++B < t.length; ) - if (t[B][0] === k) { - W = t[B]; - break; - } - W - ? (Tb(W[1]) && Tb(R) && (R = v1(!0, W[1], R)), (W[1] = R)) - : t.push([...arguments]); - } - } - function c(b) { - a.freeze(); - const T = Hc(b), - v = a.Parser; - return ( - o3("parse", v), - oC(v, "parse") ? new v(String(T), T).parse() : v(String(T), T) - ); - } - function p(b, T) { - a.freeze(); - const v = Hc(T), - y = a.Compiler; - return ( - s3("stringify", y), - sC(b), - oC(y, "compile") ? new y(b, v).compile() : y(b, v) - ); - } - function f(b, T, v) { - if ( - (sC(b), - a.freeze(), - !v && typeof T == "function" && ((v = T), (T = void 0)), - !v) - ) - return new Promise(y); - y(null, v); - function y(w, A) { - e.run(b, Hc(T), D); - function D(k, R, B) { - (R = R || b), k ? A(k) : w ? w(R) : v(null, R, B); - } - } - } - function m(b, T) { - let v, y; - return a.run(b, T, w), lC("runSync", "run", y), v; - function w(A, D) { - JA(A), (v = D), (y = !0); - } - } - function g(b, T) { - if ((a.freeze(), o3("process", a.Parser), s3("process", a.Compiler), !T)) - return new Promise(v); - v(null, T); - function v(y, w) { - const A = Hc(b); - a.run(a.parse(A), A, (k, R, B) => { - if (k || !R || !B) D(k); - else { - const W = a.stringify(R, B); - W == null || (DX(W) ? (B.value = W) : (B.result = W)), D(k, B); - } - }); - function D(k, R) { - k || !R ? w(k) : y ? y(R) : T(null, R); - } - } - } - function E(b) { - let T; - a.freeze(), o3("processSync", a.Parser), s3("processSync", a.Compiler); - const v = Hc(b); - return a.process(v, y), lC("processSync", "process", T), v; - function y(w) { - (T = !0), JA(w); - } - } -} -function oC(e, t) { - return ( - typeof e == "function" && - e.prototype && - (NX(e.prototype) || t in e.prototype) - ); -} -function NX(e) { - let t; - for (t in e) if (mD.call(e, t)) return !0; - return !1; -} -function o3(e, t) { - if (typeof t != "function") - throw new TypeError("Cannot `" + e + "` without `Parser`"); -} -function s3(e, t) { - if (typeof t != "function") - throw new TypeError("Cannot `" + e + "` without `Compiler`"); -} -function l3(e, t) { - if (t) - throw new Error( - "Cannot call `" + - e + - "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`." - ); -} -function sC(e) { - if (!Tb(e) || typeof e.type != "string") - throw new TypeError("Expected node, got `" + e + "`"); -} -function lC(e, t, n) { - if (!n) - throw new Error("`" + e + "` finished async. Use `" + t + "` instead"); -} -function Hc(e) { - return OX(e) ? e : new hD(e); -} -function OX(e) { - return !!(e && typeof e == "object" && "message" in e && "messages" in e); -} -function DX(e) { - return typeof e == "string" || fD(e); -} -const LX = {}; -function MX(e, t) { - const n = t || LX, - r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, - i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0; - return ED(e, r, i); -} -function ED(e, t, n) { - if (FX(e)) { - if ("value" in e) return e.type === "html" && !n ? "" : e.value; - if (t && "alt" in e && e.alt) return e.alt; - if ("children" in e) return uC(e.children, t, n); - } - return Array.isArray(e) ? uC(e, t, n) : ""; -} -function uC(e, t, n) { - const r = []; - let i = -1; - for (; ++i < e.length; ) r[i] = ED(e[i], t, n); - return r.join(""); -} -function FX(e) { - return !!(e && typeof e == "object"); -} -function Fi(e, t, n, r) { - const i = e.length; - let a = 0, - o; - if ( - (t < 0 ? (t = -t > i ? 0 : i + t) : (t = t > i ? i : t), - (n = n > 0 ? n : 0), - r.length < 1e4) - ) - (o = Array.from(r)), o.unshift(t, n), e.splice(...o); - else - for (n && e.splice(t, n); a < r.length; ) - (o = r.slice(a, a + 1e4)), - o.unshift(t, 0), - e.splice(...o), - (a += 1e4), - (t += 1e4); -} -function la(e, t) { - return e.length > 0 ? (Fi(e, e.length, 0, t), e) : t; -} -const cC = {}.hasOwnProperty; -function vD(e) { - const t = {}; - let n = -1; - for (; ++n < e.length; ) PX(t, e[n]); - return t; -} -function PX(e, t) { - let n; - for (n in t) { - const i = (cC.call(e, n) ? e[n] : void 0) || (e[n] = {}), - a = t[n]; - let o; - if (a) - for (o in a) { - cC.call(i, o) || (i[o] = []); - const s = a[o]; - BX(i[o], Array.isArray(s) ? s : s ? [s] : []); - } - } -} -function BX(e, t) { - let n = -1; - const r = []; - for (; ++n < t.length; ) (t[n].add === "after" ? e : r).push(t[n]); - Fi(e, 0, 0, r); -} -const UX = - /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, - Qr = vl(/[A-Za-z]/), - $r = vl(/[\dA-Za-z]/), - $X = vl(/[#-'*+\--9=?A-Z^-~]/); -function rg(e) { - return e !== null && (e < 32 || e === 127); -} -const Sb = vl(/\d/), - zX = vl(/[\dA-Fa-f]/), - HX = vl(/[!-/:-@[-`{-~]/); -function gt(e) { - return e !== null && e < -2; -} -function hn(e) { - return e !== null && (e < 0 || e === 32); -} -function Dt(e) { - return e === -2 || e === -1 || e === 32; -} -const S2 = vl(UX), - hu = vl(/\s/); -function vl(e) { - return t; - function t(n) { - return n !== null && e.test(String.fromCharCode(n)); - } -} -function Gt(e, t, n, r) { - const i = r ? r - 1 : Number.POSITIVE_INFINITY; - let a = 0; - return o; - function o(u) { - return Dt(u) ? (e.enter(n), s(u)) : t(u); - } - function s(u) { - return Dt(u) && a++ < i ? (e.consume(u), s) : (e.exit(n), t(u)); - } -} -const jX = { tokenize: GX }; -function GX(e) { - const t = e.attempt(this.parser.constructs.contentInitial, r, i); - let n; - return t; - function r(s) { - if (s === null) { - e.consume(s); - return; - } - return ( - e.enter("lineEnding"), - e.consume(s), - e.exit("lineEnding"), - Gt(e, t, "linePrefix") - ); - } - function i(s) { - return e.enter("paragraph"), a(s); - } - function a(s) { - const u = e.enter("chunkText", { contentType: "text", previous: n }); - return n && (n.next = u), (n = u), o(s); - } - function o(s) { - if (s === null) { - e.exit("chunkText"), e.exit("paragraph"), e.consume(s); - return; - } - return gt(s) ? (e.consume(s), e.exit("chunkText"), a) : (e.consume(s), o); - } -} -const VX = { tokenize: WX }, - dC = { tokenize: qX }; -function WX(e) { - const t = this, - n = []; - let r = 0, - i, - a, - o; - return s; - function s(w) { - if (r < n.length) { - const A = n[r]; - return (t.containerState = A[1]), e.attempt(A[0].continuation, u, c)(w); - } - return c(w); - } - function u(w) { - if ((r++, t.containerState._closeFlow)) { - (t.containerState._closeFlow = void 0), i && y(); - const A = t.events.length; - let D = A, - k; - for (; D--; ) - if (t.events[D][0] === "exit" && t.events[D][1].type === "chunkFlow") { - k = t.events[D][1].end; - break; - } - v(r); - let R = A; - for (; R < t.events.length; ) - (t.events[R][1].end = Object.assign({}, k)), R++; - return ( - Fi(t.events, D + 1, 0, t.events.slice(A)), (t.events.length = R), c(w) - ); - } - return s(w); - } - function c(w) { - if (r === n.length) { - if (!i) return m(w); - if (i.currentConstruct && i.currentConstruct.concrete) return E(w); - t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack); - } - return (t.containerState = {}), e.check(dC, p, f)(w); - } - function p(w) { - return i && y(), v(r), m(w); - } - function f(w) { - return ( - (t.parser.lazy[t.now().line] = r !== n.length), (o = t.now().offset), E(w) - ); - } - function m(w) { - return (t.containerState = {}), e.attempt(dC, g, E)(w); - } - function g(w) { - return r++, n.push([t.currentConstruct, t.containerState]), m(w); - } - function E(w) { - if (w === null) { - i && y(), v(0), e.consume(w); - return; - } - return ( - (i = i || t.parser.flow(t.now())), - e.enter("chunkFlow", { contentType: "flow", previous: a, _tokenizer: i }), - b(w) - ); - } - function b(w) { - if (w === null) { - T(e.exit("chunkFlow"), !0), v(0), e.consume(w); - return; - } - return gt(w) - ? (e.consume(w), - T(e.exit("chunkFlow")), - (r = 0), - (t.interrupt = void 0), - s) - : (e.consume(w), b); - } - function T(w, A) { - const D = t.sliceStream(w); - if ( - (A && D.push(null), - (w.previous = a), - a && (a.next = w), - (a = w), - i.defineSkip(w.start), - i.write(D), - t.parser.lazy[w.start.line]) - ) { - let k = i.events.length; - for (; k--; ) - if ( - i.events[k][1].start.offset < o && - (!i.events[k][1].end || i.events[k][1].end.offset > o) - ) - return; - const R = t.events.length; - let B = R, - W, - P; - for (; B--; ) - if (t.events[B][0] === "exit" && t.events[B][1].type === "chunkFlow") { - if (W) { - P = t.events[B][1].end; - break; - } - W = !0; - } - for (v(r), k = R; k < t.events.length; ) - (t.events[k][1].end = Object.assign({}, P)), k++; - Fi(t.events, B + 1, 0, t.events.slice(R)), (t.events.length = k); - } - } - function v(w) { - let A = n.length; - for (; A-- > w; ) { - const D = n[A]; - (t.containerState = D[1]), D[0].exit.call(t, e); - } - n.length = w; - } - function y() { - i.write([null]), - (a = void 0), - (i = void 0), - (t.containerState._closeFlow = void 0); - } -} -function qX(e, t, n) { - return Gt( - e, - e.attempt(this.parser.constructs.document, t, n), - "linePrefix", - this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - ); -} -function ig(e) { - if (e === null || hn(e) || hu(e)) return 1; - if (S2(e)) return 2; -} -function w2(e, t, n) { - const r = []; - let i = -1; - for (; ++i < e.length; ) { - const a = e[i].resolveAll; - a && !r.includes(a) && ((t = a(t, n)), r.push(a)); - } - return t; -} -const wb = { name: "attention", tokenize: YX, resolveAll: KX }; -function KX(e, t) { - let n = -1, - r, - i, - a, - o, - s, - u, - c, - p; - for (; ++n < e.length; ) - if ( - e[n][0] === "enter" && - e[n][1].type === "attentionSequence" && - e[n][1]._close - ) { - for (r = n; r--; ) - if ( - e[r][0] === "exit" && - e[r][1].type === "attentionSequence" && - e[r][1]._open && - t.sliceSerialize(e[r][1]).charCodeAt(0) === - t.sliceSerialize(e[n][1]).charCodeAt(0) - ) { - if ( - (e[r][1]._close || e[n][1]._open) && - (e[n][1].end.offset - e[n][1].start.offset) % 3 && - !( - (e[r][1].end.offset - - e[r][1].start.offset + - e[n][1].end.offset - - e[n][1].start.offset) % - 3 - ) - ) - continue; - u = - e[r][1].end.offset - e[r][1].start.offset > 1 && - e[n][1].end.offset - e[n][1].start.offset > 1 - ? 2 - : 1; - const f = Object.assign({}, e[r][1].end), - m = Object.assign({}, e[n][1].start); - pC(f, -u), - pC(m, u), - (o = { - type: u > 1 ? "strongSequence" : "emphasisSequence", - start: f, - end: Object.assign({}, e[r][1].end), - }), - (s = { - type: u > 1 ? "strongSequence" : "emphasisSequence", - start: Object.assign({}, e[n][1].start), - end: m, - }), - (a = { - type: u > 1 ? "strongText" : "emphasisText", - start: Object.assign({}, e[r][1].end), - end: Object.assign({}, e[n][1].start), - }), - (i = { - type: u > 1 ? "strong" : "emphasis", - start: Object.assign({}, o.start), - end: Object.assign({}, s.end), - }), - (e[r][1].end = Object.assign({}, o.start)), - (e[n][1].start = Object.assign({}, s.end)), - (c = []), - e[r][1].end.offset - e[r][1].start.offset && - (c = la(c, [ - ["enter", e[r][1], t], - ["exit", e[r][1], t], - ])), - (c = la(c, [ - ["enter", i, t], - ["enter", o, t], - ["exit", o, t], - ["enter", a, t], - ])), - (c = la( - c, - w2(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t) - )), - (c = la(c, [ - ["exit", a, t], - ["enter", s, t], - ["exit", s, t], - ["exit", i, t], - ])), - e[n][1].end.offset - e[n][1].start.offset - ? ((p = 2), - (c = la(c, [ - ["enter", e[n][1], t], - ["exit", e[n][1], t], - ]))) - : (p = 0), - Fi(e, r - 1, n - r + 3, c), - (n = r + c.length - p - 2); - break; - } - } - for (n = -1; ++n < e.length; ) - e[n][1].type === "attentionSequence" && (e[n][1].type = "data"); - return e; -} -function YX(e, t) { - const n = this.parser.constructs.attentionMarkers.null, - r = this.previous, - i = ig(r); - let a; - return o; - function o(u) { - return (a = u), e.enter("attentionSequence"), s(u); - } - function s(u) { - if (u === a) return e.consume(u), s; - const c = e.exit("attentionSequence"), - p = ig(u), - f = !p || (p === 2 && i) || n.includes(u), - m = !i || (i === 2 && p) || n.includes(r); - return ( - (c._open = !!(a === 42 ? f : f && (i || !m))), - (c._close = !!(a === 42 ? m : m && (p || !f))), - t(u) - ); - } -} -function pC(e, t) { - (e.column += t), (e.offset += t), (e._bufferIndex += t); -} -const XX = { name: "autolink", tokenize: ZX }; -function ZX(e, t, n) { - let r = 0; - return i; - function i(g) { - return ( - e.enter("autolink"), - e.enter("autolinkMarker"), - e.consume(g), - e.exit("autolinkMarker"), - e.enter("autolinkProtocol"), - a - ); - } - function a(g) { - return Qr(g) ? (e.consume(g), o) : c(g); - } - function o(g) { - return g === 43 || g === 45 || g === 46 || $r(g) ? ((r = 1), s(g)) : c(g); - } - function s(g) { - return g === 58 - ? (e.consume(g), (r = 0), u) - : (g === 43 || g === 45 || g === 46 || $r(g)) && r++ < 32 - ? (e.consume(g), s) - : ((r = 0), c(g)); - } - function u(g) { - return g === 62 - ? (e.exit("autolinkProtocol"), - e.enter("autolinkMarker"), - e.consume(g), - e.exit("autolinkMarker"), - e.exit("autolink"), - t) - : g === null || g === 32 || g === 60 || rg(g) - ? n(g) - : (e.consume(g), u); - } - function c(g) { - return g === 64 ? (e.consume(g), p) : $X(g) ? (e.consume(g), c) : n(g); - } - function p(g) { - return $r(g) ? f(g) : n(g); - } - function f(g) { - return g === 46 - ? (e.consume(g), (r = 0), p) - : g === 62 - ? ((e.exit("autolinkProtocol").type = "autolinkEmail"), - e.enter("autolinkMarker"), - e.consume(g), - e.exit("autolinkMarker"), - e.exit("autolink"), - t) - : m(g); - } - function m(g) { - if ((g === 45 || $r(g)) && r++ < 63) { - const E = g === 45 ? m : f; - return e.consume(g), E; - } - return n(g); - } -} -const kp = { tokenize: QX, partial: !0 }; -function QX(e, t, n) { - return r; - function r(a) { - return Dt(a) ? Gt(e, i, "linePrefix")(a) : i(a); - } - function i(a) { - return a === null || gt(a) ? t(a) : n(a); - } -} -const yD = { - name: "blockQuote", - tokenize: JX, - continuation: { tokenize: eZ }, - exit: tZ, -}; -function JX(e, t, n) { - const r = this; - return i; - function i(o) { - if (o === 62) { - const s = r.containerState; - return ( - s.open || (e.enter("blockQuote", { _container: !0 }), (s.open = !0)), - e.enter("blockQuotePrefix"), - e.enter("blockQuoteMarker"), - e.consume(o), - e.exit("blockQuoteMarker"), - a - ); - } - return n(o); - } - function a(o) { - return Dt(o) - ? (e.enter("blockQuotePrefixWhitespace"), - e.consume(o), - e.exit("blockQuotePrefixWhitespace"), - e.exit("blockQuotePrefix"), - t) - : (e.exit("blockQuotePrefix"), t(o)); - } -} -function eZ(e, t, n) { - const r = this; - return i; - function i(o) { - return Dt(o) - ? Gt( - e, - a, - "linePrefix", - r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(o) - : a(o); - } - function a(o) { - return e.attempt(yD, t, n)(o); - } -} -function tZ(e) { - e.exit("blockQuote"); -} -const _D = { name: "characterEscape", tokenize: nZ }; -function nZ(e, t, n) { - return r; - function r(a) { - return ( - e.enter("characterEscape"), - e.enter("escapeMarker"), - e.consume(a), - e.exit("escapeMarker"), - i - ); - } - function i(a) { - return HX(a) - ? (e.enter("characterEscapeValue"), - e.consume(a), - e.exit("characterEscapeValue"), - e.exit("characterEscape"), - t) - : n(a); - } -} -const fC = document.createElement("i"); -function sp(e) { - const t = "&" + e + ";"; - fC.innerHTML = t; - const n = fC.textContent; - return (n.charCodeAt(n.length - 1) === 59 && e !== "semi") || n === t - ? !1 - : n; -} -const TD = { name: "characterReference", tokenize: rZ }; -function rZ(e, t, n) { - const r = this; - let i = 0, - a, - o; - return s; - function s(f) { - return ( - e.enter("characterReference"), - e.enter("characterReferenceMarker"), - e.consume(f), - e.exit("characterReferenceMarker"), - u - ); - } - function u(f) { - return f === 35 - ? (e.enter("characterReferenceMarkerNumeric"), - e.consume(f), - e.exit("characterReferenceMarkerNumeric"), - c) - : (e.enter("characterReferenceValue"), (a = 31), (o = $r), p(f)); - } - function c(f) { - return f === 88 || f === 120 - ? (e.enter("characterReferenceMarkerHexadecimal"), - e.consume(f), - e.exit("characterReferenceMarkerHexadecimal"), - e.enter("characterReferenceValue"), - (a = 6), - (o = zX), - p) - : (e.enter("characterReferenceValue"), (a = 7), (o = Sb), p(f)); - } - function p(f) { - if (f === 59 && i) { - const m = e.exit("characterReferenceValue"); - return o === $r && !sp(r.sliceSerialize(m)) - ? n(f) - : (e.enter("characterReferenceMarker"), - e.consume(f), - e.exit("characterReferenceMarker"), - e.exit("characterReference"), - t); - } - return o(f) && i++ < a ? (e.consume(f), p) : n(f); - } -} -const hC = { tokenize: aZ, partial: !0 }, - gC = { name: "codeFenced", tokenize: iZ, concrete: !0 }; -function iZ(e, t, n) { - const r = this, - i = { tokenize: D, partial: !0 }; - let a = 0, - o = 0, - s; - return u; - function u(k) { - return c(k); - } - function c(k) { - const R = r.events[r.events.length - 1]; - return ( - (a = - R && R[1].type === "linePrefix" - ? R[2].sliceSerialize(R[1], !0).length - : 0), - (s = k), - e.enter("codeFenced"), - e.enter("codeFencedFence"), - e.enter("codeFencedFenceSequence"), - p(k) - ); - } - function p(k) { - return k === s - ? (o++, e.consume(k), p) - : o < 3 - ? n(k) - : (e.exit("codeFencedFenceSequence"), - Dt(k) ? Gt(e, f, "whitespace")(k) : f(k)); - } - function f(k) { - return k === null || gt(k) - ? (e.exit("codeFencedFence"), r.interrupt ? t(k) : e.check(hC, b, A)(k)) - : (e.enter("codeFencedFenceInfo"), - e.enter("chunkString", { contentType: "string" }), - m(k)); - } - function m(k) { - return k === null || gt(k) - ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(k)) - : Dt(k) - ? (e.exit("chunkString"), - e.exit("codeFencedFenceInfo"), - Gt(e, g, "whitespace")(k)) - : k === 96 && k === s - ? n(k) - : (e.consume(k), m); - } - function g(k) { - return k === null || gt(k) - ? f(k) - : (e.enter("codeFencedFenceMeta"), - e.enter("chunkString", { contentType: "string" }), - E(k)); - } - function E(k) { - return k === null || gt(k) - ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(k)) - : k === 96 && k === s - ? n(k) - : (e.consume(k), E); - } - function b(k) { - return e.attempt(i, A, T)(k); - } - function T(k) { - return e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), v; - } - function v(k) { - return a > 0 && Dt(k) ? Gt(e, y, "linePrefix", a + 1)(k) : y(k); - } - function y(k) { - return k === null || gt(k) - ? e.check(hC, b, A)(k) - : (e.enter("codeFlowValue"), w(k)); - } - function w(k) { - return k === null || gt(k) - ? (e.exit("codeFlowValue"), y(k)) - : (e.consume(k), w); - } - function A(k) { - return e.exit("codeFenced"), t(k); - } - function D(k, R, B) { - let W = 0; - return P; - function P(de) { - return k.enter("lineEnding"), k.consume(de), k.exit("lineEnding"), Q; - } - function Q(de) { - return ( - k.enter("codeFencedFence"), - Dt(de) - ? Gt( - k, - z, - "linePrefix", - r.parser.constructs.disable.null.includes("codeIndented") - ? void 0 - : 4 - )(de) - : z(de) - ); - } - function z(de) { - return de === s ? (k.enter("codeFencedFenceSequence"), le(de)) : B(de); - } - function le(de) { - return de === s - ? (W++, k.consume(de), le) - : W >= o - ? (k.exit("codeFencedFenceSequence"), - Dt(de) ? Gt(k, he, "whitespace")(de) : he(de)) - : B(de); - } - function he(de) { - return de === null || gt(de) ? (k.exit("codeFencedFence"), R(de)) : B(de); - } - } -} -function aZ(e, t, n) { - const r = this; - return i; - function i(o) { - return o === null - ? n(o) - : (e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), a); - } - function a(o) { - return r.parser.lazy[r.now().line] ? n(o) : t(o); - } -} -const u3 = { name: "codeIndented", tokenize: sZ }, - oZ = { tokenize: lZ, partial: !0 }; -function sZ(e, t, n) { - const r = this; - return i; - function i(c) { - return e.enter("codeIndented"), Gt(e, a, "linePrefix", 4 + 1)(c); - } - function a(c) { - const p = r.events[r.events.length - 1]; - return p && - p[1].type === "linePrefix" && - p[2].sliceSerialize(p[1], !0).length >= 4 - ? o(c) - : n(c); - } - function o(c) { - return c === null - ? u(c) - : gt(c) - ? e.attempt(oZ, o, u)(c) - : (e.enter("codeFlowValue"), s(c)); - } - function s(c) { - return c === null || gt(c) - ? (e.exit("codeFlowValue"), o(c)) - : (e.consume(c), s); - } - function u(c) { - return e.exit("codeIndented"), t(c); - } -} -function lZ(e, t, n) { - const r = this; - return i; - function i(o) { - return r.parser.lazy[r.now().line] - ? n(o) - : gt(o) - ? (e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), i) - : Gt(e, a, "linePrefix", 4 + 1)(o); - } - function a(o) { - const s = r.events[r.events.length - 1]; - return s && - s[1].type === "linePrefix" && - s[2].sliceSerialize(s[1], !0).length >= 4 - ? t(o) - : gt(o) - ? i(o) - : n(o); - } -} -const uZ = { name: "codeText", tokenize: pZ, resolve: cZ, previous: dZ }; -function cZ(e) { - let t = e.length - 4, - n = 3, - r, - i; - if ( - (e[n][1].type === "lineEnding" || e[n][1].type === "space") && - (e[t][1].type === "lineEnding" || e[t][1].type === "space") - ) { - for (r = n; ++r < t; ) - if (e[r][1].type === "codeTextData") { - (e[n][1].type = "codeTextPadding"), - (e[t][1].type = "codeTextPadding"), - (n += 2), - (t -= 2); - break; - } - } - for (r = n - 1, t++; ++r <= t; ) - i === void 0 - ? r !== t && e[r][1].type !== "lineEnding" && (i = r) - : (r === t || e[r][1].type === "lineEnding") && - ((e[i][1].type = "codeTextData"), - r !== i + 2 && - ((e[i][1].end = e[r - 1][1].end), - e.splice(i + 2, r - i - 2), - (t -= r - i - 2), - (r = i + 2)), - (i = void 0)); - return e; -} -function dZ(e) { - return ( - e !== 96 || - this.events[this.events.length - 1][1].type === "characterEscape" - ); -} -function pZ(e, t, n) { - let r = 0, - i, - a; - return o; - function o(f) { - return e.enter("codeText"), e.enter("codeTextSequence"), s(f); - } - function s(f) { - return f === 96 - ? (e.consume(f), r++, s) - : (e.exit("codeTextSequence"), u(f)); - } - function u(f) { - return f === null - ? n(f) - : f === 32 - ? (e.enter("space"), e.consume(f), e.exit("space"), u) - : f === 96 - ? ((a = e.enter("codeTextSequence")), (i = 0), p(f)) - : gt(f) - ? (e.enter("lineEnding"), e.consume(f), e.exit("lineEnding"), u) - : (e.enter("codeTextData"), c(f)); - } - function c(f) { - return f === null || f === 32 || f === 96 || gt(f) - ? (e.exit("codeTextData"), u(f)) - : (e.consume(f), c); - } - function p(f) { - return f === 96 - ? (e.consume(f), i++, p) - : i === r - ? (e.exit("codeTextSequence"), e.exit("codeText"), t(f)) - : ((a.type = "codeTextData"), c(f)); - } -} -function SD(e) { - const t = {}; - let n = -1, - r, - i, - a, - o, - s, - u, - c; - for (; ++n < e.length; ) { - for (; n in t; ) n = t[n]; - if ( - ((r = e[n]), - n && - r[1].type === "chunkFlow" && - e[n - 1][1].type === "listItemPrefix" && - ((u = r[1]._tokenizer.events), - (a = 0), - a < u.length && u[a][1].type === "lineEndingBlank" && (a += 2), - a < u.length && u[a][1].type === "content")) - ) - for (; ++a < u.length && u[a][1].type !== "content"; ) - u[a][1].type === "chunkText" && - ((u[a][1]._isInFirstContentOfListItem = !0), a++); - if (r[0] === "enter") - r[1].contentType && (Object.assign(t, fZ(e, n)), (n = t[n]), (c = !0)); - else if (r[1]._container) { - for ( - a = n, i = void 0; - a-- && - ((o = e[a]), - o[1].type === "lineEnding" || o[1].type === "lineEndingBlank"); - - ) - o[0] === "enter" && - (i && (e[i][1].type = "lineEndingBlank"), - (o[1].type = "lineEnding"), - (i = a)); - i && - ((r[1].end = Object.assign({}, e[i][1].start)), - (s = e.slice(i, n)), - s.unshift(r), - Fi(e, i, n - i + 1, s)); - } - } - return !c; -} -function fZ(e, t) { - const n = e[t][1], - r = e[t][2]; - let i = t - 1; - const a = [], - o = n._tokenizer || r.parser[n.contentType](n.start), - s = o.events, - u = [], - c = {}; - let p, - f, - m = -1, - g = n, - E = 0, - b = 0; - const T = [b]; - for (; g; ) { - for (; e[++i][1] !== g; ); - a.push(i), - g._tokenizer || - ((p = r.sliceStream(g)), - g.next || p.push(null), - f && o.defineSkip(g.start), - g._isInFirstContentOfListItem && - (o._gfmTasklistFirstContentOfListItem = !0), - o.write(p), - g._isInFirstContentOfListItem && - (o._gfmTasklistFirstContentOfListItem = void 0)), - (f = g), - (g = g.next); - } - for (g = n; ++m < s.length; ) - s[m][0] === "exit" && - s[m - 1][0] === "enter" && - s[m][1].type === s[m - 1][1].type && - s[m][1].start.line !== s[m][1].end.line && - ((b = m + 1), - T.push(b), - (g._tokenizer = void 0), - (g.previous = void 0), - (g = g.next)); - for ( - o.events = [], - g ? ((g._tokenizer = void 0), (g.previous = void 0)) : T.pop(), - m = T.length; - m--; - - ) { - const v = s.slice(T[m], T[m + 1]), - y = a.pop(); - u.unshift([y, y + v.length - 1]), Fi(e, y, 2, v); - } - for (m = -1; ++m < u.length; ) - (c[E + u[m][0]] = E + u[m][1]), (E += u[m][1] - u[m][0] - 1); - return c; -} -const hZ = { tokenize: bZ, resolve: mZ }, - gZ = { tokenize: EZ, partial: !0 }; -function mZ(e) { - return SD(e), e; -} -function bZ(e, t) { - let n; - return r; - function r(s) { - return ( - e.enter("content"), - (n = e.enter("chunkContent", { contentType: "content" })), - i(s) - ); - } - function i(s) { - return s === null ? a(s) : gt(s) ? e.check(gZ, o, a)(s) : (e.consume(s), i); - } - function a(s) { - return e.exit("chunkContent"), e.exit("content"), t(s); - } - function o(s) { - return ( - e.consume(s), - e.exit("chunkContent"), - (n.next = e.enter("chunkContent", { - contentType: "content", - previous: n, - })), - (n = n.next), - i - ); - } -} -function EZ(e, t, n) { - const r = this; - return i; - function i(o) { - return ( - e.exit("chunkContent"), - e.enter("lineEnding"), - e.consume(o), - e.exit("lineEnding"), - Gt(e, a, "linePrefix") - ); - } - function a(o) { - if (o === null || gt(o)) return n(o); - const s = r.events[r.events.length - 1]; - return !r.parser.constructs.disable.null.includes("codeIndented") && - s && - s[1].type === "linePrefix" && - s[2].sliceSerialize(s[1], !0).length >= 4 - ? t(o) - : e.interrupt(r.parser.constructs.flow, n, t)(o); - } -} -function wD(e, t, n, r, i, a, o, s, u) { - const c = u || Number.POSITIVE_INFINITY; - let p = 0; - return f; - function f(v) { - return v === 60 - ? (e.enter(r), e.enter(i), e.enter(a), e.consume(v), e.exit(a), m) - : v === null || v === 32 || v === 41 || rg(v) - ? n(v) - : (e.enter(r), - e.enter(o), - e.enter(s), - e.enter("chunkString", { contentType: "string" }), - b(v)); - } - function m(v) { - return v === 62 - ? (e.enter(a), e.consume(v), e.exit(a), e.exit(i), e.exit(r), t) - : (e.enter(s), e.enter("chunkString", { contentType: "string" }), g(v)); - } - function g(v) { - return v === 62 - ? (e.exit("chunkString"), e.exit(s), m(v)) - : v === null || v === 60 || gt(v) - ? n(v) - : (e.consume(v), v === 92 ? E : g); - } - function E(v) { - return v === 60 || v === 62 || v === 92 ? (e.consume(v), g) : g(v); - } - function b(v) { - return !p && (v === null || v === 41 || hn(v)) - ? (e.exit("chunkString"), e.exit(s), e.exit(o), e.exit(r), t(v)) - : p < c && v === 40 - ? (e.consume(v), p++, b) - : v === 41 - ? (e.consume(v), p--, b) - : v === null || v === 32 || v === 40 || rg(v) - ? n(v) - : (e.consume(v), v === 92 ? T : b); - } - function T(v) { - return v === 40 || v === 41 || v === 92 ? (e.consume(v), b) : b(v); - } -} -function AD(e, t, n, r, i, a) { - const o = this; - let s = 0, - u; - return c; - function c(g) { - return e.enter(r), e.enter(i), e.consume(g), e.exit(i), e.enter(a), p; - } - function p(g) { - return s > 999 || - g === null || - g === 91 || - (g === 93 && !u) || - (g === 94 && !s && "_hiddenFootnoteSupport" in o.parser.constructs) - ? n(g) - : g === 93 - ? (e.exit(a), e.enter(i), e.consume(g), e.exit(i), e.exit(r), t) - : gt(g) - ? (e.enter("lineEnding"), e.consume(g), e.exit("lineEnding"), p) - : (e.enter("chunkString", { contentType: "string" }), f(g)); - } - function f(g) { - return g === null || g === 91 || g === 93 || gt(g) || s++ > 999 - ? (e.exit("chunkString"), p(g)) - : (e.consume(g), u || (u = !Dt(g)), g === 92 ? m : f); - } - function m(g) { - return g === 91 || g === 92 || g === 93 ? (e.consume(g), s++, f) : f(g); - } -} -function CD(e, t, n, r, i, a) { - let o; - return s; - function s(m) { - return m === 34 || m === 39 || m === 40 - ? (e.enter(r), - e.enter(i), - e.consume(m), - e.exit(i), - (o = m === 40 ? 41 : m), - u) - : n(m); - } - function u(m) { - return m === o - ? (e.enter(i), e.consume(m), e.exit(i), e.exit(r), t) - : (e.enter(a), c(m)); - } - function c(m) { - return m === o - ? (e.exit(a), u(o)) - : m === null - ? n(m) - : gt(m) - ? (e.enter("lineEnding"), - e.consume(m), - e.exit("lineEnding"), - Gt(e, c, "linePrefix")) - : (e.enter("chunkString", { contentType: "string" }), p(m)); - } - function p(m) { - return m === o || m === null || gt(m) - ? (e.exit("chunkString"), c(m)) - : (e.consume(m), m === 92 ? f : p); - } - function f(m) { - return m === o || m === 92 ? (e.consume(m), p) : p(m); - } -} -function Ad(e, t) { - let n; - return r; - function r(i) { - return gt(i) - ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), (n = !0), r) - : Dt(i) - ? Gt(e, r, n ? "linePrefix" : "lineSuffix")(i) - : t(i); - } -} -function Ha(e) { - return e - .replace(/[\t\n\r ]+/g, " ") - .replace(/^ | $/g, "") - .toLowerCase() - .toUpperCase(); -} -const vZ = { name: "definition", tokenize: _Z }, - yZ = { tokenize: TZ, partial: !0 }; -function _Z(e, t, n) { - const r = this; - let i; - return a; - function a(g) { - return e.enter("definition"), o(g); - } - function o(g) { - return AD.call( - r, - e, - s, - n, - "definitionLabel", - "definitionLabelMarker", - "definitionLabelString" - )(g); - } - function s(g) { - return ( - (i = Ha(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))), - g === 58 - ? (e.enter("definitionMarker"), - e.consume(g), - e.exit("definitionMarker"), - u) - : n(g) - ); - } - function u(g) { - return hn(g) ? Ad(e, c)(g) : c(g); - } - function c(g) { - return wD( - e, - p, - n, - "definitionDestination", - "definitionDestinationLiteral", - "definitionDestinationLiteralMarker", - "definitionDestinationRaw", - "definitionDestinationString" - )(g); - } - function p(g) { - return e.attempt(yZ, f, f)(g); - } - function f(g) { - return Dt(g) ? Gt(e, m, "whitespace")(g) : m(g); - } - function m(g) { - return g === null || gt(g) - ? (e.exit("definition"), r.parser.defined.push(i), t(g)) - : n(g); - } -} -function TZ(e, t, n) { - return r; - function r(s) { - return hn(s) ? Ad(e, i)(s) : n(s); - } - function i(s) { - return CD( - e, - a, - n, - "definitionTitle", - "definitionTitleMarker", - "definitionTitleString" - )(s); - } - function a(s) { - return Dt(s) ? Gt(e, o, "whitespace")(s) : o(s); - } - function o(s) { - return s === null || gt(s) ? t(s) : n(s); - } -} -const SZ = { name: "hardBreakEscape", tokenize: wZ }; -function wZ(e, t, n) { - return r; - function r(a) { - return e.enter("hardBreakEscape"), e.consume(a), i; - } - function i(a) { - return gt(a) ? (e.exit("hardBreakEscape"), t(a)) : n(a); - } -} -const AZ = { name: "headingAtx", tokenize: xZ, resolve: CZ }; -function CZ(e, t) { - let n = e.length - 2, - r = 3, - i, - a; - return ( - e[r][1].type === "whitespace" && (r += 2), - n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), - e[n][1].type === "atxHeadingSequence" && - (r === n - 1 || (n - 4 > r && e[n - 2][1].type === "whitespace")) && - (n -= r + 1 === n ? 2 : 4), - n > r && - ((i = { type: "atxHeadingText", start: e[r][1].start, end: e[n][1].end }), - (a = { - type: "chunkText", - start: e[r][1].start, - end: e[n][1].end, - contentType: "text", - }), - Fi(e, r, n - r + 1, [ - ["enter", i, t], - ["enter", a, t], - ["exit", a, t], - ["exit", i, t], - ])), - e - ); -} -function xZ(e, t, n) { - let r = 0; - return i; - function i(p) { - return e.enter("atxHeading"), a(p); - } - function a(p) { - return e.enter("atxHeadingSequence"), o(p); - } - function o(p) { - return p === 35 && r++ < 6 - ? (e.consume(p), o) - : p === null || hn(p) - ? (e.exit("atxHeadingSequence"), s(p)) - : n(p); - } - function s(p) { - return p === 35 - ? (e.enter("atxHeadingSequence"), u(p)) - : p === null || gt(p) - ? (e.exit("atxHeading"), t(p)) - : Dt(p) - ? Gt(e, s, "whitespace")(p) - : (e.enter("atxHeadingText"), c(p)); - } - function u(p) { - return p === 35 ? (e.consume(p), u) : (e.exit("atxHeadingSequence"), s(p)); - } - function c(p) { - return p === null || p === 35 || hn(p) - ? (e.exit("atxHeadingText"), s(p)) - : (e.consume(p), c); - } -} -const kZ = [ - "address", - "article", - "aside", - "base", - "basefont", - "blockquote", - "body", - "caption", - "center", - "col", - "colgroup", - "dd", - "details", - "dialog", - "dir", - "div", - "dl", - "dt", - "fieldset", - "figcaption", - "figure", - "footer", - "form", - "frame", - "frameset", - "h1", - "h2", - "h3", - "h4", - "h5", - "h6", - "head", - "header", - "hr", - "html", - "iframe", - "legend", - "li", - "link", - "main", - "menu", - "menuitem", - "nav", - "noframes", - "ol", - "optgroup", - "option", - "p", - "param", - "search", - "section", - "summary", - "table", - "tbody", - "td", - "tfoot", - "th", - "thead", - "title", - "tr", - "track", - "ul", - ], - mC = ["pre", "script", "style", "textarea"], - IZ = { name: "htmlFlow", tokenize: DZ, resolveTo: OZ, concrete: !0 }, - RZ = { tokenize: MZ, partial: !0 }, - NZ = { tokenize: LZ, partial: !0 }; -function OZ(e) { - let t = e.length; - for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); ); - return ( - t > 1 && - e[t - 2][1].type === "linePrefix" && - ((e[t][1].start = e[t - 2][1].start), - (e[t + 1][1].start = e[t - 2][1].start), - e.splice(t - 2, 2)), - e - ); -} -function DZ(e, t, n) { - const r = this; - let i, a, o, s, u; - return c; - function c(O) { - return p(O); - } - function p(O) { - return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(O), f; - } - function f(O) { - return O === 33 - ? (e.consume(O), m) - : O === 47 - ? (e.consume(O), (a = !0), b) - : O === 63 - ? (e.consume(O), (i = 3), r.interrupt ? t : N) - : Qr(O) - ? (e.consume(O), (o = String.fromCharCode(O)), T) - : n(O); - } - function m(O) { - return O === 45 - ? (e.consume(O), (i = 2), g) - : O === 91 - ? (e.consume(O), (i = 5), (s = 0), E) - : Qr(O) - ? (e.consume(O), (i = 4), r.interrupt ? t : N) - : n(O); - } - function g(O) { - return O === 45 ? (e.consume(O), r.interrupt ? t : N) : n(O); - } - function E(O) { - const re = "CDATA["; - return O === re.charCodeAt(s++) - ? (e.consume(O), s === re.length ? (r.interrupt ? t : z) : E) - : n(O); - } - function b(O) { - return Qr(O) ? (e.consume(O), (o = String.fromCharCode(O)), T) : n(O); - } - function T(O) { - if (O === null || O === 47 || O === 62 || hn(O)) { - const re = O === 47, - Te = o.toLowerCase(); - return !re && !a && mC.includes(Te) - ? ((i = 1), r.interrupt ? t(O) : z(O)) - : kZ.includes(o.toLowerCase()) - ? ((i = 6), re ? (e.consume(O), v) : r.interrupt ? t(O) : z(O)) - : ((i = 7), - r.interrupt && !r.parser.lazy[r.now().line] ? n(O) : a ? y(O) : w(O)); - } - return O === 45 || $r(O) - ? (e.consume(O), (o += String.fromCharCode(O)), T) - : n(O); - } - function v(O) { - return O === 62 ? (e.consume(O), r.interrupt ? t : z) : n(O); - } - function y(O) { - return Dt(O) ? (e.consume(O), y) : P(O); - } - function w(O) { - return O === 47 - ? (e.consume(O), P) - : O === 58 || O === 95 || Qr(O) - ? (e.consume(O), A) - : Dt(O) - ? (e.consume(O), w) - : P(O); - } - function A(O) { - return O === 45 || O === 46 || O === 58 || O === 95 || $r(O) - ? (e.consume(O), A) - : D(O); - } - function D(O) { - return O === 61 ? (e.consume(O), k) : Dt(O) ? (e.consume(O), D) : w(O); - } - function k(O) { - return O === null || O === 60 || O === 61 || O === 62 || O === 96 - ? n(O) - : O === 34 || O === 39 - ? (e.consume(O), (u = O), R) - : Dt(O) - ? (e.consume(O), k) - : B(O); - } - function R(O) { - return O === u - ? (e.consume(O), (u = null), W) - : O === null || gt(O) - ? n(O) - : (e.consume(O), R); - } - function B(O) { - return O === null || - O === 34 || - O === 39 || - O === 47 || - O === 60 || - O === 61 || - O === 62 || - O === 96 || - hn(O) - ? D(O) - : (e.consume(O), B); - } - function W(O) { - return O === 47 || O === 62 || Dt(O) ? w(O) : n(O); - } - function P(O) { - return O === 62 ? (e.consume(O), Q) : n(O); - } - function Q(O) { - return O === null || gt(O) ? z(O) : Dt(O) ? (e.consume(O), Q) : n(O); - } - function z(O) { - return O === 45 && i === 2 - ? (e.consume(O), fe) - : O === 60 && i === 1 - ? (e.consume(O), Z) - : O === 62 && i === 4 - ? (e.consume(O), me) - : O === 63 && i === 3 - ? (e.consume(O), N) - : O === 93 && i === 5 - ? (e.consume(O), ce) - : gt(O) && (i === 6 || i === 7) - ? (e.exit("htmlFlowData"), e.check(RZ, oe, le)(O)) - : O === null || gt(O) - ? (e.exit("htmlFlowData"), le(O)) - : (e.consume(O), z); - } - function le(O) { - return e.check(NZ, he, oe)(O); - } - function he(O) { - return e.enter("lineEnding"), e.consume(O), e.exit("lineEnding"), de; - } - function de(O) { - return O === null || gt(O) ? le(O) : (e.enter("htmlFlowData"), z(O)); - } - function fe(O) { - return O === 45 ? (e.consume(O), N) : z(O); - } - function Z(O) { - return O === 47 ? (e.consume(O), (o = ""), V) : z(O); - } - function V(O) { - if (O === 62) { - const re = o.toLowerCase(); - return mC.includes(re) ? (e.consume(O), me) : z(O); - } - return Qr(O) && o.length < 8 - ? (e.consume(O), (o += String.fromCharCode(O)), V) - : z(O); - } - function ce(O) { - return O === 93 ? (e.consume(O), N) : z(O); - } - function N(O) { - return O === 62 - ? (e.consume(O), me) - : O === 45 && i === 2 - ? (e.consume(O), N) - : z(O); - } - function me(O) { - return O === null || gt(O) - ? (e.exit("htmlFlowData"), oe(O)) - : (e.consume(O), me); - } - function oe(O) { - return e.exit("htmlFlow"), t(O); - } -} -function LZ(e, t, n) { - const r = this; - return i; - function i(o) { - return gt(o) - ? (e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), a) - : n(o); - } - function a(o) { - return r.parser.lazy[r.now().line] ? n(o) : t(o); - } -} -function MZ(e, t, n) { - return r; - function r(i) { - return ( - e.enter("lineEnding"), - e.consume(i), - e.exit("lineEnding"), - e.attempt(kp, t, n) - ); - } -} -const FZ = { name: "htmlText", tokenize: PZ }; -function PZ(e, t, n) { - const r = this; - let i, a, o; - return s; - function s(N) { - return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(N), u; - } - function u(N) { - return N === 33 - ? (e.consume(N), c) - : N === 47 - ? (e.consume(N), D) - : N === 63 - ? (e.consume(N), w) - : Qr(N) - ? (e.consume(N), B) - : n(N); - } - function c(N) { - return N === 45 - ? (e.consume(N), p) - : N === 91 - ? (e.consume(N), (a = 0), E) - : Qr(N) - ? (e.consume(N), y) - : n(N); - } - function p(N) { - return N === 45 ? (e.consume(N), g) : n(N); - } - function f(N) { - return N === null - ? n(N) - : N === 45 - ? (e.consume(N), m) - : gt(N) - ? ((o = f), Z(N)) - : (e.consume(N), f); - } - function m(N) { - return N === 45 ? (e.consume(N), g) : f(N); - } - function g(N) { - return N === 62 ? fe(N) : N === 45 ? m(N) : f(N); - } - function E(N) { - const me = "CDATA["; - return N === me.charCodeAt(a++) - ? (e.consume(N), a === me.length ? b : E) - : n(N); - } - function b(N) { - return N === null - ? n(N) - : N === 93 - ? (e.consume(N), T) - : gt(N) - ? ((o = b), Z(N)) - : (e.consume(N), b); - } - function T(N) { - return N === 93 ? (e.consume(N), v) : b(N); - } - function v(N) { - return N === 62 ? fe(N) : N === 93 ? (e.consume(N), v) : b(N); - } - function y(N) { - return N === null || N === 62 - ? fe(N) - : gt(N) - ? ((o = y), Z(N)) - : (e.consume(N), y); - } - function w(N) { - return N === null - ? n(N) - : N === 63 - ? (e.consume(N), A) - : gt(N) - ? ((o = w), Z(N)) - : (e.consume(N), w); - } - function A(N) { - return N === 62 ? fe(N) : w(N); - } - function D(N) { - return Qr(N) ? (e.consume(N), k) : n(N); - } - function k(N) { - return N === 45 || $r(N) ? (e.consume(N), k) : R(N); - } - function R(N) { - return gt(N) ? ((o = R), Z(N)) : Dt(N) ? (e.consume(N), R) : fe(N); - } - function B(N) { - return N === 45 || $r(N) - ? (e.consume(N), B) - : N === 47 || N === 62 || hn(N) - ? W(N) - : n(N); - } - function W(N) { - return N === 47 - ? (e.consume(N), fe) - : N === 58 || N === 95 || Qr(N) - ? (e.consume(N), P) - : gt(N) - ? ((o = W), Z(N)) - : Dt(N) - ? (e.consume(N), W) - : fe(N); - } - function P(N) { - return N === 45 || N === 46 || N === 58 || N === 95 || $r(N) - ? (e.consume(N), P) - : Q(N); - } - function Q(N) { - return N === 61 - ? (e.consume(N), z) - : gt(N) - ? ((o = Q), Z(N)) - : Dt(N) - ? (e.consume(N), Q) - : W(N); - } - function z(N) { - return N === null || N === 60 || N === 61 || N === 62 || N === 96 - ? n(N) - : N === 34 || N === 39 - ? (e.consume(N), (i = N), le) - : gt(N) - ? ((o = z), Z(N)) - : Dt(N) - ? (e.consume(N), z) - : (e.consume(N), he); - } - function le(N) { - return N === i - ? (e.consume(N), (i = void 0), de) - : N === null - ? n(N) - : gt(N) - ? ((o = le), Z(N)) - : (e.consume(N), le); - } - function he(N) { - return N === null || - N === 34 || - N === 39 || - N === 60 || - N === 61 || - N === 96 - ? n(N) - : N === 47 || N === 62 || hn(N) - ? W(N) - : (e.consume(N), he); - } - function de(N) { - return N === 47 || N === 62 || hn(N) ? W(N) : n(N); - } - function fe(N) { - return N === 62 - ? (e.consume(N), e.exit("htmlTextData"), e.exit("htmlText"), t) - : n(N); - } - function Z(N) { - return ( - e.exit("htmlTextData"), - e.enter("lineEnding"), - e.consume(N), - e.exit("lineEnding"), - V - ); - } - function V(N) { - return Dt(N) - ? Gt( - e, - ce, - "linePrefix", - r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(N) - : ce(N); - } - function ce(N) { - return e.enter("htmlTextData"), o(N); - } -} -const FE = { name: "labelEnd", tokenize: jZ, resolveTo: HZ, resolveAll: zZ }, - BZ = { tokenize: GZ }, - UZ = { tokenize: VZ }, - $Z = { tokenize: WZ }; -function zZ(e) { - let t = -1; - for (; ++t < e.length; ) { - const n = e[t][1]; - (n.type === "labelImage" || - n.type === "labelLink" || - n.type === "labelEnd") && - (e.splice(t + 1, n.type === "labelImage" ? 4 : 2), - (n.type = "data"), - t++); - } - return e; -} -function HZ(e, t) { - let n = e.length, - r = 0, - i, - a, - o, - s; - for (; n--; ) - if (((i = e[n][1]), a)) { - if (i.type === "link" || (i.type === "labelLink" && i._inactive)) break; - e[n][0] === "enter" && i.type === "labelLink" && (i._inactive = !0); - } else if (o) { - if ( - e[n][0] === "enter" && - (i.type === "labelImage" || i.type === "labelLink") && - !i._balanced && - ((a = n), i.type !== "labelLink") - ) { - r = 2; - break; - } - } else i.type === "labelEnd" && (o = n); - const u = { - type: e[a][1].type === "labelLink" ? "link" : "image", - start: Object.assign({}, e[a][1].start), - end: Object.assign({}, e[e.length - 1][1].end), - }, - c = { - type: "label", - start: Object.assign({}, e[a][1].start), - end: Object.assign({}, e[o][1].end), - }, - p = { - type: "labelText", - start: Object.assign({}, e[a + r + 2][1].end), - end: Object.assign({}, e[o - 2][1].start), - }; - return ( - (s = [ - ["enter", u, t], - ["enter", c, t], - ]), - (s = la(s, e.slice(a + 1, a + r + 3))), - (s = la(s, [["enter", p, t]])), - (s = la( - s, - w2(t.parser.constructs.insideSpan.null, e.slice(a + r + 4, o - 3), t) - )), - (s = la(s, [["exit", p, t], e[o - 2], e[o - 1], ["exit", c, t]])), - (s = la(s, e.slice(o + 1))), - (s = la(s, [["exit", u, t]])), - Fi(e, a, e.length, s), - e - ); -} -function jZ(e, t, n) { - const r = this; - let i = r.events.length, - a, - o; - for (; i--; ) - if ( - (r.events[i][1].type === "labelImage" || - r.events[i][1].type === "labelLink") && - !r.events[i][1]._balanced - ) { - a = r.events[i][1]; - break; - } - return s; - function s(m) { - return a - ? a._inactive - ? f(m) - : ((o = r.parser.defined.includes( - Ha(r.sliceSerialize({ start: a.end, end: r.now() })) - )), - e.enter("labelEnd"), - e.enter("labelMarker"), - e.consume(m), - e.exit("labelMarker"), - e.exit("labelEnd"), - u) - : n(m); - } - function u(m) { - return m === 40 - ? e.attempt(BZ, p, o ? p : f)(m) - : m === 91 - ? e.attempt(UZ, p, o ? c : f)(m) - : o - ? p(m) - : f(m); - } - function c(m) { - return e.attempt($Z, p, f)(m); - } - function p(m) { - return t(m); - } - function f(m) { - return (a._balanced = !0), n(m); - } -} -function GZ(e, t, n) { - return r; - function r(f) { - return ( - e.enter("resource"), - e.enter("resourceMarker"), - e.consume(f), - e.exit("resourceMarker"), - i - ); - } - function i(f) { - return hn(f) ? Ad(e, a)(f) : a(f); - } - function a(f) { - return f === 41 - ? p(f) - : wD( - e, - o, - s, - "resourceDestination", - "resourceDestinationLiteral", - "resourceDestinationLiteralMarker", - "resourceDestinationRaw", - "resourceDestinationString", - 32 - )(f); - } - function o(f) { - return hn(f) ? Ad(e, u)(f) : p(f); - } - function s(f) { - return n(f); - } - function u(f) { - return f === 34 || f === 39 || f === 40 - ? CD( - e, - c, - n, - "resourceTitle", - "resourceTitleMarker", - "resourceTitleString" - )(f) - : p(f); - } - function c(f) { - return hn(f) ? Ad(e, p)(f) : p(f); - } - function p(f) { - return f === 41 - ? (e.enter("resourceMarker"), - e.consume(f), - e.exit("resourceMarker"), - e.exit("resource"), - t) - : n(f); - } -} -function VZ(e, t, n) { - const r = this; - return i; - function i(s) { - return AD.call( - r, - e, - a, - o, - "reference", - "referenceMarker", - "referenceString" - )(s); - } - function a(s) { - return r.parser.defined.includes( - Ha(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)) - ) - ? t(s) - : n(s); - } - function o(s) { - return n(s); - } -} -function WZ(e, t, n) { - return r; - function r(a) { - return ( - e.enter("reference"), - e.enter("referenceMarker"), - e.consume(a), - e.exit("referenceMarker"), - i - ); - } - function i(a) { - return a === 93 - ? (e.enter("referenceMarker"), - e.consume(a), - e.exit("referenceMarker"), - e.exit("reference"), - t) - : n(a); - } -} -const qZ = { name: "labelStartImage", tokenize: KZ, resolveAll: FE.resolveAll }; -function KZ(e, t, n) { - const r = this; - return i; - function i(s) { - return ( - e.enter("labelImage"), - e.enter("labelImageMarker"), - e.consume(s), - e.exit("labelImageMarker"), - a - ); - } - function a(s) { - return s === 91 - ? (e.enter("labelMarker"), - e.consume(s), - e.exit("labelMarker"), - e.exit("labelImage"), - o) - : n(s); - } - function o(s) { - return s === 94 && "_hiddenFootnoteSupport" in r.parser.constructs - ? n(s) - : t(s); - } -} -const YZ = { name: "labelStartLink", tokenize: XZ, resolveAll: FE.resolveAll }; -function XZ(e, t, n) { - const r = this; - return i; - function i(o) { - return ( - e.enter("labelLink"), - e.enter("labelMarker"), - e.consume(o), - e.exit("labelMarker"), - e.exit("labelLink"), - a - ); - } - function a(o) { - return o === 94 && "_hiddenFootnoteSupport" in r.parser.constructs - ? n(o) - : t(o); - } -} -const c3 = { name: "lineEnding", tokenize: ZZ }; -function ZZ(e, t) { - return n; - function n(r) { - return ( - e.enter("lineEnding"), - e.consume(r), - e.exit("lineEnding"), - Gt(e, t, "linePrefix") - ); - } -} -const uh = { name: "thematicBreak", tokenize: QZ }; -function QZ(e, t, n) { - let r = 0, - i; - return a; - function a(c) { - return e.enter("thematicBreak"), o(c); - } - function o(c) { - return (i = c), s(c); - } - function s(c) { - return c === i - ? (e.enter("thematicBreakSequence"), u(c)) - : r >= 3 && (c === null || gt(c)) - ? (e.exit("thematicBreak"), t(c)) - : n(c); - } - function u(c) { - return c === i - ? (e.consume(c), r++, u) - : (e.exit("thematicBreakSequence"), - Dt(c) ? Gt(e, s, "whitespace")(c) : s(c)); - } -} -const ui = { - name: "list", - tokenize: tQ, - continuation: { tokenize: nQ }, - exit: iQ, - }, - JZ = { tokenize: aQ, partial: !0 }, - eQ = { tokenize: rQ, partial: !0 }; -function tQ(e, t, n) { - const r = this, - i = r.events[r.events.length - 1]; - let a = - i && i[1].type === "linePrefix" - ? i[2].sliceSerialize(i[1], !0).length - : 0, - o = 0; - return s; - function s(g) { - const E = - r.containerState.type || - (g === 42 || g === 43 || g === 45 ? "listUnordered" : "listOrdered"); - if ( - E === "listUnordered" - ? !r.containerState.marker || g === r.containerState.marker - : Sb(g) - ) { - if ( - (r.containerState.type || - ((r.containerState.type = E), e.enter(E, { _container: !0 })), - E === "listUnordered") - ) - return ( - e.enter("listItemPrefix"), - g === 42 || g === 45 ? e.check(uh, n, c)(g) : c(g) - ); - if (!r.interrupt || g === 49) - return e.enter("listItemPrefix"), e.enter("listItemValue"), u(g); - } - return n(g); - } - function u(g) { - return Sb(g) && ++o < 10 - ? (e.consume(g), u) - : (!r.interrupt || o < 2) && - (r.containerState.marker - ? g === r.containerState.marker - : g === 41 || g === 46) - ? (e.exit("listItemValue"), c(g)) - : n(g); - } - function c(g) { - return ( - e.enter("listItemMarker"), - e.consume(g), - e.exit("listItemMarker"), - (r.containerState.marker = r.containerState.marker || g), - e.check(kp, r.interrupt ? n : p, e.attempt(JZ, m, f)) - ); - } - function p(g) { - return (r.containerState.initialBlankLine = !0), a++, m(g); - } - function f(g) { - return Dt(g) - ? (e.enter("listItemPrefixWhitespace"), - e.consume(g), - e.exit("listItemPrefixWhitespace"), - m) - : n(g); - } - function m(g) { - return ( - (r.containerState.size = - a + r.sliceSerialize(e.exit("listItemPrefix"), !0).length), - t(g) - ); - } -} -function nQ(e, t, n) { - const r = this; - return (r.containerState._closeFlow = void 0), e.check(kp, i, a); - function i(s) { - return ( - (r.containerState.furtherBlankLines = - r.containerState.furtherBlankLines || - r.containerState.initialBlankLine), - Gt(e, t, "listItemIndent", r.containerState.size + 1)(s) - ); - } - function a(s) { - return r.containerState.furtherBlankLines || !Dt(s) - ? ((r.containerState.furtherBlankLines = void 0), - (r.containerState.initialBlankLine = void 0), - o(s)) - : ((r.containerState.furtherBlankLines = void 0), - (r.containerState.initialBlankLine = void 0), - e.attempt(eQ, t, o)(s)); - } - function o(s) { - return ( - (r.containerState._closeFlow = !0), - (r.interrupt = void 0), - Gt( - e, - e.attempt(ui, t, n), - "linePrefix", - r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 - )(s) - ); - } -} -function rQ(e, t, n) { - const r = this; - return Gt(e, i, "listItemIndent", r.containerState.size + 1); - function i(a) { - const o = r.events[r.events.length - 1]; - return o && - o[1].type === "listItemIndent" && - o[2].sliceSerialize(o[1], !0).length === r.containerState.size - ? t(a) - : n(a); - } -} -function iQ(e) { - e.exit(this.containerState.type); -} -function aQ(e, t, n) { - const r = this; - return Gt( - e, - i, - "listItemPrefixWhitespace", - r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4 + 1 - ); - function i(a) { - const o = r.events[r.events.length - 1]; - return !Dt(a) && o && o[1].type === "listItemPrefixWhitespace" - ? t(a) - : n(a); - } -} -const bC = { name: "setextUnderline", tokenize: sQ, resolveTo: oQ }; -function oQ(e, t) { - let n = e.length, - r, - i, - a; - for (; n--; ) - if (e[n][0] === "enter") { - if (e[n][1].type === "content") { - r = n; - break; - } - e[n][1].type === "paragraph" && (i = n); - } else - e[n][1].type === "content" && e.splice(n, 1), - !a && e[n][1].type === "definition" && (a = n); - const o = { - type: "setextHeading", - start: Object.assign({}, e[i][1].start), - end: Object.assign({}, e[e.length - 1][1].end), - }; - return ( - (e[i][1].type = "setextHeadingText"), - a - ? (e.splice(i, 0, ["enter", o, t]), - e.splice(a + 1, 0, ["exit", e[r][1], t]), - (e[r][1].end = Object.assign({}, e[a][1].end))) - : (e[r][1] = o), - e.push(["exit", o, t]), - e - ); -} -function sQ(e, t, n) { - const r = this; - let i; - return a; - function a(c) { - let p = r.events.length, - f; - for (; p--; ) - if ( - r.events[p][1].type !== "lineEnding" && - r.events[p][1].type !== "linePrefix" && - r.events[p][1].type !== "content" - ) { - f = r.events[p][1].type === "paragraph"; - break; - } - return !r.parser.lazy[r.now().line] && (r.interrupt || f) - ? (e.enter("setextHeadingLine"), (i = c), o(c)) - : n(c); - } - function o(c) { - return e.enter("setextHeadingLineSequence"), s(c); - } - function s(c) { - return c === i - ? (e.consume(c), s) - : (e.exit("setextHeadingLineSequence"), - Dt(c) ? Gt(e, u, "lineSuffix")(c) : u(c)); - } - function u(c) { - return c === null || gt(c) ? (e.exit("setextHeadingLine"), t(c)) : n(c); - } -} -const lQ = { tokenize: uQ }; -function uQ(e) { - const t = this, - n = e.attempt( - kp, - r, - e.attempt( - this.parser.constructs.flowInitial, - i, - Gt( - e, - e.attempt(this.parser.constructs.flow, i, e.attempt(hZ, i)), - "linePrefix" - ) - ) - ); - return n; - function r(a) { - if (a === null) { - e.consume(a); - return; - } - return ( - e.enter("lineEndingBlank"), - e.consume(a), - e.exit("lineEndingBlank"), - (t.currentConstruct = void 0), - n - ); - } - function i(a) { - if (a === null) { - e.consume(a); - return; - } - return ( - e.enter("lineEnding"), - e.consume(a), - e.exit("lineEnding"), - (t.currentConstruct = void 0), - n - ); - } -} -const cQ = { resolveAll: kD() }, - dQ = xD("string"), - pQ = xD("text"); -function xD(e) { - return { tokenize: t, resolveAll: kD(e === "text" ? fQ : void 0) }; - function t(n) { - const r = this, - i = this.parser.constructs[e], - a = n.attempt(i, o, s); - return o; - function o(p) { - return c(p) ? a(p) : s(p); - } - function s(p) { - if (p === null) { - n.consume(p); - return; - } - return n.enter("data"), n.consume(p), u; - } - function u(p) { - return c(p) ? (n.exit("data"), a(p)) : (n.consume(p), u); - } - function c(p) { - if (p === null) return !0; - const f = i[p]; - let m = -1; - if (f) - for (; ++m < f.length; ) { - const g = f[m]; - if (!g.previous || g.previous.call(r, r.previous)) return !0; - } - return !1; - } - } -} -function kD(e) { - return t; - function t(n, r) { - let i = -1, - a; - for (; ++i <= n.length; ) - a === void 0 - ? n[i] && n[i][1].type === "data" && ((a = i), i++) - : (!n[i] || n[i][1].type !== "data") && - (i !== a + 2 && - ((n[a][1].end = n[i - 1][1].end), - n.splice(a + 2, i - a - 2), - (i = a + 2)), - (a = void 0)); - return e ? e(n, r) : n; - } -} -function fQ(e, t) { - let n = 0; - for (; ++n <= e.length; ) - if ( - (n === e.length || e[n][1].type === "lineEnding") && - e[n - 1][1].type === "data" - ) { - const r = e[n - 1][1], - i = t.sliceStream(r); - let a = i.length, - o = -1, - s = 0, - u; - for (; a--; ) { - const c = i[a]; - if (typeof c == "string") { - for (o = c.length; c.charCodeAt(o - 1) === 32; ) s++, o--; - if (o) break; - o = -1; - } else if (c === -2) (u = !0), s++; - else if (c !== -1) { - a++; - break; - } - } - if (s) { - const c = { - type: - n === e.length || u || s < 2 ? "lineSuffix" : "hardBreakTrailing", - start: { - line: r.end.line, - column: r.end.column - s, - offset: r.end.offset - s, - _index: r.start._index + a, - _bufferIndex: a ? o : r.start._bufferIndex + o, - }, - end: Object.assign({}, r.end), - }; - (r.end = Object.assign({}, c.start)), - r.start.offset === r.end.offset - ? Object.assign(r, c) - : (e.splice(n, 0, ["enter", c, t], ["exit", c, t]), (n += 2)); - } - n++; - } - return e; -} -function hQ(e, t, n) { - let r = Object.assign( - n ? Object.assign({}, n) : { line: 1, column: 1, offset: 0 }, - { _index: 0, _bufferIndex: -1 } - ); - const i = {}, - a = []; - let o = [], - s = []; - const u = { - consume: y, - enter: w, - exit: A, - attempt: R(D), - check: R(k), - interrupt: R(k, { interrupt: !0 }), - }, - c = { - previous: null, - code: null, - containerState: {}, - events: [], - parser: e, - sliceStream: g, - sliceSerialize: m, - now: E, - defineSkip: b, - write: f, - }; - let p = t.tokenize.call(c, u); - return t.resolveAll && a.push(t), c; - function f(Q) { - return ( - (o = la(o, Q)), - T(), - o[o.length - 1] !== null - ? [] - : (B(t, 0), (c.events = w2(a, c.events, c)), c.events) - ); - } - function m(Q, z) { - return mQ(g(Q), z); - } - function g(Q) { - return gQ(o, Q); - } - function E() { - const { line: Q, column: z, offset: le, _index: he, _bufferIndex: de } = r; - return { line: Q, column: z, offset: le, _index: he, _bufferIndex: de }; - } - function b(Q) { - (i[Q.line] = Q.column), P(); - } - function T() { - let Q; - for (; r._index < o.length; ) { - const z = o[r._index]; - if (typeof z == "string") - for ( - Q = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); - r._index === Q && r._bufferIndex < z.length; - - ) - v(z.charCodeAt(r._bufferIndex)); - else v(z); - } - } - function v(Q) { - p = p(Q); - } - function y(Q) { - gt(Q) - ? (r.line++, (r.column = 1), (r.offset += Q === -3 ? 2 : 1), P()) - : Q !== -1 && (r.column++, r.offset++), - r._bufferIndex < 0 - ? r._index++ - : (r._bufferIndex++, - r._bufferIndex === o[r._index].length && - ((r._bufferIndex = -1), r._index++)), - (c.previous = Q); - } - function w(Q, z) { - const le = z || {}; - return ( - (le.type = Q), - (le.start = E()), - c.events.push(["enter", le, c]), - s.push(le), - le - ); - } - function A(Q) { - const z = s.pop(); - return (z.end = E()), c.events.push(["exit", z, c]), z; - } - function D(Q, z) { - B(Q, z.from); - } - function k(Q, z) { - z.restore(); - } - function R(Q, z) { - return le; - function le(he, de, fe) { - let Z, V, ce, N; - return Array.isArray(he) ? oe(he) : "tokenize" in he ? oe([he]) : me(he); - function me(K) { - return xe; - function xe(ne) { - const Le = ne !== null && K[ne], - Re = ne !== null && K.null, - Xe = [ - ...(Array.isArray(Le) ? Le : Le ? [Le] : []), - ...(Array.isArray(Re) ? Re : Re ? [Re] : []), - ]; - return oe(Xe)(ne); - } - } - function oe(K) { - return (Z = K), (V = 0), K.length === 0 ? fe : O(K[V]); - } - function O(K) { - return xe; - function xe(ne) { - return ( - (N = W()), - (ce = K), - K.partial || (c.currentConstruct = K), - K.name && c.parser.constructs.disable.null.includes(K.name) - ? Te() - : K.tokenize.call( - z ? Object.assign(Object.create(c), z) : c, - u, - re, - Te - )(ne) - ); - } - } - function re(K) { - return Q(ce, N), de; - } - function Te(K) { - return N.restore(), ++V < Z.length ? O(Z[V]) : fe; - } - } - } - function B(Q, z) { - Q.resolveAll && !a.includes(Q) && a.push(Q), - Q.resolve && - Fi(c.events, z, c.events.length - z, Q.resolve(c.events.slice(z), c)), - Q.resolveTo && (c.events = Q.resolveTo(c.events, c)); - } - function W() { - const Q = E(), - z = c.previous, - le = c.currentConstruct, - he = c.events.length, - de = Array.from(s); - return { restore: fe, from: he }; - function fe() { - (r = Q), - (c.previous = z), - (c.currentConstruct = le), - (c.events.length = he), - (s = de), - P(); - } - } - function P() { - r.line in i && - r.column < 2 && - ((r.column = i[r.line]), (r.offset += i[r.line] - 1)); - } -} -function gQ(e, t) { - const n = t.start._index, - r = t.start._bufferIndex, - i = t.end._index, - a = t.end._bufferIndex; - let o; - if (n === i) o = [e[n].slice(r, a)]; - else { - if (((o = e.slice(n, i)), r > -1)) { - const s = o[0]; - typeof s == "string" ? (o[0] = s.slice(r)) : o.shift(); - } - a > 0 && o.push(e[i].slice(0, a)); - } - return o; -} -function mQ(e, t) { - let n = -1; - const r = []; - let i; - for (; ++n < e.length; ) { - const a = e[n]; - let o; - if (typeof a == "string") o = a; - else - switch (a) { - case -5: { - o = "\r"; - break; - } - case -4: { - o = ` -`; - break; - } - case -3: { - o = `\r -`; - break; - } - case -2: { - o = t ? " " : " "; - break; - } - case -1: { - if (!t && i) continue; - o = " "; - break; - } - default: - o = String.fromCharCode(a); - } - (i = a === -2), r.push(o); - } - return r.join(""); -} -const bQ = { - 42: ui, - 43: ui, - 45: ui, - 48: ui, - 49: ui, - 50: ui, - 51: ui, - 52: ui, - 53: ui, - 54: ui, - 55: ui, - 56: ui, - 57: ui, - 62: yD, - }, - EQ = { 91: vZ }, - vQ = { [-2]: u3, [-1]: u3, 32: u3 }, - yQ = { - 35: AZ, - 42: uh, - 45: [bC, uh], - 60: IZ, - 61: bC, - 95: uh, - 96: gC, - 126: gC, - }, - _Q = { 38: TD, 92: _D }, - TQ = { - [-5]: c3, - [-4]: c3, - [-3]: c3, - 33: qZ, - 38: TD, - 42: wb, - 60: [XX, FZ], - 91: YZ, - 92: [SZ, _D], - 93: FE, - 95: wb, - 96: uZ, - }, - SQ = { null: [wb, cQ] }, - wQ = { null: [42, 95] }, - AQ = { null: [] }, - CQ = Object.freeze( - Object.defineProperty( - { - __proto__: null, - attentionMarkers: wQ, - contentInitial: EQ, - disable: AQ, - document: bQ, - flow: yQ, - flowInitial: vQ, - insideSpan: SQ, - string: _Q, - text: TQ, - }, - Symbol.toStringTag, - { value: "Module" } - ) - ); -function xQ(e) { - const n = vD([CQ, ...((e || {}).extensions || [])]), - r = { - defined: [], - lazy: {}, - constructs: n, - content: i(jX), - document: i(VX), - flow: i(lQ), - string: i(dQ), - text: i(pQ), - }; - return r; - function i(a) { - return o; - function o(s) { - return hQ(r, a, s); - } - } -} -const EC = /[\0\t\n\r]/g; -function kQ() { - let e = 1, - t = "", - n = !0, - r; - return i; - function i(a, o, s) { - const u = []; - let c, p, f, m, g; - for ( - a = t + a.toString(o), - f = 0, - t = "", - n && (a.charCodeAt(0) === 65279 && f++, (n = void 0)); - f < a.length; - - ) { - if ( - ((EC.lastIndex = f), - (c = EC.exec(a)), - (m = c && c.index !== void 0 ? c.index : a.length), - (g = a.charCodeAt(m)), - !c) - ) { - t = a.slice(f); - break; - } - if (g === 10 && f === m && r) u.push(-3), (r = void 0); - else - switch ( - (r && (u.push(-5), (r = void 0)), - f < m && (u.push(a.slice(f, m)), (e += m - f)), - g) - ) { - case 0: { - u.push(65533), e++; - break; - } - case 9: { - for (p = Math.ceil(e / 4) * 4, u.push(-2); e++ < p; ) u.push(-1); - break; - } - case 10: { - u.push(-4), (e = 1); - break; - } - default: - (r = !0), (e = 1); - } - f = m + 1; - } - return s && (r && u.push(-5), t && u.push(t), u.push(null)), u; - } -} -function IQ(e) { - for (; !SD(e); ); - return e; -} -function ID(e, t) { - const n = Number.parseInt(e, t); - return n < 9 || - n === 11 || - (n > 13 && n < 32) || - (n > 126 && n < 160) || - (n > 55295 && n < 57344) || - (n > 64975 && n < 65008) || - (n & 65535) === 65535 || - (n & 65535) === 65534 || - n > 1114111 - ? "�" - : String.fromCharCode(n); -} -const RQ = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi; -function RD(e) { - return e.replace(RQ, NQ); -} -function NQ(e, t, n) { - if (t) return t; - if (n.charCodeAt(0) === 35) { - const i = n.charCodeAt(1), - a = i === 120 || i === 88; - return ID(n.slice(a ? 2 : 1), a ? 16 : 10); - } - return sp(n) || e; -} -const ND = {}.hasOwnProperty, - OQ = function (e, t, n) { - return ( - typeof t != "string" && ((n = t), (t = void 0)), - DQ(n)(IQ(xQ(n).document().write(kQ()(e, t, !0)))) - ); - }; -function DQ(e) { - const t = { - transforms: [], - canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"], - enter: { - autolink: s(ke), - autolinkProtocol: Q, - autolinkEmail: Q, - atxHeading: s(pt), - blockQuote: s(Xe), - characterEscape: Q, - characterReference: Q, - codeFenced: s(Ve), - codeFencedFenceInfo: u, - codeFencedFenceMeta: u, - codeIndented: s(Ve, u), - codeText: s(dt, u), - codeTextData: Q, - data: Q, - codeFlowValue: Q, - definition: s(ot), - definitionDestinationString: u, - definitionLabelString: u, - definitionTitleString: u, - emphasis: s(Ge), - hardBreakEscape: s(U), - hardBreakTrailing: s(U), - htmlFlow: s(ie, u), - htmlFlowData: Q, - htmlText: s(ie, u), - htmlTextData: Q, - image: s(pe), - label: u, - link: s(ke), - listItem: s(Se), - listItemValue: E, - listOrdered: s(ve, g), - listUnordered: s(ve), - paragraph: s(Me), - reference: Te, - referenceString: u, - resourceDestinationString: u, - resourceTitleString: u, - setextHeading: s(pt), - strong: s(ze), - thematicBreak: s(jt), - }, - exit: { - atxHeading: p(), - atxHeadingSequence: R, - autolink: p(), - autolinkEmail: Re, - autolinkProtocol: Le, - blockQuote: p(), - characterEscapeValue: z, - characterReferenceMarkerHexadecimal: xe, - characterReferenceMarkerNumeric: xe, - characterReferenceValue: ne, - codeFenced: p(y), - codeFencedFence: v, - codeFencedFenceInfo: b, - codeFencedFenceMeta: T, - codeFlowValue: z, - codeIndented: p(w), - codeText: p(Z), - codeTextData: z, - data: z, - definition: p(), - definitionDestinationString: k, - definitionLabelString: A, - definitionTitleString: D, - emphasis: p(), - hardBreakEscape: p(he), - hardBreakTrailing: p(he), - htmlFlow: p(de), - htmlFlowData: z, - htmlText: p(fe), - htmlTextData: z, - image: p(ce), - label: me, - labelText: N, - lineEnding: le, - link: p(V), - listItem: p(), - listOrdered: p(), - listUnordered: p(), - paragraph: p(), - referenceString: K, - resourceDestinationString: oe, - resourceTitleString: O, - resource: re, - setextHeading: p(P), - setextHeadingLineSequence: W, - setextHeadingText: B, - strong: p(), - thematicBreak: p(), - }, - }; - OD(t, (e || {}).mdastExtensions || []); - const n = {}; - return r; - function r(ue) { - let ye = { type: "root", children: [] }; - const We = { - stack: [ye], - tokenStack: [], - config: t, - enter: c, - exit: f, - buffer: u, - resume: m, - setData: a, - getData: o, - }, - at = []; - let Qe = -1; - for (; ++Qe < ue.length; ) - if ( - ue[Qe][1].type === "listOrdered" || - ue[Qe][1].type === "listUnordered" - ) - if (ue[Qe][0] === "enter") at.push(Qe); - else { - const Y = at.pop(); - Qe = i(ue, Y, Qe); - } - for (Qe = -1; ++Qe < ue.length; ) { - const Y = t[ue[Qe][0]]; - ND.call(Y, ue[Qe][1].type) && - Y[ue[Qe][1].type].call( - Object.assign({ sliceSerialize: ue[Qe][2].sliceSerialize }, We), - ue[Qe][1] - ); - } - if (We.tokenStack.length > 0) { - const Y = We.tokenStack[We.tokenStack.length - 1]; - (Y[1] || vC).call(We, void 0, Y[0]); - } - for ( - ye.position = { - start: As( - ue.length > 0 ? ue[0][1].start : { line: 1, column: 1, offset: 0 } - ), - end: As( - ue.length > 0 - ? ue[ue.length - 2][1].end - : { line: 1, column: 1, offset: 0 } - ), - }, - Qe = -1; - ++Qe < t.transforms.length; - - ) - ye = t.transforms[Qe](ye) || ye; - return ye; - } - function i(ue, ye, We) { - let at = ye - 1, - Qe = -1, - Y = !1, - se, - j, - $, - J; - for (; ++at <= We; ) { - const be = ue[at]; - if ( - (be[1].type === "listUnordered" || - be[1].type === "listOrdered" || - be[1].type === "blockQuote" - ? (be[0] === "enter" ? Qe++ : Qe--, (J = void 0)) - : be[1].type === "lineEndingBlank" - ? be[0] === "enter" && - (se && !J && !Qe && !$ && ($ = at), (J = void 0)) - : be[1].type === "linePrefix" || - be[1].type === "listItemValue" || - be[1].type === "listItemMarker" || - be[1].type === "listItemPrefix" || - be[1].type === "listItemPrefixWhitespace" || - (J = void 0), - (!Qe && be[0] === "enter" && be[1].type === "listItemPrefix") || - (Qe === -1 && - be[0] === "exit" && - (be[1].type === "listUnordered" || be[1].type === "listOrdered"))) - ) { - if (se) { - let Fe = at; - for (j = void 0; Fe--; ) { - const De = ue[Fe]; - if ( - De[1].type === "lineEnding" || - De[1].type === "lineEndingBlank" - ) { - if (De[0] === "exit") continue; - j && ((ue[j][1].type = "lineEndingBlank"), (Y = !0)), - (De[1].type = "lineEnding"), - (j = Fe); - } else if ( - !( - De[1].type === "linePrefix" || - De[1].type === "blockQuotePrefix" || - De[1].type === "blockQuotePrefixWhitespace" || - De[1].type === "blockQuoteMarker" || - De[1].type === "listItemIndent" - ) - ) - break; - } - $ && (!j || $ < j) && (se._spread = !0), - (se.end = Object.assign({}, j ? ue[j][1].start : be[1].end)), - ue.splice(j || at, 0, ["exit", se, be[2]]), - at++, - We++; - } - be[1].type === "listItemPrefix" && - ((se = { - type: "listItem", - _spread: !1, - start: Object.assign({}, be[1].start), - end: void 0, - }), - ue.splice(at, 0, ["enter", se, be[2]]), - at++, - We++, - ($ = void 0), - (J = !0)); - } - } - return (ue[ye][1]._spread = Y), We; - } - function a(ue, ye) { - n[ue] = ye; - } - function o(ue) { - return n[ue]; - } - function s(ue, ye) { - return We; - function We(at) { - c.call(this, ue(at), at), ye && ye.call(this, at); - } - } - function u() { - this.stack.push({ type: "fragment", children: [] }); - } - function c(ue, ye, We) { - return ( - this.stack[this.stack.length - 1].children.push(ue), - this.stack.push(ue), - this.tokenStack.push([ye, We]), - (ue.position = { start: As(ye.start) }), - ue - ); - } - function p(ue) { - return ye; - function ye(We) { - ue && ue.call(this, We), f.call(this, We); - } - } - function f(ue, ye) { - const We = this.stack.pop(), - at = this.tokenStack.pop(); - if (at) - at[0].type !== ue.type && - (ye ? ye.call(this, ue, at[0]) : (at[1] || vC).call(this, ue, at[0])); - else - throw new Error( - "Cannot close `" + - ue.type + - "` (" + - wd({ start: ue.start, end: ue.end }) + - "): it’s not open" - ); - return (We.position.end = As(ue.end)), We; - } - function m() { - return MX(this.stack.pop()); - } - function g() { - a("expectingFirstListItemValue", !0); - } - function E(ue) { - if (o("expectingFirstListItemValue")) { - const ye = this.stack[this.stack.length - 2]; - (ye.start = Number.parseInt(this.sliceSerialize(ue), 10)), - a("expectingFirstListItemValue"); - } - } - function b() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.lang = ue; - } - function T() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.meta = ue; - } - function v() { - o("flowCodeInside") || (this.buffer(), a("flowCodeInside", !0)); - } - function y() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - (ye.value = ue.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, "")), - a("flowCodeInside"); - } - function w() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.value = ue.replace(/(\r?\n|\r)$/g, ""); - } - function A(ue) { - const ye = this.resume(), - We = this.stack[this.stack.length - 1]; - (We.label = ye), - (We.identifier = Ha(this.sliceSerialize(ue)).toLowerCase()); - } - function D() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.title = ue; - } - function k() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.url = ue; - } - function R(ue) { - const ye = this.stack[this.stack.length - 1]; - if (!ye.depth) { - const We = this.sliceSerialize(ue).length; - ye.depth = We; - } - } - function B() { - a("setextHeadingSlurpLineEnding", !0); - } - function W(ue) { - const ye = this.stack[this.stack.length - 1]; - ye.depth = this.sliceSerialize(ue).charCodeAt(0) === 61 ? 1 : 2; - } - function P() { - a("setextHeadingSlurpLineEnding"); - } - function Q(ue) { - const ye = this.stack[this.stack.length - 1]; - let We = ye.children[ye.children.length - 1]; - (!We || We.type !== "text") && - ((We = Ke()), - (We.position = { start: As(ue.start) }), - ye.children.push(We)), - this.stack.push(We); - } - function z(ue) { - const ye = this.stack.pop(); - (ye.value += this.sliceSerialize(ue)), (ye.position.end = As(ue.end)); - } - function le(ue) { - const ye = this.stack[this.stack.length - 1]; - if (o("atHardBreak")) { - const We = ye.children[ye.children.length - 1]; - (We.position.end = As(ue.end)), a("atHardBreak"); - return; - } - !o("setextHeadingSlurpLineEnding") && - t.canContainEols.includes(ye.type) && - (Q.call(this, ue), z.call(this, ue)); - } - function he() { - a("atHardBreak", !0); - } - function de() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.value = ue; - } - function fe() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.value = ue; - } - function Z() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.value = ue; - } - function V() { - const ue = this.stack[this.stack.length - 1]; - if (o("inReference")) { - const ye = o("referenceType") || "shortcut"; - (ue.type += "Reference"), - (ue.referenceType = ye), - delete ue.url, - delete ue.title; - } else delete ue.identifier, delete ue.label; - a("referenceType"); - } - function ce() { - const ue = this.stack[this.stack.length - 1]; - if (o("inReference")) { - const ye = o("referenceType") || "shortcut"; - (ue.type += "Reference"), - (ue.referenceType = ye), - delete ue.url, - delete ue.title; - } else delete ue.identifier, delete ue.label; - a("referenceType"); - } - function N(ue) { - const ye = this.sliceSerialize(ue), - We = this.stack[this.stack.length - 2]; - (We.label = RD(ye)), (We.identifier = Ha(ye).toLowerCase()); - } - function me() { - const ue = this.stack[this.stack.length - 1], - ye = this.resume(), - We = this.stack[this.stack.length - 1]; - if ((a("inReference", !0), We.type === "link")) { - const at = ue.children; - We.children = at; - } else We.alt = ye; - } - function oe() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.url = ue; - } - function O() { - const ue = this.resume(), - ye = this.stack[this.stack.length - 1]; - ye.title = ue; - } - function re() { - a("inReference"); - } - function Te() { - a("referenceType", "collapsed"); - } - function K(ue) { - const ye = this.resume(), - We = this.stack[this.stack.length - 1]; - (We.label = ye), - (We.identifier = Ha(this.sliceSerialize(ue)).toLowerCase()), - a("referenceType", "full"); - } - function xe(ue) { - a("characterReferenceType", ue.type); - } - function ne(ue) { - const ye = this.sliceSerialize(ue), - We = o("characterReferenceType"); - let at; - We - ? ((at = ID(ye, We === "characterReferenceMarkerNumeric" ? 10 : 16)), - a("characterReferenceType")) - : (at = sp(ye)); - const Qe = this.stack.pop(); - (Qe.value += at), (Qe.position.end = As(ue.end)); - } - function Le(ue) { - z.call(this, ue); - const ye = this.stack[this.stack.length - 1]; - ye.url = this.sliceSerialize(ue); - } - function Re(ue) { - z.call(this, ue); - const ye = this.stack[this.stack.length - 1]; - ye.url = "mailto:" + this.sliceSerialize(ue); - } - function Xe() { - return { type: "blockquote", children: [] }; - } - function Ve() { - return { type: "code", lang: null, meta: null, value: "" }; - } - function dt() { - return { type: "inlineCode", value: "" }; - } - function ot() { - return { - type: "definition", - identifier: "", - label: null, - title: null, - url: "", - }; - } - function Ge() { - return { type: "emphasis", children: [] }; - } - function pt() { - return { type: "heading", depth: void 0, children: [] }; - } - function U() { - return { type: "break" }; - } - function ie() { - return { type: "html", value: "" }; - } - function pe() { - return { type: "image", title: null, url: "", alt: null }; - } - function ke() { - return { type: "link", title: null, url: "", children: [] }; - } - function ve(ue) { - return { - type: "list", - ordered: ue.type === "listOrdered", - start: null, - spread: ue._spread, - children: [], - }; - } - function Se(ue) { - return { - type: "listItem", - spread: ue._spread, - checked: null, - children: [], - }; - } - function Me() { - return { type: "paragraph", children: [] }; - } - function ze() { - return { type: "strong", children: [] }; - } - function Ke() { - return { type: "text", value: "" }; - } - function jt() { - return { type: "thematicBreak" }; - } -} -function As(e) { - return { line: e.line, column: e.column, offset: e.offset }; -} -function OD(e, t) { - let n = -1; - for (; ++n < t.length; ) { - const r = t[n]; - Array.isArray(r) ? OD(e, r) : LQ(e, r); - } -} -function LQ(e, t) { - let n; - for (n in t) - if (ND.call(t, n)) { - if (n === "canContainEols") { - const r = t[n]; - r && e[n].push(...r); - } else if (n === "transforms") { - const r = t[n]; - r && e[n].push(...r); - } else if (n === "enter" || n === "exit") { - const r = t[n]; - r && Object.assign(e[n], r); - } - } -} -function vC(e, t) { - throw e - ? new Error( - "Cannot close `" + - e.type + - "` (" + - wd({ start: e.start, end: e.end }) + - "): a different token (`" + - t.type + - "`, " + - wd({ start: t.start, end: t.end }) + - ") is open" - ) - : new Error( - "Cannot close document, a token (`" + - t.type + - "`, " + - wd({ start: t.start, end: t.end }) + - ") is still open" - ); -} -function MQ(e) { - Object.assign(this, { - Parser: (n) => { - const r = this.data("settings"); - return OQ( - n, - Object.assign({}, r, e, { - extensions: this.data("micromarkExtensions") || [], - mdastExtensions: this.data("fromMarkdownExtensions") || [], - }) - ); - }, - }); -} -function FQ(e, t) { - const n = { - type: "element", - tagName: "blockquote", - properties: {}, - children: e.wrap(e.all(t), !0), - }; - return e.patch(t, n), e.applyData(t, n); -} -function PQ(e, t) { - const n = { type: "element", tagName: "br", properties: {}, children: [] }; - return ( - e.patch(t, n), - [ - e.applyData(t, n), - { - type: "text", - value: ` -`, - }, - ] - ); -} -function BQ(e, t) { - const n = t.value - ? t.value + - ` -` - : "", - r = t.lang ? t.lang.match(/^[^ \t]+(?=[ \t]|$)/) : null, - i = {}; - r && (i.className = ["language-" + r]); - let a = { - type: "element", - tagName: "code", - properties: i, - children: [{ type: "text", value: n }], - }; - return ( - t.meta && (a.data = { meta: t.meta }), - e.patch(t, a), - (a = e.applyData(t, a)), - (a = { type: "element", tagName: "pre", properties: {}, children: [a] }), - e.patch(t, a), - a - ); -} -function UQ(e, t) { - const n = { - type: "element", - tagName: "del", - properties: {}, - children: e.all(t), - }; - return e.patch(t, n), e.applyData(t, n); -} -function $Q(e, t) { - const n = { - type: "element", - tagName: "em", - properties: {}, - children: e.all(t), - }; - return e.patch(t, n), e.applyData(t, n); -} -function oc(e) { - const t = []; - let n = -1, - r = 0, - i = 0; - for (; ++n < e.length; ) { - const a = e.charCodeAt(n); - let o = ""; - if (a === 37 && $r(e.charCodeAt(n + 1)) && $r(e.charCodeAt(n + 2))) i = 2; - else if (a < 128) - /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a)) || - (o = String.fromCharCode(a)); - else if (a > 55295 && a < 57344) { - const s = e.charCodeAt(n + 1); - a < 56320 && s > 56319 && s < 57344 - ? ((o = String.fromCharCode(a, s)), (i = 1)) - : (o = "�"); - } else o = String.fromCharCode(a); - o && - (t.push(e.slice(r, n), encodeURIComponent(o)), (r = n + i + 1), (o = "")), - i && ((n += i), (i = 0)); - } - return t.join("") + e.slice(r); -} -function DD(e, t) { - const n = String(t.identifier).toUpperCase(), - r = oc(n.toLowerCase()), - i = e.footnoteOrder.indexOf(n); - let a; - i === -1 - ? (e.footnoteOrder.push(n), - (e.footnoteCounts[n] = 1), - (a = e.footnoteOrder.length)) - : (e.footnoteCounts[n]++, (a = i + 1)); - const o = e.footnoteCounts[n], - s = { - type: "element", - tagName: "a", - properties: { - href: "#" + e.clobberPrefix + "fn-" + r, - id: e.clobberPrefix + "fnref-" + r + (o > 1 ? "-" + o : ""), - dataFootnoteRef: !0, - ariaDescribedBy: ["footnote-label"], - }, - children: [{ type: "text", value: String(a) }], - }; - e.patch(t, s); - const u = { type: "element", tagName: "sup", properties: {}, children: [s] }; - return e.patch(t, u), e.applyData(t, u); -} -function zQ(e, t) { - const n = e.footnoteById; - let r = 1; - for (; r in n; ) r++; - const i = String(r); - return ( - (n[i] = { - type: "footnoteDefinition", - identifier: i, - children: [{ type: "paragraph", children: t.children }], - position: t.position, - }), - DD(e, { type: "footnoteReference", identifier: i, position: t.position }) - ); -} -function HQ(e, t) { - const n = { - type: "element", - tagName: "h" + t.depth, - properties: {}, - children: e.all(t), - }; - return e.patch(t, n), e.applyData(t, n); -} -function jQ(e, t) { - if (e.dangerous) { - const n = { type: "raw", value: t.value }; - return e.patch(t, n), e.applyData(t, n); - } - return null; -} -function LD(e, t) { - const n = t.referenceType; - let r = "]"; - if ( - (n === "collapsed" - ? (r += "[]") - : n === "full" && (r += "[" + (t.label || t.identifier) + "]"), - t.type === "imageReference") - ) - return { type: "text", value: "![" + t.alt + r }; - const i = e.all(t), - a = i[0]; - a && a.type === "text" - ? (a.value = "[" + a.value) - : i.unshift({ type: "text", value: "[" }); - const o = i[i.length - 1]; - return ( - o && o.type === "text" - ? (o.value += r) - : i.push({ type: "text", value: r }), - i - ); -} -function GQ(e, t) { - const n = e.definition(t.identifier); - if (!n) return LD(e, t); - const r = { src: oc(n.url || ""), alt: t.alt }; - n.title !== null && n.title !== void 0 && (r.title = n.title); - const i = { type: "element", tagName: "img", properties: r, children: [] }; - return e.patch(t, i), e.applyData(t, i); -} -function VQ(e, t) { - const n = { src: oc(t.url) }; - t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), - t.title !== null && t.title !== void 0 && (n.title = t.title); - const r = { type: "element", tagName: "img", properties: n, children: [] }; - return e.patch(t, r), e.applyData(t, r); -} -function WQ(e, t) { - const n = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") }; - e.patch(t, n); - const r = { type: "element", tagName: "code", properties: {}, children: [n] }; - return e.patch(t, r), e.applyData(t, r); -} -function qQ(e, t) { - const n = e.definition(t.identifier); - if (!n) return LD(e, t); - const r = { href: oc(n.url || "") }; - n.title !== null && n.title !== void 0 && (r.title = n.title); - const i = { - type: "element", - tagName: "a", - properties: r, - children: e.all(t), - }; - return e.patch(t, i), e.applyData(t, i); -} -function KQ(e, t) { - const n = { href: oc(t.url) }; - t.title !== null && t.title !== void 0 && (n.title = t.title); - const r = { - type: "element", - tagName: "a", - properties: n, - children: e.all(t), - }; - return e.patch(t, r), e.applyData(t, r); -} -function YQ(e, t, n) { - const r = e.all(t), - i = n ? XQ(n) : MD(t), - a = {}, - o = []; - if (typeof t.checked == "boolean") { - const p = r[0]; - let f; - p && p.type === "element" && p.tagName === "p" - ? (f = p) - : ((f = { type: "element", tagName: "p", properties: {}, children: [] }), - r.unshift(f)), - f.children.length > 0 && f.children.unshift({ type: "text", value: " " }), - f.children.unshift({ - type: "element", - tagName: "input", - properties: { type: "checkbox", checked: t.checked, disabled: !0 }, - children: [], - }), - (a.className = ["task-list-item"]); - } - let s = -1; - for (; ++s < r.length; ) { - const p = r[s]; - (i || s !== 0 || p.type !== "element" || p.tagName !== "p") && - o.push({ - type: "text", - value: ` -`, - }), - p.type === "element" && p.tagName === "p" && !i - ? o.push(...p.children) - : o.push(p); - } - const u = r[r.length - 1]; - u && - (i || u.type !== "element" || u.tagName !== "p") && - o.push({ - type: "text", - value: ` -`, - }); - const c = { type: "element", tagName: "li", properties: a, children: o }; - return e.patch(t, c), e.applyData(t, c); -} -function XQ(e) { - let t = !1; - if (e.type === "list") { - t = e.spread || !1; - const n = e.children; - let r = -1; - for (; !t && ++r < n.length; ) t = MD(n[r]); - } - return t; -} -function MD(e) { - const t = e.spread; - return t ?? e.children.length > 1; -} -function ZQ(e, t) { - const n = {}, - r = e.all(t); - let i = -1; - for ( - typeof t.start == "number" && t.start !== 1 && (n.start = t.start); - ++i < r.length; - - ) { - const o = r[i]; - if ( - o.type === "element" && - o.tagName === "li" && - o.properties && - Array.isArray(o.properties.className) && - o.properties.className.includes("task-list-item") - ) { - n.className = ["contains-task-list"]; - break; - } - } - const a = { - type: "element", - tagName: t.ordered ? "ol" : "ul", - properties: n, - children: e.wrap(r, !0), - }; - return e.patch(t, a), e.applyData(t, a); -} -function QQ(e, t) { - const n = { - type: "element", - tagName: "p", - properties: {}, - children: e.all(t), - }; - return e.patch(t, n), e.applyData(t, n); -} -function JQ(e, t) { - const n = { type: "root", children: e.wrap(e.all(t)) }; - return e.patch(t, n), e.applyData(t, n); -} -function eJ(e, t) { - const n = { - type: "element", - tagName: "strong", - properties: {}, - children: e.all(t), - }; - return e.patch(t, n), e.applyData(t, n); -} -const Ip = FD("start"), - A2 = FD("end"); -function tJ(e) { - return { start: Ip(e), end: A2(e) }; -} -function FD(e) { - return t; - function t(n) { - const r = (n && n.position && n.position[e]) || {}; - return { - line: r.line || null, - column: r.column || null, - offset: r.offset > -1 ? r.offset : null, - }; - } -} -function nJ(e, t) { - const n = e.all(t), - r = n.shift(), - i = []; - if (r) { - const o = { - type: "element", - tagName: "thead", - properties: {}, - children: e.wrap([r], !0), - }; - e.patch(t.children[0], o), i.push(o); - } - if (n.length > 0) { - const o = { - type: "element", - tagName: "tbody", - properties: {}, - children: e.wrap(n, !0), - }, - s = Ip(t.children[1]), - u = A2(t.children[t.children.length - 1]); - s.line && u.line && (o.position = { start: s, end: u }), i.push(o); - } - const a = { - type: "element", - tagName: "table", - properties: {}, - children: e.wrap(i, !0), - }; - return e.patch(t, a), e.applyData(t, a); -} -function rJ(e, t, n) { - const r = n ? n.children : void 0, - a = (r ? r.indexOf(t) : 1) === 0 ? "th" : "td", - o = n && n.type === "table" ? n.align : void 0, - s = o ? o.length : t.children.length; - let u = -1; - const c = []; - for (; ++u < s; ) { - const f = t.children[u], - m = {}, - g = o ? o[u] : void 0; - g && (m.align = g); - let E = { type: "element", tagName: a, properties: m, children: [] }; - f && ((E.children = e.all(f)), e.patch(f, E), (E = e.applyData(t, E))), - c.push(E); - } - const p = { - type: "element", - tagName: "tr", - properties: {}, - children: e.wrap(c, !0), - }; - return e.patch(t, p), e.applyData(t, p); -} -function iJ(e, t) { - const n = { - type: "element", - tagName: "td", - properties: {}, - children: e.all(t), - }; - return e.patch(t, n), e.applyData(t, n); -} -const yC = 9, - _C = 32; -function aJ(e) { - const t = String(e), - n = /\r?\n|\r/g; - let r = n.exec(t), - i = 0; - const a = []; - for (; r; ) - a.push(TC(t.slice(i, r.index), i > 0, !0), r[0]), - (i = r.index + r[0].length), - (r = n.exec(t)); - return a.push(TC(t.slice(i), i > 0, !1)), a.join(""); -} -function TC(e, t, n) { - let r = 0, - i = e.length; - if (t) { - let a = e.codePointAt(r); - for (; a === yC || a === _C; ) r++, (a = e.codePointAt(r)); - } - if (n) { - let a = e.codePointAt(i - 1); - for (; a === yC || a === _C; ) i--, (a = e.codePointAt(i - 1)); - } - return i > r ? e.slice(r, i) : ""; -} -function oJ(e, t) { - const n = { type: "text", value: aJ(String(t.value)) }; - return e.patch(t, n), e.applyData(t, n); -} -function sJ(e, t) { - const n = { type: "element", tagName: "hr", properties: {}, children: [] }; - return e.patch(t, n), e.applyData(t, n); -} -const lJ = { - blockquote: FQ, - break: PQ, - code: BQ, - delete: UQ, - emphasis: $Q, - footnoteReference: DD, - footnote: zQ, - heading: HQ, - html: jQ, - imageReference: GQ, - image: VQ, - inlineCode: WQ, - linkReference: qQ, - link: KQ, - listItem: YQ, - list: ZQ, - paragraph: QQ, - root: JQ, - strong: eJ, - table: nJ, - tableCell: iJ, - tableRow: rJ, - text: oJ, - thematicBreak: sJ, - toml: d0, - yaml: d0, - definition: d0, - footnoteDefinition: d0, -}; -function d0() { - return null; -} -const C2 = function (e) { - if (e == null) return pJ; - if (typeof e == "string") return dJ(e); - if (typeof e == "object") return Array.isArray(e) ? uJ(e) : cJ(e); - if (typeof e == "function") return x2(e); - throw new Error("Expected function, string, or object as test"); -}; -function uJ(e) { - const t = []; - let n = -1; - for (; ++n < e.length; ) t[n] = C2(e[n]); - return x2(r); - function r(...i) { - let a = -1; - for (; ++a < t.length; ) if (t[a].call(this, ...i)) return !0; - return !1; - } -} -function cJ(e) { - return x2(t); - function t(n) { - let r; - for (r in e) if (n[r] !== e[r]) return !1; - return !0; - } -} -function dJ(e) { - return x2(t); - function t(n) { - return n && n.type === e; - } -} -function x2(e) { - return t; - function t(n, ...r) { - return !!( - n && - typeof n == "object" && - "type" in n && - e.call(this, n, ...r) - ); - } -} -function pJ() { - return !0; -} -const fJ = !0, - Ab = !1, - Cd = "skip", - PD = function (e, t, n, r) { - typeof t == "function" && - typeof n != "function" && - ((r = n), (n = t), (t = null)); - const i = C2(t), - a = r ? -1 : 1; - o(e, void 0, [])(); - function o(s, u, c) { - const p = s && typeof s == "object" ? s : {}; - if (typeof p.type == "string") { - const m = - typeof p.tagName == "string" - ? p.tagName - : typeof p.name == "string" - ? p.name - : void 0; - Object.defineProperty(f, "name", { - value: "node (" + (s.type + (m ? "<" + m + ">" : "")) + ")", - }); - } - return f; - function f() { - let m = [], - g, - E, - b; - if ( - (!t || i(s, u, c[c.length - 1] || null)) && - ((m = hJ(n(s, c))), m[0] === Ab) - ) - return m; - if (s.children && m[0] !== Cd) - for ( - E = (r ? s.children.length : -1) + a, b = c.concat(s); - E > -1 && E < s.children.length; - - ) { - if (((g = o(s.children[E], E, b)()), g[0] === Ab)) return g; - E = typeof g[1] == "number" ? g[1] : E + a; - } - return m; - } - } - }; -function hJ(e) { - return Array.isArray(e) ? e : typeof e == "number" ? [fJ, e] : [e]; -} -const Ui = function (e, t, n, r) { - typeof t == "function" && - typeof n != "function" && - ((r = n), (n = t), (t = null)), - PD(e, t, i, r); - function i(a, o) { - const s = o[o.length - 1]; - return n(a, s ? s.children.indexOf(a) : null, s); - } -}; -function gJ(e) { - return ( - !e || - !e.position || - !e.position.start || - !e.position.start.line || - !e.position.start.column || - !e.position.end || - !e.position.end.line || - !e.position.end.column - ); -} -const SC = {}.hasOwnProperty; -function mJ(e) { - const t = Object.create(null); - if (!e || !e.type) throw new Error("mdast-util-definitions expected node"); - return ( - Ui(e, "definition", (r) => { - const i = wC(r.identifier); - i && !SC.call(t, i) && (t[i] = r); - }), - n - ); - function n(r) { - const i = wC(r); - return i && SC.call(t, i) ? t[i] : null; - } -} -function wC(e) { - return String(e || "").toUpperCase(); -} -const ag = {}.hasOwnProperty; -function bJ(e, t) { - const n = t || {}, - r = n.allowDangerousHtml || !1, - i = {}; - return ( - (o.dangerous = r), - (o.clobberPrefix = - n.clobberPrefix === void 0 || n.clobberPrefix === null - ? "user-content-" - : n.clobberPrefix), - (o.footnoteLabel = n.footnoteLabel || "Footnotes"), - (o.footnoteLabelTagName = n.footnoteLabelTagName || "h2"), - (o.footnoteLabelProperties = n.footnoteLabelProperties || { - className: ["sr-only"], - }), - (o.footnoteBackLabel = n.footnoteBackLabel || "Back to content"), - (o.unknownHandler = n.unknownHandler), - (o.passThrough = n.passThrough), - (o.handlers = { ...lJ, ...n.handlers }), - (o.definition = mJ(e)), - (o.footnoteById = i), - (o.footnoteOrder = []), - (o.footnoteCounts = {}), - (o.patch = EJ), - (o.applyData = vJ), - (o.one = s), - (o.all = u), - (o.wrap = _J), - (o.augment = a), - Ui(e, "footnoteDefinition", (c) => { - const p = String(c.identifier).toUpperCase(); - ag.call(i, p) || (i[p] = c); - }), - o - ); - function a(c, p) { - if (c && "data" in c && c.data) { - const f = c.data; - f.hName && - (p.type !== "element" && - (p = { type: "element", tagName: "", properties: {}, children: [] }), - (p.tagName = f.hName)), - p.type === "element" && - f.hProperties && - (p.properties = { ...p.properties, ...f.hProperties }), - "children" in p && - p.children && - f.hChildren && - (p.children = f.hChildren); - } - if (c) { - const f = "type" in c ? c : { position: c }; - gJ(f) || (p.position = { start: Ip(f), end: A2(f) }); - } - return p; - } - function o(c, p, f, m) { - return ( - Array.isArray(f) && ((m = f), (f = {})), - a(c, { - type: "element", - tagName: p, - properties: f || {}, - children: m || [], - }) - ); - } - function s(c, p) { - return BD(o, c, p); - } - function u(c) { - return PE(o, c); - } -} -function EJ(e, t) { - e.position && (t.position = tJ(e)); -} -function vJ(e, t) { - let n = t; - if (e && e.data) { - const r = e.data.hName, - i = e.data.hChildren, - a = e.data.hProperties; - typeof r == "string" && - (n.type === "element" - ? (n.tagName = r) - : (n = { type: "element", tagName: r, properties: {}, children: [] })), - n.type === "element" && a && (n.properties = { ...n.properties, ...a }), - "children" in n && - n.children && - i !== null && - i !== void 0 && - (n.children = i); - } - return n; -} -function BD(e, t, n) { - const r = t && t.type; - if (!r) throw new Error("Expected node, got `" + t + "`"); - return ag.call(e.handlers, r) - ? e.handlers[r](e, t, n) - : e.passThrough && e.passThrough.includes(r) - ? "children" in t - ? { ...t, children: PE(e, t) } - : t - : e.unknownHandler - ? e.unknownHandler(e, t, n) - : yJ(e, t); -} -function PE(e, t) { - const n = []; - if ("children" in t) { - const r = t.children; - let i = -1; - for (; ++i < r.length; ) { - const a = BD(e, r[i], t); - if (a) { - if ( - i && - r[i - 1].type === "break" && - (!Array.isArray(a) && - a.type === "text" && - (a.value = a.value.replace(/^\s+/, "")), - !Array.isArray(a) && a.type === "element") - ) { - const o = a.children[0]; - o && o.type === "text" && (o.value = o.value.replace(/^\s+/, "")); - } - Array.isArray(a) ? n.push(...a) : n.push(a); - } - } - } - return n; -} -function yJ(e, t) { - const n = t.data || {}, - r = - "value" in t && !(ag.call(n, "hProperties") || ag.call(n, "hChildren")) - ? { type: "text", value: t.value } - : { - type: "element", - tagName: "div", - properties: {}, - children: PE(e, t), - }; - return e.patch(t, r), e.applyData(t, r); -} -function _J(e, t) { - const n = []; - let r = -1; - for ( - t && - n.push({ - type: "text", - value: ` -`, - }); - ++r < e.length; - - ) - r && - n.push({ - type: "text", - value: ` -`, - }), - n.push(e[r]); - return ( - t && - e.length > 0 && - n.push({ - type: "text", - value: ` -`, - }), - n - ); -} -function TJ(e) { - const t = []; - let n = -1; - for (; ++n < e.footnoteOrder.length; ) { - const r = e.footnoteById[e.footnoteOrder[n]]; - if (!r) continue; - const i = e.all(r), - a = String(r.identifier).toUpperCase(), - o = oc(a.toLowerCase()); - let s = 0; - const u = []; - for (; ++s <= e.footnoteCounts[a]; ) { - const f = { - type: "element", - tagName: "a", - properties: { - href: "#" + e.clobberPrefix + "fnref-" + o + (s > 1 ? "-" + s : ""), - dataFootnoteBackref: !0, - className: ["data-footnote-backref"], - ariaLabel: e.footnoteBackLabel, - }, - children: [{ type: "text", value: "↩" }], - }; - s > 1 && - f.children.push({ - type: "element", - tagName: "sup", - children: [{ type: "text", value: String(s) }], - }), - u.length > 0 && u.push({ type: "text", value: " " }), - u.push(f); - } - const c = i[i.length - 1]; - if (c && c.type === "element" && c.tagName === "p") { - const f = c.children[c.children.length - 1]; - f && f.type === "text" - ? (f.value += " ") - : c.children.push({ type: "text", value: " " }), - c.children.push(...u); - } else i.push(...u); - const p = { - type: "element", - tagName: "li", - properties: { id: e.clobberPrefix + "fn-" + o }, - children: e.wrap(i, !0), - }; - e.patch(r, p), t.push(p); - } - if (t.length !== 0) - return { - type: "element", - tagName: "section", - properties: { dataFootnotes: !0, className: ["footnotes"] }, - children: [ - { - type: "element", - tagName: e.footnoteLabelTagName, - properties: { - ...JSON.parse(JSON.stringify(e.footnoteLabelProperties)), - id: "footnote-label", - }, - children: [{ type: "text", value: e.footnoteLabel }], - }, - { - type: "text", - value: ` -`, - }, - { - type: "element", - tagName: "ol", - properties: {}, - children: e.wrap(t, !0), - }, - { - type: "text", - value: ` -`, - }, - ], - }; -} -function UD(e, t) { - const n = bJ(e, t), - r = n.one(e, null), - i = TJ(n); - return ( - i && - r.children.push( - { - type: "text", - value: ` -`, - }, - i - ), - Array.isArray(r) ? { type: "root", children: r } : r - ); -} -const SJ = function (e, t) { - return e && "run" in e ? AJ(e, t) : CJ(e || t); - }, - wJ = SJ; -function AJ(e, t) { - return (n, r, i) => { - e.run(UD(n, t), r, (a) => { - i(a); - }); - }; -} -function CJ(e) { - return (t) => UD(t, e); -} -var $D = { exports: {} }, - xJ = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", - kJ = xJ, - IJ = kJ; -function zD() {} -function HD() {} -HD.resetWarningCache = zD; -var RJ = function () { - function e(r, i, a, o, s, u) { - if (u !== IJ) { - var c = new Error( - "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types" - ); - throw ((c.name = "Invariant Violation"), c); - } - } - e.isRequired = e; - function t() { - return e; - } - var n = { - array: e, - bigint: e, - bool: e, - func: e, - number: e, - object: e, - string: e, - symbol: e, - any: e, - arrayOf: t, - element: e, - elementType: e, - instanceOf: t, - node: e, - objectOf: t, - oneOf: t, - oneOfType: t, - shape: t, - exact: t, - checkPropTypes: HD, - resetWarningCache: zD, - }; - return (n.PropTypes = n), n; -}; -$D.exports = RJ(); -var NJ = $D.exports; -const Ee = Hi(NJ); -class Rp { - constructor(t, n, r) { - (this.property = t), (this.normal = n), r && (this.space = r); - } -} -Rp.prototype.property = {}; -Rp.prototype.normal = {}; -Rp.prototype.space = null; -function jD(e, t) { - const n = {}, - r = {}; - let i = -1; - for (; ++i < e.length; ) - Object.assign(n, e[i].property), Object.assign(r, e[i].normal); - return new Rp(n, r, t); -} -function gu(e) { - return e.toLowerCase(); -} -class ya { - constructor(t, n) { - (this.property = t), (this.attribute = n); - } -} -ya.prototype.space = null; -ya.prototype.boolean = !1; -ya.prototype.booleanish = !1; -ya.prototype.overloadedBoolean = !1; -ya.prototype.number = !1; -ya.prototype.commaSeparated = !1; -ya.prototype.spaceSeparated = !1; -ya.prototype.commaOrSpaceSeparated = !1; -ya.prototype.mustUseProperty = !1; -ya.prototype.defined = !1; -let OJ = 0; -const xt = _u(), - Gn = _u(), - GD = _u(), - Ue = _u(), - _n = _u(), - P1 = _u(), - Ri = _u(); -function _u() { - return 2 ** ++OJ; -} -const Cb = Object.freeze( - Object.defineProperty( - { - __proto__: null, - boolean: xt, - booleanish: Gn, - commaOrSpaceSeparated: Ri, - commaSeparated: P1, - number: Ue, - overloadedBoolean: GD, - spaceSeparated: _n, - }, - Symbol.toStringTag, - { value: "Module" } - ) - ), - d3 = Object.keys(Cb); -class BE extends ya { - constructor(t, n, r, i) { - let a = -1; - if ((super(t, n), AC(this, "space", i), typeof r == "number")) - for (; ++a < d3.length; ) { - const o = d3[a]; - AC(this, d3[a], (r & Cb[o]) === Cb[o]); - } - } -} -BE.prototype.defined = !0; -function AC(e, t, n) { - n && (e[t] = n); -} -const DJ = {}.hasOwnProperty; -function sc(e) { - const t = {}, - n = {}; - let r; - for (r in e.properties) - if (DJ.call(e.properties, r)) { - const i = e.properties[r], - a = new BE(r, e.transform(e.attributes || {}, r), i, e.space); - e.mustUseProperty && - e.mustUseProperty.includes(r) && - (a.mustUseProperty = !0), - (t[r] = a), - (n[gu(r)] = r), - (n[gu(a.attribute)] = r); - } - return new Rp(t, n, e.space); -} -const VD = sc({ - space: "xlink", - transform(e, t) { - return "xlink:" + t.slice(5).toLowerCase(); - }, - properties: { - xLinkActuate: null, - xLinkArcRole: null, - xLinkHref: null, - xLinkRole: null, - xLinkShow: null, - xLinkTitle: null, - xLinkType: null, - }, - }), - WD = sc({ - space: "xml", - transform(e, t) { - return "xml:" + t.slice(3).toLowerCase(); - }, - properties: { xmlLang: null, xmlBase: null, xmlSpace: null }, - }); -function qD(e, t) { - return t in e ? e[t] : t; -} -function KD(e, t) { - return qD(e, t.toLowerCase()); -} -const YD = sc({ - space: "xmlns", - attributes: { xmlnsxlink: "xmlns:xlink" }, - transform: KD, - properties: { xmlns: null, xmlnsXLink: null }, - }), - XD = sc({ - transform(e, t) { - return t === "role" ? t : "aria-" + t.slice(4).toLowerCase(); - }, - properties: { - ariaActiveDescendant: null, - ariaAtomic: Gn, - ariaAutoComplete: null, - ariaBusy: Gn, - ariaChecked: Gn, - ariaColCount: Ue, - ariaColIndex: Ue, - ariaColSpan: Ue, - ariaControls: _n, - ariaCurrent: null, - ariaDescribedBy: _n, - ariaDetails: null, - ariaDisabled: Gn, - ariaDropEffect: _n, - ariaErrorMessage: null, - ariaExpanded: Gn, - ariaFlowTo: _n, - ariaGrabbed: Gn, - ariaHasPopup: null, - ariaHidden: Gn, - ariaInvalid: null, - ariaKeyShortcuts: null, - ariaLabel: null, - ariaLabelledBy: _n, - ariaLevel: Ue, - ariaLive: null, - ariaModal: Gn, - ariaMultiLine: Gn, - ariaMultiSelectable: Gn, - ariaOrientation: null, - ariaOwns: _n, - ariaPlaceholder: null, - ariaPosInSet: Ue, - ariaPressed: Gn, - ariaReadOnly: Gn, - ariaRelevant: null, - ariaRequired: Gn, - ariaRoleDescription: _n, - ariaRowCount: Ue, - ariaRowIndex: Ue, - ariaRowSpan: Ue, - ariaSelected: Gn, - ariaSetSize: Ue, - ariaSort: null, - ariaValueMax: Ue, - ariaValueMin: Ue, - ariaValueNow: Ue, - ariaValueText: null, - role: null, - }, - }), - LJ = sc({ - space: "html", - attributes: { - acceptcharset: "accept-charset", - classname: "class", - htmlfor: "for", - httpequiv: "http-equiv", - }, - transform: KD, - mustUseProperty: ["checked", "multiple", "muted", "selected"], - properties: { - abbr: null, - accept: P1, - acceptCharset: _n, - accessKey: _n, - action: null, - allow: null, - allowFullScreen: xt, - allowPaymentRequest: xt, - allowUserMedia: xt, - alt: null, - as: null, - async: xt, - autoCapitalize: null, - autoComplete: _n, - autoFocus: xt, - autoPlay: xt, - capture: xt, - charSet: null, - checked: xt, - cite: null, - className: _n, - cols: Ue, - colSpan: null, - content: null, - contentEditable: Gn, - controls: xt, - controlsList: _n, - coords: Ue | P1, - crossOrigin: null, - data: null, - dateTime: null, - decoding: null, - default: xt, - defer: xt, - dir: null, - dirName: null, - disabled: xt, - download: GD, - draggable: Gn, - encType: null, - enterKeyHint: null, - form: null, - formAction: null, - formEncType: null, - formMethod: null, - formNoValidate: xt, - formTarget: null, - headers: _n, - height: Ue, - hidden: xt, - high: Ue, - href: null, - hrefLang: null, - htmlFor: _n, - httpEquiv: _n, - id: null, - imageSizes: null, - imageSrcSet: null, - inputMode: null, - integrity: null, - is: null, - isMap: xt, - itemId: null, - itemProp: _n, - itemRef: _n, - itemScope: xt, - itemType: _n, - kind: null, - label: null, - lang: null, - language: null, - list: null, - loading: null, - loop: xt, - low: Ue, - manifest: null, - max: null, - maxLength: Ue, - media: null, - method: null, - min: null, - minLength: Ue, - multiple: xt, - muted: xt, - name: null, - nonce: null, - noModule: xt, - noValidate: xt, - onAbort: null, - onAfterPrint: null, - onAuxClick: null, - onBeforeMatch: null, - onBeforePrint: null, - onBeforeUnload: null, - onBlur: null, - onCancel: null, - onCanPlay: null, - onCanPlayThrough: null, - onChange: null, - onClick: null, - onClose: null, - onContextLost: null, - onContextMenu: null, - onContextRestored: null, - onCopy: null, - onCueChange: null, - onCut: null, - onDblClick: null, - onDrag: null, - onDragEnd: null, - onDragEnter: null, - onDragExit: null, - onDragLeave: null, - onDragOver: null, - onDragStart: null, - onDrop: null, - onDurationChange: null, - onEmptied: null, - onEnded: null, - onError: null, - onFocus: null, - onFormData: null, - onHashChange: null, - onInput: null, - onInvalid: null, - onKeyDown: null, - onKeyPress: null, - onKeyUp: null, - onLanguageChange: null, - onLoad: null, - onLoadedData: null, - onLoadedMetadata: null, - onLoadEnd: null, - onLoadStart: null, - onMessage: null, - onMessageError: null, - onMouseDown: null, - onMouseEnter: null, - onMouseLeave: null, - onMouseMove: null, - onMouseOut: null, - onMouseOver: null, - onMouseUp: null, - onOffline: null, - onOnline: null, - onPageHide: null, - onPageShow: null, - onPaste: null, - onPause: null, - onPlay: null, - onPlaying: null, - onPopState: null, - onProgress: null, - onRateChange: null, - onRejectionHandled: null, - onReset: null, - onResize: null, - onScroll: null, - onScrollEnd: 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: xt, - optimum: Ue, - pattern: null, - ping: _n, - placeholder: null, - playsInline: xt, - poster: null, - preload: null, - readOnly: xt, - referrerPolicy: null, - rel: _n, - required: xt, - reversed: xt, - rows: Ue, - rowSpan: Ue, - sandbox: _n, - scope: null, - scoped: xt, - seamless: xt, - selected: xt, - shape: null, - size: Ue, - sizes: null, - slot: null, - span: Ue, - spellCheck: Gn, - src: null, - srcDoc: null, - srcLang: null, - srcSet: null, - start: Ue, - step: null, - style: null, - tabIndex: Ue, - target: null, - title: null, - translate: null, - type: null, - typeMustMatch: xt, - useMap: null, - value: Gn, - width: Ue, - wrap: null, - align: null, - aLink: null, - archive: _n, - axis: null, - background: null, - bgColor: null, - border: Ue, - borderColor: null, - bottomMargin: Ue, - cellPadding: null, - cellSpacing: null, - char: null, - charOff: null, - classId: null, - clear: null, - code: null, - codeBase: null, - codeType: null, - color: null, - compact: xt, - declare: xt, - event: null, - face: null, - frame: null, - frameBorder: null, - hSpace: Ue, - leftMargin: Ue, - link: null, - longDesc: null, - lowSrc: null, - marginHeight: Ue, - marginWidth: Ue, - noResize: xt, - noHref: xt, - noShade: xt, - noWrap: xt, - object: null, - profile: null, - prompt: null, - rev: null, - rightMargin: Ue, - rules: null, - scheme: null, - scrolling: Gn, - standby: null, - summary: null, - text: null, - topMargin: Ue, - valueType: null, - version: null, - vAlign: null, - vLink: null, - vSpace: Ue, - allowTransparency: null, - autoCorrect: null, - autoSave: null, - disablePictureInPicture: xt, - disableRemotePlayback: xt, - prefix: null, - property: null, - results: Ue, - security: null, - unselectable: null, - }, - }), - MJ = sc({ - space: "svg", - attributes: { - accentHeight: "accent-height", - alignmentBaseline: "alignment-baseline", - arabicForm: "arabic-form", - baselineShift: "baseline-shift", - capHeight: "cap-height", - className: "class", - clipPath: "clip-path", - clipRule: "clip-rule", - colorInterpolation: "color-interpolation", - colorInterpolationFilters: "color-interpolation-filters", - colorProfile: "color-profile", - colorRendering: "color-rendering", - crossOrigin: "crossorigin", - dataType: "datatype", - dominantBaseline: "dominant-baseline", - enableBackground: "enable-background", - fillOpacity: "fill-opacity", - fillRule: "fill-rule", - floodColor: "flood-color", - floodOpacity: "flood-opacity", - fontFamily: "font-family", - fontSize: "font-size", - fontSizeAdjust: "font-size-adjust", - fontStretch: "font-stretch", - fontStyle: "font-style", - fontVariant: "font-variant", - fontWeight: "font-weight", - glyphName: "glyph-name", - glyphOrientationHorizontal: "glyph-orientation-horizontal", - glyphOrientationVertical: "glyph-orientation-vertical", - hrefLang: "hreflang", - horizAdvX: "horiz-adv-x", - horizOriginX: "horiz-origin-x", - horizOriginY: "horiz-origin-y", - imageRendering: "image-rendering", - letterSpacing: "letter-spacing", - lightingColor: "lighting-color", - markerEnd: "marker-end", - markerMid: "marker-mid", - markerStart: "marker-start", - navDown: "nav-down", - navDownLeft: "nav-down-left", - navDownRight: "nav-down-right", - navLeft: "nav-left", - navNext: "nav-next", - navPrev: "nav-prev", - navRight: "nav-right", - navUp: "nav-up", - navUpLeft: "nav-up-left", - navUpRight: "nav-up-right", - onAbort: "onabort", - onActivate: "onactivate", - onAfterPrint: "onafterprint", - onBeforePrint: "onbeforeprint", - onBegin: "onbegin", - onCancel: "oncancel", - onCanPlay: "oncanplay", - onCanPlayThrough: "oncanplaythrough", - onChange: "onchange", - onClick: "onclick", - onClose: "onclose", - onCopy: "oncopy", - onCueChange: "oncuechange", - onCut: "oncut", - onDblClick: "ondblclick", - onDrag: "ondrag", - onDragEnd: "ondragend", - onDragEnter: "ondragenter", - onDragExit: "ondragexit", - onDragLeave: "ondragleave", - onDragOver: "ondragover", - onDragStart: "ondragstart", - onDrop: "ondrop", - onDurationChange: "ondurationchange", - onEmptied: "onemptied", - onEnd: "onend", - onEnded: "onended", - onError: "onerror", - onFocus: "onfocus", - onFocusIn: "onfocusin", - onFocusOut: "onfocusout", - onHashChange: "onhashchange", - onInput: "oninput", - onInvalid: "oninvalid", - onKeyDown: "onkeydown", - onKeyPress: "onkeypress", - onKeyUp: "onkeyup", - onLoad: "onload", - onLoadedData: "onloadeddata", - onLoadedMetadata: "onloadedmetadata", - onLoadStart: "onloadstart", - onMessage: "onmessage", - onMouseDown: "onmousedown", - onMouseEnter: "onmouseenter", - onMouseLeave: "onmouseleave", - onMouseMove: "onmousemove", - onMouseOut: "onmouseout", - onMouseOver: "onmouseover", - onMouseUp: "onmouseup", - onMouseWheel: "onmousewheel", - onOffline: "onoffline", - onOnline: "ononline", - onPageHide: "onpagehide", - onPageShow: "onpageshow", - onPaste: "onpaste", - onPause: "onpause", - onPlay: "onplay", - onPlaying: "onplaying", - onPopState: "onpopstate", - onProgress: "onprogress", - onRateChange: "onratechange", - onRepeat: "onrepeat", - onReset: "onreset", - onResize: "onresize", - onScroll: "onscroll", - onSeeked: "onseeked", - onSeeking: "onseeking", - onSelect: "onselect", - onShow: "onshow", - onStalled: "onstalled", - onStorage: "onstorage", - onSubmit: "onsubmit", - onSuspend: "onsuspend", - onTimeUpdate: "ontimeupdate", - onToggle: "ontoggle", - onUnload: "onunload", - onVolumeChange: "onvolumechange", - onWaiting: "onwaiting", - onZoom: "onzoom", - overlinePosition: "overline-position", - overlineThickness: "overline-thickness", - paintOrder: "paint-order", - panose1: "panose-1", - pointerEvents: "pointer-events", - referrerPolicy: "referrerpolicy", - renderingIntent: "rendering-intent", - shapeRendering: "shape-rendering", - stopColor: "stop-color", - stopOpacity: "stop-opacity", - strikethroughPosition: "strikethrough-position", - strikethroughThickness: "strikethrough-thickness", - strokeDashArray: "stroke-dasharray", - strokeDashOffset: "stroke-dashoffset", - strokeLineCap: "stroke-linecap", - strokeLineJoin: "stroke-linejoin", - strokeMiterLimit: "stroke-miterlimit", - strokeOpacity: "stroke-opacity", - strokeWidth: "stroke-width", - tabIndex: "tabindex", - textAnchor: "text-anchor", - textDecoration: "text-decoration", - textRendering: "text-rendering", - typeOf: "typeof", - underlinePosition: "underline-position", - underlineThickness: "underline-thickness", - unicodeBidi: "unicode-bidi", - unicodeRange: "unicode-range", - unitsPerEm: "units-per-em", - vAlphabetic: "v-alphabetic", - vHanging: "v-hanging", - vIdeographic: "v-ideographic", - vMathematical: "v-mathematical", - vectorEffect: "vector-effect", - vertAdvY: "vert-adv-y", - vertOriginX: "vert-origin-x", - vertOriginY: "vert-origin-y", - wordSpacing: "word-spacing", - writingMode: "writing-mode", - xHeight: "x-height", - playbackOrder: "playbackorder", - timelineBegin: "timelinebegin", - }, - transform: qD, - properties: { - about: Ri, - accentHeight: Ue, - accumulate: null, - additive: null, - alignmentBaseline: null, - alphabetic: Ue, - amplitude: Ue, - arabicForm: null, - ascent: Ue, - attributeName: null, - attributeType: null, - azimuth: Ue, - bandwidth: null, - baselineShift: null, - baseFrequency: null, - baseProfile: null, - bbox: null, - begin: null, - bias: Ue, - by: null, - calcMode: null, - capHeight: Ue, - className: _n, - clip: null, - clipPath: null, - clipPathUnits: null, - clipRule: null, - color: null, - colorInterpolation: null, - colorInterpolationFilters: null, - colorProfile: null, - colorRendering: null, - content: null, - contentScriptType: null, - contentStyleType: null, - crossOrigin: null, - cursor: null, - cx: null, - cy: null, - d: null, - dataType: null, - defaultAction: null, - descent: Ue, - diffuseConstant: Ue, - direction: null, - display: null, - dur: null, - divisor: Ue, - dominantBaseline: null, - download: xt, - dx: null, - dy: null, - edgeMode: null, - editable: null, - elevation: Ue, - enableBackground: null, - end: null, - event: null, - exponent: Ue, - externalResourcesRequired: null, - fill: null, - fillOpacity: Ue, - fillRule: null, - filter: null, - filterRes: null, - filterUnits: null, - floodColor: null, - floodOpacity: null, - focusable: null, - focusHighlight: null, - fontFamily: null, - fontSize: null, - fontSizeAdjust: null, - fontStretch: null, - fontStyle: null, - fontVariant: null, - fontWeight: null, - format: null, - fr: null, - from: null, - fx: null, - fy: null, - g1: P1, - g2: P1, - glyphName: P1, - glyphOrientationHorizontal: null, - glyphOrientationVertical: null, - glyphRef: null, - gradientTransform: null, - gradientUnits: null, - handler: null, - hanging: Ue, - hatchContentUnits: null, - hatchUnits: null, - height: null, - href: null, - hrefLang: null, - horizAdvX: Ue, - horizOriginX: Ue, - horizOriginY: Ue, - id: null, - ideographic: Ue, - imageRendering: null, - initialVisibility: null, - in: null, - in2: null, - intercept: Ue, - k: Ue, - k1: Ue, - k2: Ue, - k3: Ue, - k4: Ue, - kernelMatrix: Ri, - kernelUnitLength: null, - keyPoints: null, - keySplines: null, - keyTimes: null, - kerning: null, - lang: null, - lengthAdjust: null, - letterSpacing: null, - lightingColor: null, - limitingConeAngle: Ue, - local: null, - markerEnd: null, - markerMid: null, - markerStart: null, - markerHeight: null, - markerUnits: null, - markerWidth: null, - mask: null, - maskContentUnits: null, - maskUnits: null, - mathematical: null, - max: null, - media: null, - mediaCharacterEncoding: null, - mediaContentEncodings: null, - mediaSize: Ue, - mediaTime: null, - method: null, - min: null, - mode: null, - name: null, - navDown: null, - navDownLeft: null, - navDownRight: null, - navLeft: null, - navNext: null, - navPrev: null, - navRight: null, - navUp: null, - navUpLeft: null, - navUpRight: null, - numOctaves: null, - observer: null, - offset: null, - onAbort: null, - onActivate: null, - onAfterPrint: null, - onBeforePrint: null, - onBegin: null, - onCancel: null, - onCanPlay: null, - onCanPlayThrough: null, - onChange: null, - onClick: null, - onClose: null, - onCopy: null, - onCueChange: null, - onCut: null, - onDblClick: null, - onDrag: null, - onDragEnd: null, - onDragEnter: null, - onDragExit: null, - onDragLeave: null, - onDragOver: null, - onDragStart: null, - onDrop: null, - onDurationChange: null, - onEmptied: null, - onEnd: null, - onEnded: null, - onError: null, - onFocus: null, - onFocusIn: null, - onFocusOut: null, - onHashChange: null, - onInput: null, - onInvalid: null, - onKeyDown: null, - onKeyPress: null, - onKeyUp: null, - onLoad: null, - onLoadedData: null, - onLoadedMetadata: null, - onLoadStart: null, - onMessage: null, - onMouseDown: null, - onMouseEnter: null, - onMouseLeave: null, - onMouseMove: null, - onMouseOut: null, - onMouseOver: null, - onMouseUp: null, - onMouseWheel: null, - onOffline: null, - onOnline: null, - onPageHide: null, - onPageShow: null, - onPaste: null, - onPause: null, - onPlay: null, - onPlaying: null, - onPopState: null, - onProgress: null, - onRateChange: null, - onRepeat: null, - onReset: null, - onResize: null, - onScroll: null, - onSeeked: null, - onSeeking: null, - onSelect: null, - onShow: null, - onStalled: null, - onStorage: null, - onSubmit: null, - onSuspend: null, - onTimeUpdate: null, - onToggle: null, - onUnload: null, - onVolumeChange: null, - onWaiting: null, - onZoom: null, - opacity: null, - operator: null, - order: null, - orient: null, - orientation: null, - origin: null, - overflow: null, - overlay: null, - overlinePosition: Ue, - overlineThickness: Ue, - paintOrder: null, - panose1: null, - path: null, - pathLength: Ue, - patternContentUnits: null, - patternTransform: null, - patternUnits: null, - phase: null, - ping: _n, - pitch: null, - playbackOrder: null, - pointerEvents: null, - points: null, - pointsAtX: Ue, - pointsAtY: Ue, - pointsAtZ: Ue, - preserveAlpha: null, - preserveAspectRatio: null, - primitiveUnits: null, - propagate: null, - property: Ri, - r: null, - radius: null, - referrerPolicy: null, - refX: null, - refY: null, - rel: Ri, - rev: Ri, - renderingIntent: null, - repeatCount: null, - repeatDur: null, - requiredExtensions: Ri, - requiredFeatures: Ri, - requiredFonts: Ri, - requiredFormats: Ri, - resource: null, - restart: null, - result: null, - rotate: null, - rx: null, - ry: null, - scale: null, - seed: null, - shapeRendering: null, - side: null, - slope: null, - snapshotTime: null, - specularConstant: Ue, - specularExponent: Ue, - spreadMethod: null, - spacing: null, - startOffset: null, - stdDeviation: null, - stemh: null, - stemv: null, - stitchTiles: null, - stopColor: null, - stopOpacity: null, - strikethroughPosition: Ue, - strikethroughThickness: Ue, - string: null, - stroke: null, - strokeDashArray: Ri, - strokeDashOffset: null, - strokeLineCap: null, - strokeLineJoin: null, - strokeMiterLimit: Ue, - strokeOpacity: Ue, - strokeWidth: null, - style: null, - surfaceScale: Ue, - syncBehavior: null, - syncBehaviorDefault: null, - syncMaster: null, - syncTolerance: null, - syncToleranceDefault: null, - systemLanguage: Ri, - tabIndex: Ue, - tableValues: null, - target: null, - targetX: Ue, - targetY: Ue, - textAnchor: null, - textDecoration: null, - textRendering: null, - textLength: null, - timelineBegin: null, - title: null, - transformBehavior: null, - type: null, - typeOf: Ri, - to: null, - transform: null, - u1: null, - u2: null, - underlinePosition: Ue, - underlineThickness: Ue, - unicode: null, - unicodeBidi: null, - unicodeRange: null, - unitsPerEm: Ue, - values: null, - vAlphabetic: Ue, - vMathematical: Ue, - vectorEffect: null, - vHanging: Ue, - vIdeographic: Ue, - version: null, - vertAdvY: Ue, - vertOriginX: Ue, - vertOriginY: Ue, - viewBox: null, - viewTarget: null, - visibility: null, - width: null, - widths: null, - wordSpacing: null, - writingMode: null, - x: null, - x1: null, - x2: null, - xChannelSelector: null, - xHeight: Ue, - y: null, - y1: null, - y2: null, - yChannelSelector: null, - z: null, - zoomAndPan: null, - }, - }), - FJ = /^data[-\w.:]+$/i, - CC = /-[a-z]/g, - PJ = /[A-Z]/g; -function lc(e, t) { - const n = gu(t); - let r = t, - i = ya; - if (n in e.normal) return e.property[e.normal[n]]; - if (n.length > 4 && n.slice(0, 4) === "data" && FJ.test(t)) { - if (t.charAt(4) === "-") { - const a = t.slice(5).replace(CC, UJ); - r = "data" + a.charAt(0).toUpperCase() + a.slice(1); - } else { - const a = t.slice(4); - if (!CC.test(a)) { - let o = a.replace(PJ, BJ); - o.charAt(0) !== "-" && (o = "-" + o), (t = "data" + o); - } - } - i = BE; - } - return new i(r, t); -} -function BJ(e) { - return "-" + e.toLowerCase(); -} -function UJ(e) { - return e.charAt(1).toUpperCase(); -} -const xC = { - classId: "classID", - dataType: "datatype", - itemId: "itemID", - strokeDashArray: "strokeDasharray", - strokeDashOffset: "strokeDashoffset", - strokeLineCap: "strokeLinecap", - strokeLineJoin: "strokeLinejoin", - strokeMiterLimit: "strokeMiterlimit", - typeOf: "typeof", - xLinkActuate: "xlinkActuate", - xLinkArcRole: "xlinkArcrole", - xLinkHref: "xlinkHref", - xLinkRole: "xlinkRole", - xLinkShow: "xlinkShow", - xLinkTitle: "xlinkTitle", - xLinkType: "xlinkType", - xmlnsXLink: "xmlnsXlink", - }, - Tu = jD([WD, VD, YD, XD, LJ], "html"), - yl = jD([WD, VD, YD, XD, MJ], "svg"); -function $J(e) { - if (e.allowedElements && e.disallowedElements) - throw new TypeError( - "Only one of `allowedElements` and `disallowedElements` should be defined" - ); - if (e.allowedElements || e.disallowedElements || e.allowElement) - return (t) => { - Ui(t, "element", (n, r, i) => { - const a = i; - let o; - if ( - (e.allowedElements - ? (o = !e.allowedElements.includes(n.tagName)) - : e.disallowedElements && - (o = e.disallowedElements.includes(n.tagName)), - !o && - e.allowElement && - typeof r == "number" && - (o = !e.allowElement(n, r, a)), - o && typeof r == "number") - ) - return ( - e.unwrapDisallowed && n.children - ? a.children.splice(r, 1, ...n.children) - : a.children.splice(r, 1), - r - ); - }); - }; -} -function ZD(e) { - const t = e && typeof e == "object" && e.type === "text" ? e.value || "" : e; - return typeof t == "string" && t.replace(/[ \t\n\f\r]/g, "") === ""; -} -function og(e) { - const t = String(e || "").trim(); - return t ? t.split(/[ \t\n\r\f]+/g) : []; -} -function UE(e) { - return e.join(" ").trim(); -} -function lp(e) { - const t = [], - n = String(e || ""); - let r = n.indexOf(","), - i = 0, - a = !1; - for (; !a; ) { - r === -1 && ((r = n.length), (a = !0)); - const o = n.slice(i, r).trim(); - (o || !a) && t.push(o), (i = r + 1), (r = n.indexOf(",", i)); - } - return t; -} -function $E(e, t) { - const n = t || {}; - return (e[e.length - 1] === "" ? [...e, ""] : e) - .join((n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")) - .trim(); -} -var zE = { exports: {} }, - kC = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, - zJ = /\n/g, - HJ = /^\s*/, - jJ = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, - GJ = /^:\s*/, - VJ = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, - WJ = /^[;\s]*/, - qJ = /^\s+|\s+$/g, - KJ = ` -`, - IC = "/", - RC = "*", - Kl = "", - YJ = "comment", - XJ = "declaration", - ZJ = function (e, t) { - if (typeof e != "string") - throw new TypeError("First argument must be a string"); - if (!e) return []; - t = t || {}; - var n = 1, - r = 1; - function i(E) { - var b = E.match(zJ); - b && (n += b.length); - var T = E.lastIndexOf(KJ); - r = ~T ? E.length - T : r + E.length; - } - function a() { - var E = { line: n, column: r }; - return function (b) { - return (b.position = new o(E)), c(), b; - }; - } - function o(E) { - (this.start = E), - (this.end = { line: n, column: r }), - (this.source = t.source); - } - o.prototype.content = e; - function s(E) { - var b = new Error(t.source + ":" + n + ":" + r + ": " + E); - if ( - ((b.reason = E), - (b.filename = t.source), - (b.line = n), - (b.column = r), - (b.source = e), - !t.silent) - ) - throw b; - } - function u(E) { - var b = E.exec(e); - if (b) { - var T = b[0]; - return i(T), (e = e.slice(T.length)), b; - } - } - function c() { - u(HJ); - } - function p(E) { - var b; - for (E = E || []; (b = f()); ) b !== !1 && E.push(b); - return E; - } - function f() { - var E = a(); - if (!(IC != e.charAt(0) || RC != e.charAt(1))) { - for ( - var b = 2; - Kl != e.charAt(b) && (RC != e.charAt(b) || IC != e.charAt(b + 1)); - - ) - ++b; - if (((b += 2), Kl === e.charAt(b - 1))) - return s("End of comment missing"); - var T = e.slice(2, b - 2); - return ( - (r += 2), - i(T), - (e = e.slice(b)), - (r += 2), - E({ type: YJ, comment: T }) - ); - } - } - function m() { - var E = a(), - b = u(jJ); - if (b) { - if ((f(), !u(GJ))) return s("property missing ':'"); - var T = u(VJ), - v = E({ - type: XJ, - property: NC(b[0].replace(kC, Kl)), - value: T ? NC(T[0].replace(kC, Kl)) : Kl, - }); - return u(WJ), v; - } - } - function g() { - var E = []; - p(E); - for (var b; (b = m()); ) b !== !1 && (E.push(b), p(E)); - return E; - } - return c(), g(); - }; -function NC(e) { - return e ? e.replace(qJ, Kl) : Kl; -} -var QJ = ZJ; -function QD(e, t) { - var n = null; - if (!e || typeof e != "string") return n; - for ( - var r, i = QJ(e), a = typeof t == "function", o, s, u = 0, c = i.length; - u < c; - u++ - ) - (r = i[u]), - (o = r.property), - (s = r.value), - a ? t(o, s, r) : s && (n || (n = {}), (n[o] = s)); - return n; -} -zE.exports = QD; -zE.exports.default = QD; -var JJ = zE.exports; -const eee = Hi(JJ), - xb = {}.hasOwnProperty, - tee = new Set(["table", "thead", "tbody", "tfoot", "tr"]); -function JD(e, t) { - const n = []; - let r = -1, - i; - for (; ++r < t.children.length; ) - (i = t.children[r]), - i.type === "element" - ? n.push(nee(e, i, r, t)) - : i.type === "text" - ? (t.type !== "element" || !tee.has(t.tagName) || !ZD(i)) && - n.push(i.value) - : i.type === "raw" && !e.options.skipHtml && n.push(i.value); - return n; -} -function nee(e, t, n, r) { - const i = e.options, - a = i.transformLinkUri === void 0 ? hX : i.transformLinkUri, - o = e.schema, - s = t.tagName, - u = {}; - let c = o, - p; - if ( - (o.space === "html" && s === "svg" && ((c = yl), (e.schema = c)), - t.properties) - ) - for (p in t.properties) - xb.call(t.properties, p) && iee(u, p, t.properties[p], e); - (s === "ol" || s === "ul") && e.listDepth++; - const f = JD(e, t); - (s === "ol" || s === "ul") && e.listDepth--, (e.schema = o); - const m = t.position || { - start: { line: null, column: null, offset: null }, - end: { line: null, column: null, offset: null }, - }, - g = i.components && xb.call(i.components, s) ? i.components[s] : s, - E = typeof g == "string" || g === ut.Fragment; - if (!sq.isValidElementType(g)) - throw new TypeError( - `Component for name \`${s}\` not defined or is not renderable` - ); - if ( - ((u.key = n), - s === "a" && - i.linkTarget && - (u.target = - typeof i.linkTarget == "function" - ? i.linkTarget( - String(u.href || ""), - t.children, - typeof u.title == "string" ? u.title : null - ) - : i.linkTarget), - s === "a" && - a && - (u.href = a( - String(u.href || ""), - t.children, - typeof u.title == "string" ? u.title : null - )), - !E && - s === "code" && - r.type === "element" && - r.tagName !== "pre" && - (u.inline = !0), - !E && - (s === "h1" || - s === "h2" || - s === "h3" || - s === "h4" || - s === "h5" || - s === "h6") && - (u.level = Number.parseInt(s.charAt(1), 10)), - s === "img" && - i.transformImageUri && - (u.src = i.transformImageUri( - String(u.src || ""), - String(u.alt || ""), - typeof u.title == "string" ? u.title : null - )), - !E && s === "li" && r.type === "element") - ) { - const b = ree(t); - (u.checked = b && b.properties ? !!b.properties.checked : null), - (u.index = p3(r, t)), - (u.ordered = r.tagName === "ol"); - } - return ( - !E && - (s === "ol" || s === "ul") && - ((u.ordered = s === "ol"), (u.depth = e.listDepth)), - (s === "td" || s === "th") && - (u.align && - (u.style || (u.style = {}), - (u.style.textAlign = u.align), - delete u.align), - E || (u.isHeader = s === "th")), - !E && - s === "tr" && - r.type === "element" && - (u.isHeader = r.tagName === "thead"), - i.sourcePos && (u["data-sourcepos"] = see(m)), - !E && i.rawSourcePos && (u.sourcePosition = t.position), - !E && - i.includeElementIndex && - ((u.index = p3(r, t)), (u.siblingCount = p3(r))), - E || (u.node = t), - f.length > 0 ? ut.createElement(g, u, f) : ut.createElement(g, u) - ); -} -function ree(e) { - let t = -1; - for (; ++t < e.children.length; ) { - const n = e.children[t]; - if (n.type === "element" && n.tagName === "input") return n; - } - return null; -} -function p3(e, t) { - let n = -1, - r = 0; - for (; ++n < e.children.length && e.children[n] !== t; ) - e.children[n].type === "element" && r++; - return r; -} -function iee(e, t, n, r) { - const i = lc(r.schema, t); - let a = n; - a == null || - a !== a || - (Array.isArray(a) && (a = i.commaSeparated ? $E(a) : UE(a)), - i.property === "style" && typeof a == "string" && (a = aee(a)), - i.space && i.property - ? (e[xb.call(xC, i.property) ? xC[i.property] : i.property] = a) - : i.attribute && (e[i.attribute] = a)); -} -function aee(e) { - const t = {}; - try { - eee(e, n); - } catch {} - return t; - function n(r, i) { - const a = r.slice(0, 4) === "-ms-" ? `ms-${r.slice(4)}` : r; - t[a.replace(/-([a-z])/g, oee)] = i; - } -} -function oee(e, t) { - return t.toUpperCase(); -} -function see(e) { - return [e.start.line, ":", e.start.column, "-", e.end.line, ":", e.end.column] - .map(String) - .join(""); -} -const OC = {}.hasOwnProperty, - lee = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", - p0 = { - plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" }, - renderers: { to: "components", id: "change-renderers-to-components" }, - astPlugins: { id: "remove-buggy-html-in-markdown-parser" }, - allowDangerousHtml: { id: "remove-buggy-html-in-markdown-parser" }, - escapeHtml: { id: "remove-buggy-html-in-markdown-parser" }, - source: { to: "children", id: "change-source-to-children" }, - allowNode: { - to: "allowElement", - id: "replace-allownode-allowedtypes-and-disallowedtypes", - }, - allowedTypes: { - to: "allowedElements", - id: "replace-allownode-allowedtypes-and-disallowedtypes", - }, - disallowedTypes: { - to: "disallowedElements", - id: "replace-allownode-allowedtypes-and-disallowedtypes", - }, - includeNodeIndex: { - to: "includeElementIndex", - id: "change-includenodeindex-to-includeelementindex", - }, - }; -function HE(e) { - for (const a in p0) - if (OC.call(p0, a) && OC.call(e, a)) { - const o = p0[a]; - console.warn( - `[react-markdown] Warning: please ${ - o.to ? `use \`${o.to}\` instead of` : "remove" - } \`${a}\` (see <${lee}#${o.id}> for more info)` - ), - delete p0[a]; - } - const t = RX() - .use(MQ) - .use(e.remarkPlugins || []) - .use(wJ, { ...e.remarkRehypeOptions, allowDangerousHtml: !0 }) - .use(e.rehypePlugins || []) - .use($J, e), - n = new hD(); - typeof e.children == "string" - ? (n.value = e.children) - : e.children !== void 0 && - e.children !== null && - console.warn( - `[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)` - ); - const r = t.runSync(t.parse(n), n); - if (r.type !== "root") throw new TypeError("Expected a `root` node"); - let i = ut.createElement( - ut.Fragment, - {}, - JD({ options: e, schema: Tu, listDepth: 0 }, r) - ); - return ( - e.className && (i = ut.createElement("div", { className: e.className }, i)), - i - ); -} -HE.propTypes = { - children: Ee.string, - className: Ee.string, - allowElement: Ee.func, - allowedElements: Ee.arrayOf(Ee.string), - disallowedElements: Ee.arrayOf(Ee.string), - unwrapDisallowed: Ee.bool, - remarkPlugins: Ee.arrayOf( - Ee.oneOfType([ - Ee.object, - Ee.func, - Ee.arrayOf( - Ee.oneOfType([ - Ee.bool, - Ee.string, - Ee.object, - Ee.func, - Ee.arrayOf(Ee.any), - ]) - ), - ]) - ), - rehypePlugins: Ee.arrayOf( - Ee.oneOfType([ - Ee.object, - Ee.func, - Ee.arrayOf( - Ee.oneOfType([ - Ee.bool, - Ee.string, - Ee.object, - Ee.func, - Ee.arrayOf(Ee.any), - ]) - ), - ]) - ), - sourcePos: Ee.bool, - rawSourcePos: Ee.bool, - skipHtml: Ee.bool, - includeElementIndex: Ee.bool, - transformLinkUri: Ee.oneOfType([Ee.func, Ee.bool]), - linkTarget: Ee.oneOfType([Ee.func, Ee.string]), - transformImageUri: Ee.func, - components: Ee.object, -}; -const uee = { tokenize: gee, partial: !0 }, - eL = { tokenize: mee, partial: !0 }, - tL = { tokenize: bee, partial: !0 }, - nL = { tokenize: Eee, partial: !0 }, - cee = { tokenize: vee, partial: !0 }, - rL = { tokenize: fee, previous: aL }, - iL = { tokenize: hee, previous: oL }, - ss = { tokenize: pee, previous: sL }, - _o = {}, - dee = { text: _o }; -let Ml = 48; -for (; Ml < 123; ) - (_o[Ml] = ss), Ml++, Ml === 58 ? (Ml = 65) : Ml === 91 && (Ml = 97); -_o[43] = ss; -_o[45] = ss; -_o[46] = ss; -_o[95] = ss; -_o[72] = [ss, iL]; -_o[104] = [ss, iL]; -_o[87] = [ss, rL]; -_o[119] = [ss, rL]; -function pee(e, t, n) { - const r = this; - let i, a; - return o; - function o(f) { - return !kb(f) || !sL.call(r, r.previous) || jE(r.events) - ? n(f) - : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), s(f)); - } - function s(f) { - return kb(f) ? (e.consume(f), s) : f === 64 ? (e.consume(f), u) : n(f); - } - function u(f) { - return f === 46 - ? e.check(cee, p, c)(f) - : f === 45 || f === 95 || $r(f) - ? ((a = !0), e.consume(f), u) - : p(f); - } - function c(f) { - return e.consume(f), (i = !0), u; - } - function p(f) { - return a && i && Qr(r.previous) - ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(f)) - : n(f); - } -} -function fee(e, t, n) { - const r = this; - return i; - function i(o) { - return (o !== 87 && o !== 119) || !aL.call(r, r.previous) || jE(r.events) - ? n(o) - : (e.enter("literalAutolink"), - e.enter("literalAutolinkWww"), - e.check(uee, e.attempt(eL, e.attempt(tL, a), n), n)(o)); - } - function a(o) { - return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(o); - } -} -function hee(e, t, n) { - const r = this; - let i = "", - a = !1; - return o; - function o(f) { - return (f === 72 || f === 104) && oL.call(r, r.previous) && !jE(r.events) - ? (e.enter("literalAutolink"), - e.enter("literalAutolinkHttp"), - (i += String.fromCodePoint(f)), - e.consume(f), - s) - : n(f); - } - function s(f) { - if (Qr(f) && i.length < 5) - return (i += String.fromCodePoint(f)), e.consume(f), s; - if (f === 58) { - const m = i.toLowerCase(); - if (m === "http" || m === "https") return e.consume(f), u; - } - return n(f); - } - function u(f) { - return f === 47 ? (e.consume(f), a ? c : ((a = !0), u)) : n(f); - } - function c(f) { - return f === null || rg(f) || hn(f) || hu(f) || S2(f) - ? n(f) - : e.attempt(eL, e.attempt(tL, p), n)(f); - } - function p(f) { - return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(f); - } -} -function gee(e, t, n) { - let r = 0; - return i; - function i(o) { - return (o === 87 || o === 119) && r < 3 - ? (r++, e.consume(o), i) - : o === 46 && r === 3 - ? (e.consume(o), a) - : n(o); - } - function a(o) { - return o === null ? n(o) : t(o); - } -} -function mee(e, t, n) { - let r, i, a; - return o; - function o(c) { - return c === 46 || c === 95 - ? e.check(nL, u, s)(c) - : c === null || hn(c) || hu(c) || (c !== 45 && S2(c)) - ? u(c) - : ((a = !0), e.consume(c), o); - } - function s(c) { - return c === 95 ? (r = !0) : ((i = r), (r = void 0)), e.consume(c), o; - } - function u(c) { - return i || r || !a ? n(c) : t(c); - } -} -function bee(e, t) { - let n = 0, - r = 0; - return i; - function i(o) { - return o === 40 - ? (n++, e.consume(o), i) - : o === 41 && r < n - ? a(o) - : o === 33 || - o === 34 || - o === 38 || - o === 39 || - o === 41 || - o === 42 || - o === 44 || - o === 46 || - o === 58 || - o === 59 || - o === 60 || - o === 63 || - o === 93 || - o === 95 || - o === 126 - ? e.check(nL, t, a)(o) - : o === null || hn(o) || hu(o) - ? t(o) - : (e.consume(o), i); - } - function a(o) { - return o === 41 && r++, e.consume(o), i; - } -} -function Eee(e, t, n) { - return r; - function r(s) { - return s === 33 || - s === 34 || - s === 39 || - s === 41 || - s === 42 || - s === 44 || - s === 46 || - s === 58 || - s === 59 || - s === 63 || - s === 95 || - s === 126 - ? (e.consume(s), r) - : s === 38 - ? (e.consume(s), a) - : s === 93 - ? (e.consume(s), i) - : s === 60 || s === null || hn(s) || hu(s) - ? t(s) - : n(s); - } - function i(s) { - return s === null || s === 40 || s === 91 || hn(s) || hu(s) ? t(s) : r(s); - } - function a(s) { - return Qr(s) ? o(s) : n(s); - } - function o(s) { - return s === 59 ? (e.consume(s), r) : Qr(s) ? (e.consume(s), o) : n(s); - } -} -function vee(e, t, n) { - return r; - function r(a) { - return e.consume(a), i; - } - function i(a) { - return $r(a) ? n(a) : t(a); - } -} -function aL(e) { - return ( - e === null || - e === 40 || - e === 42 || - e === 95 || - e === 91 || - e === 93 || - e === 126 || - hn(e) - ); -} -function oL(e) { - return !Qr(e); -} -function sL(e) { - return !(e === 47 || kb(e)); -} -function kb(e) { - return e === 43 || e === 45 || e === 46 || e === 95 || $r(e); -} -function jE(e) { - let t = e.length, - n = !1; - for (; t--; ) { - const r = e[t][1]; - if ((r.type === "labelLink" || r.type === "labelImage") && !r._balanced) { - n = !0; - break; - } - if (r._gfmAutolinkLiteralWalkedInto) { - n = !1; - break; - } - } - return ( - e.length > 0 && - !n && - (e[e.length - 1][1]._gfmAutolinkLiteralWalkedInto = !0), - n - ); -} -const yee = { tokenize: kee, partial: !0 }; -function _ee() { - return { - document: { - 91: { tokenize: Aee, continuation: { tokenize: Cee }, exit: xee }, - }, - text: { - 91: { tokenize: wee }, - 93: { add: "after", tokenize: Tee, resolveTo: See }, - }, - }; -} -function Tee(e, t, n) { - const r = this; - let i = r.events.length; - const a = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []); - let o; - for (; i--; ) { - const u = r.events[i][1]; - if (u.type === "labelImage") { - o = u; - break; - } - if ( - u.type === "gfmFootnoteCall" || - u.type === "labelLink" || - u.type === "label" || - u.type === "image" || - u.type === "link" - ) - break; - } - return s; - function s(u) { - if (!o || !o._balanced) return n(u); - const c = Ha(r.sliceSerialize({ start: o.end, end: r.now() })); - return c.codePointAt(0) !== 94 || !a.includes(c.slice(1)) - ? n(u) - : (e.enter("gfmFootnoteCallLabelMarker"), - e.consume(u), - e.exit("gfmFootnoteCallLabelMarker"), - t(u)); - } -} -function See(e, t) { - let n = e.length; - for (; n--; ) - if (e[n][1].type === "labelImage" && e[n][0] === "enter") { - e[n][1]; - break; - } - (e[n + 1][1].type = "data"), - (e[n + 3][1].type = "gfmFootnoteCallLabelMarker"); - const r = { - type: "gfmFootnoteCall", - start: Object.assign({}, e[n + 3][1].start), - end: Object.assign({}, e[e.length - 1][1].end), - }, - i = { - type: "gfmFootnoteCallMarker", - start: Object.assign({}, e[n + 3][1].end), - end: Object.assign({}, e[n + 3][1].end), - }; - i.end.column++, i.end.offset++, i.end._bufferIndex++; - const a = { - type: "gfmFootnoteCallString", - start: Object.assign({}, i.end), - end: Object.assign({}, e[e.length - 1][1].start), - }, - o = { - type: "chunkString", - contentType: "string", - start: Object.assign({}, a.start), - end: Object.assign({}, a.end), - }, - s = [ - e[n + 1], - e[n + 2], - ["enter", r, t], - e[n + 3], - e[n + 4], - ["enter", i, t], - ["exit", i, t], - ["enter", a, t], - ["enter", o, t], - ["exit", o, t], - ["exit", a, t], - e[e.length - 2], - e[e.length - 1], - ["exit", r, t], - ]; - return e.splice(n, e.length - n + 1, ...s), e; -} -function wee(e, t, n) { - const r = this, - i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []); - let a = 0, - o; - return s; - function s(f) { - return ( - e.enter("gfmFootnoteCall"), - e.enter("gfmFootnoteCallLabelMarker"), - e.consume(f), - e.exit("gfmFootnoteCallLabelMarker"), - u - ); - } - function u(f) { - return f !== 94 - ? n(f) - : (e.enter("gfmFootnoteCallMarker"), - e.consume(f), - e.exit("gfmFootnoteCallMarker"), - e.enter("gfmFootnoteCallString"), - (e.enter("chunkString").contentType = "string"), - c); - } - function c(f) { - if (a > 999 || (f === 93 && !o) || f === null || f === 91 || hn(f)) - return n(f); - if (f === 93) { - e.exit("chunkString"); - const m = e.exit("gfmFootnoteCallString"); - return i.includes(Ha(r.sliceSerialize(m))) - ? (e.enter("gfmFootnoteCallLabelMarker"), - e.consume(f), - e.exit("gfmFootnoteCallLabelMarker"), - e.exit("gfmFootnoteCall"), - t) - : n(f); - } - return hn(f) || (o = !0), a++, e.consume(f), f === 92 ? p : c; - } - function p(f) { - return f === 91 || f === 92 || f === 93 ? (e.consume(f), a++, c) : c(f); - } -} -function Aee(e, t, n) { - const r = this, - i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []); - let a, - o = 0, - s; - return u; - function u(E) { - return ( - (e.enter("gfmFootnoteDefinition")._container = !0), - e.enter("gfmFootnoteDefinitionLabel"), - e.enter("gfmFootnoteDefinitionLabelMarker"), - e.consume(E), - e.exit("gfmFootnoteDefinitionLabelMarker"), - c - ); - } - function c(E) { - return E === 94 - ? (e.enter("gfmFootnoteDefinitionMarker"), - e.consume(E), - e.exit("gfmFootnoteDefinitionMarker"), - e.enter("gfmFootnoteDefinitionLabelString"), - (e.enter("chunkString").contentType = "string"), - p) - : n(E); - } - function p(E) { - if (o > 999 || (E === 93 && !s) || E === null || E === 91 || hn(E)) - return n(E); - if (E === 93) { - e.exit("chunkString"); - const b = e.exit("gfmFootnoteDefinitionLabelString"); - return ( - (a = Ha(r.sliceSerialize(b))), - e.enter("gfmFootnoteDefinitionLabelMarker"), - e.consume(E), - e.exit("gfmFootnoteDefinitionLabelMarker"), - e.exit("gfmFootnoteDefinitionLabel"), - m - ); - } - return hn(E) || (s = !0), o++, e.consume(E), E === 92 ? f : p; - } - function f(E) { - return E === 91 || E === 92 || E === 93 ? (e.consume(E), o++, p) : p(E); - } - function m(E) { - return E === 58 - ? (e.enter("definitionMarker"), - e.consume(E), - e.exit("definitionMarker"), - i.includes(a) || i.push(a), - Gt(e, g, "gfmFootnoteDefinitionWhitespace")) - : n(E); - } - function g(E) { - return t(E); - } -} -function Cee(e, t, n) { - return e.check(kp, t, e.attempt(yee, t, n)); -} -function xee(e) { - e.exit("gfmFootnoteDefinition"); -} -function kee(e, t, n) { - const r = this; - return Gt(e, i, "gfmFootnoteDefinitionIndent", 4 + 1); - function i(a) { - const o = r.events[r.events.length - 1]; - return o && - o[1].type === "gfmFootnoteDefinitionIndent" && - o[2].sliceSerialize(o[1], !0).length === 4 - ? t(a) - : n(a); - } -} -function Iee(e) { - let n = (e || {}).singleTilde; - const r = { tokenize: a, resolveAll: i }; - return ( - n == null && (n = !0), - { - text: { 126: r }, - insideSpan: { null: [r] }, - attentionMarkers: { null: [126] }, - } - ); - function i(o, s) { - let u = -1; - for (; ++u < o.length; ) - if ( - o[u][0] === "enter" && - o[u][1].type === "strikethroughSequenceTemporary" && - o[u][1]._close - ) { - let c = u; - for (; c--; ) - if ( - o[c][0] === "exit" && - o[c][1].type === "strikethroughSequenceTemporary" && - o[c][1]._open && - o[u][1].end.offset - o[u][1].start.offset === - o[c][1].end.offset - o[c][1].start.offset - ) { - (o[u][1].type = "strikethroughSequence"), - (o[c][1].type = "strikethroughSequence"); - const p = { - type: "strikethrough", - start: Object.assign({}, o[c][1].start), - end: Object.assign({}, o[u][1].end), - }, - f = { - type: "strikethroughText", - start: Object.assign({}, o[c][1].end), - end: Object.assign({}, o[u][1].start), - }, - m = [ - ["enter", p, s], - ["enter", o[c][1], s], - ["exit", o[c][1], s], - ["enter", f, s], - ], - g = s.parser.constructs.insideSpan.null; - g && Fi(m, m.length, 0, w2(g, o.slice(c + 1, u), s)), - Fi(m, m.length, 0, [ - ["exit", f, s], - ["enter", o[u][1], s], - ["exit", o[u][1], s], - ["exit", p, s], - ]), - Fi(o, c - 1, u - c + 3, m), - (u = c + m.length - 2); - break; - } - } - for (u = -1; ++u < o.length; ) - o[u][1].type === "strikethroughSequenceTemporary" && - (o[u][1].type = "data"); - return o; - } - function a(o, s, u) { - const c = this.previous, - p = this.events; - let f = 0; - return m; - function m(E) { - return c === 126 && p[p.length - 1][1].type !== "characterEscape" - ? u(E) - : (o.enter("strikethroughSequenceTemporary"), g(E)); - } - function g(E) { - const b = ig(c); - if (E === 126) return f > 1 ? u(E) : (o.consume(E), f++, g); - if (f < 2 && !n) return u(E); - const T = o.exit("strikethroughSequenceTemporary"), - v = ig(E); - return ( - (T._open = !v || (v === 2 && !!b)), - (T._close = !b || (b === 2 && !!v)), - s(E) - ); - } - } -} -class Ree { - constructor() { - this.map = []; - } - add(t, n, r) { - Nee(this, t, n, r); - } - consume(t) { - if ((this.map.sort((a, o) => a[0] - o[0]), this.map.length === 0)) return; - let n = this.map.length; - const r = []; - for (; n > 0; ) - (n -= 1), - r.push(t.slice(this.map[n][0] + this.map[n][1])), - r.push(this.map[n][2]), - (t.length = this.map[n][0]); - r.push([...t]), (t.length = 0); - let i = r.pop(); - for (; i; ) t.push(...i), (i = r.pop()); - this.map.length = 0; - } -} -function Nee(e, t, n, r) { - let i = 0; - if (!(n === 0 && r.length === 0)) { - for (; i < e.map.length; ) { - if (e.map[i][0] === t) { - (e.map[i][1] += n), e.map[i][2].push(...r); - return; - } - i += 1; - } - e.map.push([t, n, r]); - } -} -function Oee(e, t) { - let n = !1; - const r = []; - for (; t < e.length; ) { - const i = e[t]; - if (n) { - if (i[0] === "enter") - i[1].type === "tableContent" && - r.push(e[t + 1][1].type === "tableDelimiterMarker" ? "left" : "none"); - else if (i[1].type === "tableContent") { - if (e[t - 1][1].type === "tableDelimiterMarker") { - const a = r.length - 1; - r[a] = r[a] === "left" ? "center" : "right"; - } - } else if (i[1].type === "tableDelimiterRow") break; - } else i[0] === "enter" && i[1].type === "tableDelimiterRow" && (n = !0); - t += 1; - } - return r; -} -const Dee = { flow: { null: { tokenize: Lee, resolveAll: Mee } } }; -function Lee(e, t, n) { - const r = this; - let i = 0, - a = 0, - o; - return s; - function s(P) { - let Q = r.events.length - 1; - for (; Q > -1; ) { - const he = r.events[Q][1].type; - if (he === "lineEnding" || he === "linePrefix") Q--; - else break; - } - const z = Q > -1 ? r.events[Q][1].type : null, - le = z === "tableHead" || z === "tableRow" ? k : u; - return le === k && r.parser.lazy[r.now().line] ? n(P) : le(P); - } - function u(P) { - return e.enter("tableHead"), e.enter("tableRow"), c(P); - } - function c(P) { - return P === 124 || ((o = !0), (a += 1)), p(P); - } - function p(P) { - return P === null - ? n(P) - : gt(P) - ? a > 1 - ? ((a = 0), - (r.interrupt = !0), - e.exit("tableRow"), - e.enter("lineEnding"), - e.consume(P), - e.exit("lineEnding"), - g) - : n(P) - : Dt(P) - ? Gt(e, p, "whitespace")(P) - : ((a += 1), - o && ((o = !1), (i += 1)), - P === 124 - ? (e.enter("tableCellDivider"), - e.consume(P), - e.exit("tableCellDivider"), - (o = !0), - p) - : (e.enter("data"), f(P))); - } - function f(P) { - return P === null || P === 124 || hn(P) - ? (e.exit("data"), p(P)) - : (e.consume(P), P === 92 ? m : f); - } - function m(P) { - return P === 92 || P === 124 ? (e.consume(P), f) : f(P); - } - function g(P) { - return ( - (r.interrupt = !1), - r.parser.lazy[r.now().line] - ? n(P) - : (e.enter("tableDelimiterRow"), - (o = !1), - Dt(P) - ? Gt( - e, - E, - "linePrefix", - r.parser.constructs.disable.null.includes("codeIndented") - ? void 0 - : 4 - )(P) - : E(P)) - ); - } - function E(P) { - return P === 45 || P === 58 - ? T(P) - : P === 124 - ? ((o = !0), - e.enter("tableCellDivider"), - e.consume(P), - e.exit("tableCellDivider"), - b) - : D(P); - } - function b(P) { - return Dt(P) ? Gt(e, T, "whitespace")(P) : T(P); - } - function T(P) { - return P === 58 - ? ((a += 1), - (o = !0), - e.enter("tableDelimiterMarker"), - e.consume(P), - e.exit("tableDelimiterMarker"), - v) - : P === 45 - ? ((a += 1), v(P)) - : P === null || gt(P) - ? A(P) - : D(P); - } - function v(P) { - return P === 45 ? (e.enter("tableDelimiterFiller"), y(P)) : D(P); - } - function y(P) { - return P === 45 - ? (e.consume(P), y) - : P === 58 - ? ((o = !0), - e.exit("tableDelimiterFiller"), - e.enter("tableDelimiterMarker"), - e.consume(P), - e.exit("tableDelimiterMarker"), - w) - : (e.exit("tableDelimiterFiller"), w(P)); - } - function w(P) { - return Dt(P) ? Gt(e, A, "whitespace")(P) : A(P); - } - function A(P) { - return P === 124 - ? E(P) - : P === null || gt(P) - ? !o || i !== a - ? D(P) - : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(P)) - : D(P); - } - function D(P) { - return n(P); - } - function k(P) { - return e.enter("tableRow"), R(P); - } - function R(P) { - return P === 124 - ? (e.enter("tableCellDivider"), - e.consume(P), - e.exit("tableCellDivider"), - R) - : P === null || gt(P) - ? (e.exit("tableRow"), t(P)) - : Dt(P) - ? Gt(e, R, "whitespace")(P) - : (e.enter("data"), B(P)); - } - function B(P) { - return P === null || P === 124 || hn(P) - ? (e.exit("data"), R(P)) - : (e.consume(P), P === 92 ? W : B); - } - function W(P) { - return P === 92 || P === 124 ? (e.consume(P), B) : B(P); - } -} -function Mee(e, t) { - let n = -1, - r = !0, - i = 0, - a = [0, 0, 0, 0], - o = [0, 0, 0, 0], - s = !1, - u = 0, - c, - p, - f; - const m = new Ree(); - for (; ++n < e.length; ) { - const g = e[n], - E = g[1]; - g[0] === "enter" - ? E.type === "tableHead" - ? ((s = !1), - u !== 0 && (DC(m, t, u, c, p), (p = void 0), (u = 0)), - (c = { - type: "table", - start: Object.assign({}, E.start), - end: Object.assign({}, E.end), - }), - m.add(n, 0, [["enter", c, t]])) - : E.type === "tableRow" || E.type === "tableDelimiterRow" - ? ((r = !0), - (f = void 0), - (a = [0, 0, 0, 0]), - (o = [0, n + 1, 0, 0]), - s && - ((s = !1), - (p = { - type: "tableBody", - start: Object.assign({}, E.start), - end: Object.assign({}, E.end), - }), - m.add(n, 0, [["enter", p, t]])), - (i = E.type === "tableDelimiterRow" ? 2 : p ? 3 : 1)) - : i && - (E.type === "data" || - E.type === "tableDelimiterMarker" || - E.type === "tableDelimiterFiller") - ? ((r = !1), - o[2] === 0 && - (a[1] !== 0 && - ((o[0] = o[1]), - (f = f0(m, t, a, i, void 0, f)), - (a = [0, 0, 0, 0])), - (o[2] = n))) - : E.type === "tableCellDivider" && - (r - ? (r = !1) - : (a[1] !== 0 && ((o[0] = o[1]), (f = f0(m, t, a, i, void 0, f))), - (a = o), - (o = [a[1], n, 0, 0]))) - : E.type === "tableHead" - ? ((s = !0), (u = n)) - : E.type === "tableRow" || E.type === "tableDelimiterRow" - ? ((u = n), - a[1] !== 0 - ? ((o[0] = o[1]), (f = f0(m, t, a, i, n, f))) - : o[1] !== 0 && (f = f0(m, t, o, i, n, f)), - (i = 0)) - : i && - (E.type === "data" || - E.type === "tableDelimiterMarker" || - E.type === "tableDelimiterFiller") && - (o[3] = n); - } - for ( - u !== 0 && DC(m, t, u, c, p), m.consume(t.events), n = -1; - ++n < t.events.length; - - ) { - const g = t.events[n]; - g[0] === "enter" && - g[1].type === "table" && - (g[1]._align = Oee(t.events, n)); - } - return e; -} -function f0(e, t, n, r, i, a) { - const o = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", - s = "tableContent"; - n[0] !== 0 && - ((a.end = Object.assign({}, e1(t.events, n[0]))), - e.add(n[0], 0, [["exit", a, t]])); - const u = e1(t.events, n[1]); - if ( - ((a = { type: o, start: Object.assign({}, u), end: Object.assign({}, u) }), - e.add(n[1], 0, [["enter", a, t]]), - n[2] !== 0) - ) { - const c = e1(t.events, n[2]), - p = e1(t.events, n[3]), - f = { type: s, start: Object.assign({}, c), end: Object.assign({}, p) }; - if ((e.add(n[2], 0, [["enter", f, t]]), r !== 2)) { - const m = t.events[n[2]], - g = t.events[n[3]]; - if ( - ((m[1].end = Object.assign({}, g[1].end)), - (m[1].type = "chunkText"), - (m[1].contentType = "text"), - n[3] > n[2] + 1) - ) { - const E = n[2] + 1, - b = n[3] - n[2] - 1; - e.add(E, b, []); - } - } - e.add(n[3] + 1, 0, [["exit", f, t]]); - } - return ( - i !== void 0 && - ((a.end = Object.assign({}, e1(t.events, i))), - e.add(i, 0, [["exit", a, t]]), - (a = void 0)), - a - ); -} -function DC(e, t, n, r, i) { - const a = [], - o = e1(t.events, n); - i && ((i.end = Object.assign({}, o)), a.push(["exit", i, t])), - (r.end = Object.assign({}, o)), - a.push(["exit", r, t]), - e.add(n + 1, 0, a); -} -function e1(e, t) { - const n = e[t], - r = n[0] === "enter" ? "start" : "end"; - return n[1][r]; -} -const Fee = { tokenize: Bee }, - Pee = { text: { 91: Fee } }; -function Bee(e, t, n) { - const r = this; - return i; - function i(u) { - return r.previous !== null || !r._gfmTasklistFirstContentOfListItem - ? n(u) - : (e.enter("taskListCheck"), - e.enter("taskListCheckMarker"), - e.consume(u), - e.exit("taskListCheckMarker"), - a); - } - function a(u) { - return hn(u) - ? (e.enter("taskListCheckValueUnchecked"), - e.consume(u), - e.exit("taskListCheckValueUnchecked"), - o) - : u === 88 || u === 120 - ? (e.enter("taskListCheckValueChecked"), - e.consume(u), - e.exit("taskListCheckValueChecked"), - o) - : n(u); - } - function o(u) { - return u === 93 - ? (e.enter("taskListCheckMarker"), - e.consume(u), - e.exit("taskListCheckMarker"), - e.exit("taskListCheck"), - s) - : n(u); - } - function s(u) { - return gt(u) ? t(u) : Dt(u) ? e.check({ tokenize: Uee }, t, n)(u) : n(u); - } -} -function Uee(e, t, n) { - return Gt(e, r, "whitespace"); - function r(i) { - return i === null ? n(i) : t(i); - } -} -function $ee(e) { - return vD([dee, _ee(), Iee(e), Dee, Pee]); -} -function LC(e, t) { - const n = String(e); - if (typeof t != "string") throw new TypeError("Expected character"); - let r = 0, - i = n.indexOf(t); - for (; i !== -1; ) r++, (i = n.indexOf(t, i + t.length)); - return r; -} -function zee(e) { - if (typeof e != "string") throw new TypeError("Expected a string"); - return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"); -} -const Hee = {}.hasOwnProperty, - jee = function (e, t, n, r) { - let i, a; - typeof t == "string" || t instanceof RegExp - ? ((a = [[t, n]]), (i = r)) - : ((a = t), (i = n)), - i || (i = {}); - const o = C2(i.ignore || []), - s = Gee(a); - let u = -1; - for (; ++u < s.length; ) PD(e, "text", c); - return e; - function c(f, m) { - let g = -1, - E; - for (; ++g < m.length; ) { - const b = m[g]; - if (o(b, E ? E.children.indexOf(b) : void 0, E)) return; - E = b; - } - if (E) return p(f, m); - } - function p(f, m) { - const g = m[m.length - 1], - E = s[u][0], - b = s[u][1]; - let T = 0; - const v = g.children.indexOf(f); - let y = !1, - w = []; - E.lastIndex = 0; - let A = E.exec(f.value); - for (; A; ) { - const D = A.index, - k = { index: A.index, input: A.input, stack: [...m, f] }; - let R = b(...A, k); - if ( - (typeof R == "string" && - (R = R.length > 0 ? { type: "text", value: R } : void 0), - R !== !1 && - (T !== D && w.push({ type: "text", value: f.value.slice(T, D) }), - Array.isArray(R) ? w.push(...R) : R && w.push(R), - (T = D + A[0].length), - (y = !0)), - !E.global) - ) - break; - A = E.exec(f.value); - } - return ( - y - ? (T < f.value.length && - w.push({ type: "text", value: f.value.slice(T) }), - g.children.splice(v, 1, ...w)) - : (w = [f]), - v + w.length - ); - } - }; -function Gee(e) { - const t = []; - if (typeof e != "object") - throw new TypeError("Expected array or object as schema"); - if (Array.isArray(e)) { - let n = -1; - for (; ++n < e.length; ) t.push([MC(e[n][0]), FC(e[n][1])]); - } else { - let n; - for (n in e) Hee.call(e, n) && t.push([MC(n), FC(e[n])]); - } - return t; -} -function MC(e) { - return typeof e == "string" ? new RegExp(zee(e), "g") : e; -} -function FC(e) { - return typeof e == "function" ? e : () => e; -} -const f3 = "phrasing", - h3 = ["autolink", "link", "image", "label"], - Vee = { - transforms: [Qee], - enter: { - literalAutolink: qee, - literalAutolinkEmail: g3, - literalAutolinkHttp: g3, - literalAutolinkWww: g3, - }, - exit: { - literalAutolink: Zee, - literalAutolinkEmail: Xee, - literalAutolinkHttp: Kee, - literalAutolinkWww: Yee, - }, - }, - Wee = { - unsafe: [ - { - character: "@", - before: "[+\\-.\\w]", - after: "[\\-.\\w]", - inConstruct: f3, - notInConstruct: h3, - }, - { - character: ".", - before: "[Ww]", - after: "[\\-.\\w]", - inConstruct: f3, - notInConstruct: h3, - }, - { - character: ":", - before: "[ps]", - after: "\\/", - inConstruct: f3, - notInConstruct: h3, - }, - ], - }; -function qee(e) { - this.enter({ type: "link", title: null, url: "", children: [] }, e); -} -function g3(e) { - this.config.enter.autolinkProtocol.call(this, e); -} -function Kee(e) { - this.config.exit.autolinkProtocol.call(this, e); -} -function Yee(e) { - this.config.exit.data.call(this, e); - const t = this.stack[this.stack.length - 1]; - t.url = "http://" + this.sliceSerialize(e); -} -function Xee(e) { - this.config.exit.autolinkEmail.call(this, e); -} -function Zee(e) { - this.exit(e); -} -function Qee(e) { - jee( - e, - [ - [/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, Jee], - [/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g, ete], - ], - { ignore: ["link", "linkReference"] } - ); -} -function Jee(e, t, n, r, i) { - let a = ""; - if ( - !lL(i) || - (/^w/i.test(t) && ((n = t + n), (t = ""), (a = "http://")), !tte(n)) - ) - return !1; - const o = nte(n + r); - if (!o[0]) return !1; - const s = { - type: "link", - title: null, - url: a + t + o[0], - children: [{ type: "text", value: t + o[0] }], - }; - return o[1] ? [s, { type: "text", value: o[1] }] : s; -} -function ete(e, t, n, r) { - return !lL(r, !0) || /[-\d_]$/.test(n) - ? !1 - : { - type: "link", - title: null, - url: "mailto:" + t + "@" + n, - children: [{ type: "text", value: t + "@" + n }], - }; -} -function tte(e) { - const t = e.split("."); - return !( - t.length < 2 || - (t[t.length - 1] && - (/_/.test(t[t.length - 1]) || !/[a-zA-Z\d]/.test(t[t.length - 1]))) || - (t[t.length - 2] && - (/_/.test(t[t.length - 2]) || !/[a-zA-Z\d]/.test(t[t.length - 2]))) - ); -} -function nte(e) { - const t = /[!"&'),.:;<>?\]}]+$/.exec(e); - if (!t) return [e, void 0]; - e = e.slice(0, t.index); - let n = t[0], - r = n.indexOf(")"); - const i = LC(e, "("); - let a = LC(e, ")"); - for (; r !== -1 && i > a; ) - (e += n.slice(0, r + 1)), (n = n.slice(r + 1)), (r = n.indexOf(")")), a++; - return [e, n]; -} -function lL(e, t) { - const n = e.input.charCodeAt(e.index - 1); - return (e.index === 0 || hu(n) || S2(n)) && (!t || n !== 47); -} -function uL(e) { - return e.label || !e.identifier ? e.label || "" : RD(e.identifier); -} -function rte(e, t, n) { - const r = t.indexStack, - i = e.children || [], - a = t.createTracker(n), - o = []; - let s = -1; - for (r.push(-1); ++s < i.length; ) { - const u = i[s]; - (r[r.length - 1] = s), - o.push( - a.move( - t.handle(u, e, t, { - before: ` -`, - after: ` -`, - ...a.current(), - }) - ) - ), - u.type !== "list" && (t.bulletLastUsed = void 0), - s < i.length - 1 && o.push(a.move(ite(u, i[s + 1], e, t))); - } - return r.pop(), o.join(""); -} -function ite(e, t, n, r) { - let i = r.join.length; - for (; i--; ) { - const a = r.join[i](e, t, n, r); - if (a === !0 || a === 1) break; - if (typeof a == "number") - return ` -`.repeat(1 + a); - if (a === !1) - return ` + */var gX=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};const fD=Hi(gX);function wd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?XA(e.position):"start"in e||"end"in e?XA(e):"line"in e||"column"in e?yb(e):""}function yb(e){return ZA(e&&e.line)+":"+ZA(e&&e.column)}function XA(e){return yb(e&&e.start)+"-"+yb(e&&e.end)}function ZA(e){return e&&typeof e=="number"?e:1}class va extends Error{constructor(t,n,r){const i=[null,null];let a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const o=r.indexOf(":");o===-1?i[1]=r:(i[0]=r.slice(0,o),i[1]=r.slice(o+1))}n&&("type"in n||"position"in n?n.position&&(a=n.position):"start"in n||"end"in n?a=n:("line"in n||"column"in n)&&(a.start=n)),this.name=wd(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.position=a,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}va.prototype.file="";va.prototype.name="";va.prototype.reason="";va.prototype.message="";va.prototype.stack="";va.prototype.fatal=null;va.prototype.column=null;va.prototype.line=null;va.prototype.source=null;va.prototype.ruleId=null;va.prototype.position=null;const ao={basename:mX,dirname:bX,extname:EX,join:vX,sep:"/"};function mX(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');xp(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function bX(e){if(xp(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function EX(e){xp(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function vX(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function _X(e,t){let n="",r=0,i=-1,a=0,o=-1,s,u;for(;++o<=e.length;){if(o2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function xp(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const TX={cwd:SX};function SX(){return"/"}function _b(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function wX(e){if(typeof e=="string")e=new URL(e);else if(!_b(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return AX(e)}function AX(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n"u"||lh.call(t,i)},iC=function(t,n){eC&&n.name==="__proto__"?eC(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},aC=function(t,n){if(n==="__proto__")if(lh.call(t,n)){if(tC)return tC(t,n).value}else return;return t[n]},xX=function e(){var t,n,r,i,a,o,s=arguments[0],u=1,c=arguments.length,p=!1;for(typeof s=="boolean"&&(p=s,s=arguments[1]||{},u=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});uo.length;let u;s&&o.push(i);try{u=e.apply(this,o)}catch(c){const p=c;if(s&&n)throw p;return i(p)}s||(u instanceof Promise?u.then(a,i):u instanceof Error?i(u):a(u))}function i(o,...s){n||(n=!0,t(o,...s))}function a(o){i(null,o)}}const RX=bD().freeze(),mD={}.hasOwnProperty;function bD(){const e=kX(),t=[];let n={},r,i=-1;return a.data=o,a.Parser=void 0,a.Compiler=void 0,a.freeze=s,a.attachers=t,a.use=u,a.parse=c,a.stringify=p,a.run=f,a.runSync=m,a.process=g,a.processSync=E,a;function a(){const b=bD();let T=-1;for(;++T{if(k||!R||!B)D(k);else{const W=a.stringify(R,B);W==null||(DX(W)?B.value=W:B.result=W),D(k,B)}});function D(k,R){k||!R?w(k):y?y(R):T(null,R)}}}function E(b){let T;a.freeze(),o3("processSync",a.Parser),s3("processSync",a.Compiler);const v=Hc(b);return a.process(v,y),lC("processSync","process",T),v;function y(w){T=!0,JA(w)}}}function oC(e,t){return typeof e=="function"&&e.prototype&&(NX(e.prototype)||t in e.prototype)}function NX(e){let t;for(t in e)if(mD.call(e,t))return!0;return!1}function o3(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function s3(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function l3(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function sC(e){if(!Tb(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function lC(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Hc(e){return OX(e)?e:new hD(e)}function OX(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function DX(e){return typeof e=="string"||fD(e)}const LX={};function MX(e,t){const n=t||LX,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return ED(e,r,i)}function ED(e,t,n){if(FX(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return uC(e.children,t,n)}return Array.isArray(e)?uC(e,t,n):""}function uC(e,t,n){const r=[];let i=-1;for(;++ii?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a0?(Fi(e,e.length,0,t),e):t}const cC={}.hasOwnProperty;function vD(e){const t={};let n=-1;for(;++no))return;const R=t.events.length;let B=R,W,P;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){if(W){P=t.events[B][1].end;break}W=!0}for(v(r),k=R;kw;){const D=n[A];t.containerState=D[1],D[0].exit.call(t,e)}n.length=w}function y(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function qX(e,t,n){return Gt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ig(e){if(e===null||hn(e)||hu(e))return 1;if(S2(e))return 2}function w2(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),m=Object.assign({},e[n][1].start);pC(f,-u),pC(m,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},s={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:m},a={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=la(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=la(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),c=la(c,w2(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=la(c,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,c=la(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,Fi(e,r-1,n-r+3,c),n=r+c.length-p-2;break}}for(n=-1;++n0&&Dt(k)?Gt(e,y,"linePrefix",a+1)(k):y(k)}function y(k){return k===null||gt(k)?e.check(hC,b,A)(k):(e.enter("codeFlowValue"),w(k))}function w(k){return k===null||gt(k)?(e.exit("codeFlowValue"),y(k)):(e.consume(k),w)}function A(k){return e.exit("codeFenced"),t(k)}function D(k,R,B){let W=0;return P;function P(de){return k.enter("lineEnding"),k.consume(de),k.exit("lineEnding"),Q}function Q(de){return k.enter("codeFencedFence"),Dt(de)?Gt(k,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(de):z(de)}function z(de){return de===s?(k.enter("codeFencedFenceSequence"),le(de)):B(de)}function le(de){return de===s?(W++,k.consume(de),le):W>=o?(k.exit("codeFencedFenceSequence"),Dt(de)?Gt(k,he,"whitespace")(de):he(de)):B(de)}function he(de){return de===null||gt(de)?(k.exit("codeFencedFence"),R(de)):B(de)}}}function aZ(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const u3={name:"codeIndented",tokenize:sZ},oZ={tokenize:lZ,partial:!0};function sZ(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Gt(e,a,"linePrefix",4+1)(c)}function a(c){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?u(c):gt(c)?e.attempt(oZ,o,u)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||gt(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function u(c){return e.exit("codeIndented"),t(c)}}function lZ(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):gt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Gt(e,a,"linePrefix",4+1)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):gt(o)?i(o):n(o)}}const uZ={name:"codeText",tokenize:pZ,resolve:cZ,previous:dZ};function cZ(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function wD(e,t,n,r,i,a,o,s,u){const c=u||Number.POSITIVE_INFINITY;let p=0;return f;function f(v){return v===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(v),e.exit(a),m):v===null||v===32||v===41||rg(v)?n(v):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),b(v))}function m(v){return v===62?(e.enter(a),e.consume(v),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===62?(e.exit("chunkString"),e.exit(s),m(v)):v===null||v===60||gt(v)?n(v):(e.consume(v),v===92?E:g)}function E(v){return v===60||v===62||v===92?(e.consume(v),g):g(v)}function b(v){return!p&&(v===null||v===41||hn(v))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(v)):p999||g===null||g===91||g===93&&!u||g===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(g):g===93?(e.exit(a),e.enter(i),e.consume(g),e.exit(i),e.exit(r),t):gt(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===null||g===91||g===93||gt(g)||s++>999?(e.exit("chunkString"),p(g)):(e.consume(g),u||(u=!Dt(g)),g===92?m:f)}function m(g){return g===91||g===92||g===93?(e.consume(g),s++,f):f(g)}}function CD(e,t,n,r,i,a){let o;return s;function s(m){return m===34||m===39||m===40?(e.enter(r),e.enter(i),e.consume(m),e.exit(i),o=m===40?41:m,u):n(m)}function u(m){return m===o?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):(e.enter(a),c(m))}function c(m){return m===o?(e.exit(a),u(o)):m===null?n(m):gt(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),Gt(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(m))}function p(m){return m===o||m===null||gt(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?f:p)}function f(m){return m===o||m===92?(e.consume(m),p):p(m)}}function Ad(e,t){let n;return r;function r(i){return gt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Dt(i)?Gt(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function Ha(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const vZ={name:"definition",tokenize:_Z},yZ={tokenize:TZ,partial:!0};function _Z(e,t,n){const r=this;let i;return a;function a(g){return e.enter("definition"),o(g)}function o(g){return AD.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function s(g){return i=Ha(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),u):n(g)}function u(g){return hn(g)?Ad(e,c)(g):c(g)}function c(g){return wD(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function p(g){return e.attempt(yZ,f,f)(g)}function f(g){return Dt(g)?Gt(e,m,"whitespace")(g):m(g)}function m(g){return g===null||gt(g)?(e.exit("definition"),r.parser.defined.push(i),t(g)):n(g)}}function TZ(e,t,n){return r;function r(s){return hn(s)?Ad(e,i)(s):n(s)}function i(s){return CD(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Dt(s)?Gt(e,o,"whitespace")(s):o(s)}function o(s){return s===null||gt(s)?t(s):n(s)}}const SZ={name:"hardBreakEscape",tokenize:wZ};function wZ(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return gt(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const AZ={name:"headingAtx",tokenize:xZ,resolve:CZ};function CZ(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Fi(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function xZ(e,t,n){let r=0;return i;function i(p){return e.enter("atxHeading"),a(p)}function a(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&r++<6?(e.consume(p),o):p===null||hn(p)?(e.exit("atxHeadingSequence"),s(p)):n(p)}function s(p){return p===35?(e.enter("atxHeadingSequence"),u(p)):p===null||gt(p)?(e.exit("atxHeading"),t(p)):Dt(p)?Gt(e,s,"whitespace")(p):(e.enter("atxHeadingText"),c(p))}function u(p){return p===35?(e.consume(p),u):(e.exit("atxHeadingSequence"),s(p))}function c(p){return p===null||p===35||hn(p)?(e.exit("atxHeadingText"),s(p)):(e.consume(p),c)}}const kZ=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],mC=["pre","script","style","textarea"],IZ={name:"htmlFlow",tokenize:DZ,resolveTo:OZ,concrete:!0},RZ={tokenize:MZ,partial:!0},NZ={tokenize:LZ,partial:!0};function OZ(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function DZ(e,t,n){const r=this;let i,a,o,s,u;return c;function c(O){return p(O)}function p(O){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(O),f}function f(O){return O===33?(e.consume(O),m):O===47?(e.consume(O),a=!0,b):O===63?(e.consume(O),i=3,r.interrupt?t:N):Qr(O)?(e.consume(O),o=String.fromCharCode(O),T):n(O)}function m(O){return O===45?(e.consume(O),i=2,g):O===91?(e.consume(O),i=5,s=0,E):Qr(O)?(e.consume(O),i=4,r.interrupt?t:N):n(O)}function g(O){return O===45?(e.consume(O),r.interrupt?t:N):n(O)}function E(O){const re="CDATA[";return O===re.charCodeAt(s++)?(e.consume(O),s===re.length?r.interrupt?t:z:E):n(O)}function b(O){return Qr(O)?(e.consume(O),o=String.fromCharCode(O),T):n(O)}function T(O){if(O===null||O===47||O===62||hn(O)){const re=O===47,Te=o.toLowerCase();return!re&&!a&&mC.includes(Te)?(i=1,r.interrupt?t(O):z(O)):kZ.includes(o.toLowerCase())?(i=6,re?(e.consume(O),v):r.interrupt?t(O):z(O)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(O):a?y(O):w(O))}return O===45||$r(O)?(e.consume(O),o+=String.fromCharCode(O),T):n(O)}function v(O){return O===62?(e.consume(O),r.interrupt?t:z):n(O)}function y(O){return Dt(O)?(e.consume(O),y):P(O)}function w(O){return O===47?(e.consume(O),P):O===58||O===95||Qr(O)?(e.consume(O),A):Dt(O)?(e.consume(O),w):P(O)}function A(O){return O===45||O===46||O===58||O===95||$r(O)?(e.consume(O),A):D(O)}function D(O){return O===61?(e.consume(O),k):Dt(O)?(e.consume(O),D):w(O)}function k(O){return O===null||O===60||O===61||O===62||O===96?n(O):O===34||O===39?(e.consume(O),u=O,R):Dt(O)?(e.consume(O),k):B(O)}function R(O){return O===u?(e.consume(O),u=null,W):O===null||gt(O)?n(O):(e.consume(O),R)}function B(O){return O===null||O===34||O===39||O===47||O===60||O===61||O===62||O===96||hn(O)?D(O):(e.consume(O),B)}function W(O){return O===47||O===62||Dt(O)?w(O):n(O)}function P(O){return O===62?(e.consume(O),Q):n(O)}function Q(O){return O===null||gt(O)?z(O):Dt(O)?(e.consume(O),Q):n(O)}function z(O){return O===45&&i===2?(e.consume(O),fe):O===60&&i===1?(e.consume(O),Z):O===62&&i===4?(e.consume(O),me):O===63&&i===3?(e.consume(O),N):O===93&&i===5?(e.consume(O),ce):gt(O)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(RZ,oe,le)(O)):O===null||gt(O)?(e.exit("htmlFlowData"),le(O)):(e.consume(O),z)}function le(O){return e.check(NZ,he,oe)(O)}function he(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),de}function de(O){return O===null||gt(O)?le(O):(e.enter("htmlFlowData"),z(O))}function fe(O){return O===45?(e.consume(O),N):z(O)}function Z(O){return O===47?(e.consume(O),o="",V):z(O)}function V(O){if(O===62){const re=o.toLowerCase();return mC.includes(re)?(e.consume(O),me):z(O)}return Qr(O)&&o.length<8?(e.consume(O),o+=String.fromCharCode(O),V):z(O)}function ce(O){return O===93?(e.consume(O),N):z(O)}function N(O){return O===62?(e.consume(O),me):O===45&&i===2?(e.consume(O),N):z(O)}function me(O){return O===null||gt(O)?(e.exit("htmlFlowData"),oe(O)):(e.consume(O),me)}function oe(O){return e.exit("htmlFlow"),t(O)}}function LZ(e,t,n){const r=this;return i;function i(o){return gt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function MZ(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(kp,t,n)}}const FZ={name:"htmlText",tokenize:PZ};function PZ(e,t,n){const r=this;let i,a,o;return s;function s(N){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(N),u}function u(N){return N===33?(e.consume(N),c):N===47?(e.consume(N),D):N===63?(e.consume(N),w):Qr(N)?(e.consume(N),B):n(N)}function c(N){return N===45?(e.consume(N),p):N===91?(e.consume(N),a=0,E):Qr(N)?(e.consume(N),y):n(N)}function p(N){return N===45?(e.consume(N),g):n(N)}function f(N){return N===null?n(N):N===45?(e.consume(N),m):gt(N)?(o=f,Z(N)):(e.consume(N),f)}function m(N){return N===45?(e.consume(N),g):f(N)}function g(N){return N===62?fe(N):N===45?m(N):f(N)}function E(N){const me="CDATA[";return N===me.charCodeAt(a++)?(e.consume(N),a===me.length?b:E):n(N)}function b(N){return N===null?n(N):N===93?(e.consume(N),T):gt(N)?(o=b,Z(N)):(e.consume(N),b)}function T(N){return N===93?(e.consume(N),v):b(N)}function v(N){return N===62?fe(N):N===93?(e.consume(N),v):b(N)}function y(N){return N===null||N===62?fe(N):gt(N)?(o=y,Z(N)):(e.consume(N),y)}function w(N){return N===null?n(N):N===63?(e.consume(N),A):gt(N)?(o=w,Z(N)):(e.consume(N),w)}function A(N){return N===62?fe(N):w(N)}function D(N){return Qr(N)?(e.consume(N),k):n(N)}function k(N){return N===45||$r(N)?(e.consume(N),k):R(N)}function R(N){return gt(N)?(o=R,Z(N)):Dt(N)?(e.consume(N),R):fe(N)}function B(N){return N===45||$r(N)?(e.consume(N),B):N===47||N===62||hn(N)?W(N):n(N)}function W(N){return N===47?(e.consume(N),fe):N===58||N===95||Qr(N)?(e.consume(N),P):gt(N)?(o=W,Z(N)):Dt(N)?(e.consume(N),W):fe(N)}function P(N){return N===45||N===46||N===58||N===95||$r(N)?(e.consume(N),P):Q(N)}function Q(N){return N===61?(e.consume(N),z):gt(N)?(o=Q,Z(N)):Dt(N)?(e.consume(N),Q):W(N)}function z(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(e.consume(N),i=N,le):gt(N)?(o=z,Z(N)):Dt(N)?(e.consume(N),z):(e.consume(N),he)}function le(N){return N===i?(e.consume(N),i=void 0,de):N===null?n(N):gt(N)?(o=le,Z(N)):(e.consume(N),le)}function he(N){return N===null||N===34||N===39||N===60||N===61||N===96?n(N):N===47||N===62||hn(N)?W(N):(e.consume(N),he)}function de(N){return N===47||N===62||hn(N)?W(N):n(N)}function fe(N){return N===62?(e.consume(N),e.exit("htmlTextData"),e.exit("htmlText"),t):n(N)}function Z(N){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),V}function V(N){return Dt(N)?Gt(e,ce,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):ce(N)}function ce(N){return e.enter("htmlTextData"),o(N)}}const FE={name:"labelEnd",tokenize:jZ,resolveTo:HZ,resolveAll:zZ},BZ={tokenize:GZ},UZ={tokenize:VZ},$Z={tokenize:WZ};function zZ(e){let t=-1;for(;++t=3&&(c===null||gt(c))?(e.exit("thematicBreak"),t(c)):n(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),Dt(c)?Gt(e,s,"whitespace")(c):s(c))}}const ui={name:"list",tokenize:tQ,continuation:{tokenize:nQ},exit:iQ},JZ={tokenize:aQ,partial:!0},eQ={tokenize:rQ,partial:!0};function tQ(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(g){const E=r.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||g===r.containerState.marker:Sb(g)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(uh,n,c)(g):c(g);if(!r.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(g)}return n(g)}function u(g){return Sb(g)&&++o<10?(e.consume(g),u):(!r.interrupt||o<2)&&(r.containerState.marker?g===r.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),c(g)):n(g)}function c(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||g,e.check(kp,r.interrupt?n:p,e.attempt(JZ,m,f))}function p(g){return r.containerState.initialBlankLine=!0,a++,m(g)}function f(g){return Dt(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),m):n(g)}function m(g){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}function nQ(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(kp,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Gt(e,t,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Dt(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eQ,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Gt(e,e.attempt(ui,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function rQ(e,t,n){const r=this;return Gt(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function iQ(e){e.exit(this.containerState.type)}function aQ(e,t,n){const r=this;return Gt(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(a){const o=r.events[r.events.length-1];return!Dt(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const bC={name:"setextUnderline",tokenize:sQ,resolveTo:oQ};function oQ(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}function sQ(e,t,n){const r=this;let i;return a;function a(c){let p=r.events.length,f;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){f=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Dt(c)?Gt(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||gt(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const lQ={tokenize:uQ};function uQ(e){const t=this,n=e.attempt(kp,r,e.attempt(this.parser.constructs.flowInitial,i,Gt(e,e.attempt(this.parser.constructs.flow,i,e.attempt(hZ,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const cQ={resolveAll:kD()},dQ=xD("string"),pQ=xD("text");function xD(e){return{tokenize:t,resolveAll:kD(e==="text"?fQ:void 0)};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,s);return o;function o(p){return c(p)?a(p):s(p)}function s(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),u}function u(p){return c(p)?(n.exit("data"),a(p)):(n.consume(p),u)}function c(p){if(p===null)return!0;const f=i[p];let m=-1;if(f)for(;++m-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function mQ(e,t){let n=-1;const r=[];let i;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const RQ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function RD(e){return e.replace(RQ,NQ)}function NQ(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return ID(n.slice(a?2:1),a?16:10)}return sp(n)||e}const ND={}.hasOwnProperty,OQ=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),DQ(n)(IQ(xQ(n).document().write(kQ()(e,t,!0))))};function DQ(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ke),autolinkProtocol:Q,autolinkEmail:Q,atxHeading:s(pt),blockQuote:s(Xe),characterEscape:Q,characterReference:Q,codeFenced:s(Ve),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:s(Ve,u),codeText:s(dt,u),codeTextData:Q,data:Q,codeFlowValue:Q,definition:s(ot),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:s(Ge),hardBreakEscape:s(U),hardBreakTrailing:s(U),htmlFlow:s(ie,u),htmlFlowData:Q,htmlText:s(ie,u),htmlTextData:Q,image:s(pe),label:u,link:s(ke),listItem:s(Se),listItemValue:E,listOrdered:s(ve,g),listUnordered:s(ve),paragraph:s(Me),reference:Te,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:s(pt),strong:s(ze),thematicBreak:s(jt)},exit:{atxHeading:p(),atxHeadingSequence:R,autolink:p(),autolinkEmail:Re,autolinkProtocol:Le,blockQuote:p(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:xe,characterReferenceMarkerNumeric:xe,characterReferenceValue:ne,codeFenced:p(y),codeFencedFence:v,codeFencedFenceInfo:b,codeFencedFenceMeta:T,codeFlowValue:z,codeIndented:p(w),codeText:p(Z),codeTextData:z,data:z,definition:p(),definitionDestinationString:k,definitionLabelString:A,definitionTitleString:D,emphasis:p(),hardBreakEscape:p(he),hardBreakTrailing:p(he),htmlFlow:p(de),htmlFlowData:z,htmlText:p(fe),htmlTextData:z,image:p(ce),label:me,labelText:N,lineEnding:le,link:p(V),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:K,resourceDestinationString:oe,resourceTitleString:O,resource:re,setextHeading:p(P),setextHeadingLineSequence:W,setextHeadingText:B,strong:p(),thematicBreak:p()}};OD(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ue){let ye={type:"root",children:[]};const We={stack:[ye],tokenStack:[],config:t,enter:c,exit:f,buffer:u,resume:m,setData:a,getData:o},at=[];let Qe=-1;for(;++Qe0){const Y=We.tokenStack[We.tokenStack.length-1];(Y[1]||vC).call(We,void 0,Y[0])}for(ye.position={start:As(ue.length>0?ue[0][1].start:{line:1,column:1,offset:0}),end:As(ue.length>0?ue[ue.length-2][1].end:{line:1,column:1,offset:0})},Qe=-1;++Qe{const r=this.data("settings");return OQ(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function FQ(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function PQ(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` +`}]}function BQ(e,t){const n=t.value?t.value+` +`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let a={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function UQ(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $Q(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function oc(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function DD(e,t){const n=String(t.identifier).toUpperCase(),r=oc(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let a;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,a=e.footnoteOrder.length):(e.footnoteCounts[n]++,a=i+1);const o=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)}function zQ(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},DD(e,{type:"footnoteReference",identifier:i,position:t.position})}function HQ(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function jQ(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function LD(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function GQ(e,t){const n=e.definition(t.identifier);if(!n)return LD(e,t);const r={src:oc(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function VQ(e,t){const n={src:oc(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function WQ(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function qQ(e,t){const n=e.definition(t.identifier);if(!n)return LD(e,t);const r={href:oc(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function KQ(e,t){const n={href:oc(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function YQ(e,t,n){const r=e.all(t),i=n?XQ(n):MD(t),a={},o=[];if(typeof t.checked=="boolean"){const p=r[0];let f;p&&p.type==="element"&&p.tagName==="p"?f=p:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s1}function ZQ(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i-1?r.offset:null}}}function nJ(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=Ip(t.children[1]),u=A2(t.children[t.children.length-1]);s.line&&u.line&&(o.position={start:s,end:u}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function rJ(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let u=-1;const c=[];for(;++u0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(TC(t.slice(i),i>0,!1)),a.join("")}function TC(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===yC||a===_C;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===yC||a===_C;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function oJ(e,t){const n={type:"text",value:aJ(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function sJ(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const lJ={blockquote:FQ,break:PQ,code:BQ,delete:UQ,emphasis:$Q,footnoteReference:DD,footnote:zQ,heading:HQ,html:jQ,imageReference:GQ,image:VQ,inlineCode:WQ,linkReference:qQ,link:KQ,listItem:YQ,list:ZQ,paragraph:QQ,root:JQ,strong:eJ,table:nJ,tableCell:iJ,tableRow:rJ,text:oJ,thematicBreak:sJ,toml:d0,yaml:d0,definition:d0,footnoteDefinition:d0};function d0(){return null}const C2=function(e){if(e==null)return pJ;if(typeof e=="string")return dJ(e);if(typeof e=="object")return Array.isArray(e)?uJ(e):cJ(e);if(typeof e=="function")return x2(e);throw new Error("Expected function, string, or object as test")};function uJ(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let m=[],g,E,b;if((!t||i(s,u,c[c.length-1]||null))&&(m=hJ(n(s,c)),m[0]===Ab))return m;if(s.children&&m[0]!==Cd)for(E=(r?s.children.length:-1)+a,b=c.concat(s);E>-1&&E{const i=wC(r.identifier);i&&!SC.call(t,i)&&(t[i]=r)}),n;function n(r){const i=wC(r);return i&&SC.call(t,i)?t[i]:null}}function wC(e){return String(e||"").toUpperCase()}const ag={}.hasOwnProperty;function bJ(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return o.dangerous=r,o.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteLabelTagName=n.footnoteLabelTagName||"h2",o.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,o.handlers={...lJ,...n.handlers},o.definition=mJ(e),o.footnoteById=i,o.footnoteOrder=[],o.footnoteCounts={},o.patch=EJ,o.applyData=vJ,o.one=s,o.all=u,o.wrap=_J,o.augment=a,Ui(e,"footnoteDefinition",c=>{const p=String(c.identifier).toUpperCase();ag.call(i,p)||(i[p]=c)}),o;function a(c,p){if(c&&"data"in c&&c.data){const f=c.data;f.hName&&(p.type!=="element"&&(p={type:"element",tagName:"",properties:{},children:[]}),p.tagName=f.hName),p.type==="element"&&f.hProperties&&(p.properties={...p.properties,...f.hProperties}),"children"in p&&p.children&&f.hChildren&&(p.children=f.hChildren)}if(c){const f="type"in c?c:{position:c};gJ(f)||(p.position={start:Ip(f),end:A2(f)})}return p}function o(c,p,f,m){return Array.isArray(f)&&(m=f,f={}),a(c,{type:"element",tagName:p,properties:f||{},children:m||[]})}function s(c,p){return BD(o,c,p)}function u(c){return PE(o,c)}}function EJ(e,t){e.position&&(t.position=tJ(e))}function vJ(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&a&&(n.properties={...n.properties,...a}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function BD(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return ag.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:PE(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):yJ(e,t)}function PE(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i0&&n.push({type:"text",value:` +`}),n}function TJ(e){const t=[];let n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(f)}const c=i[i.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const f=c.children[c.children.length-1];f&&f.type==="text"?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...u)}else i.push(...u);const p={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:e.wrap(i,!0)};e.patch(r,p),t.push(p)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` +`},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:` +`}]}}function UD(e,t){const n=bJ(e,t),r=n.one(e,null),i=TJ(n);return i&&r.children.push({type:"text",value:` +`},i),Array.isArray(r)?{type:"root",children:r}:r}const SJ=function(e,t){return e&&"run"in e?AJ(e,t):CJ(e||t)},wJ=SJ;function AJ(e,t){return(n,r,i)=>{e.run(UD(n,t),r,a=>{i(a)})}}function CJ(e){return t=>UD(t,e)}var $D={exports:{}},xJ="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",kJ=xJ,IJ=kJ;function zD(){}function HD(){}HD.resetWarningCache=zD;var RJ=function(){function e(r,i,a,o,s,u){if(u!==IJ){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:HD,resetWarningCache:zD};return n.PropTypes=n,n};$D.exports=RJ();var NJ=$D.exports;const Ee=Hi(NJ);class Rp{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Rp.prototype.property={};Rp.prototype.normal={};Rp.prototype.space=null;function jD(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&FJ.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(CC,UJ);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!CC.test(a)){let o=a.replace(PJ,BJ);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=BE}return new i(r,t)}function BJ(e){return"-"+e.toLowerCase()}function UJ(e){return e.charAt(1).toUpperCase()}const xC={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Tu=jD([WD,VD,YD,XD,LJ],"html"),yl=jD([WD,VD,YD,XD,MJ],"svg");function $J(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{Ui(t,"element",(n,r,i)=>{const a=i;let o;if(e.allowedElements?o=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(n.tagName)),!o&&e.allowElement&&typeof r=="number"&&(o=!e.allowElement(n,r,a)),o&&typeof r=="number")return e.unwrapDisallowed&&n.children?a.children.splice(r,1,...n.children):a.children.splice(r,1),r})}}function ZD(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function og(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function UE(e){return e.join(" ").trim()}function lp(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const o=n.slice(i,r).trim();(o||!a)&&t.push(o),i=r+1,r=n.indexOf(",",i)}return t}function $E(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var zE={exports:{}},kC=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,zJ=/\n/g,HJ=/^\s*/,jJ=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,GJ=/^:\s*/,VJ=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,WJ=/^[;\s]*/,qJ=/^\s+|\s+$/g,KJ=` +`,IC="/",RC="*",Kl="",YJ="comment",XJ="declaration",ZJ=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(E){var b=E.match(zJ);b&&(n+=b.length);var T=E.lastIndexOf(KJ);r=~T?E.length-T:r+E.length}function a(){var E={line:n,column:r};return function(b){return b.position=new o(E),c(),b}}function o(E){this.start=E,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(E){var b=new Error(t.source+":"+n+":"+r+": "+E);if(b.reason=E,b.filename=t.source,b.line=n,b.column=r,b.source=e,!t.silent)throw b}function u(E){var b=E.exec(e);if(b){var T=b[0];return i(T),e=e.slice(T.length),b}}function c(){u(HJ)}function p(E){var b;for(E=E||[];b=f();)b!==!1&&E.push(b);return E}function f(){var E=a();if(!(IC!=e.charAt(0)||RC!=e.charAt(1))){for(var b=2;Kl!=e.charAt(b)&&(RC!=e.charAt(b)||IC!=e.charAt(b+1));)++b;if(b+=2,Kl===e.charAt(b-1))return s("End of comment missing");var T=e.slice(2,b-2);return r+=2,i(T),e=e.slice(b),r+=2,E({type:YJ,comment:T})}}function m(){var E=a(),b=u(jJ);if(b){if(f(),!u(GJ))return s("property missing ':'");var T=u(VJ),v=E({type:XJ,property:NC(b[0].replace(kC,Kl)),value:T?NC(T[0].replace(kC,Kl)):Kl});return u(WJ),v}}function g(){var E=[];p(E);for(var b;b=m();)b!==!1&&(E.push(b),p(E));return E}return c(),g()};function NC(e){return e?e.replace(qJ,Kl):Kl}var QJ=ZJ;function QD(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=QJ(e),a=typeof t=="function",o,s,u=0,c=i.length;u0?ut.createElement(g,u,f):ut.createElement(g,u)}function ree(e){let t=-1;for(;++t for more info)`),delete p0[a]}const t=RX().use(MQ).use(e.remarkPlugins||[]).use(wJ,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use($J,e),n=new hD;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=ut.createElement(ut.Fragment,{},JD({options:e,schema:Tu,listDepth:0},r));return e.className&&(i=ut.createElement("div",{className:e.className},i)),i}HE.propTypes={children:Ee.string,className:Ee.string,allowElement:Ee.func,allowedElements:Ee.arrayOf(Ee.string),disallowedElements:Ee.arrayOf(Ee.string),unwrapDisallowed:Ee.bool,remarkPlugins:Ee.arrayOf(Ee.oneOfType([Ee.object,Ee.func,Ee.arrayOf(Ee.oneOfType([Ee.bool,Ee.string,Ee.object,Ee.func,Ee.arrayOf(Ee.any)]))])),rehypePlugins:Ee.arrayOf(Ee.oneOfType([Ee.object,Ee.func,Ee.arrayOf(Ee.oneOfType([Ee.bool,Ee.string,Ee.object,Ee.func,Ee.arrayOf(Ee.any)]))])),sourcePos:Ee.bool,rawSourcePos:Ee.bool,skipHtml:Ee.bool,includeElementIndex:Ee.bool,transformLinkUri:Ee.oneOfType([Ee.func,Ee.bool]),linkTarget:Ee.oneOfType([Ee.func,Ee.string]),transformImageUri:Ee.func,components:Ee.object};const uee={tokenize:gee,partial:!0},eL={tokenize:mee,partial:!0},tL={tokenize:bee,partial:!0},nL={tokenize:Eee,partial:!0},cee={tokenize:vee,partial:!0},rL={tokenize:fee,previous:aL},iL={tokenize:hee,previous:oL},ss={tokenize:pee,previous:sL},_o={},dee={text:_o};let Ml=48;for(;Ml<123;)_o[Ml]=ss,Ml++,Ml===58?Ml=65:Ml===91&&(Ml=97);_o[43]=ss;_o[45]=ss;_o[46]=ss;_o[95]=ss;_o[72]=[ss,iL];_o[104]=[ss,iL];_o[87]=[ss,rL];_o[119]=[ss,rL];function pee(e,t,n){const r=this;let i,a;return o;function o(f){return!kb(f)||!sL.call(r,r.previous)||jE(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(f))}function s(f){return kb(f)?(e.consume(f),s):f===64?(e.consume(f),u):n(f)}function u(f){return f===46?e.check(cee,p,c)(f):f===45||f===95||$r(f)?(a=!0,e.consume(f),u):p(f)}function c(f){return e.consume(f),i=!0,u}function p(f){return a&&i&&Qr(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function fee(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!aL.call(r,r.previous)||jE(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(uee,e.attempt(eL,e.attempt(tL,a),n),n)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function hee(e,t,n){const r=this;let i="",a=!1;return o;function o(f){return(f===72||f===104)&&oL.call(r,r.previous)&&!jE(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),s):n(f)}function s(f){if(Qr(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),s;if(f===58){const m=i.toLowerCase();if(m==="http"||m==="https")return e.consume(f),u}return n(f)}function u(f){return f===47?(e.consume(f),a?c:(a=!0,u)):n(f)}function c(f){return f===null||rg(f)||hn(f)||hu(f)||S2(f)?n(f):e.attempt(eL,e.attempt(tL,p),n)(f)}function p(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function gee(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),a):n(o)}function a(o){return o===null?n(o):t(o)}}function mee(e,t,n){let r,i,a;return o;function o(c){return c===46||c===95?e.check(nL,u,s)(c):c===null||hn(c)||hu(c)||c!==45&&S2(c)?u(c):(a=!0,e.consume(c),o)}function s(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),o}function u(c){return i||r||!a?n(c):t(c)}}function bee(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const yee={tokenize:kee,partial:!0};function _ee(){return{document:{91:{tokenize:Aee,continuation:{tokenize:Cee},exit:xee}},text:{91:{tokenize:wee},93:{add:"after",tokenize:Tee,resolveTo:See}}}}function Tee(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return s;function s(u){if(!o||!o._balanced)return n(u);const c=Ha(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function See(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function wee(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return s;function s(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(a>999||f===93&&!o||f===null||f===91||hn(f))return n(f);if(f===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return i.includes(Ha(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return hn(f)||(o=!0),a++,e.consume(f),f===92?p:c}function p(f){return f===91||f===92||f===93?(e.consume(f),a++,c):c(f)}}function Aee(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,s;return u;function u(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(E)}function p(E){if(o>999||E===93&&!s||E===null||E===91||hn(E))return n(E);if(E===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return a=Ha(r.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return hn(E)||(s=!0),o++,e.consume(E),E===92?f:p}function f(E){return E===91||E===92||E===93?(e.consume(E),o++,p):p(E)}function m(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),i.includes(a)||i.push(a),Gt(e,g,"gfmFootnoteDefinitionWhitespace")):n(E)}function g(E){return t(E)}}function Cee(e,t,n){return e.check(kp,t,e.attempt(yee,t,n))}function xee(e){e.exit("gfmFootnoteDefinition")}function kee(e,t,n){const r=this;return Gt(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function Iee(e){let n=(e||{}).singleTilde;const r={tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,s){let u=-1;for(;++u1?u(E):(o.consume(E),f++,g);if(f<2&&!n)return u(E);const T=o.exit("strikethroughSequenceTemporary"),v=ig(E);return T._open=!v||v===2&&!!b,T._close=!b||b===2&&!!v,s(E)}}}class Ree{constructor(){this.map=[]}add(t,n,r){Nee(this,t,n,r)}consume(t){if(this.map.sort((a,o)=>a[0]-o[0]),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1])),r.push(this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function Nee(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const he=r.events[Q][1].type;if(he==="lineEnding"||he==="linePrefix")Q--;else break}const z=Q>-1?r.events[Q][1].type:null,le=z==="tableHead"||z==="tableRow"?k:u;return le===k&&r.parser.lazy[r.now().line]?n(P):le(P)}function u(P){return e.enter("tableHead"),e.enter("tableRow"),c(P)}function c(P){return P===124||(o=!0,a+=1),p(P)}function p(P){return P===null?n(P):gt(P)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),g):n(P):Dt(P)?Gt(e,p,"whitespace")(P):(a+=1,o&&(o=!1,i+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),f(P)))}function f(P){return P===null||P===124||hn(P)?(e.exit("data"),p(P)):(e.consume(P),P===92?m:f)}function m(P){return P===92||P===124?(e.consume(P),f):f(P)}function g(P){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(P):(e.enter("tableDelimiterRow"),o=!1,Dt(P)?Gt(e,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):E(P))}function E(P){return P===45||P===58?T(P):P===124?(o=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),b):D(P)}function b(P){return Dt(P)?Gt(e,T,"whitespace")(P):T(P)}function T(P){return P===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),v):P===45?(a+=1,v(P)):P===null||gt(P)?A(P):D(P)}function v(P){return P===45?(e.enter("tableDelimiterFiller"),y(P)):D(P)}function y(P){return P===45?(e.consume(P),y):P===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(P))}function w(P){return Dt(P)?Gt(e,A,"whitespace")(P):A(P)}function A(P){return P===124?E(P):P===null||gt(P)?!o||i!==a?D(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(P)):D(P)}function D(P){return n(P)}function k(P){return e.enter("tableRow"),R(P)}function R(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),R):P===null||gt(P)?(e.exit("tableRow"),t(P)):Dt(P)?Gt(e,R,"whitespace")(P):(e.enter("data"),B(P))}function B(P){return P===null||P===124||hn(P)?(e.exit("data"),R(P)):(e.consume(P),P===92?W:B)}function W(P){return P===92||P===124?(e.consume(P),B):B(P)}}function Mee(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,u=0,c,p,f;const m=new Ree;for(;++nn[2]+1){const E=n[2]+1,b=n[3]-n[2]-1;e.add(E,b,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(a.end=Object.assign({},e1(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function DC(e,t,n,r,i){const a=[],o=e1(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function e1(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Fee={tokenize:Bee},Pee={text:{91:Fee}};function Bee(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),a)}function a(u){return hn(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):n(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(u)}function s(u){return gt(u)?t(u):Dt(u)?e.check({tokenize:Uee},t,n)(u):n(u)}}function Uee(e,t,n){return Gt(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function $ee(e){return vD([dee,_ee(),Iee(e),Dee,Pee])}function LC(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function zee(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Hee={}.hasOwnProperty,jee=function(e,t,n,r){let i,a;typeof t=="string"||t instanceof RegExp?(a=[[t,n]],i=r):(a=t,i=n),i||(i={});const o=C2(i.ignore||[]),s=Gee(a);let u=-1;for(;++u0?{type:"text",value:R}:void 0),R!==!1&&(T!==D&&w.push({type:"text",value:f.value.slice(T,D)}),Array.isArray(R)?w.push(...R):R&&w.push(R),T=D+A[0].length,y=!0),!E.global)break;A=E.exec(f.value)}return y?(Te}const f3="phrasing",h3=["autolink","link","image","label"],Vee={transforms:[Qee],enter:{literalAutolink:qee,literalAutolinkEmail:g3,literalAutolinkHttp:g3,literalAutolinkWww:g3},exit:{literalAutolink:Zee,literalAutolinkEmail:Xee,literalAutolinkHttp:Kee,literalAutolinkWww:Yee}},Wee={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:f3,notInConstruct:h3},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:f3,notInConstruct:h3},{character:":",before:"[ps]",after:"\\/",inConstruct:f3,notInConstruct:h3}]};function qee(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function g3(e){this.config.enter.autolinkProtocol.call(this,e)}function Kee(e){this.config.exit.autolinkProtocol.call(this,e)}function Yee(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function Xee(e){this.config.exit.autolinkEmail.call(this,e)}function Zee(e){this.exit(e)}function Qee(e){jee(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Jee],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,ete]],{ignore:["link","linkReference"]})}function Jee(e,t,n,r,i){let a="";if(!lL(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!tte(n)))return!1;const o=nte(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function ete(e,t,n,r){return!lL(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function tte(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function nte(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=LC(e,"(");let a=LC(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function lL(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||hu(n)||S2(n))&&(!t||n!==47)}function uL(e){return e.label||!e.identifier?e.label||"":RD(e.identifier)}function rte(e,t,n){const r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[];let s=-1;for(r.push(-1);++s -`; - } - return ` +`}return` -`; -} -const ate = /\r?\n|\r/g; -function ote(e, t) { - const n = []; - let r = 0, - i = 0, - a; - for (; (a = ate.exec(e)); ) - o(e.slice(r, a.index)), n.push(a[0]), (r = a.index + a[0].length), i++; - return o(e.slice(r)), n.join(""); - function o(s) { - n.push(t(s, i, !s)); - } -} -function cL(e) { - if (!e._compiled) { - const t = - (e.atBreak ? "[\\r\\n][\\t ]*" : "") + - (e.before ? "(?:" + e.before + ")" : ""); - e._compiled = new RegExp( - (t ? "(" + t + ")" : "") + - (/[|\\{}()[\]^$+*?.-]/.test(e.character) ? "\\" : "") + - e.character + - (e.after ? "(?:" + e.after + ")" : ""), - "g" - ); - } - return e._compiled; -} -function ste(e, t) { - return PC(e, t.inConstruct, !0) && !PC(e, t.notInConstruct, !1); -} -function PC(e, t, n) { - if ((typeof t == "string" && (t = [t]), !t || t.length === 0)) return n; - let r = -1; - for (; ++r < t.length; ) if (e.includes(t[r])) return !0; - return !1; -} -function dL(e, t, n) { - const r = (n.before || "") + (t || "") + (n.after || ""), - i = [], - a = [], - o = {}; - let s = -1; - for (; ++s < e.unsafe.length; ) { - const p = e.unsafe[s]; - if (!ste(e.stack, p)) continue; - const f = cL(p); - let m; - for (; (m = f.exec(r)); ) { - const g = "before" in p || !!p.atBreak, - E = "after" in p, - b = m.index + (g ? m[1].length : 0); - i.includes(b) - ? (o[b].before && !g && (o[b].before = !1), - o[b].after && !E && (o[b].after = !1)) - : (i.push(b), (o[b] = { before: g, after: E })); - } - } - i.sort(lte); - let u = n.before ? n.before.length : 0; - const c = r.length - (n.after ? n.after.length : 0); - for (s = -1; ++s < i.length; ) { - const p = i[s]; - p < u || - p >= c || - (p + 1 < c && - i[s + 1] === p + 1 && - o[p].after && - !o[p + 1].before && - !o[p + 1].after) || - (i[s - 1] === p - 1 && - o[p].before && - !o[p - 1].before && - !o[p - 1].after) || - (u !== p && a.push(BC(r.slice(u, p), "\\")), - (u = p), - /[!-/:-@[-`{-~]/.test(r.charAt(p)) && - (!n.encode || !n.encode.includes(r.charAt(p))) - ? a.push("\\") - : (a.push("&#x" + r.charCodeAt(p).toString(16).toUpperCase() + ";"), - u++)); - } - return a.push(BC(r.slice(u, c), n.after)), a.join(""); -} -function lte(e, t) { - return e - t; -} -function BC(e, t) { - const n = /\\(?=[!-/:-@[-`{-~])/g, - r = [], - i = [], - a = e + t; - let o = -1, - s = 0, - u; - for (; (u = n.exec(a)); ) r.push(u.index); - for (; ++o < r.length; ) - s !== r[o] && i.push(e.slice(s, r[o])), i.push("\\"), (s = r[o]); - return i.push(e.slice(s)), i.join(""); -} -function k2(e) { - const t = e || {}, - n = t.now || {}; - let r = t.lineShift || 0, - i = n.line || 1, - a = n.column || 1; - return { move: u, current: o, shift: s }; - function o() { - return { now: { line: i, column: a }, lineShift: r }; - } - function s(c) { - r += c; - } - function u(c) { - const p = c || "", - f = p.split(/\r?\n|\r/g), - m = f[f.length - 1]; - return ( - (i += f.length - 1), - (a = f.length === 1 ? a + m.length : 1 + m.length + r), - p - ); - } -} -pL.peek = vte; -function ute() { - return { - enter: { - gfmFootnoteDefinition: dte, - gfmFootnoteDefinitionLabelString: pte, - gfmFootnoteCall: gte, - gfmFootnoteCallString: mte, - }, - exit: { - gfmFootnoteDefinition: hte, - gfmFootnoteDefinitionLabelString: fte, - gfmFootnoteCall: Ete, - gfmFootnoteCallString: bte, - }, - }; -} -function cte() { - return { - unsafe: [ - { character: "[", inConstruct: ["phrasing", "label", "reference"] }, - ], - handlers: { footnoteDefinition: yte, footnoteReference: pL }, - }; -} -function dte(e) { - this.enter( - { type: "footnoteDefinition", identifier: "", label: "", children: [] }, - e - ); -} -function pte() { - this.buffer(); -} -function fte(e) { - const t = this.resume(), - n = this.stack[this.stack.length - 1]; - (n.label = t), (n.identifier = Ha(this.sliceSerialize(e)).toLowerCase()); -} -function hte(e) { - this.exit(e); -} -function gte(e) { - this.enter({ type: "footnoteReference", identifier: "", label: "" }, e); -} -function mte() { - this.buffer(); -} -function bte(e) { - const t = this.resume(), - n = this.stack[this.stack.length - 1]; - (n.label = t), (n.identifier = Ha(this.sliceSerialize(e)).toLowerCase()); -} -function Ete(e) { - this.exit(e); -} -function pL(e, t, n, r) { - const i = k2(r); - let a = i.move("[^"); - const o = n.enter("footnoteReference"), - s = n.enter("reference"); - return ( - (a += i.move(dL(n, uL(e), { ...i.current(), before: a, after: "]" }))), - s(), - o(), - (a += i.move("]")), - a - ); -} -function vte() { - return "["; -} -function yte(e, t, n, r) { - const i = k2(r); - let a = i.move("[^"); - const o = n.enter("footnoteDefinition"), - s = n.enter("label"); - return ( - (a += i.move(dL(n, uL(e), { ...i.current(), before: a, after: "]" }))), - s(), - (a += i.move("]:" + (e.children && e.children.length > 0 ? " " : ""))), - i.shift(4), - (a += i.move(ote(rte(e, n, i.current()), _te))), - o(), - a - ); -} -function _te(e, t, n) { - return t === 0 ? e : (n ? "" : " ") + e; -} -function fL(e, t, n) { - const r = t.indexStack, - i = e.children || [], - a = []; - let o = -1, - s = n.before; - r.push(-1); - let u = t.createTracker(n); - for (; ++o < i.length; ) { - const c = i[o]; - let p; - if (((r[r.length - 1] = o), o + 1 < i.length)) { - let f = t.handle.handlers[i[o + 1].type]; - f && f.peek && (f = f.peek), - (p = f - ? f(i[o + 1], e, t, { before: "", after: "", ...u.current() }).charAt( - 0 - ) - : ""); - } else p = n.after; - a.length > 0 && - (s === "\r" || - s === - ` -`) && - c.type === "html" && - ((a[a.length - 1] = a[a.length - 1].replace(/(\r?\n|\r)$/, " ")), - (s = " "), - (u = t.createTracker(n)), - u.move(a.join(""))), - a.push( - u.move(t.handle(c, e, t, { ...u.current(), before: s, after: p })) - ), - (s = a[a.length - 1].slice(-1)); - } - return r.pop(), a.join(""); -} -const Tte = [ - "autolink", - "destinationLiteral", - "destinationRaw", - "reference", - "titleQuote", - "titleApostrophe", -]; -hL.peek = xte; -const Ste = { - canContainEols: ["delete"], - enter: { strikethrough: Ate }, - exit: { strikethrough: Cte }, - }, - wte = { - unsafe: [{ character: "~", inConstruct: "phrasing", notInConstruct: Tte }], - handlers: { delete: hL }, - }; -function Ate(e) { - this.enter({ type: "delete", children: [] }, e); -} -function Cte(e) { - this.exit(e); -} -function hL(e, t, n, r) { - const i = k2(r), - a = n.enter("strikethrough"); - let o = i.move("~~"); - return ( - (o += fL(e, n, { ...i.current(), before: o, after: "~" })), - (o += i.move("~~")), - a(), - o - ); -} -function xte() { - return "~"; -} -gL.peek = kte; -function gL(e, t, n) { - let r = e.value || "", - i = "`", - a = -1; - for (; new RegExp("(^|[^`])" + i + "([^`]|$)").test(r); ) i += "`"; - for ( - /[^ \r\n]/.test(r) && - ((/^[ \r\n]/.test(r) && /[ \r\n]$/.test(r)) || /^`|`$/.test(r)) && - (r = " " + r + " "); - ++a < n.unsafe.length; - - ) { - const o = n.unsafe[a], - s = cL(o); - let u; - if (o.atBreak) - for (; (u = s.exec(r)); ) { - let c = u.index; - r.charCodeAt(c) === 10 && r.charCodeAt(c - 1) === 13 && c--, - (r = r.slice(0, c) + " " + r.slice(u.index + 1)); - } - } - return i + r + i; -} -function kte() { - return "`"; -} -function Ite(e, t = {}) { - const n = (t.align || []).concat(), - r = t.stringLength || Nte, - i = [], - a = [], - o = [], - s = []; - let u = 0, - c = -1; - for (; ++c < e.length; ) { - const E = [], - b = []; - let T = -1; - for (e[c].length > u && (u = e[c].length); ++T < e[c].length; ) { - const v = Rte(e[c][T]); - if (t.alignDelimiters !== !1) { - const y = r(v); - (b[T] = y), (s[T] === void 0 || y > s[T]) && (s[T] = y); - } - E.push(v); - } - (a[c] = E), (o[c] = b); - } - let p = -1; - if (typeof n == "object" && "length" in n) for (; ++p < u; ) i[p] = UC(n[p]); - else { - const E = UC(n); - for (; ++p < u; ) i[p] = E; - } - p = -1; - const f = [], - m = []; - for (; ++p < u; ) { - const E = i[p]; - let b = "", - T = ""; - E === 99 - ? ((b = ":"), (T = ":")) - : E === 108 - ? (b = ":") - : E === 114 && (T = ":"); - let v = - t.alignDelimiters === !1 ? 1 : Math.max(1, s[p] - b.length - T.length); - const y = b + "-".repeat(v) + T; - t.alignDelimiters !== !1 && - ((v = b.length + v + T.length), v > s[p] && (s[p] = v), (m[p] = v)), - (f[p] = y); - } - a.splice(1, 0, f), o.splice(1, 0, m), (c = -1); - const g = []; - for (; ++c < a.length; ) { - const E = a[c], - b = o[c]; - p = -1; - const T = []; - for (; ++p < u; ) { - const v = E[p] || ""; - let y = "", - w = ""; - if (t.alignDelimiters !== !1) { - const A = s[p] - (b[p] || 0), - D = i[p]; - D === 114 - ? (y = " ".repeat(A)) - : D === 99 - ? A % 2 - ? ((y = " ".repeat(A / 2 + 0.5)), (w = " ".repeat(A / 2 - 0.5))) - : ((y = " ".repeat(A / 2)), (w = y)) - : (w = " ".repeat(A)); - } - t.delimiterStart !== !1 && !p && T.push("|"), - t.padding !== !1 && - !(t.alignDelimiters === !1 && v === "") && - (t.delimiterStart !== !1 || p) && - T.push(" "), - t.alignDelimiters !== !1 && T.push(y), - T.push(v), - t.alignDelimiters !== !1 && T.push(w), - t.padding !== !1 && T.push(" "), - (t.delimiterEnd !== !1 || p !== u - 1) && T.push("|"); - } - g.push(t.delimiterEnd === !1 ? T.join("").replace(/ +$/, "") : T.join("")); - } - return g.join(` -`); -} -function Rte(e) { - return e == null ? "" : String(e); -} -function Nte(e) { - return e.length; -} -function UC(e) { - const t = typeof e == "string" ? e.codePointAt(0) : 0; - return t === 67 || t === 99 - ? 99 - : t === 76 || t === 108 - ? 108 - : t === 82 || t === 114 - ? 114 - : 0; -} -const Ote = { - enter: { table: Dte, tableData: $C, tableHeader: $C, tableRow: Mte }, - exit: { - codeText: Fte, - table: Lte, - tableData: m3, - tableHeader: m3, - tableRow: m3, - }, -}; -function Dte(e) { - const t = e._align; - this.enter( - { - type: "table", - align: t.map((n) => (n === "none" ? null : n)), - children: [], - }, - e - ), - this.setData("inTable", !0); -} -function Lte(e) { - this.exit(e), this.setData("inTable"); -} -function Mte(e) { - this.enter({ type: "tableRow", children: [] }, e); -} -function m3(e) { - this.exit(e); -} -function $C(e) { - this.enter({ type: "tableCell", children: [] }, e); -} -function Fte(e) { - let t = this.resume(); - this.getData("inTable") && (t = t.replace(/\\([\\|])/g, Pte)); - const n = this.stack[this.stack.length - 1]; - (n.value = t), this.exit(e); -} -function Pte(e, t) { - return t === "|" ? t : e; -} -function Bte(e) { - const t = e || {}, - n = t.tableCellPadding, - r = t.tablePipeAlign, - i = t.stringLength, - a = n ? " " : "|"; - return { - unsafe: [ - { character: "\r", inConstruct: "tableCell" }, - { - character: ` -`, - inConstruct: "tableCell", - }, - { atBreak: !0, character: "|", after: "[ :-]" }, - { character: "|", inConstruct: "tableCell" }, - { atBreak: !0, character: ":", after: "-" }, - { atBreak: !0, character: "-", after: "[:|-]" }, - ], - handlers: { table: o, tableRow: s, tableCell: u, inlineCode: m }, - }; - function o(g, E, b, T) { - return c(p(g, b, T), g.align); - } - function s(g, E, b, T) { - const v = f(g, b, T), - y = c([v]); - return y.slice( - 0, - y.indexOf(` -`) - ); - } - function u(g, E, b, T) { - const v = b.enter("tableCell"), - y = b.enter("phrasing"), - w = fL(g, b, { ...T, before: a, after: a }); - return y(), v(), w; - } - function c(g, E) { - return Ite(g, { - align: E, - alignDelimiters: r, - padding: n, - stringLength: i, - }); - } - function p(g, E, b) { - const T = g.children; - let v = -1; - const y = [], - w = E.enter("table"); - for (; ++v < T.length; ) y[v] = f(T[v], E, b); - return w(), y; - } - function f(g, E, b) { - const T = g.children; - let v = -1; - const y = [], - w = E.enter("tableRow"); - for (; ++v < T.length; ) y[v] = u(T[v], g, E, b); - return w(), y; - } - function m(g, E, b) { - let T = gL(g, E, b); - return b.stack.includes("tableCell") && (T = T.replace(/\|/g, "\\$&")), T; - } -} -function Ute(e) { - const t = e.options.bullet || "*"; - if (t !== "*" && t !== "+" && t !== "-") - throw new Error( - "Cannot serialize items with `" + - t + - "` for `options.bullet`, expected `*`, `+`, or `-`" - ); - return t; -} -function $te(e) { - const t = e.options.listItemIndent || "tab"; - if (t === 1 || t === "1") return "one"; - if (t !== "tab" && t !== "one" && t !== "mixed") - throw new Error( - "Cannot serialize items with `" + - t + - "` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`" - ); - return t; -} -function zte(e, t, n, r) { - const i = $te(n); - let a = n.bulletCurrent || Ute(n); - t && - t.type === "list" && - t.ordered && - (a = - (typeof t.start == "number" && t.start > -1 ? t.start : 1) + - (n.options.incrementListMarker === !1 ? 0 : t.children.indexOf(e)) + - a); - let o = a.length + 1; - (i === "tab" || - (i === "mixed" && ((t && t.type === "list" && t.spread) || e.spread))) && - (o = Math.ceil(o / 4) * 4); - const s = n.createTracker(r); - s.move(a + " ".repeat(o - a.length)), s.shift(o); - const u = n.enter("listItem"), - c = n.indentLines(n.containerFlow(e, s.current()), p); - return u(), c; - function p(f, m, g) { - return m - ? (g ? "" : " ".repeat(o)) + f - : (g ? a : a + " ".repeat(o - a.length)) + f; - } -} -const Hte = { - exit: { - taskListCheckValueChecked: zC, - taskListCheckValueUnchecked: zC, - paragraph: Gte, - }, - }, - jte = { - unsafe: [{ atBreak: !0, character: "-", after: "[:|-]" }], - handlers: { listItem: Vte }, - }; -function zC(e) { - const t = this.stack[this.stack.length - 2]; - t.checked = e.type === "taskListCheckValueChecked"; -} -function Gte(e) { - const t = this.stack[this.stack.length - 2]; - if (t && t.type === "listItem" && typeof t.checked == "boolean") { - const n = this.stack[this.stack.length - 1], - r = n.children[0]; - if (r && r.type === "text") { - const i = t.children; - let a = -1, - o; - for (; ++a < i.length; ) { - const s = i[a]; - if (s.type === "paragraph") { - o = s; - break; - } - } - o === n && - ((r.value = r.value.slice(1)), - r.value.length === 0 - ? n.children.shift() - : n.position && - r.position && - typeof r.position.start.offset == "number" && - (r.position.start.column++, - r.position.start.offset++, - (n.position.start = Object.assign({}, r.position.start)))); - } - } - this.exit(e); -} -function Vte(e, t, n, r) { - const i = e.children[0], - a = typeof e.checked == "boolean" && i && i.type === "paragraph", - o = "[" + (e.checked ? "x" : " ") + "] ", - s = k2(r); - a && s.move(o); - let u = zte(e, t, n, { ...r, ...s.current() }); - return a && (u = u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/, c)), u; - function c(p) { - return p + o; - } -} -function Wte() { - return [Vee, ute(), Ste, Ote, Hte]; -} -function qte(e) { - return { extensions: [Wee, cte(), wte, Bte(e), jte] }; -} -function Kte(e = {}) { - const t = this.data(); - n("micromarkExtensions", $ee(e)), - n("fromMarkdownExtensions", Wte()), - n("toMarkdownExtensions", qte(e)); - function n(r, i) { - (t[r] ? t[r] : (t[r] = [])).push(i); - } -} -var Va = {}; -const Yte = [ - 65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, - 393214, 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, - 655359, 720894, 720895, 786430, 786431, 851966, 851967, 917502, 917503, - 983038, 983039, 1048574, 1048575, 1114110, 1114111, -]; -Va.REPLACEMENT_CHARACTER = "�"; -Va.CODE_POINTS = { - EOF: -1, - NULL: 0, - TABULATION: 9, - CARRIAGE_RETURN: 13, - LINE_FEED: 10, - FORM_FEED: 12, - SPACE: 32, - EXCLAMATION_MARK: 33, - QUOTATION_MARK: 34, - NUMBER_SIGN: 35, - AMPERSAND: 38, - APOSTROPHE: 39, - HYPHEN_MINUS: 45, - SOLIDUS: 47, - DIGIT_0: 48, - DIGIT_9: 57, - SEMICOLON: 59, - LESS_THAN_SIGN: 60, - EQUALS_SIGN: 61, - GREATER_THAN_SIGN: 62, - QUESTION_MARK: 63, - LATIN_CAPITAL_A: 65, - LATIN_CAPITAL_F: 70, - LATIN_CAPITAL_X: 88, - LATIN_CAPITAL_Z: 90, - RIGHT_SQUARE_BRACKET: 93, - GRAVE_ACCENT: 96, - LATIN_SMALL_A: 97, - LATIN_SMALL_F: 102, - LATIN_SMALL_X: 120, - LATIN_SMALL_Z: 122, - REPLACEMENT_CHARACTER: 65533, -}; -Va.CODE_POINT_SEQUENCES = { - DASH_DASH_STRING: [45, 45], - DOCTYPE_STRING: [68, 79, 67, 84, 89, 80, 69], - CDATA_START_STRING: [91, 67, 68, 65, 84, 65, 91], - SCRIPT_STRING: [115, 99, 114, 105, 112, 116], - PUBLIC_STRING: [80, 85, 66, 76, 73, 67], - SYSTEM_STRING: [83, 89, 83, 84, 69, 77], -}; -Va.isSurrogate = function (e) { - return e >= 55296 && e <= 57343; -}; -Va.isSurrogatePair = function (e) { - return e >= 56320 && e <= 57343; -}; -Va.getSurrogatePairCodePoint = function (e, t) { - return (e - 55296) * 1024 + 9216 + t; -}; -Va.isControlCodePoint = function (e) { - return ( - (e !== 32 && - e !== 10 && - e !== 13 && - e !== 9 && - e !== 12 && - e >= 1 && - e <= 31) || - (e >= 127 && e <= 159) - ); -}; -Va.isUndefinedCodePoint = function (e) { - return (e >= 64976 && e <= 65007) || Yte.indexOf(e) > -1; -}; -var GE = { - controlCharacterInInputStream: "control-character-in-input-stream", - noncharacterInInputStream: "noncharacter-in-input-stream", - surrogateInInputStream: "surrogate-in-input-stream", - nonVoidHtmlElementStartTagWithTrailingSolidus: - "non-void-html-element-start-tag-with-trailing-solidus", - endTagWithAttributes: "end-tag-with-attributes", - endTagWithTrailingSolidus: "end-tag-with-trailing-solidus", - unexpectedSolidusInTag: "unexpected-solidus-in-tag", - unexpectedNullCharacter: "unexpected-null-character", - unexpectedQuestionMarkInsteadOfTagName: - "unexpected-question-mark-instead-of-tag-name", - invalidFirstCharacterOfTagName: "invalid-first-character-of-tag-name", - unexpectedEqualsSignBeforeAttributeName: - "unexpected-equals-sign-before-attribute-name", - missingEndTagName: "missing-end-tag-name", - unexpectedCharacterInAttributeName: "unexpected-character-in-attribute-name", - unknownNamedCharacterReference: "unknown-named-character-reference", - missingSemicolonAfterCharacterReference: - "missing-semicolon-after-character-reference", - unexpectedCharacterAfterDoctypeSystemIdentifier: - "unexpected-character-after-doctype-system-identifier", - unexpectedCharacterInUnquotedAttributeValue: - "unexpected-character-in-unquoted-attribute-value", - eofBeforeTagName: "eof-before-tag-name", - eofInTag: "eof-in-tag", - missingAttributeValue: "missing-attribute-value", - missingWhitespaceBetweenAttributes: "missing-whitespace-between-attributes", - missingWhitespaceAfterDoctypePublicKeyword: - "missing-whitespace-after-doctype-public-keyword", - missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers: - "missing-whitespace-between-doctype-public-and-system-identifiers", - missingWhitespaceAfterDoctypeSystemKeyword: - "missing-whitespace-after-doctype-system-keyword", - missingQuoteBeforeDoctypePublicIdentifier: - "missing-quote-before-doctype-public-identifier", - missingQuoteBeforeDoctypeSystemIdentifier: - "missing-quote-before-doctype-system-identifier", - missingDoctypePublicIdentifier: "missing-doctype-public-identifier", - missingDoctypeSystemIdentifier: "missing-doctype-system-identifier", - abruptDoctypePublicIdentifier: "abrupt-doctype-public-identifier", - abruptDoctypeSystemIdentifier: "abrupt-doctype-system-identifier", - cdataInHtmlContent: "cdata-in-html-content", - incorrectlyOpenedComment: "incorrectly-opened-comment", - eofInScriptHtmlCommentLikeText: "eof-in-script-html-comment-like-text", - eofInDoctype: "eof-in-doctype", - nestedComment: "nested-comment", - abruptClosingOfEmptyComment: "abrupt-closing-of-empty-comment", - eofInComment: "eof-in-comment", - incorrectlyClosedComment: "incorrectly-closed-comment", - eofInCdata: "eof-in-cdata", - absenceOfDigitsInNumericCharacterReference: - "absence-of-digits-in-numeric-character-reference", - nullCharacterReference: "null-character-reference", - surrogateCharacterReference: "surrogate-character-reference", - characterReferenceOutsideUnicodeRange: - "character-reference-outside-unicode-range", - controlCharacterReference: "control-character-reference", - noncharacterCharacterReference: "noncharacter-character-reference", - missingWhitespaceBeforeDoctypeName: "missing-whitespace-before-doctype-name", - missingDoctypeName: "missing-doctype-name", - invalidCharacterSequenceAfterDoctypeName: - "invalid-character-sequence-after-doctype-name", - duplicateAttribute: "duplicate-attribute", - nonConformingDoctype: "non-conforming-doctype", - missingDoctype: "missing-doctype", - misplacedDoctype: "misplaced-doctype", - endTagWithoutMatchingOpenElement: "end-tag-without-matching-open-element", - closingOfElementWithOpenChildElements: - "closing-of-element-with-open-child-elements", - disallowedContentInNoscriptInHead: "disallowed-content-in-noscript-in-head", - openElementsLeftAfterEof: "open-elements-left-after-eof", - abandonedHeadElementChild: "abandoned-head-element-child", - misplacedStartTagForHeadElement: "misplaced-start-tag-for-head-element", - nestedNoscriptInHead: "nested-noscript-in-head", - eofInElementThatCanContainOnlyText: - "eof-in-element-that-can-contain-only-text", -}; -const t1 = Va, - b3 = GE, - Fl = t1.CODE_POINTS, - Xte = 65536; -let Zte = class { - constructor() { - (this.html = null), - (this.pos = -1), - (this.lastGapPos = -1), - (this.lastCharPos = -1), - (this.gapStack = []), - (this.skipNextNewLine = !1), - (this.lastChunkWritten = !1), - (this.endOfChunkHit = !1), - (this.bufferWaterline = Xte); - } - _err() {} - _addGap() { - this.gapStack.push(this.lastGapPos), (this.lastGapPos = this.pos); - } - _processSurrogate(t) { - if (this.pos !== this.lastCharPos) { - const n = this.html.charCodeAt(this.pos + 1); - if (t1.isSurrogatePair(n)) - return this.pos++, this._addGap(), t1.getSurrogatePairCodePoint(t, n); - } else if (!this.lastChunkWritten) return (this.endOfChunkHit = !0), Fl.EOF; - return this._err(b3.surrogateInInputStream), t; - } - dropParsedChunk() { - this.pos > this.bufferWaterline && - ((this.lastCharPos -= this.pos), - (this.html = this.html.substring(this.pos)), - (this.pos = 0), - (this.lastGapPos = -1), - (this.gapStack = [])); - } - write(t, n) { - this.html ? (this.html += t) : (this.html = t), - (this.lastCharPos = this.html.length - 1), - (this.endOfChunkHit = !1), - (this.lastChunkWritten = n); - } - insertHtmlAtCurrentPos(t) { - (this.html = - this.html.substring(0, this.pos + 1) + - t + - this.html.substring(this.pos + 1, this.html.length)), - (this.lastCharPos = this.html.length - 1), - (this.endOfChunkHit = !1); - } - advance() { - if ((this.pos++, this.pos > this.lastCharPos)) - return (this.endOfChunkHit = !this.lastChunkWritten), Fl.EOF; - let t = this.html.charCodeAt(this.pos); - return this.skipNextNewLine && t === Fl.LINE_FEED - ? ((this.skipNextNewLine = !1), this._addGap(), this.advance()) - : t === Fl.CARRIAGE_RETURN - ? ((this.skipNextNewLine = !0), Fl.LINE_FEED) - : ((this.skipNextNewLine = !1), - t1.isSurrogate(t) && (t = this._processSurrogate(t)), - (t > 31 && t < 127) || - t === Fl.LINE_FEED || - t === Fl.CARRIAGE_RETURN || - (t > 159 && t < 64976) || - this._checkForProblematicCharacters(t), - t); - } - _checkForProblematicCharacters(t) { - t1.isControlCodePoint(t) - ? this._err(b3.controlCharacterInInputStream) - : t1.isUndefinedCodePoint(t) && this._err(b3.noncharacterInInputStream); - } - retreat() { - this.pos === this.lastGapPos && - ((this.lastGapPos = this.gapStack.pop()), this.pos--), - this.pos--; - } -}; -var Qte = Zte, - Jte = new Uint16Array([ - 4, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, - 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, - 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, - 120, 121, 122, 106, 303, 412, 810, 1432, 1701, 1796, 1987, 2114, 2360, 2420, - 2484, 3170, 3251, 4140, 4393, 4575, 4610, 5106, 5512, 5728, 6117, 6274, - 6315, 6345, 6427, 6516, 7002, 7910, 8733, 9323, 9870, 10170, 10631, 10893, - 11318, 11386, 11467, 12773, 13092, 14474, 14922, 15448, 15542, 16419, 17666, - 18166, 18611, 19004, 19095, 19298, 19397, 4, 16, 69, 77, 97, 98, 99, 102, - 103, 108, 109, 110, 111, 112, 114, 115, 116, 117, 140, 150, 158, 169, 176, - 194, 199, 210, 216, 222, 226, 242, 256, 266, 283, 294, 108, 105, 103, 5, - 198, 1, 59, 148, 1, 198, 80, 5, 38, 1, 59, 156, 1, 38, 99, 117, 116, 101, 5, - 193, 1, 59, 167, 1, 193, 114, 101, 118, 101, 59, 1, 258, 4, 2, 105, 121, - 182, 191, 114, 99, 5, 194, 1, 59, 189, 1, 194, 59, 1, 1040, 114, 59, 3, - 55349, 56580, 114, 97, 118, 101, 5, 192, 1, 59, 208, 1, 192, 112, 104, 97, - 59, 1, 913, 97, 99, 114, 59, 1, 256, 100, 59, 1, 10835, 4, 2, 103, 112, 232, - 237, 111, 110, 59, 1, 260, 102, 59, 3, 55349, 56632, 112, 108, 121, 70, 117, - 110, 99, 116, 105, 111, 110, 59, 1, 8289, 105, 110, 103, 5, 197, 1, 59, 264, - 1, 197, 4, 2, 99, 115, 272, 277, 114, 59, 3, 55349, 56476, 105, 103, 110, - 59, 1, 8788, 105, 108, 100, 101, 5, 195, 1, 59, 292, 1, 195, 109, 108, 5, - 196, 1, 59, 301, 1, 196, 4, 8, 97, 99, 101, 102, 111, 114, 115, 117, 321, - 350, 354, 383, 388, 394, 400, 405, 4, 2, 99, 114, 327, 336, 107, 115, 108, - 97, 115, 104, 59, 1, 8726, 4, 2, 118, 119, 342, 345, 59, 1, 10983, 101, 100, - 59, 1, 8966, 121, 59, 1, 1041, 4, 3, 99, 114, 116, 362, 369, 379, 97, 117, - 115, 101, 59, 1, 8757, 110, 111, 117, 108, 108, 105, 115, 59, 1, 8492, 97, - 59, 1, 914, 114, 59, 3, 55349, 56581, 112, 102, 59, 3, 55349, 56633, 101, - 118, 101, 59, 1, 728, 99, 114, 59, 1, 8492, 109, 112, 101, 113, 59, 1, 8782, - 4, 14, 72, 79, 97, 99, 100, 101, 102, 104, 105, 108, 111, 114, 115, 117, - 442, 447, 456, 504, 542, 547, 569, 573, 577, 616, 678, 784, 790, 796, 99, - 121, 59, 1, 1063, 80, 89, 5, 169, 1, 59, 454, 1, 169, 4, 3, 99, 112, 121, - 464, 470, 497, 117, 116, 101, 59, 1, 262, 4, 2, 59, 105, 476, 478, 1, 8914, - 116, 97, 108, 68, 105, 102, 102, 101, 114, 101, 110, 116, 105, 97, 108, 68, - 59, 1, 8517, 108, 101, 121, 115, 59, 1, 8493, 4, 4, 97, 101, 105, 111, 514, - 520, 530, 535, 114, 111, 110, 59, 1, 268, 100, 105, 108, 5, 199, 1, 59, 528, - 1, 199, 114, 99, 59, 1, 264, 110, 105, 110, 116, 59, 1, 8752, 111, 116, 59, - 1, 266, 4, 2, 100, 110, 553, 560, 105, 108, 108, 97, 59, 1, 184, 116, 101, - 114, 68, 111, 116, 59, 1, 183, 114, 59, 1, 8493, 105, 59, 1, 935, 114, 99, - 108, 101, 4, 4, 68, 77, 80, 84, 591, 596, 603, 609, 111, 116, 59, 1, 8857, - 105, 110, 117, 115, 59, 1, 8854, 108, 117, 115, 59, 1, 8853, 105, 109, 101, - 115, 59, 1, 8855, 111, 4, 2, 99, 115, 623, 646, 107, 119, 105, 115, 101, 67, - 111, 110, 116, 111, 117, 114, 73, 110, 116, 101, 103, 114, 97, 108, 59, 1, - 8754, 101, 67, 117, 114, 108, 121, 4, 2, 68, 81, 658, 671, 111, 117, 98, - 108, 101, 81, 117, 111, 116, 101, 59, 1, 8221, 117, 111, 116, 101, 59, 1, - 8217, 4, 4, 108, 110, 112, 117, 688, 701, 736, 753, 111, 110, 4, 2, 59, 101, - 696, 698, 1, 8759, 59, 1, 10868, 4, 3, 103, 105, 116, 709, 717, 722, 114, - 117, 101, 110, 116, 59, 1, 8801, 110, 116, 59, 1, 8751, 111, 117, 114, 73, - 110, 116, 101, 103, 114, 97, 108, 59, 1, 8750, 4, 2, 102, 114, 742, 745, 59, - 1, 8450, 111, 100, 117, 99, 116, 59, 1, 8720, 110, 116, 101, 114, 67, 108, - 111, 99, 107, 119, 105, 115, 101, 67, 111, 110, 116, 111, 117, 114, 73, 110, - 116, 101, 103, 114, 97, 108, 59, 1, 8755, 111, 115, 115, 59, 1, 10799, 99, - 114, 59, 3, 55349, 56478, 112, 4, 2, 59, 67, 803, 805, 1, 8915, 97, 112, 59, - 1, 8781, 4, 11, 68, 74, 83, 90, 97, 99, 101, 102, 105, 111, 115, 834, 850, - 855, 860, 865, 888, 903, 916, 921, 1011, 1415, 4, 2, 59, 111, 840, 842, 1, - 8517, 116, 114, 97, 104, 100, 59, 1, 10513, 99, 121, 59, 1, 1026, 99, 121, - 59, 1, 1029, 99, 121, 59, 1, 1039, 4, 3, 103, 114, 115, 873, 879, 883, 103, - 101, 114, 59, 1, 8225, 114, 59, 1, 8609, 104, 118, 59, 1, 10980, 4, 2, 97, - 121, 894, 900, 114, 111, 110, 59, 1, 270, 59, 1, 1044, 108, 4, 2, 59, 116, - 910, 912, 1, 8711, 97, 59, 1, 916, 114, 59, 3, 55349, 56583, 4, 2, 97, 102, - 927, 998, 4, 2, 99, 109, 933, 992, 114, 105, 116, 105, 99, 97, 108, 4, 4, - 65, 68, 71, 84, 950, 957, 978, 985, 99, 117, 116, 101, 59, 1, 180, 111, 4, - 2, 116, 117, 964, 967, 59, 1, 729, 98, 108, 101, 65, 99, 117, 116, 101, 59, - 1, 733, 114, 97, 118, 101, 59, 1, 96, 105, 108, 100, 101, 59, 1, 732, 111, - 110, 100, 59, 1, 8900, 102, 101, 114, 101, 110, 116, 105, 97, 108, 68, 59, - 1, 8518, 4, 4, 112, 116, 117, 119, 1021, 1026, 1048, 1249, 102, 59, 3, - 55349, 56635, 4, 3, 59, 68, 69, 1034, 1036, 1041, 1, 168, 111, 116, 59, 1, - 8412, 113, 117, 97, 108, 59, 1, 8784, 98, 108, 101, 4, 6, 67, 68, 76, 82, - 85, 86, 1065, 1082, 1101, 1189, 1211, 1236, 111, 110, 116, 111, 117, 114, - 73, 110, 116, 101, 103, 114, 97, 108, 59, 1, 8751, 111, 4, 2, 116, 119, - 1089, 1092, 59, 1, 168, 110, 65, 114, 114, 111, 119, 59, 1, 8659, 4, 2, 101, - 111, 1107, 1141, 102, 116, 4, 3, 65, 82, 84, 1117, 1124, 1136, 114, 114, - 111, 119, 59, 1, 8656, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 1, - 8660, 101, 101, 59, 1, 10980, 110, 103, 4, 2, 76, 82, 1149, 1177, 101, 102, - 116, 4, 2, 65, 82, 1158, 1165, 114, 114, 111, 119, 59, 1, 10232, 105, 103, - 104, 116, 65, 114, 114, 111, 119, 59, 1, 10234, 105, 103, 104, 116, 65, 114, - 114, 111, 119, 59, 1, 10233, 105, 103, 104, 116, 4, 2, 65, 84, 1199, 1206, - 114, 114, 111, 119, 59, 1, 8658, 101, 101, 59, 1, 8872, 112, 4, 2, 65, 68, - 1218, 1225, 114, 114, 111, 119, 59, 1, 8657, 111, 119, 110, 65, 114, 114, - 111, 119, 59, 1, 8661, 101, 114, 116, 105, 99, 97, 108, 66, 97, 114, 59, 1, - 8741, 110, 4, 6, 65, 66, 76, 82, 84, 97, 1264, 1292, 1299, 1352, 1391, 1408, - 114, 114, 111, 119, 4, 3, 59, 66, 85, 1276, 1278, 1283, 1, 8595, 97, 114, - 59, 1, 10515, 112, 65, 114, 114, 111, 119, 59, 1, 8693, 114, 101, 118, 101, - 59, 1, 785, 101, 102, 116, 4, 3, 82, 84, 86, 1310, 1323, 1334, 105, 103, - 104, 116, 86, 101, 99, 116, 111, 114, 59, 1, 10576, 101, 101, 86, 101, 99, - 116, 111, 114, 59, 1, 10590, 101, 99, 116, 111, 114, 4, 2, 59, 66, 1345, - 1347, 1, 8637, 97, 114, 59, 1, 10582, 105, 103, 104, 116, 4, 2, 84, 86, - 1362, 1373, 101, 101, 86, 101, 99, 116, 111, 114, 59, 1, 10591, 101, 99, - 116, 111, 114, 4, 2, 59, 66, 1384, 1386, 1, 8641, 97, 114, 59, 1, 10583, - 101, 101, 4, 2, 59, 65, 1399, 1401, 1, 8868, 114, 114, 111, 119, 59, 1, - 8615, 114, 114, 111, 119, 59, 1, 8659, 4, 2, 99, 116, 1421, 1426, 114, 59, - 3, 55349, 56479, 114, 111, 107, 59, 1, 272, 4, 16, 78, 84, 97, 99, 100, 102, - 103, 108, 109, 111, 112, 113, 115, 116, 117, 120, 1466, 1470, 1478, 1489, - 1515, 1520, 1525, 1536, 1544, 1593, 1609, 1617, 1650, 1664, 1668, 1677, 71, - 59, 1, 330, 72, 5, 208, 1, 59, 1476, 1, 208, 99, 117, 116, 101, 5, 201, 1, - 59, 1487, 1, 201, 4, 3, 97, 105, 121, 1497, 1503, 1512, 114, 111, 110, 59, - 1, 282, 114, 99, 5, 202, 1, 59, 1510, 1, 202, 59, 1, 1069, 111, 116, 59, 1, - 278, 114, 59, 3, 55349, 56584, 114, 97, 118, 101, 5, 200, 1, 59, 1534, 1, - 200, 101, 109, 101, 110, 116, 59, 1, 8712, 4, 2, 97, 112, 1550, 1555, 99, - 114, 59, 1, 274, 116, 121, 4, 2, 83, 86, 1563, 1576, 109, 97, 108, 108, 83, - 113, 117, 97, 114, 101, 59, 1, 9723, 101, 114, 121, 83, 109, 97, 108, 108, - 83, 113, 117, 97, 114, 101, 59, 1, 9643, 4, 2, 103, 112, 1599, 1604, 111, - 110, 59, 1, 280, 102, 59, 3, 55349, 56636, 115, 105, 108, 111, 110, 59, 1, - 917, 117, 4, 2, 97, 105, 1624, 1640, 108, 4, 2, 59, 84, 1631, 1633, 1, - 10869, 105, 108, 100, 101, 59, 1, 8770, 108, 105, 98, 114, 105, 117, 109, - 59, 1, 8652, 4, 2, 99, 105, 1656, 1660, 114, 59, 1, 8496, 109, 59, 1, 10867, - 97, 59, 1, 919, 109, 108, 5, 203, 1, 59, 1675, 1, 203, 4, 2, 105, 112, 1683, - 1689, 115, 116, 115, 59, 1, 8707, 111, 110, 101, 110, 116, 105, 97, 108, 69, - 59, 1, 8519, 4, 5, 99, 102, 105, 111, 115, 1713, 1717, 1722, 1762, 1791, - 121, 59, 1, 1060, 114, 59, 3, 55349, 56585, 108, 108, 101, 100, 4, 2, 83, - 86, 1732, 1745, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 1, 9724, - 101, 114, 121, 83, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 1, - 9642, 4, 3, 112, 114, 117, 1770, 1775, 1781, 102, 59, 3, 55349, 56637, 65, - 108, 108, 59, 1, 8704, 114, 105, 101, 114, 116, 114, 102, 59, 1, 8497, 99, - 114, 59, 1, 8497, 4, 12, 74, 84, 97, 98, 99, 100, 102, 103, 111, 114, 115, - 116, 1822, 1827, 1834, 1848, 1855, 1877, 1882, 1887, 1890, 1896, 1978, 1984, - 99, 121, 59, 1, 1027, 5, 62, 1, 59, 1832, 1, 62, 109, 109, 97, 4, 2, 59, - 100, 1843, 1845, 1, 915, 59, 1, 988, 114, 101, 118, 101, 59, 1, 286, 4, 3, - 101, 105, 121, 1863, 1869, 1874, 100, 105, 108, 59, 1, 290, 114, 99, 59, 1, - 284, 59, 1, 1043, 111, 116, 59, 1, 288, 114, 59, 3, 55349, 56586, 59, 1, - 8921, 112, 102, 59, 3, 55349, 56638, 101, 97, 116, 101, 114, 4, 6, 69, 70, - 71, 76, 83, 84, 1915, 1933, 1944, 1953, 1959, 1971, 113, 117, 97, 108, 4, 2, - 59, 76, 1925, 1927, 1, 8805, 101, 115, 115, 59, 1, 8923, 117, 108, 108, 69, - 113, 117, 97, 108, 59, 1, 8807, 114, 101, 97, 116, 101, 114, 59, 1, 10914, - 101, 115, 115, 59, 1, 8823, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 1, - 10878, 105, 108, 100, 101, 59, 1, 8819, 99, 114, 59, 3, 55349, 56482, 59, 1, - 8811, 4, 8, 65, 97, 99, 102, 105, 111, 115, 117, 2005, 2012, 2026, 2032, - 2036, 2049, 2073, 2089, 82, 68, 99, 121, 59, 1, 1066, 4, 2, 99, 116, 2018, - 2023, 101, 107, 59, 1, 711, 59, 1, 94, 105, 114, 99, 59, 1, 292, 114, 59, 1, - 8460, 108, 98, 101, 114, 116, 83, 112, 97, 99, 101, 59, 1, 8459, 4, 2, 112, - 114, 2055, 2059, 102, 59, 1, 8461, 105, 122, 111, 110, 116, 97, 108, 76, - 105, 110, 101, 59, 1, 9472, 4, 2, 99, 116, 2079, 2083, 114, 59, 1, 8459, - 114, 111, 107, 59, 1, 294, 109, 112, 4, 2, 68, 69, 2097, 2107, 111, 119, - 110, 72, 117, 109, 112, 59, 1, 8782, 113, 117, 97, 108, 59, 1, 8783, 4, 14, - 69, 74, 79, 97, 99, 100, 102, 103, 109, 110, 111, 115, 116, 117, 2144, 2149, - 2155, 2160, 2171, 2189, 2194, 2198, 2209, 2245, 2307, 2329, 2334, 2341, 99, - 121, 59, 1, 1045, 108, 105, 103, 59, 1, 306, 99, 121, 59, 1, 1025, 99, 117, - 116, 101, 5, 205, 1, 59, 2169, 1, 205, 4, 2, 105, 121, 2177, 2186, 114, 99, - 5, 206, 1, 59, 2184, 1, 206, 59, 1, 1048, 111, 116, 59, 1, 304, 114, 59, 1, - 8465, 114, 97, 118, 101, 5, 204, 1, 59, 2207, 1, 204, 4, 3, 59, 97, 112, - 2217, 2219, 2238, 1, 8465, 4, 2, 99, 103, 2225, 2229, 114, 59, 1, 298, 105, - 110, 97, 114, 121, 73, 59, 1, 8520, 108, 105, 101, 115, 59, 1, 8658, 4, 2, - 116, 118, 2251, 2281, 4, 2, 59, 101, 2257, 2259, 1, 8748, 4, 2, 103, 114, - 2265, 2271, 114, 97, 108, 59, 1, 8747, 115, 101, 99, 116, 105, 111, 110, 59, - 1, 8898, 105, 115, 105, 98, 108, 101, 4, 2, 67, 84, 2293, 2300, 111, 109, - 109, 97, 59, 1, 8291, 105, 109, 101, 115, 59, 1, 8290, 4, 3, 103, 112, 116, - 2315, 2320, 2325, 111, 110, 59, 1, 302, 102, 59, 3, 55349, 56640, 97, 59, 1, - 921, 99, 114, 59, 1, 8464, 105, 108, 100, 101, 59, 1, 296, 4, 2, 107, 109, - 2347, 2352, 99, 121, 59, 1, 1030, 108, 5, 207, 1, 59, 2358, 1, 207, 4, 5, - 99, 102, 111, 115, 117, 2372, 2386, 2391, 2397, 2414, 4, 2, 105, 121, 2378, - 2383, 114, 99, 59, 1, 308, 59, 1, 1049, 114, 59, 3, 55349, 56589, 112, 102, - 59, 3, 55349, 56641, 4, 2, 99, 101, 2403, 2408, 114, 59, 3, 55349, 56485, - 114, 99, 121, 59, 1, 1032, 107, 99, 121, 59, 1, 1028, 4, 7, 72, 74, 97, 99, - 102, 111, 115, 2436, 2441, 2446, 2452, 2467, 2472, 2478, 99, 121, 59, 1, - 1061, 99, 121, 59, 1, 1036, 112, 112, 97, 59, 1, 922, 4, 2, 101, 121, 2458, - 2464, 100, 105, 108, 59, 1, 310, 59, 1, 1050, 114, 59, 3, 55349, 56590, 112, - 102, 59, 3, 55349, 56642, 99, 114, 59, 3, 55349, 56486, 4, 11, 74, 84, 97, - 99, 101, 102, 108, 109, 111, 115, 116, 2508, 2513, 2520, 2562, 2585, 2981, - 2986, 3004, 3011, 3146, 3167, 99, 121, 59, 1, 1033, 5, 60, 1, 59, 2518, 1, - 60, 4, 5, 99, 109, 110, 112, 114, 2532, 2538, 2544, 2548, 2558, 117, 116, - 101, 59, 1, 313, 98, 100, 97, 59, 1, 923, 103, 59, 1, 10218, 108, 97, 99, - 101, 116, 114, 102, 59, 1, 8466, 114, 59, 1, 8606, 4, 3, 97, 101, 121, 2570, - 2576, 2582, 114, 111, 110, 59, 1, 317, 100, 105, 108, 59, 1, 315, 59, 1, - 1051, 4, 2, 102, 115, 2591, 2907, 116, 4, 10, 65, 67, 68, 70, 82, 84, 85, - 86, 97, 114, 2614, 2663, 2672, 2728, 2735, 2760, 2820, 2870, 2888, 2895, 4, - 2, 110, 114, 2620, 2633, 103, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, - 1, 10216, 114, 111, 119, 4, 3, 59, 66, 82, 2644, 2646, 2651, 1, 8592, 97, - 114, 59, 1, 8676, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 1, 8646, - 101, 105, 108, 105, 110, 103, 59, 1, 8968, 111, 4, 2, 117, 119, 2679, 2692, - 98, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 1, 10214, 110, 4, 2, 84, - 86, 2699, 2710, 101, 101, 86, 101, 99, 116, 111, 114, 59, 1, 10593, 101, 99, - 116, 111, 114, 4, 2, 59, 66, 2721, 2723, 1, 8643, 97, 114, 59, 1, 10585, - 108, 111, 111, 114, 59, 1, 8970, 105, 103, 104, 116, 4, 2, 65, 86, 2745, - 2752, 114, 114, 111, 119, 59, 1, 8596, 101, 99, 116, 111, 114, 59, 1, 10574, - 4, 2, 101, 114, 2766, 2792, 101, 4, 3, 59, 65, 86, 2775, 2777, 2784, 1, - 8867, 114, 114, 111, 119, 59, 1, 8612, 101, 99, 116, 111, 114, 59, 1, 10586, - 105, 97, 110, 103, 108, 101, 4, 3, 59, 66, 69, 2806, 2808, 2813, 1, 8882, - 97, 114, 59, 1, 10703, 113, 117, 97, 108, 59, 1, 8884, 112, 4, 3, 68, 84, - 86, 2829, 2841, 2852, 111, 119, 110, 86, 101, 99, 116, 111, 114, 59, 1, - 10577, 101, 101, 86, 101, 99, 116, 111, 114, 59, 1, 10592, 101, 99, 116, - 111, 114, 4, 2, 59, 66, 2863, 2865, 1, 8639, 97, 114, 59, 1, 10584, 101, 99, - 116, 111, 114, 4, 2, 59, 66, 2881, 2883, 1, 8636, 97, 114, 59, 1, 10578, - 114, 114, 111, 119, 59, 1, 8656, 105, 103, 104, 116, 97, 114, 114, 111, 119, - 59, 1, 8660, 115, 4, 6, 69, 70, 71, 76, 83, 84, 2922, 2936, 2947, 2956, - 2962, 2974, 113, 117, 97, 108, 71, 114, 101, 97, 116, 101, 114, 59, 1, 8922, - 117, 108, 108, 69, 113, 117, 97, 108, 59, 1, 8806, 114, 101, 97, 116, 101, - 114, 59, 1, 8822, 101, 115, 115, 59, 1, 10913, 108, 97, 110, 116, 69, 113, - 117, 97, 108, 59, 1, 10877, 105, 108, 100, 101, 59, 1, 8818, 114, 59, 3, - 55349, 56591, 4, 2, 59, 101, 2992, 2994, 1, 8920, 102, 116, 97, 114, 114, - 111, 119, 59, 1, 8666, 105, 100, 111, 116, 59, 1, 319, 4, 3, 110, 112, 119, - 3019, 3110, 3115, 103, 4, 4, 76, 82, 108, 114, 3030, 3058, 3070, 3098, 101, - 102, 116, 4, 2, 65, 82, 3039, 3046, 114, 114, 111, 119, 59, 1, 10229, 105, - 103, 104, 116, 65, 114, 114, 111, 119, 59, 1, 10231, 105, 103, 104, 116, 65, - 114, 114, 111, 119, 59, 1, 10230, 101, 102, 116, 4, 2, 97, 114, 3079, 3086, - 114, 114, 111, 119, 59, 1, 10232, 105, 103, 104, 116, 97, 114, 114, 111, - 119, 59, 1, 10234, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 1, 10233, - 102, 59, 3, 55349, 56643, 101, 114, 4, 2, 76, 82, 3123, 3134, 101, 102, 116, - 65, 114, 114, 111, 119, 59, 1, 8601, 105, 103, 104, 116, 65, 114, 114, 111, - 119, 59, 1, 8600, 4, 3, 99, 104, 116, 3154, 3158, 3161, 114, 59, 1, 8466, - 59, 1, 8624, 114, 111, 107, 59, 1, 321, 59, 1, 8810, 4, 8, 97, 99, 101, 102, - 105, 111, 115, 117, 3188, 3192, 3196, 3222, 3227, 3237, 3243, 3248, 112, 59, - 1, 10501, 121, 59, 1, 1052, 4, 2, 100, 108, 3202, 3213, 105, 117, 109, 83, - 112, 97, 99, 101, 59, 1, 8287, 108, 105, 110, 116, 114, 102, 59, 1, 8499, - 114, 59, 3, 55349, 56592, 110, 117, 115, 80, 108, 117, 115, 59, 1, 8723, - 112, 102, 59, 3, 55349, 56644, 99, 114, 59, 1, 8499, 59, 1, 924, 4, 9, 74, - 97, 99, 101, 102, 111, 115, 116, 117, 3271, 3276, 3283, 3306, 3422, 3427, - 4120, 4126, 4137, 99, 121, 59, 1, 1034, 99, 117, 116, 101, 59, 1, 323, 4, 3, - 97, 101, 121, 3291, 3297, 3303, 114, 111, 110, 59, 1, 327, 100, 105, 108, - 59, 1, 325, 59, 1, 1053, 4, 3, 103, 115, 119, 3314, 3380, 3415, 97, 116, - 105, 118, 101, 4, 3, 77, 84, 86, 3327, 3340, 3365, 101, 100, 105, 117, 109, - 83, 112, 97, 99, 101, 59, 1, 8203, 104, 105, 4, 2, 99, 110, 3348, 3357, 107, - 83, 112, 97, 99, 101, 59, 1, 8203, 83, 112, 97, 99, 101, 59, 1, 8203, 101, - 114, 121, 84, 104, 105, 110, 83, 112, 97, 99, 101, 59, 1, 8203, 116, 101, - 100, 4, 2, 71, 76, 3389, 3405, 114, 101, 97, 116, 101, 114, 71, 114, 101, - 97, 116, 101, 114, 59, 1, 8811, 101, 115, 115, 76, 101, 115, 115, 59, 1, - 8810, 76, 105, 110, 101, 59, 1, 10, 114, 59, 3, 55349, 56593, 4, 4, 66, 110, - 112, 116, 3437, 3444, 3460, 3464, 114, 101, 97, 107, 59, 1, 8288, 66, 114, - 101, 97, 107, 105, 110, 103, 83, 112, 97, 99, 101, 59, 1, 160, 102, 59, 1, - 8469, 4, 13, 59, 67, 68, 69, 71, 72, 76, 78, 80, 82, 83, 84, 86, 3492, 3494, - 3517, 3536, 3578, 3657, 3685, 3784, 3823, 3860, 3915, 4066, 4107, 1, 10988, - 4, 2, 111, 117, 3500, 3510, 110, 103, 114, 117, 101, 110, 116, 59, 1, 8802, - 112, 67, 97, 112, 59, 1, 8813, 111, 117, 98, 108, 101, 86, 101, 114, 116, - 105, 99, 97, 108, 66, 97, 114, 59, 1, 8742, 4, 3, 108, 113, 120, 3544, 3552, - 3571, 101, 109, 101, 110, 116, 59, 1, 8713, 117, 97, 108, 4, 2, 59, 84, - 3561, 3563, 1, 8800, 105, 108, 100, 101, 59, 3, 8770, 824, 105, 115, 116, - 115, 59, 1, 8708, 114, 101, 97, 116, 101, 114, 4, 7, 59, 69, 70, 71, 76, 83, - 84, 3600, 3602, 3609, 3621, 3631, 3637, 3650, 1, 8815, 113, 117, 97, 108, - 59, 1, 8817, 117, 108, 108, 69, 113, 117, 97, 108, 59, 3, 8807, 824, 114, - 101, 97, 116, 101, 114, 59, 3, 8811, 824, 101, 115, 115, 59, 1, 8825, 108, - 97, 110, 116, 69, 113, 117, 97, 108, 59, 3, 10878, 824, 105, 108, 100, 101, - 59, 1, 8821, 117, 109, 112, 4, 2, 68, 69, 3666, 3677, 111, 119, 110, 72, - 117, 109, 112, 59, 3, 8782, 824, 113, 117, 97, 108, 59, 3, 8783, 824, 101, - 4, 2, 102, 115, 3692, 3724, 116, 84, 114, 105, 97, 110, 103, 108, 101, 4, 3, - 59, 66, 69, 3709, 3711, 3717, 1, 8938, 97, 114, 59, 3, 10703, 824, 113, 117, - 97, 108, 59, 1, 8940, 115, 4, 6, 59, 69, 71, 76, 83, 84, 3739, 3741, 3748, - 3757, 3764, 3777, 1, 8814, 113, 117, 97, 108, 59, 1, 8816, 114, 101, 97, - 116, 101, 114, 59, 1, 8824, 101, 115, 115, 59, 3, 8810, 824, 108, 97, 110, - 116, 69, 113, 117, 97, 108, 59, 3, 10877, 824, 105, 108, 100, 101, 59, 1, - 8820, 101, 115, 116, 101, 100, 4, 2, 71, 76, 3795, 3812, 114, 101, 97, 116, - 101, 114, 71, 114, 101, 97, 116, 101, 114, 59, 3, 10914, 824, 101, 115, 115, - 76, 101, 115, 115, 59, 3, 10913, 824, 114, 101, 99, 101, 100, 101, 115, 4, - 3, 59, 69, 83, 3838, 3840, 3848, 1, 8832, 113, 117, 97, 108, 59, 3, 10927, - 824, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 1, 8928, 4, 2, 101, 105, - 3866, 3881, 118, 101, 114, 115, 101, 69, 108, 101, 109, 101, 110, 116, 59, - 1, 8716, 103, 104, 116, 84, 114, 105, 97, 110, 103, 108, 101, 4, 3, 59, 66, - 69, 3900, 3902, 3908, 1, 8939, 97, 114, 59, 3, 10704, 824, 113, 117, 97, - 108, 59, 1, 8941, 4, 2, 113, 117, 3921, 3973, 117, 97, 114, 101, 83, 117, 4, - 2, 98, 112, 3933, 3952, 115, 101, 116, 4, 2, 59, 69, 3942, 3945, 3, 8847, - 824, 113, 117, 97, 108, 59, 1, 8930, 101, 114, 115, 101, 116, 4, 2, 59, 69, - 3963, 3966, 3, 8848, 824, 113, 117, 97, 108, 59, 1, 8931, 4, 3, 98, 99, 112, - 3981, 4e3, 4045, 115, 101, 116, 4, 2, 59, 69, 3990, 3993, 3, 8834, 8402, - 113, 117, 97, 108, 59, 1, 8840, 99, 101, 101, 100, 115, 4, 4, 59, 69, 83, - 84, 4015, 4017, 4025, 4037, 1, 8833, 113, 117, 97, 108, 59, 3, 10928, 824, - 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 1, 8929, 105, 108, 100, 101, - 59, 3, 8831, 824, 101, 114, 115, 101, 116, 4, 2, 59, 69, 4056, 4059, 3, - 8835, 8402, 113, 117, 97, 108, 59, 1, 8841, 105, 108, 100, 101, 4, 4, 59, - 69, 70, 84, 4080, 4082, 4089, 4100, 1, 8769, 113, 117, 97, 108, 59, 1, 8772, - 117, 108, 108, 69, 113, 117, 97, 108, 59, 1, 8775, 105, 108, 100, 101, 59, - 1, 8777, 101, 114, 116, 105, 99, 97, 108, 66, 97, 114, 59, 1, 8740, 99, 114, - 59, 3, 55349, 56489, 105, 108, 100, 101, 5, 209, 1, 59, 4135, 1, 209, 59, 1, - 925, 4, 14, 69, 97, 99, 100, 102, 103, 109, 111, 112, 114, 115, 116, 117, - 118, 4170, 4176, 4187, 4205, 4212, 4217, 4228, 4253, 4259, 4292, 4295, 4316, - 4337, 4346, 108, 105, 103, 59, 1, 338, 99, 117, 116, 101, 5, 211, 1, 59, - 4185, 1, 211, 4, 2, 105, 121, 4193, 4202, 114, 99, 5, 212, 1, 59, 4200, 1, - 212, 59, 1, 1054, 98, 108, 97, 99, 59, 1, 336, 114, 59, 3, 55349, 56594, - 114, 97, 118, 101, 5, 210, 1, 59, 4226, 1, 210, 4, 3, 97, 101, 105, 4236, - 4241, 4246, 99, 114, 59, 1, 332, 103, 97, 59, 1, 937, 99, 114, 111, 110, 59, - 1, 927, 112, 102, 59, 3, 55349, 56646, 101, 110, 67, 117, 114, 108, 121, 4, - 2, 68, 81, 4272, 4285, 111, 117, 98, 108, 101, 81, 117, 111, 116, 101, 59, - 1, 8220, 117, 111, 116, 101, 59, 1, 8216, 59, 1, 10836, 4, 2, 99, 108, 4301, - 4306, 114, 59, 3, 55349, 56490, 97, 115, 104, 5, 216, 1, 59, 4314, 1, 216, - 105, 4, 2, 108, 109, 4323, 4332, 100, 101, 5, 213, 1, 59, 4330, 1, 213, 101, - 115, 59, 1, 10807, 109, 108, 5, 214, 1, 59, 4344, 1, 214, 101, 114, 4, 2, - 66, 80, 4354, 4380, 4, 2, 97, 114, 4360, 4364, 114, 59, 1, 8254, 97, 99, 4, - 2, 101, 107, 4372, 4375, 59, 1, 9182, 101, 116, 59, 1, 9140, 97, 114, 101, - 110, 116, 104, 101, 115, 105, 115, 59, 1, 9180, 4, 9, 97, 99, 102, 104, 105, - 108, 111, 114, 115, 4413, 4422, 4426, 4431, 4435, 4438, 4448, 4471, 4561, - 114, 116, 105, 97, 108, 68, 59, 1, 8706, 121, 59, 1, 1055, 114, 59, 3, - 55349, 56595, 105, 59, 1, 934, 59, 1, 928, 117, 115, 77, 105, 110, 117, 115, - 59, 1, 177, 4, 2, 105, 112, 4454, 4467, 110, 99, 97, 114, 101, 112, 108, 97, - 110, 101, 59, 1, 8460, 102, 59, 1, 8473, 4, 4, 59, 101, 105, 111, 4481, - 4483, 4526, 4531, 1, 10939, 99, 101, 100, 101, 115, 4, 4, 59, 69, 83, 84, - 4498, 4500, 4507, 4519, 1, 8826, 113, 117, 97, 108, 59, 1, 10927, 108, 97, - 110, 116, 69, 113, 117, 97, 108, 59, 1, 8828, 105, 108, 100, 101, 59, 1, - 8830, 109, 101, 59, 1, 8243, 4, 2, 100, 112, 4537, 4543, 117, 99, 116, 59, - 1, 8719, 111, 114, 116, 105, 111, 110, 4, 2, 59, 97, 4555, 4557, 1, 8759, - 108, 59, 1, 8733, 4, 2, 99, 105, 4567, 4572, 114, 59, 3, 55349, 56491, 59, - 1, 936, 4, 4, 85, 102, 111, 115, 4585, 4594, 4599, 4604, 79, 84, 5, 34, 1, - 59, 4592, 1, 34, 114, 59, 3, 55349, 56596, 112, 102, 59, 1, 8474, 99, 114, - 59, 3, 55349, 56492, 4, 12, 66, 69, 97, 99, 101, 102, 104, 105, 111, 114, - 115, 117, 4636, 4642, 4650, 4681, 4704, 4763, 4767, 4771, 5047, 5069, 5081, - 5094, 97, 114, 114, 59, 1, 10512, 71, 5, 174, 1, 59, 4648, 1, 174, 4, 3, 99, - 110, 114, 4658, 4664, 4668, 117, 116, 101, 59, 1, 340, 103, 59, 1, 10219, - 114, 4, 2, 59, 116, 4675, 4677, 1, 8608, 108, 59, 1, 10518, 4, 3, 97, 101, - 121, 4689, 4695, 4701, 114, 111, 110, 59, 1, 344, 100, 105, 108, 59, 1, 342, - 59, 1, 1056, 4, 2, 59, 118, 4710, 4712, 1, 8476, 101, 114, 115, 101, 4, 2, - 69, 85, 4722, 4748, 4, 2, 108, 113, 4728, 4736, 101, 109, 101, 110, 116, 59, - 1, 8715, 117, 105, 108, 105, 98, 114, 105, 117, 109, 59, 1, 8651, 112, 69, - 113, 117, 105, 108, 105, 98, 114, 105, 117, 109, 59, 1, 10607, 114, 59, 1, - 8476, 111, 59, 1, 929, 103, 104, 116, 4, 8, 65, 67, 68, 70, 84, 85, 86, 97, - 4792, 4840, 4849, 4905, 4912, 4972, 5022, 5040, 4, 2, 110, 114, 4798, 4811, - 103, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 1, 10217, 114, 111, 119, - 4, 3, 59, 66, 76, 4822, 4824, 4829, 1, 8594, 97, 114, 59, 1, 8677, 101, 102, - 116, 65, 114, 114, 111, 119, 59, 1, 8644, 101, 105, 108, 105, 110, 103, 59, - 1, 8969, 111, 4, 2, 117, 119, 4856, 4869, 98, 108, 101, 66, 114, 97, 99, - 107, 101, 116, 59, 1, 10215, 110, 4, 2, 84, 86, 4876, 4887, 101, 101, 86, - 101, 99, 116, 111, 114, 59, 1, 10589, 101, 99, 116, 111, 114, 4, 2, 59, 66, - 4898, 4900, 1, 8642, 97, 114, 59, 1, 10581, 108, 111, 111, 114, 59, 1, 8971, - 4, 2, 101, 114, 4918, 4944, 101, 4, 3, 59, 65, 86, 4927, 4929, 4936, 1, - 8866, 114, 114, 111, 119, 59, 1, 8614, 101, 99, 116, 111, 114, 59, 1, 10587, - 105, 97, 110, 103, 108, 101, 4, 3, 59, 66, 69, 4958, 4960, 4965, 1, 8883, - 97, 114, 59, 1, 10704, 113, 117, 97, 108, 59, 1, 8885, 112, 4, 3, 68, 84, - 86, 4981, 4993, 5004, 111, 119, 110, 86, 101, 99, 116, 111, 114, 59, 1, - 10575, 101, 101, 86, 101, 99, 116, 111, 114, 59, 1, 10588, 101, 99, 116, - 111, 114, 4, 2, 59, 66, 5015, 5017, 1, 8638, 97, 114, 59, 1, 10580, 101, 99, - 116, 111, 114, 4, 2, 59, 66, 5033, 5035, 1, 8640, 97, 114, 59, 1, 10579, - 114, 114, 111, 119, 59, 1, 8658, 4, 2, 112, 117, 5053, 5057, 102, 59, 1, - 8477, 110, 100, 73, 109, 112, 108, 105, 101, 115, 59, 1, 10608, 105, 103, - 104, 116, 97, 114, 114, 111, 119, 59, 1, 8667, 4, 2, 99, 104, 5087, 5091, - 114, 59, 1, 8475, 59, 1, 8625, 108, 101, 68, 101, 108, 97, 121, 101, 100, - 59, 1, 10740, 4, 13, 72, 79, 97, 99, 102, 104, 105, 109, 111, 113, 115, 116, - 117, 5134, 5150, 5157, 5164, 5198, 5203, 5259, 5265, 5277, 5283, 5374, 5380, - 5385, 4, 2, 67, 99, 5140, 5146, 72, 99, 121, 59, 1, 1065, 121, 59, 1, 1064, - 70, 84, 99, 121, 59, 1, 1068, 99, 117, 116, 101, 59, 1, 346, 4, 5, 59, 97, - 101, 105, 121, 5176, 5178, 5184, 5190, 5195, 1, 10940, 114, 111, 110, 59, 1, - 352, 100, 105, 108, 59, 1, 350, 114, 99, 59, 1, 348, 59, 1, 1057, 114, 59, - 3, 55349, 56598, 111, 114, 116, 4, 4, 68, 76, 82, 85, 5216, 5227, 5238, - 5250, 111, 119, 110, 65, 114, 114, 111, 119, 59, 1, 8595, 101, 102, 116, 65, - 114, 114, 111, 119, 59, 1, 8592, 105, 103, 104, 116, 65, 114, 114, 111, 119, - 59, 1, 8594, 112, 65, 114, 114, 111, 119, 59, 1, 8593, 103, 109, 97, 59, 1, - 931, 97, 108, 108, 67, 105, 114, 99, 108, 101, 59, 1, 8728, 112, 102, 59, 3, - 55349, 56650, 4, 2, 114, 117, 5289, 5293, 116, 59, 1, 8730, 97, 114, 101, 4, - 4, 59, 73, 83, 85, 5306, 5308, 5322, 5367, 1, 9633, 110, 116, 101, 114, 115, - 101, 99, 116, 105, 111, 110, 59, 1, 8851, 117, 4, 2, 98, 112, 5329, 5347, - 115, 101, 116, 4, 2, 59, 69, 5338, 5340, 1, 8847, 113, 117, 97, 108, 59, 1, - 8849, 101, 114, 115, 101, 116, 4, 2, 59, 69, 5358, 5360, 1, 8848, 113, 117, - 97, 108, 59, 1, 8850, 110, 105, 111, 110, 59, 1, 8852, 99, 114, 59, 3, - 55349, 56494, 97, 114, 59, 1, 8902, 4, 4, 98, 99, 109, 112, 5395, 5420, - 5475, 5478, 4, 2, 59, 115, 5401, 5403, 1, 8912, 101, 116, 4, 2, 59, 69, - 5411, 5413, 1, 8912, 113, 117, 97, 108, 59, 1, 8838, 4, 2, 99, 104, 5426, - 5468, 101, 101, 100, 115, 4, 4, 59, 69, 83, 84, 5440, 5442, 5449, 5461, 1, - 8827, 113, 117, 97, 108, 59, 1, 10928, 108, 97, 110, 116, 69, 113, 117, 97, - 108, 59, 1, 8829, 105, 108, 100, 101, 59, 1, 8831, 84, 104, 97, 116, 59, 1, - 8715, 59, 1, 8721, 4, 3, 59, 101, 115, 5486, 5488, 5507, 1, 8913, 114, 115, - 101, 116, 4, 2, 59, 69, 5498, 5500, 1, 8835, 113, 117, 97, 108, 59, 1, 8839, - 101, 116, 59, 1, 8913, 4, 11, 72, 82, 83, 97, 99, 102, 104, 105, 111, 114, - 115, 5536, 5546, 5552, 5567, 5579, 5602, 5607, 5655, 5695, 5701, 5711, 79, - 82, 78, 5, 222, 1, 59, 5544, 1, 222, 65, 68, 69, 59, 1, 8482, 4, 2, 72, 99, - 5558, 5563, 99, 121, 59, 1, 1035, 121, 59, 1, 1062, 4, 2, 98, 117, 5573, - 5576, 59, 1, 9, 59, 1, 932, 4, 3, 97, 101, 121, 5587, 5593, 5599, 114, 111, - 110, 59, 1, 356, 100, 105, 108, 59, 1, 354, 59, 1, 1058, 114, 59, 3, 55349, - 56599, 4, 2, 101, 105, 5613, 5631, 4, 2, 114, 116, 5619, 5627, 101, 102, - 111, 114, 101, 59, 1, 8756, 97, 59, 1, 920, 4, 2, 99, 110, 5637, 5647, 107, - 83, 112, 97, 99, 101, 59, 3, 8287, 8202, 83, 112, 97, 99, 101, 59, 1, 8201, - 108, 100, 101, 4, 4, 59, 69, 70, 84, 5668, 5670, 5677, 5688, 1, 8764, 113, - 117, 97, 108, 59, 1, 8771, 117, 108, 108, 69, 113, 117, 97, 108, 59, 1, - 8773, 105, 108, 100, 101, 59, 1, 8776, 112, 102, 59, 3, 55349, 56651, 105, - 112, 108, 101, 68, 111, 116, 59, 1, 8411, 4, 2, 99, 116, 5717, 5722, 114, - 59, 3, 55349, 56495, 114, 111, 107, 59, 1, 358, 4, 14, 97, 98, 99, 100, 102, - 103, 109, 110, 111, 112, 114, 115, 116, 117, 5758, 5789, 5805, 5823, 5830, - 5835, 5846, 5852, 5921, 5937, 6089, 6095, 6101, 6108, 4, 2, 99, 114, 5764, - 5774, 117, 116, 101, 5, 218, 1, 59, 5772, 1, 218, 114, 4, 2, 59, 111, 5781, - 5783, 1, 8607, 99, 105, 114, 59, 1, 10569, 114, 4, 2, 99, 101, 5796, 5800, - 121, 59, 1, 1038, 118, 101, 59, 1, 364, 4, 2, 105, 121, 5811, 5820, 114, 99, - 5, 219, 1, 59, 5818, 1, 219, 59, 1, 1059, 98, 108, 97, 99, 59, 1, 368, 114, - 59, 3, 55349, 56600, 114, 97, 118, 101, 5, 217, 1, 59, 5844, 1, 217, 97, 99, - 114, 59, 1, 362, 4, 2, 100, 105, 5858, 5905, 101, 114, 4, 2, 66, 80, 5866, - 5892, 4, 2, 97, 114, 5872, 5876, 114, 59, 1, 95, 97, 99, 4, 2, 101, 107, - 5884, 5887, 59, 1, 9183, 101, 116, 59, 1, 9141, 97, 114, 101, 110, 116, 104, - 101, 115, 105, 115, 59, 1, 9181, 111, 110, 4, 2, 59, 80, 5913, 5915, 1, - 8899, 108, 117, 115, 59, 1, 8846, 4, 2, 103, 112, 5927, 5932, 111, 110, 59, - 1, 370, 102, 59, 3, 55349, 56652, 4, 8, 65, 68, 69, 84, 97, 100, 112, 115, - 5955, 5985, 5996, 6009, 6026, 6033, 6044, 6075, 114, 114, 111, 119, 4, 3, - 59, 66, 68, 5967, 5969, 5974, 1, 8593, 97, 114, 59, 1, 10514, 111, 119, 110, - 65, 114, 114, 111, 119, 59, 1, 8645, 111, 119, 110, 65, 114, 114, 111, 119, - 59, 1, 8597, 113, 117, 105, 108, 105, 98, 114, 105, 117, 109, 59, 1, 10606, - 101, 101, 4, 2, 59, 65, 6017, 6019, 1, 8869, 114, 114, 111, 119, 59, 1, - 8613, 114, 114, 111, 119, 59, 1, 8657, 111, 119, 110, 97, 114, 114, 111, - 119, 59, 1, 8661, 101, 114, 4, 2, 76, 82, 6052, 6063, 101, 102, 116, 65, - 114, 114, 111, 119, 59, 1, 8598, 105, 103, 104, 116, 65, 114, 114, 111, 119, - 59, 1, 8599, 105, 4, 2, 59, 108, 6082, 6084, 1, 978, 111, 110, 59, 1, 933, - 105, 110, 103, 59, 1, 366, 99, 114, 59, 3, 55349, 56496, 105, 108, 100, 101, - 59, 1, 360, 109, 108, 5, 220, 1, 59, 6115, 1, 220, 4, 9, 68, 98, 99, 100, - 101, 102, 111, 115, 118, 6137, 6143, 6148, 6152, 6166, 6250, 6255, 6261, - 6267, 97, 115, 104, 59, 1, 8875, 97, 114, 59, 1, 10987, 121, 59, 1, 1042, - 97, 115, 104, 4, 2, 59, 108, 6161, 6163, 1, 8873, 59, 1, 10982, 4, 2, 101, - 114, 6172, 6175, 59, 1, 8897, 4, 3, 98, 116, 121, 6183, 6188, 6238, 97, 114, - 59, 1, 8214, 4, 2, 59, 105, 6194, 6196, 1, 8214, 99, 97, 108, 4, 4, 66, 76, - 83, 84, 6209, 6214, 6220, 6231, 97, 114, 59, 1, 8739, 105, 110, 101, 59, 1, - 124, 101, 112, 97, 114, 97, 116, 111, 114, 59, 1, 10072, 105, 108, 100, 101, - 59, 1, 8768, 84, 104, 105, 110, 83, 112, 97, 99, 101, 59, 1, 8202, 114, 59, - 3, 55349, 56601, 112, 102, 59, 3, 55349, 56653, 99, 114, 59, 3, 55349, - 56497, 100, 97, 115, 104, 59, 1, 8874, 4, 5, 99, 101, 102, 111, 115, 6286, - 6292, 6298, 6303, 6309, 105, 114, 99, 59, 1, 372, 100, 103, 101, 59, 1, - 8896, 114, 59, 3, 55349, 56602, 112, 102, 59, 3, 55349, 56654, 99, 114, 59, - 3, 55349, 56498, 4, 4, 102, 105, 111, 115, 6325, 6330, 6333, 6339, 114, 59, - 3, 55349, 56603, 59, 1, 926, 112, 102, 59, 3, 55349, 56655, 99, 114, 59, 3, - 55349, 56499, 4, 9, 65, 73, 85, 97, 99, 102, 111, 115, 117, 6365, 6370, - 6375, 6380, 6391, 6405, 6410, 6416, 6422, 99, 121, 59, 1, 1071, 99, 121, 59, - 1, 1031, 99, 121, 59, 1, 1070, 99, 117, 116, 101, 5, 221, 1, 59, 6389, 1, - 221, 4, 2, 105, 121, 6397, 6402, 114, 99, 59, 1, 374, 59, 1, 1067, 114, 59, - 3, 55349, 56604, 112, 102, 59, 3, 55349, 56656, 99, 114, 59, 3, 55349, - 56500, 109, 108, 59, 1, 376, 4, 8, 72, 97, 99, 100, 101, 102, 111, 115, - 6445, 6450, 6457, 6472, 6477, 6501, 6505, 6510, 99, 121, 59, 1, 1046, 99, - 117, 116, 101, 59, 1, 377, 4, 2, 97, 121, 6463, 6469, 114, 111, 110, 59, 1, - 381, 59, 1, 1047, 111, 116, 59, 1, 379, 4, 2, 114, 116, 6483, 6497, 111, 87, - 105, 100, 116, 104, 83, 112, 97, 99, 101, 59, 1, 8203, 97, 59, 1, 918, 114, - 59, 1, 8488, 112, 102, 59, 1, 8484, 99, 114, 59, 3, 55349, 56501, 4, 16, 97, - 98, 99, 101, 102, 103, 108, 109, 110, 111, 112, 114, 115, 116, 117, 119, - 6550, 6561, 6568, 6612, 6622, 6634, 6645, 6672, 6699, 6854, 6870, 6923, - 6933, 6963, 6974, 6983, 99, 117, 116, 101, 5, 225, 1, 59, 6559, 1, 225, 114, - 101, 118, 101, 59, 1, 259, 4, 6, 59, 69, 100, 105, 117, 121, 6582, 6584, - 6588, 6591, 6600, 6609, 1, 8766, 59, 3, 8766, 819, 59, 1, 8767, 114, 99, 5, - 226, 1, 59, 6598, 1, 226, 116, 101, 5, 180, 1, 59, 6607, 1, 180, 59, 1, - 1072, 108, 105, 103, 5, 230, 1, 59, 6620, 1, 230, 4, 2, 59, 114, 6628, 6630, - 1, 8289, 59, 3, 55349, 56606, 114, 97, 118, 101, 5, 224, 1, 59, 6643, 1, - 224, 4, 2, 101, 112, 6651, 6667, 4, 2, 102, 112, 6657, 6663, 115, 121, 109, - 59, 1, 8501, 104, 59, 1, 8501, 104, 97, 59, 1, 945, 4, 2, 97, 112, 6678, - 6692, 4, 2, 99, 108, 6684, 6688, 114, 59, 1, 257, 103, 59, 1, 10815, 5, 38, - 1, 59, 6697, 1, 38, 4, 2, 100, 103, 6705, 6737, 4, 5, 59, 97, 100, 115, 118, - 6717, 6719, 6724, 6727, 6734, 1, 8743, 110, 100, 59, 1, 10837, 59, 1, 10844, - 108, 111, 112, 101, 59, 1, 10840, 59, 1, 10842, 4, 7, 59, 101, 108, 109, - 114, 115, 122, 6753, 6755, 6758, 6762, 6814, 6835, 6848, 1, 8736, 59, 1, - 10660, 101, 59, 1, 8736, 115, 100, 4, 2, 59, 97, 6770, 6772, 1, 8737, 4, 8, - 97, 98, 99, 100, 101, 102, 103, 104, 6790, 6793, 6796, 6799, 6802, 6805, - 6808, 6811, 59, 1, 10664, 59, 1, 10665, 59, 1, 10666, 59, 1, 10667, 59, 1, - 10668, 59, 1, 10669, 59, 1, 10670, 59, 1, 10671, 116, 4, 2, 59, 118, 6821, - 6823, 1, 8735, 98, 4, 2, 59, 100, 6830, 6832, 1, 8894, 59, 1, 10653, 4, 2, - 112, 116, 6841, 6845, 104, 59, 1, 8738, 59, 1, 197, 97, 114, 114, 59, 1, - 9084, 4, 2, 103, 112, 6860, 6865, 111, 110, 59, 1, 261, 102, 59, 3, 55349, - 56658, 4, 7, 59, 69, 97, 101, 105, 111, 112, 6886, 6888, 6891, 6897, 6900, - 6904, 6908, 1, 8776, 59, 1, 10864, 99, 105, 114, 59, 1, 10863, 59, 1, 8778, - 100, 59, 1, 8779, 115, 59, 1, 39, 114, 111, 120, 4, 2, 59, 101, 6917, 6919, - 1, 8776, 113, 59, 1, 8778, 105, 110, 103, 5, 229, 1, 59, 6931, 1, 229, 4, 3, - 99, 116, 121, 6941, 6946, 6949, 114, 59, 3, 55349, 56502, 59, 1, 42, 109, - 112, 4, 2, 59, 101, 6957, 6959, 1, 8776, 113, 59, 1, 8781, 105, 108, 100, - 101, 5, 227, 1, 59, 6972, 1, 227, 109, 108, 5, 228, 1, 59, 6981, 1, 228, 4, - 2, 99, 105, 6989, 6997, 111, 110, 105, 110, 116, 59, 1, 8755, 110, 116, 59, - 1, 10769, 4, 16, 78, 97, 98, 99, 100, 101, 102, 105, 107, 108, 110, 111, - 112, 114, 115, 117, 7036, 7041, 7119, 7135, 7149, 7155, 7219, 7224, 7347, - 7354, 7463, 7489, 7786, 7793, 7814, 7866, 111, 116, 59, 1, 10989, 4, 2, 99, - 114, 7047, 7094, 107, 4, 4, 99, 101, 112, 115, 7058, 7064, 7073, 7080, 111, - 110, 103, 59, 1, 8780, 112, 115, 105, 108, 111, 110, 59, 1, 1014, 114, 105, - 109, 101, 59, 1, 8245, 105, 109, 4, 2, 59, 101, 7088, 7090, 1, 8765, 113, - 59, 1, 8909, 4, 2, 118, 119, 7100, 7105, 101, 101, 59, 1, 8893, 101, 100, 4, - 2, 59, 103, 7113, 7115, 1, 8965, 101, 59, 1, 8965, 114, 107, 4, 2, 59, 116, - 7127, 7129, 1, 9141, 98, 114, 107, 59, 1, 9142, 4, 2, 111, 121, 7141, 7146, - 110, 103, 59, 1, 8780, 59, 1, 1073, 113, 117, 111, 59, 1, 8222, 4, 5, 99, - 109, 112, 114, 116, 7167, 7181, 7188, 7193, 7199, 97, 117, 115, 4, 2, 59, - 101, 7176, 7178, 1, 8757, 59, 1, 8757, 112, 116, 121, 118, 59, 1, 10672, - 115, 105, 59, 1, 1014, 110, 111, 117, 59, 1, 8492, 4, 3, 97, 104, 119, 7207, - 7210, 7213, 59, 1, 946, 59, 1, 8502, 101, 101, 110, 59, 1, 8812, 114, 59, 3, - 55349, 56607, 103, 4, 7, 99, 111, 115, 116, 117, 118, 119, 7241, 7262, 7288, - 7305, 7328, 7335, 7340, 4, 3, 97, 105, 117, 7249, 7253, 7258, 112, 59, 1, - 8898, 114, 99, 59, 1, 9711, 112, 59, 1, 8899, 4, 3, 100, 112, 116, 7270, - 7275, 7281, 111, 116, 59, 1, 10752, 108, 117, 115, 59, 1, 10753, 105, 109, - 101, 115, 59, 1, 10754, 4, 2, 113, 116, 7294, 7300, 99, 117, 112, 59, 1, - 10758, 97, 114, 59, 1, 9733, 114, 105, 97, 110, 103, 108, 101, 4, 2, 100, - 117, 7318, 7324, 111, 119, 110, 59, 1, 9661, 112, 59, 1, 9651, 112, 108, - 117, 115, 59, 1, 10756, 101, 101, 59, 1, 8897, 101, 100, 103, 101, 59, 1, - 8896, 97, 114, 111, 119, 59, 1, 10509, 4, 3, 97, 107, 111, 7362, 7436, 7458, - 4, 2, 99, 110, 7368, 7432, 107, 4, 3, 108, 115, 116, 7377, 7386, 7394, 111, - 122, 101, 110, 103, 101, 59, 1, 10731, 113, 117, 97, 114, 101, 59, 1, 9642, - 114, 105, 97, 110, 103, 108, 101, 4, 4, 59, 100, 108, 114, 7411, 7413, 7419, - 7425, 1, 9652, 111, 119, 110, 59, 1, 9662, 101, 102, 116, 59, 1, 9666, 105, - 103, 104, 116, 59, 1, 9656, 107, 59, 1, 9251, 4, 2, 49, 51, 7442, 7454, 4, - 2, 50, 52, 7448, 7451, 59, 1, 9618, 59, 1, 9617, 52, 59, 1, 9619, 99, 107, - 59, 1, 9608, 4, 2, 101, 111, 7469, 7485, 4, 2, 59, 113, 7475, 7478, 3, 61, - 8421, 117, 105, 118, 59, 3, 8801, 8421, 116, 59, 1, 8976, 4, 4, 112, 116, - 119, 120, 7499, 7504, 7517, 7523, 102, 59, 3, 55349, 56659, 4, 2, 59, 116, - 7510, 7512, 1, 8869, 111, 109, 59, 1, 8869, 116, 105, 101, 59, 1, 8904, 4, - 12, 68, 72, 85, 86, 98, 100, 104, 109, 112, 116, 117, 118, 7549, 7571, 7597, - 7619, 7655, 7660, 7682, 7708, 7715, 7721, 7728, 7750, 4, 4, 76, 82, 108, - 114, 7559, 7562, 7565, 7568, 59, 1, 9559, 59, 1, 9556, 59, 1, 9558, 59, 1, - 9555, 4, 5, 59, 68, 85, 100, 117, 7583, 7585, 7588, 7591, 7594, 1, 9552, 59, - 1, 9574, 59, 1, 9577, 59, 1, 9572, 59, 1, 9575, 4, 4, 76, 82, 108, 114, - 7607, 7610, 7613, 7616, 59, 1, 9565, 59, 1, 9562, 59, 1, 9564, 59, 1, 9561, - 4, 7, 59, 72, 76, 82, 104, 108, 114, 7635, 7637, 7640, 7643, 7646, 7649, - 7652, 1, 9553, 59, 1, 9580, 59, 1, 9571, 59, 1, 9568, 59, 1, 9579, 59, 1, - 9570, 59, 1, 9567, 111, 120, 59, 1, 10697, 4, 4, 76, 82, 108, 114, 7670, - 7673, 7676, 7679, 59, 1, 9557, 59, 1, 9554, 59, 1, 9488, 59, 1, 9484, 4, 5, - 59, 68, 85, 100, 117, 7694, 7696, 7699, 7702, 7705, 1, 9472, 59, 1, 9573, - 59, 1, 9576, 59, 1, 9516, 59, 1, 9524, 105, 110, 117, 115, 59, 1, 8863, 108, - 117, 115, 59, 1, 8862, 105, 109, 101, 115, 59, 1, 8864, 4, 4, 76, 82, 108, - 114, 7738, 7741, 7744, 7747, 59, 1, 9563, 59, 1, 9560, 59, 1, 9496, 59, 1, - 9492, 4, 7, 59, 72, 76, 82, 104, 108, 114, 7766, 7768, 7771, 7774, 7777, - 7780, 7783, 1, 9474, 59, 1, 9578, 59, 1, 9569, 59, 1, 9566, 59, 1, 9532, 59, - 1, 9508, 59, 1, 9500, 114, 105, 109, 101, 59, 1, 8245, 4, 2, 101, 118, 7799, - 7804, 118, 101, 59, 1, 728, 98, 97, 114, 5, 166, 1, 59, 7812, 1, 166, 4, 4, - 99, 101, 105, 111, 7824, 7829, 7834, 7846, 114, 59, 3, 55349, 56503, 109, - 105, 59, 1, 8271, 109, 4, 2, 59, 101, 7841, 7843, 1, 8765, 59, 1, 8909, 108, - 4, 3, 59, 98, 104, 7855, 7857, 7860, 1, 92, 59, 1, 10693, 115, 117, 98, 59, - 1, 10184, 4, 2, 108, 109, 7872, 7885, 108, 4, 2, 59, 101, 7879, 7881, 1, - 8226, 116, 59, 1, 8226, 112, 4, 3, 59, 69, 101, 7894, 7896, 7899, 1, 8782, - 59, 1, 10926, 4, 2, 59, 113, 7905, 7907, 1, 8783, 59, 1, 8783, 4, 15, 97, - 99, 100, 101, 102, 104, 105, 108, 111, 114, 115, 116, 117, 119, 121, 7942, - 8021, 8075, 8080, 8121, 8126, 8157, 8279, 8295, 8430, 8446, 8485, 8491, - 8707, 8726, 4, 3, 99, 112, 114, 7950, 7956, 8007, 117, 116, 101, 59, 1, 263, - 4, 6, 59, 97, 98, 99, 100, 115, 7970, 7972, 7977, 7984, 7998, 8003, 1, 8745, - 110, 100, 59, 1, 10820, 114, 99, 117, 112, 59, 1, 10825, 4, 2, 97, 117, - 7990, 7994, 112, 59, 1, 10827, 112, 59, 1, 10823, 111, 116, 59, 1, 10816, - 59, 3, 8745, 65024, 4, 2, 101, 111, 8013, 8017, 116, 59, 1, 8257, 110, 59, - 1, 711, 4, 4, 97, 101, 105, 117, 8031, 8046, 8056, 8061, 4, 2, 112, 114, - 8037, 8041, 115, 59, 1, 10829, 111, 110, 59, 1, 269, 100, 105, 108, 5, 231, - 1, 59, 8054, 1, 231, 114, 99, 59, 1, 265, 112, 115, 4, 2, 59, 115, 8069, - 8071, 1, 10828, 109, 59, 1, 10832, 111, 116, 59, 1, 267, 4, 3, 100, 109, - 110, 8088, 8097, 8104, 105, 108, 5, 184, 1, 59, 8095, 1, 184, 112, 116, 121, - 118, 59, 1, 10674, 116, 5, 162, 2, 59, 101, 8112, 8114, 1, 162, 114, 100, - 111, 116, 59, 1, 183, 114, 59, 3, 55349, 56608, 4, 3, 99, 101, 105, 8134, - 8138, 8154, 121, 59, 1, 1095, 99, 107, 4, 2, 59, 109, 8146, 8148, 1, 10003, - 97, 114, 107, 59, 1, 10003, 59, 1, 967, 114, 4, 7, 59, 69, 99, 101, 102, - 109, 115, 8174, 8176, 8179, 8258, 8261, 8268, 8273, 1, 9675, 59, 1, 10691, - 4, 3, 59, 101, 108, 8187, 8189, 8193, 1, 710, 113, 59, 1, 8791, 101, 4, 2, - 97, 100, 8200, 8223, 114, 114, 111, 119, 4, 2, 108, 114, 8210, 8216, 101, - 102, 116, 59, 1, 8634, 105, 103, 104, 116, 59, 1, 8635, 4, 5, 82, 83, 97, - 99, 100, 8235, 8238, 8241, 8246, 8252, 59, 1, 174, 59, 1, 9416, 115, 116, - 59, 1, 8859, 105, 114, 99, 59, 1, 8858, 97, 115, 104, 59, 1, 8861, 59, 1, - 8791, 110, 105, 110, 116, 59, 1, 10768, 105, 100, 59, 1, 10991, 99, 105, - 114, 59, 1, 10690, 117, 98, 115, 4, 2, 59, 117, 8288, 8290, 1, 9827, 105, - 116, 59, 1, 9827, 4, 4, 108, 109, 110, 112, 8305, 8326, 8376, 8400, 111, - 110, 4, 2, 59, 101, 8313, 8315, 1, 58, 4, 2, 59, 113, 8321, 8323, 1, 8788, - 59, 1, 8788, 4, 2, 109, 112, 8332, 8344, 97, 4, 2, 59, 116, 8339, 8341, 1, - 44, 59, 1, 64, 4, 3, 59, 102, 108, 8352, 8354, 8358, 1, 8705, 110, 59, 1, - 8728, 101, 4, 2, 109, 120, 8365, 8371, 101, 110, 116, 59, 1, 8705, 101, 115, - 59, 1, 8450, 4, 2, 103, 105, 8382, 8395, 4, 2, 59, 100, 8388, 8390, 1, 8773, - 111, 116, 59, 1, 10861, 110, 116, 59, 1, 8750, 4, 3, 102, 114, 121, 8408, - 8412, 8417, 59, 3, 55349, 56660, 111, 100, 59, 1, 8720, 5, 169, 2, 59, 115, - 8424, 8426, 1, 169, 114, 59, 1, 8471, 4, 2, 97, 111, 8436, 8441, 114, 114, - 59, 1, 8629, 115, 115, 59, 1, 10007, 4, 2, 99, 117, 8452, 8457, 114, 59, 3, - 55349, 56504, 4, 2, 98, 112, 8463, 8474, 4, 2, 59, 101, 8469, 8471, 1, - 10959, 59, 1, 10961, 4, 2, 59, 101, 8480, 8482, 1, 10960, 59, 1, 10962, 100, - 111, 116, 59, 1, 8943, 4, 7, 100, 101, 108, 112, 114, 118, 119, 8507, 8522, - 8536, 8550, 8600, 8697, 8702, 97, 114, 114, 4, 2, 108, 114, 8516, 8519, 59, - 1, 10552, 59, 1, 10549, 4, 2, 112, 115, 8528, 8532, 114, 59, 1, 8926, 99, - 59, 1, 8927, 97, 114, 114, 4, 2, 59, 112, 8545, 8547, 1, 8630, 59, 1, 10557, - 4, 6, 59, 98, 99, 100, 111, 115, 8564, 8566, 8573, 8587, 8592, 8596, 1, - 8746, 114, 99, 97, 112, 59, 1, 10824, 4, 2, 97, 117, 8579, 8583, 112, 59, 1, - 10822, 112, 59, 1, 10826, 111, 116, 59, 1, 8845, 114, 59, 1, 10821, 59, 3, - 8746, 65024, 4, 4, 97, 108, 114, 118, 8610, 8623, 8663, 8672, 114, 114, 4, - 2, 59, 109, 8618, 8620, 1, 8631, 59, 1, 10556, 121, 4, 3, 101, 118, 119, - 8632, 8651, 8656, 113, 4, 2, 112, 115, 8639, 8645, 114, 101, 99, 59, 1, - 8926, 117, 99, 99, 59, 1, 8927, 101, 101, 59, 1, 8910, 101, 100, 103, 101, - 59, 1, 8911, 101, 110, 5, 164, 1, 59, 8670, 1, 164, 101, 97, 114, 114, 111, - 119, 4, 2, 108, 114, 8684, 8690, 101, 102, 116, 59, 1, 8630, 105, 103, 104, - 116, 59, 1, 8631, 101, 101, 59, 1, 8910, 101, 100, 59, 1, 8911, 4, 2, 99, - 105, 8713, 8721, 111, 110, 105, 110, 116, 59, 1, 8754, 110, 116, 59, 1, - 8753, 108, 99, 116, 121, 59, 1, 9005, 4, 19, 65, 72, 97, 98, 99, 100, 101, - 102, 104, 105, 106, 108, 111, 114, 115, 116, 117, 119, 122, 8773, 8778, - 8783, 8821, 8839, 8854, 8887, 8914, 8930, 8944, 9036, 9041, 9058, 9197, - 9227, 9258, 9281, 9297, 9305, 114, 114, 59, 1, 8659, 97, 114, 59, 1, 10597, - 4, 4, 103, 108, 114, 115, 8793, 8799, 8805, 8809, 103, 101, 114, 59, 1, - 8224, 101, 116, 104, 59, 1, 8504, 114, 59, 1, 8595, 104, 4, 2, 59, 118, - 8816, 8818, 1, 8208, 59, 1, 8867, 4, 2, 107, 108, 8827, 8834, 97, 114, 111, - 119, 59, 1, 10511, 97, 99, 59, 1, 733, 4, 2, 97, 121, 8845, 8851, 114, 111, - 110, 59, 1, 271, 59, 1, 1076, 4, 3, 59, 97, 111, 8862, 8864, 8880, 1, 8518, - 4, 2, 103, 114, 8870, 8876, 103, 101, 114, 59, 1, 8225, 114, 59, 1, 8650, - 116, 115, 101, 113, 59, 1, 10871, 4, 3, 103, 108, 109, 8895, 8902, 8907, 5, - 176, 1, 59, 8900, 1, 176, 116, 97, 59, 1, 948, 112, 116, 121, 118, 59, 1, - 10673, 4, 2, 105, 114, 8920, 8926, 115, 104, 116, 59, 1, 10623, 59, 3, - 55349, 56609, 97, 114, 4, 2, 108, 114, 8938, 8941, 59, 1, 8643, 59, 1, 8642, - 4, 5, 97, 101, 103, 115, 118, 8956, 8986, 8989, 8996, 9001, 109, 4, 3, 59, - 111, 115, 8965, 8967, 8983, 1, 8900, 110, 100, 4, 2, 59, 115, 8975, 8977, 1, - 8900, 117, 105, 116, 59, 1, 9830, 59, 1, 9830, 59, 1, 168, 97, 109, 109, 97, - 59, 1, 989, 105, 110, 59, 1, 8946, 4, 3, 59, 105, 111, 9009, 9011, 9031, 1, - 247, 100, 101, 5, 247, 2, 59, 111, 9020, 9022, 1, 247, 110, 116, 105, 109, - 101, 115, 59, 1, 8903, 110, 120, 59, 1, 8903, 99, 121, 59, 1, 1106, 99, 4, - 2, 111, 114, 9048, 9053, 114, 110, 59, 1, 8990, 111, 112, 59, 1, 8973, 4, 5, - 108, 112, 116, 117, 119, 9070, 9076, 9081, 9130, 9144, 108, 97, 114, 59, 1, - 36, 102, 59, 3, 55349, 56661, 4, 5, 59, 101, 109, 112, 115, 9093, 9095, - 9109, 9116, 9122, 1, 729, 113, 4, 2, 59, 100, 9102, 9104, 1, 8784, 111, 116, - 59, 1, 8785, 105, 110, 117, 115, 59, 1, 8760, 108, 117, 115, 59, 1, 8724, - 113, 117, 97, 114, 101, 59, 1, 8865, 98, 108, 101, 98, 97, 114, 119, 101, - 100, 103, 101, 59, 1, 8966, 110, 4, 3, 97, 100, 104, 9153, 9160, 9172, 114, - 114, 111, 119, 59, 1, 8595, 111, 119, 110, 97, 114, 114, 111, 119, 115, 59, - 1, 8650, 97, 114, 112, 111, 111, 110, 4, 2, 108, 114, 9184, 9190, 101, 102, - 116, 59, 1, 8643, 105, 103, 104, 116, 59, 1, 8642, 4, 2, 98, 99, 9203, 9211, - 107, 97, 114, 111, 119, 59, 1, 10512, 4, 2, 111, 114, 9217, 9222, 114, 110, - 59, 1, 8991, 111, 112, 59, 1, 8972, 4, 3, 99, 111, 116, 9235, 9248, 9252, 4, - 2, 114, 121, 9241, 9245, 59, 3, 55349, 56505, 59, 1, 1109, 108, 59, 1, - 10742, 114, 111, 107, 59, 1, 273, 4, 2, 100, 114, 9264, 9269, 111, 116, 59, - 1, 8945, 105, 4, 2, 59, 102, 9276, 9278, 1, 9663, 59, 1, 9662, 4, 2, 97, - 104, 9287, 9292, 114, 114, 59, 1, 8693, 97, 114, 59, 1, 10607, 97, 110, 103, - 108, 101, 59, 1, 10662, 4, 2, 99, 105, 9311, 9315, 121, 59, 1, 1119, 103, - 114, 97, 114, 114, 59, 1, 10239, 4, 18, 68, 97, 99, 100, 101, 102, 103, 108, - 109, 110, 111, 112, 113, 114, 115, 116, 117, 120, 9361, 9376, 9398, 9439, - 9444, 9447, 9462, 9495, 9531, 9585, 9598, 9614, 9659, 9755, 9771, 9792, - 9808, 9826, 4, 2, 68, 111, 9367, 9372, 111, 116, 59, 1, 10871, 116, 59, 1, - 8785, 4, 2, 99, 115, 9382, 9392, 117, 116, 101, 5, 233, 1, 59, 9390, 1, 233, - 116, 101, 114, 59, 1, 10862, 4, 4, 97, 105, 111, 121, 9408, 9414, 9430, - 9436, 114, 111, 110, 59, 1, 283, 114, 4, 2, 59, 99, 9421, 9423, 1, 8790, 5, - 234, 1, 59, 9428, 1, 234, 108, 111, 110, 59, 1, 8789, 59, 1, 1101, 111, 116, - 59, 1, 279, 59, 1, 8519, 4, 2, 68, 114, 9453, 9458, 111, 116, 59, 1, 8786, - 59, 3, 55349, 56610, 4, 3, 59, 114, 115, 9470, 9472, 9482, 1, 10906, 97, - 118, 101, 5, 232, 1, 59, 9480, 1, 232, 4, 2, 59, 100, 9488, 9490, 1, 10902, - 111, 116, 59, 1, 10904, 4, 4, 59, 105, 108, 115, 9505, 9507, 9515, 9518, 1, - 10905, 110, 116, 101, 114, 115, 59, 1, 9191, 59, 1, 8467, 4, 2, 59, 100, - 9524, 9526, 1, 10901, 111, 116, 59, 1, 10903, 4, 3, 97, 112, 115, 9539, - 9544, 9564, 99, 114, 59, 1, 275, 116, 121, 4, 3, 59, 115, 118, 9554, 9556, - 9561, 1, 8709, 101, 116, 59, 1, 8709, 59, 1, 8709, 112, 4, 2, 49, 59, 9571, - 9583, 4, 2, 51, 52, 9577, 9580, 59, 1, 8196, 59, 1, 8197, 1, 8195, 4, 2, - 103, 115, 9591, 9594, 59, 1, 331, 112, 59, 1, 8194, 4, 2, 103, 112, 9604, - 9609, 111, 110, 59, 1, 281, 102, 59, 3, 55349, 56662, 4, 3, 97, 108, 115, - 9622, 9635, 9640, 114, 4, 2, 59, 115, 9629, 9631, 1, 8917, 108, 59, 1, - 10723, 117, 115, 59, 1, 10865, 105, 4, 3, 59, 108, 118, 9649, 9651, 9656, 1, - 949, 111, 110, 59, 1, 949, 59, 1, 1013, 4, 4, 99, 115, 117, 118, 9669, 9686, - 9716, 9747, 4, 2, 105, 111, 9675, 9680, 114, 99, 59, 1, 8790, 108, 111, 110, - 59, 1, 8789, 4, 2, 105, 108, 9692, 9696, 109, 59, 1, 8770, 97, 110, 116, 4, - 2, 103, 108, 9705, 9710, 116, 114, 59, 1, 10902, 101, 115, 115, 59, 1, - 10901, 4, 3, 97, 101, 105, 9724, 9729, 9734, 108, 115, 59, 1, 61, 115, 116, - 59, 1, 8799, 118, 4, 2, 59, 68, 9741, 9743, 1, 8801, 68, 59, 1, 10872, 112, - 97, 114, 115, 108, 59, 1, 10725, 4, 2, 68, 97, 9761, 9766, 111, 116, 59, 1, - 8787, 114, 114, 59, 1, 10609, 4, 3, 99, 100, 105, 9779, 9783, 9788, 114, 59, - 1, 8495, 111, 116, 59, 1, 8784, 109, 59, 1, 8770, 4, 2, 97, 104, 9798, 9801, - 59, 1, 951, 5, 240, 1, 59, 9806, 1, 240, 4, 2, 109, 114, 9814, 9822, 108, 5, - 235, 1, 59, 9820, 1, 235, 111, 59, 1, 8364, 4, 3, 99, 105, 112, 9834, 9838, - 9843, 108, 59, 1, 33, 115, 116, 59, 1, 8707, 4, 2, 101, 111, 9849, 9859, 99, - 116, 97, 116, 105, 111, 110, 59, 1, 8496, 110, 101, 110, 116, 105, 97, 108, - 101, 59, 1, 8519, 4, 12, 97, 99, 101, 102, 105, 106, 108, 110, 111, 112, - 114, 115, 9896, 9910, 9914, 9921, 9954, 9960, 9967, 9989, 9994, 10027, - 10036, 10164, 108, 108, 105, 110, 103, 100, 111, 116, 115, 101, 113, 59, 1, - 8786, 121, 59, 1, 1092, 109, 97, 108, 101, 59, 1, 9792, 4, 3, 105, 108, 114, - 9929, 9935, 9950, 108, 105, 103, 59, 1, 64259, 4, 2, 105, 108, 9941, 9945, - 103, 59, 1, 64256, 105, 103, 59, 1, 64260, 59, 3, 55349, 56611, 108, 105, - 103, 59, 1, 64257, 108, 105, 103, 59, 3, 102, 106, 4, 3, 97, 108, 116, 9975, - 9979, 9984, 116, 59, 1, 9837, 105, 103, 59, 1, 64258, 110, 115, 59, 1, 9649, - 111, 102, 59, 1, 402, 4, 2, 112, 114, 1e4, 10005, 102, 59, 3, 55349, 56663, - 4, 2, 97, 107, 10011, 10016, 108, 108, 59, 1, 8704, 4, 2, 59, 118, 10022, - 10024, 1, 8916, 59, 1, 10969, 97, 114, 116, 105, 110, 116, 59, 1, 10765, 4, - 2, 97, 111, 10042, 10159, 4, 2, 99, 115, 10048, 10155, 4, 6, 49, 50, 51, 52, - 53, 55, 10062, 10102, 10114, 10135, 10139, 10151, 4, 6, 50, 51, 52, 53, 54, - 56, 10076, 10083, 10086, 10093, 10096, 10099, 5, 189, 1, 59, 10081, 1, 189, - 59, 1, 8531, 5, 188, 1, 59, 10091, 1, 188, 59, 1, 8533, 59, 1, 8537, 59, 1, - 8539, 4, 2, 51, 53, 10108, 10111, 59, 1, 8532, 59, 1, 8534, 4, 3, 52, 53, - 56, 10122, 10129, 10132, 5, 190, 1, 59, 10127, 1, 190, 59, 1, 8535, 59, 1, - 8540, 53, 59, 1, 8536, 4, 2, 54, 56, 10145, 10148, 59, 1, 8538, 59, 1, 8541, - 56, 59, 1, 8542, 108, 59, 1, 8260, 119, 110, 59, 1, 8994, 99, 114, 59, 3, - 55349, 56507, 4, 17, 69, 97, 98, 99, 100, 101, 102, 103, 105, 106, 108, 110, - 111, 114, 115, 116, 118, 10206, 10217, 10247, 10254, 10268, 10273, 10358, - 10363, 10374, 10380, 10385, 10406, 10458, 10464, 10470, 10497, 10610, 4, 2, - 59, 108, 10212, 10214, 1, 8807, 59, 1, 10892, 4, 3, 99, 109, 112, 10225, - 10231, 10244, 117, 116, 101, 59, 1, 501, 109, 97, 4, 2, 59, 100, 10239, - 10241, 1, 947, 59, 1, 989, 59, 1, 10886, 114, 101, 118, 101, 59, 1, 287, 4, - 2, 105, 121, 10260, 10265, 114, 99, 59, 1, 285, 59, 1, 1075, 111, 116, 59, - 1, 289, 4, 4, 59, 108, 113, 115, 10283, 10285, 10288, 10308, 1, 8805, 59, 1, - 8923, 4, 3, 59, 113, 115, 10296, 10298, 10301, 1, 8805, 59, 1, 8807, 108, - 97, 110, 116, 59, 1, 10878, 4, 4, 59, 99, 100, 108, 10318, 10320, 10324, - 10345, 1, 10878, 99, 59, 1, 10921, 111, 116, 4, 2, 59, 111, 10332, 10334, 1, - 10880, 4, 2, 59, 108, 10340, 10342, 1, 10882, 59, 1, 10884, 4, 2, 59, 101, - 10351, 10354, 3, 8923, 65024, 115, 59, 1, 10900, 114, 59, 3, 55349, 56612, - 4, 2, 59, 103, 10369, 10371, 1, 8811, 59, 1, 8921, 109, 101, 108, 59, 1, - 8503, 99, 121, 59, 1, 1107, 4, 4, 59, 69, 97, 106, 10395, 10397, 10400, - 10403, 1, 8823, 59, 1, 10898, 59, 1, 10917, 59, 1, 10916, 4, 4, 69, 97, 101, - 115, 10416, 10419, 10434, 10453, 59, 1, 8809, 112, 4, 2, 59, 112, 10426, - 10428, 1, 10890, 114, 111, 120, 59, 1, 10890, 4, 2, 59, 113, 10440, 10442, - 1, 10888, 4, 2, 59, 113, 10448, 10450, 1, 10888, 59, 1, 8809, 105, 109, 59, - 1, 8935, 112, 102, 59, 3, 55349, 56664, 97, 118, 101, 59, 1, 96, 4, 2, 99, - 105, 10476, 10480, 114, 59, 1, 8458, 109, 4, 3, 59, 101, 108, 10489, 10491, - 10494, 1, 8819, 59, 1, 10894, 59, 1, 10896, 5, 62, 6, 59, 99, 100, 108, 113, - 114, 10512, 10514, 10527, 10532, 10538, 10545, 1, 62, 4, 2, 99, 105, 10520, - 10523, 59, 1, 10919, 114, 59, 1, 10874, 111, 116, 59, 1, 8919, 80, 97, 114, - 59, 1, 10645, 117, 101, 115, 116, 59, 1, 10876, 4, 5, 97, 100, 101, 108, - 115, 10557, 10574, 10579, 10599, 10605, 4, 2, 112, 114, 10563, 10570, 112, - 114, 111, 120, 59, 1, 10886, 114, 59, 1, 10616, 111, 116, 59, 1, 8919, 113, - 4, 2, 108, 113, 10586, 10592, 101, 115, 115, 59, 1, 8923, 108, 101, 115, - 115, 59, 1, 10892, 101, 115, 115, 59, 1, 8823, 105, 109, 59, 1, 8819, 4, 2, - 101, 110, 10616, 10626, 114, 116, 110, 101, 113, 113, 59, 3, 8809, 65024, - 69, 59, 3, 8809, 65024, 4, 10, 65, 97, 98, 99, 101, 102, 107, 111, 115, 121, - 10653, 10658, 10713, 10718, 10724, 10760, 10765, 10786, 10850, 10875, 114, - 114, 59, 1, 8660, 4, 4, 105, 108, 109, 114, 10668, 10674, 10678, 10684, 114, - 115, 112, 59, 1, 8202, 102, 59, 1, 189, 105, 108, 116, 59, 1, 8459, 4, 2, - 100, 114, 10690, 10695, 99, 121, 59, 1, 1098, 4, 3, 59, 99, 119, 10703, - 10705, 10710, 1, 8596, 105, 114, 59, 1, 10568, 59, 1, 8621, 97, 114, 59, 1, - 8463, 105, 114, 99, 59, 1, 293, 4, 3, 97, 108, 114, 10732, 10748, 10754, - 114, 116, 115, 4, 2, 59, 117, 10741, 10743, 1, 9829, 105, 116, 59, 1, 9829, - 108, 105, 112, 59, 1, 8230, 99, 111, 110, 59, 1, 8889, 114, 59, 3, 55349, - 56613, 115, 4, 2, 101, 119, 10772, 10779, 97, 114, 111, 119, 59, 1, 10533, - 97, 114, 111, 119, 59, 1, 10534, 4, 5, 97, 109, 111, 112, 114, 10798, 10803, - 10809, 10839, 10844, 114, 114, 59, 1, 8703, 116, 104, 116, 59, 1, 8763, 107, - 4, 2, 108, 114, 10816, 10827, 101, 102, 116, 97, 114, 114, 111, 119, 59, 1, - 8617, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 1, 8618, 102, 59, 3, - 55349, 56665, 98, 97, 114, 59, 1, 8213, 4, 3, 99, 108, 116, 10858, 10863, - 10869, 114, 59, 3, 55349, 56509, 97, 115, 104, 59, 1, 8463, 114, 111, 107, - 59, 1, 295, 4, 2, 98, 112, 10881, 10887, 117, 108, 108, 59, 1, 8259, 104, - 101, 110, 59, 1, 8208, 4, 15, 97, 99, 101, 102, 103, 105, 106, 109, 110, - 111, 112, 113, 115, 116, 117, 10925, 10936, 10958, 10977, 10990, 11001, - 11039, 11045, 11101, 11192, 11220, 11226, 11237, 11285, 11299, 99, 117, 116, - 101, 5, 237, 1, 59, 10934, 1, 237, 4, 3, 59, 105, 121, 10944, 10946, 10955, - 1, 8291, 114, 99, 5, 238, 1, 59, 10953, 1, 238, 59, 1, 1080, 4, 2, 99, 120, - 10964, 10968, 121, 59, 1, 1077, 99, 108, 5, 161, 1, 59, 10975, 1, 161, 4, 2, - 102, 114, 10983, 10986, 59, 1, 8660, 59, 3, 55349, 56614, 114, 97, 118, 101, - 5, 236, 1, 59, 10999, 1, 236, 4, 4, 59, 105, 110, 111, 11011, 11013, 11028, - 11034, 1, 8520, 4, 2, 105, 110, 11019, 11024, 110, 116, 59, 1, 10764, 116, - 59, 1, 8749, 102, 105, 110, 59, 1, 10716, 116, 97, 59, 1, 8489, 108, 105, - 103, 59, 1, 307, 4, 3, 97, 111, 112, 11053, 11092, 11096, 4, 3, 99, 103, - 116, 11061, 11065, 11088, 114, 59, 1, 299, 4, 3, 101, 108, 112, 11073, - 11076, 11082, 59, 1, 8465, 105, 110, 101, 59, 1, 8464, 97, 114, 116, 59, 1, - 8465, 104, 59, 1, 305, 102, 59, 1, 8887, 101, 100, 59, 1, 437, 4, 5, 59, 99, - 102, 111, 116, 11113, 11115, 11121, 11136, 11142, 1, 8712, 97, 114, 101, 59, - 1, 8453, 105, 110, 4, 2, 59, 116, 11129, 11131, 1, 8734, 105, 101, 59, 1, - 10717, 100, 111, 116, 59, 1, 305, 4, 5, 59, 99, 101, 108, 112, 11154, 11156, - 11161, 11179, 11186, 1, 8747, 97, 108, 59, 1, 8890, 4, 2, 103, 114, 11167, - 11173, 101, 114, 115, 59, 1, 8484, 99, 97, 108, 59, 1, 8890, 97, 114, 104, - 107, 59, 1, 10775, 114, 111, 100, 59, 1, 10812, 4, 4, 99, 103, 112, 116, - 11202, 11206, 11211, 11216, 121, 59, 1, 1105, 111, 110, 59, 1, 303, 102, 59, - 3, 55349, 56666, 97, 59, 1, 953, 114, 111, 100, 59, 1, 10812, 117, 101, 115, - 116, 5, 191, 1, 59, 11235, 1, 191, 4, 2, 99, 105, 11243, 11248, 114, 59, 3, - 55349, 56510, 110, 4, 5, 59, 69, 100, 115, 118, 11261, 11263, 11266, 11271, - 11282, 1, 8712, 59, 1, 8953, 111, 116, 59, 1, 8949, 4, 2, 59, 118, 11277, - 11279, 1, 8948, 59, 1, 8947, 59, 1, 8712, 4, 2, 59, 105, 11291, 11293, 1, - 8290, 108, 100, 101, 59, 1, 297, 4, 2, 107, 109, 11305, 11310, 99, 121, 59, - 1, 1110, 108, 5, 239, 1, 59, 11316, 1, 239, 4, 6, 99, 102, 109, 111, 115, - 117, 11332, 11346, 11351, 11357, 11363, 11380, 4, 2, 105, 121, 11338, 11343, - 114, 99, 59, 1, 309, 59, 1, 1081, 114, 59, 3, 55349, 56615, 97, 116, 104, - 59, 1, 567, 112, 102, 59, 3, 55349, 56667, 4, 2, 99, 101, 11369, 11374, 114, - 59, 3, 55349, 56511, 114, 99, 121, 59, 1, 1112, 107, 99, 121, 59, 1, 1108, - 4, 8, 97, 99, 102, 103, 104, 106, 111, 115, 11404, 11418, 11433, 11438, - 11445, 11450, 11455, 11461, 112, 112, 97, 4, 2, 59, 118, 11413, 11415, 1, - 954, 59, 1, 1008, 4, 2, 101, 121, 11424, 11430, 100, 105, 108, 59, 1, 311, - 59, 1, 1082, 114, 59, 3, 55349, 56616, 114, 101, 101, 110, 59, 1, 312, 99, - 121, 59, 1, 1093, 99, 121, 59, 1, 1116, 112, 102, 59, 3, 55349, 56668, 99, - 114, 59, 3, 55349, 56512, 4, 23, 65, 66, 69, 72, 97, 98, 99, 100, 101, 102, - 103, 104, 106, 108, 109, 110, 111, 112, 114, 115, 116, 117, 118, 11515, - 11538, 11544, 11555, 11560, 11721, 11780, 11818, 11868, 12136, 12160, 12171, - 12203, 12208, 12246, 12275, 12327, 12509, 12523, 12569, 12641, 12732, 12752, - 4, 3, 97, 114, 116, 11523, 11528, 11532, 114, 114, 59, 1, 8666, 114, 59, 1, - 8656, 97, 105, 108, 59, 1, 10523, 97, 114, 114, 59, 1, 10510, 4, 2, 59, 103, - 11550, 11552, 1, 8806, 59, 1, 10891, 97, 114, 59, 1, 10594, 4, 9, 99, 101, - 103, 109, 110, 112, 113, 114, 116, 11580, 11586, 11594, 11600, 11606, 11624, - 11627, 11636, 11694, 117, 116, 101, 59, 1, 314, 109, 112, 116, 121, 118, 59, - 1, 10676, 114, 97, 110, 59, 1, 8466, 98, 100, 97, 59, 1, 955, 103, 4, 3, 59, - 100, 108, 11615, 11617, 11620, 1, 10216, 59, 1, 10641, 101, 59, 1, 10216, - 59, 1, 10885, 117, 111, 5, 171, 1, 59, 11634, 1, 171, 114, 4, 8, 59, 98, - 102, 104, 108, 112, 115, 116, 11655, 11657, 11669, 11673, 11677, 11681, - 11685, 11690, 1, 8592, 4, 2, 59, 102, 11663, 11665, 1, 8676, 115, 59, 1, - 10527, 115, 59, 1, 10525, 107, 59, 1, 8617, 112, 59, 1, 8619, 108, 59, 1, - 10553, 105, 109, 59, 1, 10611, 108, 59, 1, 8610, 4, 3, 59, 97, 101, 11702, - 11704, 11709, 1, 10923, 105, 108, 59, 1, 10521, 4, 2, 59, 115, 11715, 11717, - 1, 10925, 59, 3, 10925, 65024, 4, 3, 97, 98, 114, 11729, 11734, 11739, 114, - 114, 59, 1, 10508, 114, 107, 59, 1, 10098, 4, 2, 97, 107, 11745, 11758, 99, - 4, 2, 101, 107, 11752, 11755, 59, 1, 123, 59, 1, 91, 4, 2, 101, 115, 11764, - 11767, 59, 1, 10635, 108, 4, 2, 100, 117, 11774, 11777, 59, 1, 10639, 59, 1, - 10637, 4, 4, 97, 101, 117, 121, 11790, 11796, 11811, 11815, 114, 111, 110, - 59, 1, 318, 4, 2, 100, 105, 11802, 11807, 105, 108, 59, 1, 316, 108, 59, 1, - 8968, 98, 59, 1, 123, 59, 1, 1083, 4, 4, 99, 113, 114, 115, 11828, 11832, - 11845, 11864, 97, 59, 1, 10550, 117, 111, 4, 2, 59, 114, 11840, 11842, 1, - 8220, 59, 1, 8222, 4, 2, 100, 117, 11851, 11857, 104, 97, 114, 59, 1, 10599, - 115, 104, 97, 114, 59, 1, 10571, 104, 59, 1, 8626, 4, 5, 59, 102, 103, 113, - 115, 11880, 11882, 12008, 12011, 12031, 1, 8804, 116, 4, 5, 97, 104, 108, - 114, 116, 11895, 11913, 11935, 11947, 11996, 114, 114, 111, 119, 4, 2, 59, - 116, 11905, 11907, 1, 8592, 97, 105, 108, 59, 1, 8610, 97, 114, 112, 111, - 111, 110, 4, 2, 100, 117, 11925, 11931, 111, 119, 110, 59, 1, 8637, 112, 59, - 1, 8636, 101, 102, 116, 97, 114, 114, 111, 119, 115, 59, 1, 8647, 105, 103, - 104, 116, 4, 3, 97, 104, 115, 11959, 11974, 11984, 114, 114, 111, 119, 4, 2, - 59, 115, 11969, 11971, 1, 8596, 59, 1, 8646, 97, 114, 112, 111, 111, 110, - 115, 59, 1, 8651, 113, 117, 105, 103, 97, 114, 114, 111, 119, 59, 1, 8621, - 104, 114, 101, 101, 116, 105, 109, 101, 115, 59, 1, 8907, 59, 1, 8922, 4, 3, - 59, 113, 115, 12019, 12021, 12024, 1, 8804, 59, 1, 8806, 108, 97, 110, 116, - 59, 1, 10877, 4, 5, 59, 99, 100, 103, 115, 12043, 12045, 12049, 12070, - 12083, 1, 10877, 99, 59, 1, 10920, 111, 116, 4, 2, 59, 111, 12057, 12059, 1, - 10879, 4, 2, 59, 114, 12065, 12067, 1, 10881, 59, 1, 10883, 4, 2, 59, 101, - 12076, 12079, 3, 8922, 65024, 115, 59, 1, 10899, 4, 5, 97, 100, 101, 103, - 115, 12095, 12103, 12108, 12126, 12131, 112, 112, 114, 111, 120, 59, 1, - 10885, 111, 116, 59, 1, 8918, 113, 4, 2, 103, 113, 12115, 12120, 116, 114, - 59, 1, 8922, 103, 116, 114, 59, 1, 10891, 116, 114, 59, 1, 8822, 105, 109, - 59, 1, 8818, 4, 3, 105, 108, 114, 12144, 12150, 12156, 115, 104, 116, 59, 1, - 10620, 111, 111, 114, 59, 1, 8970, 59, 3, 55349, 56617, 4, 2, 59, 69, 12166, - 12168, 1, 8822, 59, 1, 10897, 4, 2, 97, 98, 12177, 12198, 114, 4, 2, 100, - 117, 12184, 12187, 59, 1, 8637, 4, 2, 59, 108, 12193, 12195, 1, 8636, 59, 1, - 10602, 108, 107, 59, 1, 9604, 99, 121, 59, 1, 1113, 4, 5, 59, 97, 99, 104, - 116, 12220, 12222, 12227, 12235, 12241, 1, 8810, 114, 114, 59, 1, 8647, 111, - 114, 110, 101, 114, 59, 1, 8990, 97, 114, 100, 59, 1, 10603, 114, 105, 59, - 1, 9722, 4, 2, 105, 111, 12252, 12258, 100, 111, 116, 59, 1, 320, 117, 115, - 116, 4, 2, 59, 97, 12267, 12269, 1, 9136, 99, 104, 101, 59, 1, 9136, 4, 4, - 69, 97, 101, 115, 12285, 12288, 12303, 12322, 59, 1, 8808, 112, 4, 2, 59, - 112, 12295, 12297, 1, 10889, 114, 111, 120, 59, 1, 10889, 4, 2, 59, 113, - 12309, 12311, 1, 10887, 4, 2, 59, 113, 12317, 12319, 1, 10887, 59, 1, 8808, - 105, 109, 59, 1, 8934, 4, 8, 97, 98, 110, 111, 112, 116, 119, 122, 12345, - 12359, 12364, 12421, 12446, 12467, 12474, 12490, 4, 2, 110, 114, 12351, - 12355, 103, 59, 1, 10220, 114, 59, 1, 8701, 114, 107, 59, 1, 10214, 103, 4, - 3, 108, 109, 114, 12373, 12401, 12409, 101, 102, 116, 4, 2, 97, 114, 12382, - 12389, 114, 114, 111, 119, 59, 1, 10229, 105, 103, 104, 116, 97, 114, 114, - 111, 119, 59, 1, 10231, 97, 112, 115, 116, 111, 59, 1, 10236, 105, 103, 104, - 116, 97, 114, 114, 111, 119, 59, 1, 10230, 112, 97, 114, 114, 111, 119, 4, - 2, 108, 114, 12433, 12439, 101, 102, 116, 59, 1, 8619, 105, 103, 104, 116, - 59, 1, 8620, 4, 3, 97, 102, 108, 12454, 12458, 12462, 114, 59, 1, 10629, 59, - 3, 55349, 56669, 117, 115, 59, 1, 10797, 105, 109, 101, 115, 59, 1, 10804, - 4, 2, 97, 98, 12480, 12485, 115, 116, 59, 1, 8727, 97, 114, 59, 1, 95, 4, 3, - 59, 101, 102, 12498, 12500, 12506, 1, 9674, 110, 103, 101, 59, 1, 9674, 59, - 1, 10731, 97, 114, 4, 2, 59, 108, 12517, 12519, 1, 40, 116, 59, 1, 10643, 4, - 5, 97, 99, 104, 109, 116, 12535, 12540, 12548, 12561, 12564, 114, 114, 59, - 1, 8646, 111, 114, 110, 101, 114, 59, 1, 8991, 97, 114, 4, 2, 59, 100, - 12556, 12558, 1, 8651, 59, 1, 10605, 59, 1, 8206, 114, 105, 59, 1, 8895, 4, - 6, 97, 99, 104, 105, 113, 116, 12583, 12589, 12594, 12597, 12614, 12635, - 113, 117, 111, 59, 1, 8249, 114, 59, 3, 55349, 56513, 59, 1, 8624, 109, 4, - 3, 59, 101, 103, 12606, 12608, 12611, 1, 8818, 59, 1, 10893, 59, 1, 10895, - 4, 2, 98, 117, 12620, 12623, 59, 1, 91, 111, 4, 2, 59, 114, 12630, 12632, 1, - 8216, 59, 1, 8218, 114, 111, 107, 59, 1, 322, 5, 60, 8, 59, 99, 100, 104, - 105, 108, 113, 114, 12660, 12662, 12675, 12680, 12686, 12692, 12698, 12705, - 1, 60, 4, 2, 99, 105, 12668, 12671, 59, 1, 10918, 114, 59, 1, 10873, 111, - 116, 59, 1, 8918, 114, 101, 101, 59, 1, 8907, 109, 101, 115, 59, 1, 8905, - 97, 114, 114, 59, 1, 10614, 117, 101, 115, 116, 59, 1, 10875, 4, 2, 80, 105, - 12711, 12716, 97, 114, 59, 1, 10646, 4, 3, 59, 101, 102, 12724, 12726, - 12729, 1, 9667, 59, 1, 8884, 59, 1, 9666, 114, 4, 2, 100, 117, 12739, 12746, - 115, 104, 97, 114, 59, 1, 10570, 104, 97, 114, 59, 1, 10598, 4, 2, 101, 110, - 12758, 12768, 114, 116, 110, 101, 113, 113, 59, 3, 8808, 65024, 69, 59, 3, - 8808, 65024, 4, 14, 68, 97, 99, 100, 101, 102, 104, 105, 108, 110, 111, 112, - 115, 117, 12803, 12809, 12893, 12908, 12914, 12928, 12933, 12937, 13011, - 13025, 13032, 13049, 13052, 13069, 68, 111, 116, 59, 1, 8762, 4, 4, 99, 108, - 112, 114, 12819, 12827, 12849, 12887, 114, 5, 175, 1, 59, 12825, 1, 175, 4, - 2, 101, 116, 12833, 12836, 59, 1, 9794, 4, 2, 59, 101, 12842, 12844, 1, - 10016, 115, 101, 59, 1, 10016, 4, 2, 59, 115, 12855, 12857, 1, 8614, 116, - 111, 4, 4, 59, 100, 108, 117, 12869, 12871, 12877, 12883, 1, 8614, 111, 119, - 110, 59, 1, 8615, 101, 102, 116, 59, 1, 8612, 112, 59, 1, 8613, 107, 101, - 114, 59, 1, 9646, 4, 2, 111, 121, 12899, 12905, 109, 109, 97, 59, 1, 10793, - 59, 1, 1084, 97, 115, 104, 59, 1, 8212, 97, 115, 117, 114, 101, 100, 97, - 110, 103, 108, 101, 59, 1, 8737, 114, 59, 3, 55349, 56618, 111, 59, 1, 8487, - 4, 3, 99, 100, 110, 12945, 12954, 12985, 114, 111, 5, 181, 1, 59, 12952, 1, - 181, 4, 4, 59, 97, 99, 100, 12964, 12966, 12971, 12976, 1, 8739, 115, 116, - 59, 1, 42, 105, 114, 59, 1, 10992, 111, 116, 5, 183, 1, 59, 12983, 1, 183, - 117, 115, 4, 3, 59, 98, 100, 12995, 12997, 13e3, 1, 8722, 59, 1, 8863, 4, 2, - 59, 117, 13006, 13008, 1, 8760, 59, 1, 10794, 4, 2, 99, 100, 13017, 13021, - 112, 59, 1, 10971, 114, 59, 1, 8230, 112, 108, 117, 115, 59, 1, 8723, 4, 2, - 100, 112, 13038, 13044, 101, 108, 115, 59, 1, 8871, 102, 59, 3, 55349, - 56670, 59, 1, 8723, 4, 2, 99, 116, 13058, 13063, 114, 59, 3, 55349, 56514, - 112, 111, 115, 59, 1, 8766, 4, 3, 59, 108, 109, 13077, 13079, 13087, 1, 956, - 116, 105, 109, 97, 112, 59, 1, 8888, 97, 112, 59, 1, 8888, 4, 24, 71, 76, - 82, 86, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 108, 109, 111, 112, - 114, 115, 116, 117, 118, 119, 13142, 13165, 13217, 13229, 13247, 13330, - 13359, 13414, 13420, 13508, 13513, 13579, 13602, 13626, 13631, 13762, 13767, - 13855, 13936, 13995, 14214, 14285, 14312, 14432, 4, 2, 103, 116, 13148, - 13152, 59, 3, 8921, 824, 4, 2, 59, 118, 13158, 13161, 3, 8811, 8402, 59, 3, - 8811, 824, 4, 3, 101, 108, 116, 13173, 13200, 13204, 102, 116, 4, 2, 97, - 114, 13181, 13188, 114, 114, 111, 119, 59, 1, 8653, 105, 103, 104, 116, 97, - 114, 114, 111, 119, 59, 1, 8654, 59, 3, 8920, 824, 4, 2, 59, 118, 13210, - 13213, 3, 8810, 8402, 59, 3, 8810, 824, 105, 103, 104, 116, 97, 114, 114, - 111, 119, 59, 1, 8655, 4, 2, 68, 100, 13235, 13241, 97, 115, 104, 59, 1, - 8879, 97, 115, 104, 59, 1, 8878, 4, 5, 98, 99, 110, 112, 116, 13259, 13264, - 13270, 13275, 13308, 108, 97, 59, 1, 8711, 117, 116, 101, 59, 1, 324, 103, - 59, 3, 8736, 8402, 4, 5, 59, 69, 105, 111, 112, 13287, 13289, 13293, 13298, - 13302, 1, 8777, 59, 3, 10864, 824, 100, 59, 3, 8779, 824, 115, 59, 1, 329, - 114, 111, 120, 59, 1, 8777, 117, 114, 4, 2, 59, 97, 13316, 13318, 1, 9838, - 108, 4, 2, 59, 115, 13325, 13327, 1, 9838, 59, 1, 8469, 4, 2, 115, 117, - 13336, 13344, 112, 5, 160, 1, 59, 13342, 1, 160, 109, 112, 4, 2, 59, 101, - 13352, 13355, 3, 8782, 824, 59, 3, 8783, 824, 4, 5, 97, 101, 111, 117, 121, - 13371, 13385, 13391, 13407, 13411, 4, 2, 112, 114, 13377, 13380, 59, 1, - 10819, 111, 110, 59, 1, 328, 100, 105, 108, 59, 1, 326, 110, 103, 4, 2, 59, - 100, 13399, 13401, 1, 8775, 111, 116, 59, 3, 10861, 824, 112, 59, 1, 10818, - 59, 1, 1085, 97, 115, 104, 59, 1, 8211, 4, 7, 59, 65, 97, 100, 113, 115, - 120, 13436, 13438, 13443, 13466, 13472, 13478, 13494, 1, 8800, 114, 114, 59, - 1, 8663, 114, 4, 2, 104, 114, 13450, 13454, 107, 59, 1, 10532, 4, 2, 59, - 111, 13460, 13462, 1, 8599, 119, 59, 1, 8599, 111, 116, 59, 3, 8784, 824, - 117, 105, 118, 59, 1, 8802, 4, 2, 101, 105, 13484, 13489, 97, 114, 59, 1, - 10536, 109, 59, 3, 8770, 824, 105, 115, 116, 4, 2, 59, 115, 13503, 13505, 1, - 8708, 59, 1, 8708, 114, 59, 3, 55349, 56619, 4, 4, 69, 101, 115, 116, 13523, - 13527, 13563, 13568, 59, 3, 8807, 824, 4, 3, 59, 113, 115, 13535, 13537, - 13559, 1, 8817, 4, 3, 59, 113, 115, 13545, 13547, 13551, 1, 8817, 59, 3, - 8807, 824, 108, 97, 110, 116, 59, 3, 10878, 824, 59, 3, 10878, 824, 105, - 109, 59, 1, 8821, 4, 2, 59, 114, 13574, 13576, 1, 8815, 59, 1, 8815, 4, 3, - 65, 97, 112, 13587, 13592, 13597, 114, 114, 59, 1, 8654, 114, 114, 59, 1, - 8622, 97, 114, 59, 1, 10994, 4, 3, 59, 115, 118, 13610, 13612, 13623, 1, - 8715, 4, 2, 59, 100, 13618, 13620, 1, 8956, 59, 1, 8954, 59, 1, 8715, 99, - 121, 59, 1, 1114, 4, 7, 65, 69, 97, 100, 101, 115, 116, 13647, 13652, 13656, - 13661, 13665, 13737, 13742, 114, 114, 59, 1, 8653, 59, 3, 8806, 824, 114, - 114, 59, 1, 8602, 114, 59, 1, 8229, 4, 4, 59, 102, 113, 115, 13675, 13677, - 13703, 13725, 1, 8816, 116, 4, 2, 97, 114, 13684, 13691, 114, 114, 111, 119, - 59, 1, 8602, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 1, 8622, 4, 3, - 59, 113, 115, 13711, 13713, 13717, 1, 8816, 59, 3, 8806, 824, 108, 97, 110, - 116, 59, 3, 10877, 824, 4, 2, 59, 115, 13731, 13734, 3, 10877, 824, 59, 1, - 8814, 105, 109, 59, 1, 8820, 4, 2, 59, 114, 13748, 13750, 1, 8814, 105, 4, - 2, 59, 101, 13757, 13759, 1, 8938, 59, 1, 8940, 105, 100, 59, 1, 8740, 4, 2, - 112, 116, 13773, 13778, 102, 59, 3, 55349, 56671, 5, 172, 3, 59, 105, 110, - 13787, 13789, 13829, 1, 172, 110, 4, 4, 59, 69, 100, 118, 13800, 13802, - 13806, 13812, 1, 8713, 59, 3, 8953, 824, 111, 116, 59, 3, 8949, 824, 4, 3, - 97, 98, 99, 13820, 13823, 13826, 59, 1, 8713, 59, 1, 8951, 59, 1, 8950, 105, - 4, 2, 59, 118, 13836, 13838, 1, 8716, 4, 3, 97, 98, 99, 13846, 13849, 13852, - 59, 1, 8716, 59, 1, 8958, 59, 1, 8957, 4, 3, 97, 111, 114, 13863, 13892, - 13899, 114, 4, 4, 59, 97, 115, 116, 13874, 13876, 13883, 13888, 1, 8742, - 108, 108, 101, 108, 59, 1, 8742, 108, 59, 3, 11005, 8421, 59, 3, 8706, 824, - 108, 105, 110, 116, 59, 1, 10772, 4, 3, 59, 99, 101, 13907, 13909, 13914, 1, - 8832, 117, 101, 59, 1, 8928, 4, 2, 59, 99, 13920, 13923, 3, 10927, 824, 4, - 2, 59, 101, 13929, 13931, 1, 8832, 113, 59, 3, 10927, 824, 4, 4, 65, 97, - 105, 116, 13946, 13951, 13971, 13982, 114, 114, 59, 1, 8655, 114, 114, 4, 3, - 59, 99, 119, 13961, 13963, 13967, 1, 8603, 59, 3, 10547, 824, 59, 3, 8605, - 824, 103, 104, 116, 97, 114, 114, 111, 119, 59, 1, 8603, 114, 105, 4, 2, 59, - 101, 13990, 13992, 1, 8939, 59, 1, 8941, 4, 7, 99, 104, 105, 109, 112, 113, - 117, 14011, 14036, 14060, 14080, 14085, 14090, 14106, 4, 4, 59, 99, 101, - 114, 14021, 14023, 14028, 14032, 1, 8833, 117, 101, 59, 1, 8929, 59, 3, - 10928, 824, 59, 3, 55349, 56515, 111, 114, 116, 4, 2, 109, 112, 14045, - 14050, 105, 100, 59, 1, 8740, 97, 114, 97, 108, 108, 101, 108, 59, 1, 8742, - 109, 4, 2, 59, 101, 14067, 14069, 1, 8769, 4, 2, 59, 113, 14075, 14077, 1, - 8772, 59, 1, 8772, 105, 100, 59, 1, 8740, 97, 114, 59, 1, 8742, 115, 117, 4, - 2, 98, 112, 14098, 14102, 101, 59, 1, 8930, 101, 59, 1, 8931, 4, 3, 98, 99, - 112, 14114, 14157, 14171, 4, 4, 59, 69, 101, 115, 14124, 14126, 14130, - 14133, 1, 8836, 59, 3, 10949, 824, 59, 1, 8840, 101, 116, 4, 2, 59, 101, - 14141, 14144, 3, 8834, 8402, 113, 4, 2, 59, 113, 14151, 14153, 1, 8840, 59, - 3, 10949, 824, 99, 4, 2, 59, 101, 14164, 14166, 1, 8833, 113, 59, 3, 10928, - 824, 4, 4, 59, 69, 101, 115, 14181, 14183, 14187, 14190, 1, 8837, 59, 3, - 10950, 824, 59, 1, 8841, 101, 116, 4, 2, 59, 101, 14198, 14201, 3, 8835, - 8402, 113, 4, 2, 59, 113, 14208, 14210, 1, 8841, 59, 3, 10950, 824, 4, 4, - 103, 105, 108, 114, 14224, 14228, 14238, 14242, 108, 59, 1, 8825, 108, 100, - 101, 5, 241, 1, 59, 14236, 1, 241, 103, 59, 1, 8824, 105, 97, 110, 103, 108, - 101, 4, 2, 108, 114, 14254, 14269, 101, 102, 116, 4, 2, 59, 101, 14263, - 14265, 1, 8938, 113, 59, 1, 8940, 105, 103, 104, 116, 4, 2, 59, 101, 14279, - 14281, 1, 8939, 113, 59, 1, 8941, 4, 2, 59, 109, 14291, 14293, 1, 957, 4, 3, - 59, 101, 115, 14301, 14303, 14308, 1, 35, 114, 111, 59, 1, 8470, 112, 59, 1, - 8199, 4, 9, 68, 72, 97, 100, 103, 105, 108, 114, 115, 14332, 14338, 14344, - 14349, 14355, 14369, 14376, 14408, 14426, 97, 115, 104, 59, 1, 8877, 97, - 114, 114, 59, 1, 10500, 112, 59, 3, 8781, 8402, 97, 115, 104, 59, 1, 8876, - 4, 2, 101, 116, 14361, 14365, 59, 3, 8805, 8402, 59, 3, 62, 8402, 110, 102, - 105, 110, 59, 1, 10718, 4, 3, 65, 101, 116, 14384, 14389, 14393, 114, 114, - 59, 1, 10498, 59, 3, 8804, 8402, 4, 2, 59, 114, 14399, 14402, 3, 60, 8402, - 105, 101, 59, 3, 8884, 8402, 4, 2, 65, 116, 14414, 14419, 114, 114, 59, 1, - 10499, 114, 105, 101, 59, 3, 8885, 8402, 105, 109, 59, 3, 8764, 8402, 4, 3, - 65, 97, 110, 14440, 14445, 14468, 114, 114, 59, 1, 8662, 114, 4, 2, 104, - 114, 14452, 14456, 107, 59, 1, 10531, 4, 2, 59, 111, 14462, 14464, 1, 8598, - 119, 59, 1, 8598, 101, 97, 114, 59, 1, 10535, 4, 18, 83, 97, 99, 100, 101, - 102, 103, 104, 105, 108, 109, 111, 112, 114, 115, 116, 117, 118, 14512, - 14515, 14535, 14560, 14597, 14603, 14618, 14643, 14657, 14662, 14701, 14741, - 14747, 14769, 14851, 14877, 14907, 14916, 59, 1, 9416, 4, 2, 99, 115, 14521, - 14531, 117, 116, 101, 5, 243, 1, 59, 14529, 1, 243, 116, 59, 1, 8859, 4, 2, - 105, 121, 14541, 14557, 114, 4, 2, 59, 99, 14548, 14550, 1, 8858, 5, 244, 1, - 59, 14555, 1, 244, 59, 1, 1086, 4, 5, 97, 98, 105, 111, 115, 14572, 14577, - 14583, 14587, 14591, 115, 104, 59, 1, 8861, 108, 97, 99, 59, 1, 337, 118, - 59, 1, 10808, 116, 59, 1, 8857, 111, 108, 100, 59, 1, 10684, 108, 105, 103, - 59, 1, 339, 4, 2, 99, 114, 14609, 14614, 105, 114, 59, 1, 10687, 59, 3, - 55349, 56620, 4, 3, 111, 114, 116, 14626, 14630, 14640, 110, 59, 1, 731, 97, - 118, 101, 5, 242, 1, 59, 14638, 1, 242, 59, 1, 10689, 4, 2, 98, 109, 14649, - 14654, 97, 114, 59, 1, 10677, 59, 1, 937, 110, 116, 59, 1, 8750, 4, 4, 97, - 99, 105, 116, 14672, 14677, 14693, 14698, 114, 114, 59, 1, 8634, 4, 2, 105, - 114, 14683, 14687, 114, 59, 1, 10686, 111, 115, 115, 59, 1, 10683, 110, 101, - 59, 1, 8254, 59, 1, 10688, 4, 3, 97, 101, 105, 14709, 14714, 14719, 99, 114, - 59, 1, 333, 103, 97, 59, 1, 969, 4, 3, 99, 100, 110, 14727, 14733, 14736, - 114, 111, 110, 59, 1, 959, 59, 1, 10678, 117, 115, 59, 1, 8854, 112, 102, - 59, 3, 55349, 56672, 4, 3, 97, 101, 108, 14755, 14759, 14764, 114, 59, 1, - 10679, 114, 112, 59, 1, 10681, 117, 115, 59, 1, 8853, 4, 7, 59, 97, 100, - 105, 111, 115, 118, 14785, 14787, 14792, 14831, 14837, 14841, 14848, 1, - 8744, 114, 114, 59, 1, 8635, 4, 4, 59, 101, 102, 109, 14802, 14804, 14817, - 14824, 1, 10845, 114, 4, 2, 59, 111, 14811, 14813, 1, 8500, 102, 59, 1, - 8500, 5, 170, 1, 59, 14822, 1, 170, 5, 186, 1, 59, 14829, 1, 186, 103, 111, - 102, 59, 1, 8886, 114, 59, 1, 10838, 108, 111, 112, 101, 59, 1, 10839, 59, - 1, 10843, 4, 3, 99, 108, 111, 14859, 14863, 14873, 114, 59, 1, 8500, 97, - 115, 104, 5, 248, 1, 59, 14871, 1, 248, 108, 59, 1, 8856, 105, 4, 2, 108, - 109, 14884, 14893, 100, 101, 5, 245, 1, 59, 14891, 1, 245, 101, 115, 4, 2, - 59, 97, 14901, 14903, 1, 8855, 115, 59, 1, 10806, 109, 108, 5, 246, 1, 59, - 14914, 1, 246, 98, 97, 114, 59, 1, 9021, 4, 12, 97, 99, 101, 102, 104, 105, - 108, 109, 111, 114, 115, 117, 14948, 14992, 14996, 15033, 15038, 15068, - 15090, 15189, 15192, 15222, 15427, 15441, 114, 4, 4, 59, 97, 115, 116, - 14959, 14961, 14976, 14989, 1, 8741, 5, 182, 2, 59, 108, 14968, 14970, 1, - 182, 108, 101, 108, 59, 1, 8741, 4, 2, 105, 108, 14982, 14986, 109, 59, 1, - 10995, 59, 1, 11005, 59, 1, 8706, 121, 59, 1, 1087, 114, 4, 5, 99, 105, 109, - 112, 116, 15009, 15014, 15019, 15024, 15027, 110, 116, 59, 1, 37, 111, 100, - 59, 1, 46, 105, 108, 59, 1, 8240, 59, 1, 8869, 101, 110, 107, 59, 1, 8241, - 114, 59, 3, 55349, 56621, 4, 3, 105, 109, 111, 15046, 15057, 15063, 4, 2, - 59, 118, 15052, 15054, 1, 966, 59, 1, 981, 109, 97, 116, 59, 1, 8499, 110, - 101, 59, 1, 9742, 4, 3, 59, 116, 118, 15076, 15078, 15087, 1, 960, 99, 104, - 102, 111, 114, 107, 59, 1, 8916, 59, 1, 982, 4, 2, 97, 117, 15096, 15119, - 110, 4, 2, 99, 107, 15103, 15115, 107, 4, 2, 59, 104, 15110, 15112, 1, 8463, - 59, 1, 8462, 118, 59, 1, 8463, 115, 4, 9, 59, 97, 98, 99, 100, 101, 109, - 115, 116, 15140, 15142, 15148, 15151, 15156, 15168, 15171, 15179, 15184, 1, - 43, 99, 105, 114, 59, 1, 10787, 59, 1, 8862, 105, 114, 59, 1, 10786, 4, 2, - 111, 117, 15162, 15165, 59, 1, 8724, 59, 1, 10789, 59, 1, 10866, 110, 5, - 177, 1, 59, 15177, 1, 177, 105, 109, 59, 1, 10790, 119, 111, 59, 1, 10791, - 59, 1, 177, 4, 3, 105, 112, 117, 15200, 15208, 15213, 110, 116, 105, 110, - 116, 59, 1, 10773, 102, 59, 3, 55349, 56673, 110, 100, 5, 163, 1, 59, 15220, - 1, 163, 4, 10, 59, 69, 97, 99, 101, 105, 110, 111, 115, 117, 15244, 15246, - 15249, 15253, 15258, 15334, 15347, 15367, 15416, 15421, 1, 8826, 59, 1, - 10931, 112, 59, 1, 10935, 117, 101, 59, 1, 8828, 4, 2, 59, 99, 15264, 15266, - 1, 10927, 4, 6, 59, 97, 99, 101, 110, 115, 15280, 15282, 15290, 15299, - 15303, 15329, 1, 8826, 112, 112, 114, 111, 120, 59, 1, 10935, 117, 114, 108, - 121, 101, 113, 59, 1, 8828, 113, 59, 1, 10927, 4, 3, 97, 101, 115, 15311, - 15319, 15324, 112, 112, 114, 111, 120, 59, 1, 10937, 113, 113, 59, 1, 10933, - 105, 109, 59, 1, 8936, 105, 109, 59, 1, 8830, 109, 101, 4, 2, 59, 115, - 15342, 15344, 1, 8242, 59, 1, 8473, 4, 3, 69, 97, 115, 15355, 15358, 15362, - 59, 1, 10933, 112, 59, 1, 10937, 105, 109, 59, 1, 8936, 4, 3, 100, 102, 112, - 15375, 15378, 15404, 59, 1, 8719, 4, 3, 97, 108, 115, 15386, 15392, 15398, - 108, 97, 114, 59, 1, 9006, 105, 110, 101, 59, 1, 8978, 117, 114, 102, 59, 1, - 8979, 4, 2, 59, 116, 15410, 15412, 1, 8733, 111, 59, 1, 8733, 105, 109, 59, - 1, 8830, 114, 101, 108, 59, 1, 8880, 4, 2, 99, 105, 15433, 15438, 114, 59, - 3, 55349, 56517, 59, 1, 968, 110, 99, 115, 112, 59, 1, 8200, 4, 6, 102, 105, - 111, 112, 115, 117, 15462, 15467, 15472, 15478, 15485, 15491, 114, 59, 3, - 55349, 56622, 110, 116, 59, 1, 10764, 112, 102, 59, 3, 55349, 56674, 114, - 105, 109, 101, 59, 1, 8279, 99, 114, 59, 3, 55349, 56518, 4, 3, 97, 101, - 111, 15499, 15520, 15534, 116, 4, 2, 101, 105, 15506, 15515, 114, 110, 105, - 111, 110, 115, 59, 1, 8461, 110, 116, 59, 1, 10774, 115, 116, 4, 2, 59, 101, - 15528, 15530, 1, 63, 113, 59, 1, 8799, 116, 5, 34, 1, 59, 15540, 1, 34, 4, - 21, 65, 66, 72, 97, 98, 99, 100, 101, 102, 104, 105, 108, 109, 110, 111, - 112, 114, 115, 116, 117, 120, 15586, 15609, 15615, 15620, 15796, 15855, - 15893, 15931, 15977, 16001, 16039, 16183, 16204, 16222, 16228, 16285, 16312, - 16318, 16363, 16408, 16416, 4, 3, 97, 114, 116, 15594, 15599, 15603, 114, - 114, 59, 1, 8667, 114, 59, 1, 8658, 97, 105, 108, 59, 1, 10524, 97, 114, - 114, 59, 1, 10511, 97, 114, 59, 1, 10596, 4, 7, 99, 100, 101, 110, 113, 114, - 116, 15636, 15651, 15656, 15664, 15687, 15696, 15770, 4, 2, 101, 117, 15642, - 15646, 59, 3, 8765, 817, 116, 101, 59, 1, 341, 105, 99, 59, 1, 8730, 109, - 112, 116, 121, 118, 59, 1, 10675, 103, 4, 4, 59, 100, 101, 108, 15675, - 15677, 15680, 15683, 1, 10217, 59, 1, 10642, 59, 1, 10661, 101, 59, 1, - 10217, 117, 111, 5, 187, 1, 59, 15694, 1, 187, 114, 4, 11, 59, 97, 98, 99, - 102, 104, 108, 112, 115, 116, 119, 15721, 15723, 15727, 15739, 15742, 15746, - 15750, 15754, 15758, 15763, 15767, 1, 8594, 112, 59, 1, 10613, 4, 2, 59, - 102, 15733, 15735, 1, 8677, 115, 59, 1, 10528, 59, 1, 10547, 115, 59, 1, - 10526, 107, 59, 1, 8618, 112, 59, 1, 8620, 108, 59, 1, 10565, 105, 109, 59, - 1, 10612, 108, 59, 1, 8611, 59, 1, 8605, 4, 2, 97, 105, 15776, 15781, 105, - 108, 59, 1, 10522, 111, 4, 2, 59, 110, 15788, 15790, 1, 8758, 97, 108, 115, - 59, 1, 8474, 4, 3, 97, 98, 114, 15804, 15809, 15814, 114, 114, 59, 1, 10509, - 114, 107, 59, 1, 10099, 4, 2, 97, 107, 15820, 15833, 99, 4, 2, 101, 107, - 15827, 15830, 59, 1, 125, 59, 1, 93, 4, 2, 101, 115, 15839, 15842, 59, 1, - 10636, 108, 4, 2, 100, 117, 15849, 15852, 59, 1, 10638, 59, 1, 10640, 4, 4, - 97, 101, 117, 121, 15865, 15871, 15886, 15890, 114, 111, 110, 59, 1, 345, 4, - 2, 100, 105, 15877, 15882, 105, 108, 59, 1, 343, 108, 59, 1, 8969, 98, 59, - 1, 125, 59, 1, 1088, 4, 4, 99, 108, 113, 115, 15903, 15907, 15914, 15927, - 97, 59, 1, 10551, 100, 104, 97, 114, 59, 1, 10601, 117, 111, 4, 2, 59, 114, - 15922, 15924, 1, 8221, 59, 1, 8221, 104, 59, 1, 8627, 4, 3, 97, 99, 103, - 15939, 15966, 15970, 108, 4, 4, 59, 105, 112, 115, 15950, 15952, 15957, - 15963, 1, 8476, 110, 101, 59, 1, 8475, 97, 114, 116, 59, 1, 8476, 59, 1, - 8477, 116, 59, 1, 9645, 5, 174, 1, 59, 15975, 1, 174, 4, 3, 105, 108, 114, - 15985, 15991, 15997, 115, 104, 116, 59, 1, 10621, 111, 111, 114, 59, 1, - 8971, 59, 3, 55349, 56623, 4, 2, 97, 111, 16007, 16028, 114, 4, 2, 100, 117, - 16014, 16017, 59, 1, 8641, 4, 2, 59, 108, 16023, 16025, 1, 8640, 59, 1, - 10604, 4, 2, 59, 118, 16034, 16036, 1, 961, 59, 1, 1009, 4, 3, 103, 110, - 115, 16047, 16167, 16171, 104, 116, 4, 6, 97, 104, 108, 114, 115, 116, - 16063, 16081, 16103, 16130, 16143, 16155, 114, 114, 111, 119, 4, 2, 59, 116, - 16073, 16075, 1, 8594, 97, 105, 108, 59, 1, 8611, 97, 114, 112, 111, 111, - 110, 4, 2, 100, 117, 16093, 16099, 111, 119, 110, 59, 1, 8641, 112, 59, 1, - 8640, 101, 102, 116, 4, 2, 97, 104, 16112, 16120, 114, 114, 111, 119, 115, - 59, 1, 8644, 97, 114, 112, 111, 111, 110, 115, 59, 1, 8652, 105, 103, 104, - 116, 97, 114, 114, 111, 119, 115, 59, 1, 8649, 113, 117, 105, 103, 97, 114, - 114, 111, 119, 59, 1, 8605, 104, 114, 101, 101, 116, 105, 109, 101, 115, 59, - 1, 8908, 103, 59, 1, 730, 105, 110, 103, 100, 111, 116, 115, 101, 113, 59, - 1, 8787, 4, 3, 97, 104, 109, 16191, 16196, 16201, 114, 114, 59, 1, 8644, 97, - 114, 59, 1, 8652, 59, 1, 8207, 111, 117, 115, 116, 4, 2, 59, 97, 16214, - 16216, 1, 9137, 99, 104, 101, 59, 1, 9137, 109, 105, 100, 59, 1, 10990, 4, - 4, 97, 98, 112, 116, 16238, 16252, 16257, 16278, 4, 2, 110, 114, 16244, - 16248, 103, 59, 1, 10221, 114, 59, 1, 8702, 114, 107, 59, 1, 10215, 4, 3, - 97, 102, 108, 16265, 16269, 16273, 114, 59, 1, 10630, 59, 3, 55349, 56675, - 117, 115, 59, 1, 10798, 105, 109, 101, 115, 59, 1, 10805, 4, 2, 97, 112, - 16291, 16304, 114, 4, 2, 59, 103, 16298, 16300, 1, 41, 116, 59, 1, 10644, - 111, 108, 105, 110, 116, 59, 1, 10770, 97, 114, 114, 59, 1, 8649, 4, 4, 97, - 99, 104, 113, 16328, 16334, 16339, 16342, 113, 117, 111, 59, 1, 8250, 114, - 59, 3, 55349, 56519, 59, 1, 8625, 4, 2, 98, 117, 16348, 16351, 59, 1, 93, - 111, 4, 2, 59, 114, 16358, 16360, 1, 8217, 59, 1, 8217, 4, 3, 104, 105, 114, - 16371, 16377, 16383, 114, 101, 101, 59, 1, 8908, 109, 101, 115, 59, 1, 8906, - 105, 4, 4, 59, 101, 102, 108, 16394, 16396, 16399, 16402, 1, 9657, 59, 1, - 8885, 59, 1, 9656, 116, 114, 105, 59, 1, 10702, 108, 117, 104, 97, 114, 59, - 1, 10600, 59, 1, 8478, 4, 19, 97, 98, 99, 100, 101, 102, 104, 105, 108, 109, - 111, 112, 113, 114, 115, 116, 117, 119, 122, 16459, 16466, 16472, 16572, - 16590, 16672, 16687, 16746, 16844, 16850, 16924, 16963, 16988, 17115, 17121, - 17154, 17206, 17614, 17656, 99, 117, 116, 101, 59, 1, 347, 113, 117, 111, - 59, 1, 8218, 4, 10, 59, 69, 97, 99, 101, 105, 110, 112, 115, 121, 16494, - 16496, 16499, 16513, 16518, 16531, 16536, 16556, 16564, 16569, 1, 8827, 59, - 1, 10932, 4, 2, 112, 114, 16505, 16508, 59, 1, 10936, 111, 110, 59, 1, 353, - 117, 101, 59, 1, 8829, 4, 2, 59, 100, 16524, 16526, 1, 10928, 105, 108, 59, - 1, 351, 114, 99, 59, 1, 349, 4, 3, 69, 97, 115, 16544, 16547, 16551, 59, 1, - 10934, 112, 59, 1, 10938, 105, 109, 59, 1, 8937, 111, 108, 105, 110, 116, - 59, 1, 10771, 105, 109, 59, 1, 8831, 59, 1, 1089, 111, 116, 4, 3, 59, 98, - 101, 16582, 16584, 16587, 1, 8901, 59, 1, 8865, 59, 1, 10854, 4, 7, 65, 97, - 99, 109, 115, 116, 120, 16606, 16611, 16634, 16642, 16646, 16652, 16668, - 114, 114, 59, 1, 8664, 114, 4, 2, 104, 114, 16618, 16622, 107, 59, 1, 10533, - 4, 2, 59, 111, 16628, 16630, 1, 8600, 119, 59, 1, 8600, 116, 5, 167, 1, 59, - 16640, 1, 167, 105, 59, 1, 59, 119, 97, 114, 59, 1, 10537, 109, 4, 2, 105, - 110, 16659, 16665, 110, 117, 115, 59, 1, 8726, 59, 1, 8726, 116, 59, 1, - 10038, 114, 4, 2, 59, 111, 16679, 16682, 3, 55349, 56624, 119, 110, 59, 1, - 8994, 4, 4, 97, 99, 111, 121, 16697, 16702, 16716, 16739, 114, 112, 59, 1, - 9839, 4, 2, 104, 121, 16708, 16713, 99, 121, 59, 1, 1097, 59, 1, 1096, 114, - 116, 4, 2, 109, 112, 16724, 16729, 105, 100, 59, 1, 8739, 97, 114, 97, 108, - 108, 101, 108, 59, 1, 8741, 5, 173, 1, 59, 16744, 1, 173, 4, 2, 103, 109, - 16752, 16770, 109, 97, 4, 3, 59, 102, 118, 16762, 16764, 16767, 1, 963, 59, - 1, 962, 59, 1, 962, 4, 8, 59, 100, 101, 103, 108, 110, 112, 114, 16788, - 16790, 16795, 16806, 16817, 16828, 16832, 16838, 1, 8764, 111, 116, 59, 1, - 10858, 4, 2, 59, 113, 16801, 16803, 1, 8771, 59, 1, 8771, 4, 2, 59, 69, - 16812, 16814, 1, 10910, 59, 1, 10912, 4, 2, 59, 69, 16823, 16825, 1, 10909, - 59, 1, 10911, 101, 59, 1, 8774, 108, 117, 115, 59, 1, 10788, 97, 114, 114, - 59, 1, 10610, 97, 114, 114, 59, 1, 8592, 4, 4, 97, 101, 105, 116, 16860, - 16883, 16891, 16904, 4, 2, 108, 115, 16866, 16878, 108, 115, 101, 116, 109, - 105, 110, 117, 115, 59, 1, 8726, 104, 112, 59, 1, 10803, 112, 97, 114, 115, - 108, 59, 1, 10724, 4, 2, 100, 108, 16897, 16900, 59, 1, 8739, 101, 59, 1, - 8995, 4, 2, 59, 101, 16910, 16912, 1, 10922, 4, 2, 59, 115, 16918, 16920, 1, - 10924, 59, 3, 10924, 65024, 4, 3, 102, 108, 112, 16932, 16938, 16958, 116, - 99, 121, 59, 1, 1100, 4, 2, 59, 98, 16944, 16946, 1, 47, 4, 2, 59, 97, - 16952, 16954, 1, 10692, 114, 59, 1, 9023, 102, 59, 3, 55349, 56676, 97, 4, - 2, 100, 114, 16970, 16985, 101, 115, 4, 2, 59, 117, 16978, 16980, 1, 9824, - 105, 116, 59, 1, 9824, 59, 1, 8741, 4, 3, 99, 115, 117, 16996, 17028, 17089, - 4, 2, 97, 117, 17002, 17015, 112, 4, 2, 59, 115, 17009, 17011, 1, 8851, 59, - 3, 8851, 65024, 112, 4, 2, 59, 115, 17022, 17024, 1, 8852, 59, 3, 8852, - 65024, 117, 4, 2, 98, 112, 17035, 17062, 4, 3, 59, 101, 115, 17043, 17045, - 17048, 1, 8847, 59, 1, 8849, 101, 116, 4, 2, 59, 101, 17056, 17058, 1, 8847, - 113, 59, 1, 8849, 4, 3, 59, 101, 115, 17070, 17072, 17075, 1, 8848, 59, 1, - 8850, 101, 116, 4, 2, 59, 101, 17083, 17085, 1, 8848, 113, 59, 1, 8850, 4, - 3, 59, 97, 102, 17097, 17099, 17112, 1, 9633, 114, 4, 2, 101, 102, 17106, - 17109, 59, 1, 9633, 59, 1, 9642, 59, 1, 9642, 97, 114, 114, 59, 1, 8594, 4, - 4, 99, 101, 109, 116, 17131, 17136, 17142, 17148, 114, 59, 3, 55349, 56520, - 116, 109, 110, 59, 1, 8726, 105, 108, 101, 59, 1, 8995, 97, 114, 102, 59, 1, - 8902, 4, 2, 97, 114, 17160, 17172, 114, 4, 2, 59, 102, 17167, 17169, 1, - 9734, 59, 1, 9733, 4, 2, 97, 110, 17178, 17202, 105, 103, 104, 116, 4, 2, - 101, 112, 17188, 17197, 112, 115, 105, 108, 111, 110, 59, 1, 1013, 104, 105, - 59, 1, 981, 115, 59, 1, 175, 4, 5, 98, 99, 109, 110, 112, 17218, 17351, - 17420, 17423, 17427, 4, 9, 59, 69, 100, 101, 109, 110, 112, 114, 115, 17238, - 17240, 17243, 17248, 17261, 17267, 17279, 17285, 17291, 1, 8834, 59, 1, - 10949, 111, 116, 59, 1, 10941, 4, 2, 59, 100, 17254, 17256, 1, 8838, 111, - 116, 59, 1, 10947, 117, 108, 116, 59, 1, 10945, 4, 2, 69, 101, 17273, 17276, - 59, 1, 10955, 59, 1, 8842, 108, 117, 115, 59, 1, 10943, 97, 114, 114, 59, 1, - 10617, 4, 3, 101, 105, 117, 17299, 17335, 17339, 116, 4, 3, 59, 101, 110, - 17308, 17310, 17322, 1, 8834, 113, 4, 2, 59, 113, 17317, 17319, 1, 8838, 59, - 1, 10949, 101, 113, 4, 2, 59, 113, 17330, 17332, 1, 8842, 59, 1, 10955, 109, - 59, 1, 10951, 4, 2, 98, 112, 17345, 17348, 59, 1, 10965, 59, 1, 10963, 99, - 4, 6, 59, 97, 99, 101, 110, 115, 17366, 17368, 17376, 17385, 17389, 17415, - 1, 8827, 112, 112, 114, 111, 120, 59, 1, 10936, 117, 114, 108, 121, 101, - 113, 59, 1, 8829, 113, 59, 1, 10928, 4, 3, 97, 101, 115, 17397, 17405, - 17410, 112, 112, 114, 111, 120, 59, 1, 10938, 113, 113, 59, 1, 10934, 105, - 109, 59, 1, 8937, 105, 109, 59, 1, 8831, 59, 1, 8721, 103, 59, 1, 9834, 4, - 13, 49, 50, 51, 59, 69, 100, 101, 104, 108, 109, 110, 112, 115, 17455, - 17462, 17469, 17476, 17478, 17481, 17496, 17509, 17524, 17530, 17536, 17548, - 17554, 5, 185, 1, 59, 17460, 1, 185, 5, 178, 1, 59, 17467, 1, 178, 5, 179, - 1, 59, 17474, 1, 179, 1, 8835, 59, 1, 10950, 4, 2, 111, 115, 17487, 17491, - 116, 59, 1, 10942, 117, 98, 59, 1, 10968, 4, 2, 59, 100, 17502, 17504, 1, - 8839, 111, 116, 59, 1, 10948, 115, 4, 2, 111, 117, 17516, 17520, 108, 59, 1, - 10185, 98, 59, 1, 10967, 97, 114, 114, 59, 1, 10619, 117, 108, 116, 59, 1, - 10946, 4, 2, 69, 101, 17542, 17545, 59, 1, 10956, 59, 1, 8843, 108, 117, - 115, 59, 1, 10944, 4, 3, 101, 105, 117, 17562, 17598, 17602, 116, 4, 3, 59, - 101, 110, 17571, 17573, 17585, 1, 8835, 113, 4, 2, 59, 113, 17580, 17582, 1, - 8839, 59, 1, 10950, 101, 113, 4, 2, 59, 113, 17593, 17595, 1, 8843, 59, 1, - 10956, 109, 59, 1, 10952, 4, 2, 98, 112, 17608, 17611, 59, 1, 10964, 59, 1, - 10966, 4, 3, 65, 97, 110, 17622, 17627, 17650, 114, 114, 59, 1, 8665, 114, - 4, 2, 104, 114, 17634, 17638, 107, 59, 1, 10534, 4, 2, 59, 111, 17644, - 17646, 1, 8601, 119, 59, 1, 8601, 119, 97, 114, 59, 1, 10538, 108, 105, 103, - 5, 223, 1, 59, 17664, 1, 223, 4, 13, 97, 98, 99, 100, 101, 102, 104, 105, - 111, 112, 114, 115, 119, 17694, 17709, 17714, 17737, 17742, 17749, 17754, - 17860, 17905, 17957, 17964, 18090, 18122, 4, 2, 114, 117, 17700, 17706, 103, - 101, 116, 59, 1, 8982, 59, 1, 964, 114, 107, 59, 1, 9140, 4, 3, 97, 101, - 121, 17722, 17728, 17734, 114, 111, 110, 59, 1, 357, 100, 105, 108, 59, 1, - 355, 59, 1, 1090, 111, 116, 59, 1, 8411, 108, 114, 101, 99, 59, 1, 8981, - 114, 59, 3, 55349, 56625, 4, 4, 101, 105, 107, 111, 17764, 17805, 17836, - 17851, 4, 2, 114, 116, 17770, 17786, 101, 4, 2, 52, 102, 17777, 17780, 59, - 1, 8756, 111, 114, 101, 59, 1, 8756, 97, 4, 3, 59, 115, 118, 17795, 17797, - 17802, 1, 952, 121, 109, 59, 1, 977, 59, 1, 977, 4, 2, 99, 110, 17811, - 17831, 107, 4, 2, 97, 115, 17818, 17826, 112, 112, 114, 111, 120, 59, 1, - 8776, 105, 109, 59, 1, 8764, 115, 112, 59, 1, 8201, 4, 2, 97, 115, 17842, - 17846, 112, 59, 1, 8776, 105, 109, 59, 1, 8764, 114, 110, 5, 254, 1, 59, - 17858, 1, 254, 4, 3, 108, 109, 110, 17868, 17873, 17901, 100, 101, 59, 1, - 732, 101, 115, 5, 215, 3, 59, 98, 100, 17884, 17886, 17898, 1, 215, 4, 2, - 59, 97, 17892, 17894, 1, 8864, 114, 59, 1, 10801, 59, 1, 10800, 116, 59, 1, - 8749, 4, 3, 101, 112, 115, 17913, 17917, 17953, 97, 59, 1, 10536, 4, 4, 59, - 98, 99, 102, 17927, 17929, 17934, 17939, 1, 8868, 111, 116, 59, 1, 9014, - 105, 114, 59, 1, 10993, 4, 2, 59, 111, 17945, 17948, 3, 55349, 56677, 114, - 107, 59, 1, 10970, 97, 59, 1, 10537, 114, 105, 109, 101, 59, 1, 8244, 4, 3, - 97, 105, 112, 17972, 17977, 18082, 100, 101, 59, 1, 8482, 4, 7, 97, 100, - 101, 109, 112, 115, 116, 17993, 18051, 18056, 18059, 18066, 18072, 18076, - 110, 103, 108, 101, 4, 5, 59, 100, 108, 113, 114, 18009, 18011, 18017, - 18032, 18035, 1, 9653, 111, 119, 110, 59, 1, 9663, 101, 102, 116, 4, 2, 59, - 101, 18026, 18028, 1, 9667, 113, 59, 1, 8884, 59, 1, 8796, 105, 103, 104, - 116, 4, 2, 59, 101, 18045, 18047, 1, 9657, 113, 59, 1, 8885, 111, 116, 59, - 1, 9708, 59, 1, 8796, 105, 110, 117, 115, 59, 1, 10810, 108, 117, 115, 59, - 1, 10809, 98, 59, 1, 10701, 105, 109, 101, 59, 1, 10811, 101, 122, 105, 117, - 109, 59, 1, 9186, 4, 3, 99, 104, 116, 18098, 18111, 18116, 4, 2, 114, 121, - 18104, 18108, 59, 3, 55349, 56521, 59, 1, 1094, 99, 121, 59, 1, 1115, 114, - 111, 107, 59, 1, 359, 4, 2, 105, 111, 18128, 18133, 120, 116, 59, 1, 8812, - 104, 101, 97, 100, 4, 2, 108, 114, 18143, 18154, 101, 102, 116, 97, 114, - 114, 111, 119, 59, 1, 8606, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, - 1, 8608, 4, 18, 65, 72, 97, 98, 99, 100, 102, 103, 104, 108, 109, 111, 112, - 114, 115, 116, 117, 119, 18204, 18209, 18214, 18234, 18250, 18268, 18292, - 18308, 18319, 18343, 18379, 18397, 18413, 18504, 18547, 18553, 18584, 18603, - 114, 114, 59, 1, 8657, 97, 114, 59, 1, 10595, 4, 2, 99, 114, 18220, 18230, - 117, 116, 101, 5, 250, 1, 59, 18228, 1, 250, 114, 59, 1, 8593, 114, 4, 2, - 99, 101, 18241, 18245, 121, 59, 1, 1118, 118, 101, 59, 1, 365, 4, 2, 105, - 121, 18256, 18265, 114, 99, 5, 251, 1, 59, 18263, 1, 251, 59, 1, 1091, 4, 3, - 97, 98, 104, 18276, 18281, 18287, 114, 114, 59, 1, 8645, 108, 97, 99, 59, 1, - 369, 97, 114, 59, 1, 10606, 4, 2, 105, 114, 18298, 18304, 115, 104, 116, 59, - 1, 10622, 59, 3, 55349, 56626, 114, 97, 118, 101, 5, 249, 1, 59, 18317, 1, - 249, 4, 2, 97, 98, 18325, 18338, 114, 4, 2, 108, 114, 18332, 18335, 59, 1, - 8639, 59, 1, 8638, 108, 107, 59, 1, 9600, 4, 2, 99, 116, 18349, 18374, 4, 2, - 111, 114, 18355, 18369, 114, 110, 4, 2, 59, 101, 18363, 18365, 1, 8988, 114, - 59, 1, 8988, 111, 112, 59, 1, 8975, 114, 105, 59, 1, 9720, 4, 2, 97, 108, - 18385, 18390, 99, 114, 59, 1, 363, 5, 168, 1, 59, 18395, 1, 168, 4, 2, 103, - 112, 18403, 18408, 111, 110, 59, 1, 371, 102, 59, 3, 55349, 56678, 4, 6, 97, - 100, 104, 108, 115, 117, 18427, 18434, 18445, 18470, 18475, 18494, 114, 114, - 111, 119, 59, 1, 8593, 111, 119, 110, 97, 114, 114, 111, 119, 59, 1, 8597, - 97, 114, 112, 111, 111, 110, 4, 2, 108, 114, 18457, 18463, 101, 102, 116, - 59, 1, 8639, 105, 103, 104, 116, 59, 1, 8638, 117, 115, 59, 1, 8846, 105, 4, - 3, 59, 104, 108, 18484, 18486, 18489, 1, 965, 59, 1, 978, 111, 110, 59, 1, - 965, 112, 97, 114, 114, 111, 119, 115, 59, 1, 8648, 4, 3, 99, 105, 116, - 18512, 18537, 18542, 4, 2, 111, 114, 18518, 18532, 114, 110, 4, 2, 59, 101, - 18526, 18528, 1, 8989, 114, 59, 1, 8989, 111, 112, 59, 1, 8974, 110, 103, - 59, 1, 367, 114, 105, 59, 1, 9721, 99, 114, 59, 3, 55349, 56522, 4, 3, 100, - 105, 114, 18561, 18566, 18572, 111, 116, 59, 1, 8944, 108, 100, 101, 59, 1, - 361, 105, 4, 2, 59, 102, 18579, 18581, 1, 9653, 59, 1, 9652, 4, 2, 97, 109, - 18590, 18595, 114, 114, 59, 1, 8648, 108, 5, 252, 1, 59, 18601, 1, 252, 97, - 110, 103, 108, 101, 59, 1, 10663, 4, 15, 65, 66, 68, 97, 99, 100, 101, 102, - 108, 110, 111, 112, 114, 115, 122, 18643, 18648, 18661, 18667, 18847, 18851, - 18857, 18904, 18909, 18915, 18931, 18937, 18943, 18949, 18996, 114, 114, 59, - 1, 8661, 97, 114, 4, 2, 59, 118, 18656, 18658, 1, 10984, 59, 1, 10985, 97, - 115, 104, 59, 1, 8872, 4, 2, 110, 114, 18673, 18679, 103, 114, 116, 59, 1, - 10652, 4, 7, 101, 107, 110, 112, 114, 115, 116, 18695, 18704, 18711, 18720, - 18742, 18754, 18810, 112, 115, 105, 108, 111, 110, 59, 1, 1013, 97, 112, - 112, 97, 59, 1, 1008, 111, 116, 104, 105, 110, 103, 59, 1, 8709, 4, 3, 104, - 105, 114, 18728, 18732, 18735, 105, 59, 1, 981, 59, 1, 982, 111, 112, 116, - 111, 59, 1, 8733, 4, 2, 59, 104, 18748, 18750, 1, 8597, 111, 59, 1, 1009, 4, - 2, 105, 117, 18760, 18766, 103, 109, 97, 59, 1, 962, 4, 2, 98, 112, 18772, - 18791, 115, 101, 116, 110, 101, 113, 4, 2, 59, 113, 18784, 18787, 3, 8842, - 65024, 59, 3, 10955, 65024, 115, 101, 116, 110, 101, 113, 4, 2, 59, 113, - 18803, 18806, 3, 8843, 65024, 59, 3, 10956, 65024, 4, 2, 104, 114, 18816, - 18822, 101, 116, 97, 59, 1, 977, 105, 97, 110, 103, 108, 101, 4, 2, 108, - 114, 18834, 18840, 101, 102, 116, 59, 1, 8882, 105, 103, 104, 116, 59, 1, - 8883, 121, 59, 1, 1074, 97, 115, 104, 59, 1, 8866, 4, 3, 101, 108, 114, - 18865, 18884, 18890, 4, 3, 59, 98, 101, 18873, 18875, 18880, 1, 8744, 97, - 114, 59, 1, 8891, 113, 59, 1, 8794, 108, 105, 112, 59, 1, 8942, 4, 2, 98, - 116, 18896, 18901, 97, 114, 59, 1, 124, 59, 1, 124, 114, 59, 3, 55349, - 56627, 116, 114, 105, 59, 1, 8882, 115, 117, 4, 2, 98, 112, 18923, 18927, - 59, 3, 8834, 8402, 59, 3, 8835, 8402, 112, 102, 59, 3, 55349, 56679, 114, - 111, 112, 59, 1, 8733, 116, 114, 105, 59, 1, 8883, 4, 2, 99, 117, 18955, - 18960, 114, 59, 3, 55349, 56523, 4, 2, 98, 112, 18966, 18981, 110, 4, 2, 69, - 101, 18973, 18977, 59, 3, 10955, 65024, 59, 3, 8842, 65024, 110, 4, 2, 69, - 101, 18988, 18992, 59, 3, 10956, 65024, 59, 3, 8843, 65024, 105, 103, 122, - 97, 103, 59, 1, 10650, 4, 7, 99, 101, 102, 111, 112, 114, 115, 19020, 19026, - 19061, 19066, 19072, 19075, 19089, 105, 114, 99, 59, 1, 373, 4, 2, 100, 105, - 19032, 19055, 4, 2, 98, 103, 19038, 19043, 97, 114, 59, 1, 10847, 101, 4, 2, - 59, 113, 19050, 19052, 1, 8743, 59, 1, 8793, 101, 114, 112, 59, 1, 8472, - 114, 59, 3, 55349, 56628, 112, 102, 59, 3, 55349, 56680, 59, 1, 8472, 4, 2, - 59, 101, 19081, 19083, 1, 8768, 97, 116, 104, 59, 1, 8768, 99, 114, 59, 3, - 55349, 56524, 4, 14, 99, 100, 102, 104, 105, 108, 109, 110, 111, 114, 115, - 117, 118, 119, 19125, 19146, 19152, 19157, 19173, 19176, 19192, 19197, - 19202, 19236, 19252, 19269, 19286, 19291, 4, 3, 97, 105, 117, 19133, 19137, - 19142, 112, 59, 1, 8898, 114, 99, 59, 1, 9711, 112, 59, 1, 8899, 116, 114, - 105, 59, 1, 9661, 114, 59, 3, 55349, 56629, 4, 2, 65, 97, 19163, 19168, 114, - 114, 59, 1, 10234, 114, 114, 59, 1, 10231, 59, 1, 958, 4, 2, 65, 97, 19182, - 19187, 114, 114, 59, 1, 10232, 114, 114, 59, 1, 10229, 97, 112, 59, 1, - 10236, 105, 115, 59, 1, 8955, 4, 3, 100, 112, 116, 19210, 19215, 19230, 111, - 116, 59, 1, 10752, 4, 2, 102, 108, 19221, 19225, 59, 3, 55349, 56681, 117, - 115, 59, 1, 10753, 105, 109, 101, 59, 1, 10754, 4, 2, 65, 97, 19242, 19247, - 114, 114, 59, 1, 10233, 114, 114, 59, 1, 10230, 4, 2, 99, 113, 19258, 19263, - 114, 59, 3, 55349, 56525, 99, 117, 112, 59, 1, 10758, 4, 2, 112, 116, 19275, - 19281, 108, 117, 115, 59, 1, 10756, 114, 105, 59, 1, 9651, 101, 101, 59, 1, - 8897, 101, 100, 103, 101, 59, 1, 8896, 4, 8, 97, 99, 101, 102, 105, 111, - 115, 117, 19316, 19335, 19349, 19357, 19362, 19367, 19373, 19379, 99, 4, 2, - 117, 121, 19323, 19332, 116, 101, 5, 253, 1, 59, 19330, 1, 253, 59, 1, 1103, - 4, 2, 105, 121, 19341, 19346, 114, 99, 59, 1, 375, 59, 1, 1099, 110, 5, 165, - 1, 59, 19355, 1, 165, 114, 59, 3, 55349, 56630, 99, 121, 59, 1, 1111, 112, - 102, 59, 3, 55349, 56682, 99, 114, 59, 3, 55349, 56526, 4, 2, 99, 109, - 19385, 19389, 121, 59, 1, 1102, 108, 5, 255, 1, 59, 19395, 1, 255, 4, 10, - 97, 99, 100, 101, 102, 104, 105, 111, 115, 119, 19419, 19426, 19441, 19446, - 19462, 19467, 19472, 19480, 19486, 19492, 99, 117, 116, 101, 59, 1, 378, 4, - 2, 97, 121, 19432, 19438, 114, 111, 110, 59, 1, 382, 59, 1, 1079, 111, 116, - 59, 1, 380, 4, 2, 101, 116, 19452, 19458, 116, 114, 102, 59, 1, 8488, 97, - 59, 1, 950, 114, 59, 3, 55349, 56631, 99, 121, 59, 1, 1078, 103, 114, 97, - 114, 114, 59, 1, 8669, 112, 102, 59, 3, 55349, 56683, 99, 114, 59, 3, 55349, - 56527, 4, 2, 106, 110, 19498, 19501, 59, 1, 8205, 106, 59, 1, 8204, - ]); -const ene = Qte, - un = Va, - Jl = Jte, - Ae = GE, - G = un.CODE_POINTS, - Pl = un.CODE_POINT_SEQUENCES, - tne = { - 128: 8364, - 130: 8218, - 131: 402, - 132: 8222, - 133: 8230, - 134: 8224, - 135: 8225, - 136: 710, - 137: 8240, - 138: 352, - 139: 8249, - 140: 338, - 142: 381, - 145: 8216, - 146: 8217, - 147: 8220, - 148: 8221, - 149: 8226, - 150: 8211, - 151: 8212, - 152: 732, - 153: 8482, - 154: 353, - 155: 8250, - 156: 339, - 158: 382, - 159: 376, - }, - mL = 1, - bL = 2, - EL = 4, - nne = mL | bL | EL, - Ot = "DATA_STATE", - n1 = "RCDATA_STATE", - cd = "RAWTEXT_STATE", - Ho = "SCRIPT_DATA_STATE", - vL = "PLAINTEXT_STATE", - HC = "TAG_OPEN_STATE", - jC = "END_TAG_OPEN_STATE", - E3 = "TAG_NAME_STATE", - GC = "RCDATA_LESS_THAN_SIGN_STATE", - VC = "RCDATA_END_TAG_OPEN_STATE", - WC = "RCDATA_END_TAG_NAME_STATE", - qC = "RAWTEXT_LESS_THAN_SIGN_STATE", - KC = "RAWTEXT_END_TAG_OPEN_STATE", - YC = "RAWTEXT_END_TAG_NAME_STATE", - XC = "SCRIPT_DATA_LESS_THAN_SIGN_STATE", - ZC = "SCRIPT_DATA_END_TAG_OPEN_STATE", - QC = "SCRIPT_DATA_END_TAG_NAME_STATE", - JC = "SCRIPT_DATA_ESCAPE_START_STATE", - ex = "SCRIPT_DATA_ESCAPE_START_DASH_STATE", - ka = "SCRIPT_DATA_ESCAPED_STATE", - tx = "SCRIPT_DATA_ESCAPED_DASH_STATE", - v3 = "SCRIPT_DATA_ESCAPED_DASH_DASH_STATE", - h0 = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE", - nx = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE", - rx = "SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE", - ix = "SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE", - Lo = "SCRIPT_DATA_DOUBLE_ESCAPED_STATE", - ax = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE", - ox = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE", - g0 = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE", - sx = "SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE", - to = "BEFORE_ATTRIBUTE_NAME_STATE", - m0 = "ATTRIBUTE_NAME_STATE", - y3 = "AFTER_ATTRIBUTE_NAME_STATE", - _3 = "BEFORE_ATTRIBUTE_VALUE_STATE", - b0 = "ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE", - E0 = "ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE", - v0 = "ATTRIBUTE_VALUE_UNQUOTED_STATE", - T3 = "AFTER_ATTRIBUTE_VALUE_QUOTED_STATE", - Cs = "SELF_CLOSING_START_TAG_STATE", - jc = "BOGUS_COMMENT_STATE", - lx = "MARKUP_DECLARATION_OPEN_STATE", - ux = "COMMENT_START_STATE", - cx = "COMMENT_START_DASH_STATE", - xs = "COMMENT_STATE", - dx = "COMMENT_LESS_THAN_SIGN_STATE", - px = "COMMENT_LESS_THAN_SIGN_BANG_STATE", - fx = "COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE", - hx = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE", - y0 = "COMMENT_END_DASH_STATE", - _0 = "COMMENT_END_STATE", - gx = "COMMENT_END_BANG_STATE", - mx = "DOCTYPE_STATE", - T0 = "BEFORE_DOCTYPE_NAME_STATE", - S0 = "DOCTYPE_NAME_STATE", - bx = "AFTER_DOCTYPE_NAME_STATE", - Ex = "AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE", - vx = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE", - S3 = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE", - w3 = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE", - A3 = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE", - yx = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE", - _x = "AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE", - Tx = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE", - Gc = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE", - Vc = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE", - C3 = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE", - Mo = "BOGUS_DOCTYPE_STATE", - w0 = "CDATA_SECTION_STATE", - Sx = "CDATA_SECTION_BRACKET_STATE", - wx = "CDATA_SECTION_END_STATE", - Wu = "CHARACTER_REFERENCE_STATE", - Ax = "NAMED_CHARACTER_REFERENCE_STATE", - Cx = "AMBIGUOS_AMPERSAND_STATE", - xx = "NUMERIC_CHARACTER_REFERENCE_STATE", - kx = "HEXADEMICAL_CHARACTER_REFERENCE_START_STATE", - Ix = "DECIMAL_CHARACTER_REFERENCE_START_STATE", - Rx = "HEXADEMICAL_CHARACTER_REFERENCE_STATE", - Nx = "DECIMAL_CHARACTER_REFERENCE_STATE", - Wc = "NUMERIC_CHARACTER_REFERENCE_END_STATE"; -function vn(e) { - return ( - e === G.SPACE || - e === G.LINE_FEED || - e === G.TABULATION || - e === G.FORM_FEED - ); -} -function xd(e) { - return e >= G.DIGIT_0 && e <= G.DIGIT_9; -} -function Na(e) { - return e >= G.LATIN_CAPITAL_A && e <= G.LATIN_CAPITAL_Z; -} -function Gl(e) { - return e >= G.LATIN_SMALL_A && e <= G.LATIN_SMALL_Z; -} -function Ns(e) { - return Gl(e) || Na(e); -} -function x3(e) { - return Ns(e) || xd(e); -} -function yL(e) { - return e >= G.LATIN_CAPITAL_A && e <= G.LATIN_CAPITAL_F; -} -function _L(e) { - return e >= G.LATIN_SMALL_A && e <= G.LATIN_SMALL_F; -} -function rne(e) { - return xd(e) || yL(e) || _L(e); -} -function ch(e) { - return e + 32; -} -function Mn(e) { - return e <= 65535 - ? String.fromCharCode(e) - : ((e -= 65536), - String.fromCharCode(((e >>> 10) & 1023) | 55296) + - String.fromCharCode(56320 | (e & 1023))); -} -function ks(e) { - return String.fromCharCode(ch(e)); -} -function Ox(e, t) { - const n = Jl[++e]; - let r = ++e, - i = r + n - 1; - for (; r <= i; ) { - const a = (r + i) >>> 1, - o = Jl[a]; - if (o < t) r = a + 1; - else if (o > t) i = a - 1; - else return Jl[a + n]; - } - return -1; -} -let _a = class ci { - constructor() { - (this.preprocessor = new ene()), - (this.tokenQueue = []), - (this.allowCDATA = !1), - (this.state = Ot), - (this.returnState = ""), - (this.charRefCode = -1), - (this.tempBuff = []), - (this.lastStartTagName = ""), - (this.consumedAfterSnapshot = -1), - (this.active = !1), - (this.currentCharacterToken = null), - (this.currentToken = null), - (this.currentAttr = null); - } - _err() {} - _errOnNextCodePoint(t) { - this._consume(), this._err(t), this._unconsume(); - } - getNextToken() { - for (; !this.tokenQueue.length && this.active; ) { - this.consumedAfterSnapshot = 0; - const t = this._consume(); - this._ensureHibernation() || this[this.state](t); - } - return this.tokenQueue.shift(); - } - write(t, n) { - (this.active = !0), this.preprocessor.write(t, n); - } - insertHtmlAtCurrentPos(t) { - (this.active = !0), this.preprocessor.insertHtmlAtCurrentPos(t); - } - _ensureHibernation() { - if (this.preprocessor.endOfChunkHit) { - for (; this.consumedAfterSnapshot > 0; this.consumedAfterSnapshot--) - this.preprocessor.retreat(); - return ( - (this.active = !1), - this.tokenQueue.push({ type: ci.HIBERNATION_TOKEN }), - !0 - ); - } - return !1; - } - _consume() { - return this.consumedAfterSnapshot++, this.preprocessor.advance(); - } - _unconsume() { - this.consumedAfterSnapshot--, this.preprocessor.retreat(); - } - _reconsumeInState(t) { - (this.state = t), this._unconsume(); - } - _consumeSequenceIfMatch(t, n, r) { - let i = 0, - a = !0; - const o = t.length; - let s = 0, - u = n, - c; - for (; s < o; s++) { - if ((s > 0 && ((u = this._consume()), i++), u === G.EOF)) { - a = !1; - break; - } - if (((c = t[s]), u !== c && (r || u !== ch(c)))) { - a = !1; - break; - } - } - if (!a) for (; i--; ) this._unconsume(); - return a; - } - _isTempBufferEqualToScriptString() { - if (this.tempBuff.length !== Pl.SCRIPT_STRING.length) return !1; - for (let t = 0; t < this.tempBuff.length; t++) - if (this.tempBuff[t] !== Pl.SCRIPT_STRING[t]) return !1; - return !0; - } - _createStartTagToken() { - this.currentToken = { - type: ci.START_TAG_TOKEN, - tagName: "", - selfClosing: !1, - ackSelfClosing: !1, - attrs: [], - }; - } - _createEndTagToken() { - this.currentToken = { - type: ci.END_TAG_TOKEN, - tagName: "", - selfClosing: !1, - attrs: [], - }; - } - _createCommentToken() { - this.currentToken = { type: ci.COMMENT_TOKEN, data: "" }; - } - _createDoctypeToken(t) { - this.currentToken = { - type: ci.DOCTYPE_TOKEN, - name: t, - forceQuirks: !1, - publicId: null, - systemId: null, - }; - } - _createCharacterToken(t, n) { - this.currentCharacterToken = { type: t, chars: n }; - } - _createEOFToken() { - this.currentToken = { type: ci.EOF_TOKEN }; - } - _createAttr(t) { - this.currentAttr = { name: t, value: "" }; - } - _leaveAttrName(t) { - ci.getTokenAttr(this.currentToken, this.currentAttr.name) === null - ? this.currentToken.attrs.push(this.currentAttr) - : this._err(Ae.duplicateAttribute), - (this.state = t); - } - _leaveAttrValue(t) { - this.state = t; - } - _emitCurrentToken() { - this._emitCurrentCharacterToken(); - const t = this.currentToken; - (this.currentToken = null), - t.type === ci.START_TAG_TOKEN - ? (this.lastStartTagName = t.tagName) - : t.type === ci.END_TAG_TOKEN && - (t.attrs.length > 0 && this._err(Ae.endTagWithAttributes), - t.selfClosing && this._err(Ae.endTagWithTrailingSolidus)), - this.tokenQueue.push(t); - } - _emitCurrentCharacterToken() { - this.currentCharacterToken && - (this.tokenQueue.push(this.currentCharacterToken), - (this.currentCharacterToken = null)); - } - _emitEOFToken() { - this._createEOFToken(), this._emitCurrentToken(); - } - _appendCharToCurrentCharacterToken(t, n) { - this.currentCharacterToken && - this.currentCharacterToken.type !== t && - this._emitCurrentCharacterToken(), - this.currentCharacterToken - ? (this.currentCharacterToken.chars += n) - : this._createCharacterToken(t, n); - } - _emitCodePoint(t) { - let n = ci.CHARACTER_TOKEN; - vn(t) - ? (n = ci.WHITESPACE_CHARACTER_TOKEN) - : t === G.NULL && (n = ci.NULL_CHARACTER_TOKEN), - this._appendCharToCurrentCharacterToken(n, Mn(t)); - } - _emitSeveralCodePoints(t) { - for (let n = 0; n < t.length; n++) this._emitCodePoint(t[n]); - } - _emitChars(t) { - this._appendCharToCurrentCharacterToken(ci.CHARACTER_TOKEN, t); - } - _matchNamedCharacterReference(t) { - let n = null, - r = 1, - i = Ox(0, t); - for (this.tempBuff.push(t); i > -1; ) { - const a = Jl[i], - o = a < nne; - o && a & mL && ((n = a & bL ? [Jl[++i], Jl[++i]] : [Jl[++i]]), (r = 0)); - const u = this._consume(); - if ((this.tempBuff.push(u), r++, u === G.EOF)) break; - o ? (i = a & EL ? Ox(i, u) : -1) : (i = u === a ? ++i : -1); - } - for (; r--; ) this.tempBuff.pop(), this._unconsume(); - return n; - } - _isCharacterReferenceInAttribute() { - return ( - this.returnState === b0 || - this.returnState === E0 || - this.returnState === v0 - ); - } - _isCharacterReferenceAttributeQuirk(t) { - if (!t && this._isCharacterReferenceInAttribute()) { - const n = this._consume(); - return this._unconsume(), n === G.EQUALS_SIGN || x3(n); - } - return !1; - } - _flushCodePointsConsumedAsCharacterReference() { - if (this._isCharacterReferenceInAttribute()) - for (let t = 0; t < this.tempBuff.length; t++) - this.currentAttr.value += Mn(this.tempBuff[t]); - else this._emitSeveralCodePoints(this.tempBuff); - this.tempBuff = []; - } - [Ot](t) { - this.preprocessor.dropParsedChunk(), - t === G.LESS_THAN_SIGN - ? (this.state = HC) - : t === G.AMPERSAND - ? ((this.returnState = Ot), (this.state = Wu)) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), this._emitCodePoint(t)) - : t === G.EOF - ? this._emitEOFToken() - : this._emitCodePoint(t); - } - [n1](t) { - this.preprocessor.dropParsedChunk(), - t === G.AMPERSAND - ? ((this.returnState = n1), (this.state = Wu)) - : t === G.LESS_THAN_SIGN - ? (this.state = GC) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - this._emitChars(un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? this._emitEOFToken() - : this._emitCodePoint(t); - } - [cd](t) { - this.preprocessor.dropParsedChunk(), - t === G.LESS_THAN_SIGN - ? (this.state = qC) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - this._emitChars(un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? this._emitEOFToken() - : this._emitCodePoint(t); - } - [Ho](t) { - this.preprocessor.dropParsedChunk(), - t === G.LESS_THAN_SIGN - ? (this.state = XC) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - this._emitChars(un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? this._emitEOFToken() - : this._emitCodePoint(t); - } - [vL](t) { - this.preprocessor.dropParsedChunk(), - t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - this._emitChars(un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? this._emitEOFToken() - : this._emitCodePoint(t); - } - [HC](t) { - t === G.EXCLAMATION_MARK - ? (this.state = lx) - : t === G.SOLIDUS - ? (this.state = jC) - : Ns(t) - ? (this._createStartTagToken(), this._reconsumeInState(E3)) - : t === G.QUESTION_MARK - ? (this._err(Ae.unexpectedQuestionMarkInsteadOfTagName), - this._createCommentToken(), - this._reconsumeInState(jc)) - : t === G.EOF - ? (this._err(Ae.eofBeforeTagName), - this._emitChars("<"), - this._emitEOFToken()) - : (this._err(Ae.invalidFirstCharacterOfTagName), - this._emitChars("<"), - this._reconsumeInState(Ot)); - } - [jC](t) { - Ns(t) - ? (this._createEndTagToken(), this._reconsumeInState(E3)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.missingEndTagName), (this.state = Ot)) - : t === G.EOF - ? (this._err(Ae.eofBeforeTagName), - this._emitChars("")) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.state = ka), - this._emitChars(un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? (this._err(Ae.eofInScriptHtmlCommentLikeText), this._emitEOFToken()) - : ((this.state = ka), this._emitCodePoint(t)); - } - [h0](t) { - t === G.SOLIDUS - ? ((this.tempBuff = []), (this.state = nx)) - : Ns(t) - ? ((this.tempBuff = []), this._emitChars("<"), this._reconsumeInState(ix)) - : (this._emitChars("<"), this._reconsumeInState(ka)); - } - [nx](t) { - Ns(t) - ? (this._createEndTagToken(), this._reconsumeInState(rx)) - : (this._emitChars("")) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.state = Lo), - this._emitChars(un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? (this._err(Ae.eofInScriptHtmlCommentLikeText), this._emitEOFToken()) - : ((this.state = Lo), this._emitCodePoint(t)); - } - [g0](t) { - t === G.SOLIDUS - ? ((this.tempBuff = []), (this.state = sx), this._emitChars("/")) - : this._reconsumeInState(Lo); - } - [sx](t) { - vn(t) || t === G.SOLIDUS || t === G.GREATER_THAN_SIGN - ? ((this.state = this._isTempBufferEqualToScriptString() ? ka : Lo), - this._emitCodePoint(t)) - : Na(t) - ? (this.tempBuff.push(ch(t)), this._emitCodePoint(t)) - : Gl(t) - ? (this.tempBuff.push(t), this._emitCodePoint(t)) - : this._reconsumeInState(Lo); - } - [to](t) { - vn(t) || - (t === G.SOLIDUS || t === G.GREATER_THAN_SIGN || t === G.EOF - ? this._reconsumeInState(y3) - : t === G.EQUALS_SIGN - ? (this._err(Ae.unexpectedEqualsSignBeforeAttributeName), - this._createAttr("="), - (this.state = m0)) - : (this._createAttr(""), this._reconsumeInState(m0))); - } - [m0](t) { - vn(t) || t === G.SOLIDUS || t === G.GREATER_THAN_SIGN || t === G.EOF - ? (this._leaveAttrName(y3), this._unconsume()) - : t === G.EQUALS_SIGN - ? this._leaveAttrName(_3) - : Na(t) - ? (this.currentAttr.name += ks(t)) - : t === G.QUOTATION_MARK || t === G.APOSTROPHE || t === G.LESS_THAN_SIGN - ? (this._err(Ae.unexpectedCharacterInAttributeName), - (this.currentAttr.name += Mn(t))) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentAttr.name += un.REPLACEMENT_CHARACTER)) - : (this.currentAttr.name += Mn(t)); - } - [y3](t) { - vn(t) || - (t === G.SOLIDUS - ? (this.state = Cs) - : t === G.EQUALS_SIGN - ? (this.state = _3) - : t === G.GREATER_THAN_SIGN - ? ((this.state = Ot), this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInTag), this._emitEOFToken()) - : (this._createAttr(""), this._reconsumeInState(m0))); - } - [_3](t) { - vn(t) || - (t === G.QUOTATION_MARK - ? (this.state = b0) - : t === G.APOSTROPHE - ? (this.state = E0) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.missingAttributeValue), - (this.state = Ot), - this._emitCurrentToken()) - : this._reconsumeInState(v0)); - } - [b0](t) { - t === G.QUOTATION_MARK - ? (this.state = T3) - : t === G.AMPERSAND - ? ((this.returnState = b0), (this.state = Wu)) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentAttr.value += un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? (this._err(Ae.eofInTag), this._emitEOFToken()) - : (this.currentAttr.value += Mn(t)); - } - [E0](t) { - t === G.APOSTROPHE - ? (this.state = T3) - : t === G.AMPERSAND - ? ((this.returnState = E0), (this.state = Wu)) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentAttr.value += un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? (this._err(Ae.eofInTag), this._emitEOFToken()) - : (this.currentAttr.value += Mn(t)); - } - [v0](t) { - vn(t) - ? this._leaveAttrValue(to) - : t === G.AMPERSAND - ? ((this.returnState = v0), (this.state = Wu)) - : t === G.GREATER_THAN_SIGN - ? (this._leaveAttrValue(Ot), this._emitCurrentToken()) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentAttr.value += un.REPLACEMENT_CHARACTER)) - : t === G.QUOTATION_MARK || - t === G.APOSTROPHE || - t === G.LESS_THAN_SIGN || - t === G.EQUALS_SIGN || - t === G.GRAVE_ACCENT - ? (this._err(Ae.unexpectedCharacterInUnquotedAttributeValue), - (this.currentAttr.value += Mn(t))) - : t === G.EOF - ? (this._err(Ae.eofInTag), this._emitEOFToken()) - : (this.currentAttr.value += Mn(t)); - } - [T3](t) { - vn(t) - ? this._leaveAttrValue(to) - : t === G.SOLIDUS - ? this._leaveAttrValue(Cs) - : t === G.GREATER_THAN_SIGN - ? (this._leaveAttrValue(Ot), this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInTag), this._emitEOFToken()) - : (this._err(Ae.missingWhitespaceBetweenAttributes), - this._reconsumeInState(to)); - } - [Cs](t) { - t === G.GREATER_THAN_SIGN - ? ((this.currentToken.selfClosing = !0), - (this.state = Ot), - this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInTag), this._emitEOFToken()) - : (this._err(Ae.unexpectedSolidusInTag), this._reconsumeInState(to)); - } - [jc](t) { - t === G.GREATER_THAN_SIGN - ? ((this.state = Ot), this._emitCurrentToken()) - : t === G.EOF - ? (this._emitCurrentToken(), this._emitEOFToken()) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentToken.data += un.REPLACEMENT_CHARACTER)) - : (this.currentToken.data += Mn(t)); - } - [lx](t) { - this._consumeSequenceIfMatch(Pl.DASH_DASH_STRING, t, !0) - ? (this._createCommentToken(), (this.state = ux)) - : this._consumeSequenceIfMatch(Pl.DOCTYPE_STRING, t, !1) - ? (this.state = mx) - : this._consumeSequenceIfMatch(Pl.CDATA_START_STRING, t, !0) - ? this.allowCDATA - ? (this.state = w0) - : (this._err(Ae.cdataInHtmlContent), - this._createCommentToken(), - (this.currentToken.data = "[CDATA["), - (this.state = jc)) - : this._ensureHibernation() || - (this._err(Ae.incorrectlyOpenedComment), - this._createCommentToken(), - this._reconsumeInState(jc)); - } - [ux](t) { - t === G.HYPHEN_MINUS - ? (this.state = cx) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.abruptClosingOfEmptyComment), - (this.state = Ot), - this._emitCurrentToken()) - : this._reconsumeInState(xs); - } - [cx](t) { - t === G.HYPHEN_MINUS - ? (this.state = _0) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.abruptClosingOfEmptyComment), - (this.state = Ot), - this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInComment), - this._emitCurrentToken(), - this._emitEOFToken()) - : ((this.currentToken.data += "-"), this._reconsumeInState(xs)); - } - [xs](t) { - t === G.HYPHEN_MINUS - ? (this.state = y0) - : t === G.LESS_THAN_SIGN - ? ((this.currentToken.data += "<"), (this.state = dx)) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentToken.data += un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? (this._err(Ae.eofInComment), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this.currentToken.data += Mn(t)); - } - [dx](t) { - t === G.EXCLAMATION_MARK - ? ((this.currentToken.data += "!"), (this.state = px)) - : t === G.LESS_THAN_SIGN - ? (this.currentToken.data += "!") - : this._reconsumeInState(xs); - } - [px](t) { - t === G.HYPHEN_MINUS ? (this.state = fx) : this._reconsumeInState(xs); - } - [fx](t) { - t === G.HYPHEN_MINUS ? (this.state = hx) : this._reconsumeInState(y0); - } - [hx](t) { - t !== G.GREATER_THAN_SIGN && t !== G.EOF && this._err(Ae.nestedComment), - this._reconsumeInState(_0); - } - [y0](t) { - t === G.HYPHEN_MINUS - ? (this.state = _0) - : t === G.EOF - ? (this._err(Ae.eofInComment), - this._emitCurrentToken(), - this._emitEOFToken()) - : ((this.currentToken.data += "-"), this._reconsumeInState(xs)); - } - [_0](t) { - t === G.GREATER_THAN_SIGN - ? ((this.state = Ot), this._emitCurrentToken()) - : t === G.EXCLAMATION_MARK - ? (this.state = gx) - : t === G.HYPHEN_MINUS - ? (this.currentToken.data += "-") - : t === G.EOF - ? (this._err(Ae.eofInComment), - this._emitCurrentToken(), - this._emitEOFToken()) - : ((this.currentToken.data += "--"), this._reconsumeInState(xs)); - } - [gx](t) { - t === G.HYPHEN_MINUS - ? ((this.currentToken.data += "--!"), (this.state = y0)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.incorrectlyClosedComment), - (this.state = Ot), - this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInComment), - this._emitCurrentToken(), - this._emitEOFToken()) - : ((this.currentToken.data += "--!"), this._reconsumeInState(xs)); - } - [mx](t) { - vn(t) - ? (this.state = T0) - : t === G.GREATER_THAN_SIGN - ? this._reconsumeInState(T0) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - this._createDoctypeToken(null), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this._err(Ae.missingWhitespaceBeforeDoctypeName), - this._reconsumeInState(T0)); - } - [T0](t) { - vn(t) || - (Na(t) - ? (this._createDoctypeToken(ks(t)), (this.state = S0)) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - this._createDoctypeToken(un.REPLACEMENT_CHARACTER), - (this.state = S0)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.missingDoctypeName), - this._createDoctypeToken(null), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - (this.state = Ot)) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - this._createDoctypeToken(null), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this._createDoctypeToken(Mn(t)), (this.state = S0))); - } - [S0](t) { - vn(t) - ? (this.state = bx) - : t === G.GREATER_THAN_SIGN - ? ((this.state = Ot), this._emitCurrentToken()) - : Na(t) - ? (this.currentToken.name += ks(t)) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentToken.name += un.REPLACEMENT_CHARACTER)) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this.currentToken.name += Mn(t)); - } - [bx](t) { - vn(t) || - (t === G.GREATER_THAN_SIGN - ? ((this.state = Ot), this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : this._consumeSequenceIfMatch(Pl.PUBLIC_STRING, t, !1) - ? (this.state = Ex) - : this._consumeSequenceIfMatch(Pl.SYSTEM_STRING, t, !1) - ? (this.state = _x) - : this._ensureHibernation() || - (this._err(Ae.invalidCharacterSequenceAfterDoctypeName), - (this.currentToken.forceQuirks = !0), - this._reconsumeInState(Mo))); - } - [Ex](t) { - vn(t) - ? (this.state = vx) - : t === G.QUOTATION_MARK - ? (this._err(Ae.missingWhitespaceAfterDoctypePublicKeyword), - (this.currentToken.publicId = ""), - (this.state = S3)) - : t === G.APOSTROPHE - ? (this._err(Ae.missingWhitespaceAfterDoctypePublicKeyword), - (this.currentToken.publicId = ""), - (this.state = w3)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.missingDoctypePublicIdentifier), - (this.currentToken.forceQuirks = !0), - (this.state = Ot), - this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this._err(Ae.missingQuoteBeforeDoctypePublicIdentifier), - (this.currentToken.forceQuirks = !0), - this._reconsumeInState(Mo)); - } - [vx](t) { - vn(t) || - (t === G.QUOTATION_MARK - ? ((this.currentToken.publicId = ""), (this.state = S3)) - : t === G.APOSTROPHE - ? ((this.currentToken.publicId = ""), (this.state = w3)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.missingDoctypePublicIdentifier), - (this.currentToken.forceQuirks = !0), - (this.state = Ot), - this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this._err(Ae.missingQuoteBeforeDoctypePublicIdentifier), - (this.currentToken.forceQuirks = !0), - this._reconsumeInState(Mo))); - } - [S3](t) { - t === G.QUOTATION_MARK - ? (this.state = A3) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentToken.publicId += un.REPLACEMENT_CHARACTER)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.abruptDoctypePublicIdentifier), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - (this.state = Ot)) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this.currentToken.publicId += Mn(t)); - } - [w3](t) { - t === G.APOSTROPHE - ? (this.state = A3) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentToken.publicId += un.REPLACEMENT_CHARACTER)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.abruptDoctypePublicIdentifier), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - (this.state = Ot)) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this.currentToken.publicId += Mn(t)); - } - [A3](t) { - vn(t) - ? (this.state = yx) - : t === G.GREATER_THAN_SIGN - ? ((this.state = Ot), this._emitCurrentToken()) - : t === G.QUOTATION_MARK - ? (this._err( - Ae.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers - ), - (this.currentToken.systemId = ""), - (this.state = Gc)) - : t === G.APOSTROPHE - ? (this._err( - Ae.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers - ), - (this.currentToken.systemId = ""), - (this.state = Vc)) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this._err(Ae.missingQuoteBeforeDoctypeSystemIdentifier), - (this.currentToken.forceQuirks = !0), - this._reconsumeInState(Mo)); - } - [yx](t) { - vn(t) || - (t === G.GREATER_THAN_SIGN - ? (this._emitCurrentToken(), (this.state = Ot)) - : t === G.QUOTATION_MARK - ? ((this.currentToken.systemId = ""), (this.state = Gc)) - : t === G.APOSTROPHE - ? ((this.currentToken.systemId = ""), (this.state = Vc)) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this._err(Ae.missingQuoteBeforeDoctypeSystemIdentifier), - (this.currentToken.forceQuirks = !0), - this._reconsumeInState(Mo))); - } - [_x](t) { - vn(t) - ? (this.state = Tx) - : t === G.QUOTATION_MARK - ? (this._err(Ae.missingWhitespaceAfterDoctypeSystemKeyword), - (this.currentToken.systemId = ""), - (this.state = Gc)) - : t === G.APOSTROPHE - ? (this._err(Ae.missingWhitespaceAfterDoctypeSystemKeyword), - (this.currentToken.systemId = ""), - (this.state = Vc)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.missingDoctypeSystemIdentifier), - (this.currentToken.forceQuirks = !0), - (this.state = Ot), - this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this._err(Ae.missingQuoteBeforeDoctypeSystemIdentifier), - (this.currentToken.forceQuirks = !0), - this._reconsumeInState(Mo)); - } - [Tx](t) { - vn(t) || - (t === G.QUOTATION_MARK - ? ((this.currentToken.systemId = ""), (this.state = Gc)) - : t === G.APOSTROPHE - ? ((this.currentToken.systemId = ""), (this.state = Vc)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.missingDoctypeSystemIdentifier), - (this.currentToken.forceQuirks = !0), - (this.state = Ot), - this._emitCurrentToken()) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this._err(Ae.missingQuoteBeforeDoctypeSystemIdentifier), - (this.currentToken.forceQuirks = !0), - this._reconsumeInState(Mo))); - } - [Gc](t) { - t === G.QUOTATION_MARK - ? (this.state = C3) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentToken.systemId += un.REPLACEMENT_CHARACTER)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.abruptDoctypeSystemIdentifier), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - (this.state = Ot)) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this.currentToken.systemId += Mn(t)); - } - [Vc](t) { - t === G.APOSTROPHE - ? (this.state = C3) - : t === G.NULL - ? (this._err(Ae.unexpectedNullCharacter), - (this.currentToken.systemId += un.REPLACEMENT_CHARACTER)) - : t === G.GREATER_THAN_SIGN - ? (this._err(Ae.abruptDoctypeSystemIdentifier), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - (this.state = Ot)) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this.currentToken.systemId += Mn(t)); - } - [C3](t) { - vn(t) || - (t === G.GREATER_THAN_SIGN - ? (this._emitCurrentToken(), (this.state = Ot)) - : t === G.EOF - ? (this._err(Ae.eofInDoctype), - (this.currentToken.forceQuirks = !0), - this._emitCurrentToken(), - this._emitEOFToken()) - : (this._err(Ae.unexpectedCharacterAfterDoctypeSystemIdentifier), - this._reconsumeInState(Mo))); - } - [Mo](t) { - t === G.GREATER_THAN_SIGN - ? (this._emitCurrentToken(), (this.state = Ot)) - : t === G.NULL - ? this._err(Ae.unexpectedNullCharacter) - : t === G.EOF && (this._emitCurrentToken(), this._emitEOFToken()); - } - [w0](t) { - t === G.RIGHT_SQUARE_BRACKET - ? (this.state = Sx) - : t === G.EOF - ? (this._err(Ae.eofInCdata), this._emitEOFToken()) - : this._emitCodePoint(t); - } - [Sx](t) { - t === G.RIGHT_SQUARE_BRACKET - ? (this.state = wx) - : (this._emitChars("]"), this._reconsumeInState(w0)); - } - [wx](t) { - t === G.GREATER_THAN_SIGN - ? (this.state = Ot) - : t === G.RIGHT_SQUARE_BRACKET - ? this._emitChars("]") - : (this._emitChars("]]"), this._reconsumeInState(w0)); - } - [Wu](t) { - (this.tempBuff = [G.AMPERSAND]), - t === G.NUMBER_SIGN - ? (this.tempBuff.push(t), (this.state = xx)) - : x3(t) - ? this._reconsumeInState(Ax) - : (this._flushCodePointsConsumedAsCharacterReference(), - this._reconsumeInState(this.returnState)); - } - [Ax](t) { - const n = this._matchNamedCharacterReference(t); - if (this._ensureHibernation()) this.tempBuff = [G.AMPERSAND]; - else if (n) { - const r = this.tempBuff[this.tempBuff.length - 1] === G.SEMICOLON; - this._isCharacterReferenceAttributeQuirk(r) || - (r || - this._errOnNextCodePoint(Ae.missingSemicolonAfterCharacterReference), - (this.tempBuff = n)), - this._flushCodePointsConsumedAsCharacterReference(), - (this.state = this.returnState); - } else - this._flushCodePointsConsumedAsCharacterReference(), (this.state = Cx); - } - [Cx](t) { - x3(t) - ? this._isCharacterReferenceInAttribute() - ? (this.currentAttr.value += Mn(t)) - : this._emitCodePoint(t) - : (t === G.SEMICOLON && this._err(Ae.unknownNamedCharacterReference), - this._reconsumeInState(this.returnState)); - } - [xx](t) { - (this.charRefCode = 0), - t === G.LATIN_SMALL_X || t === G.LATIN_CAPITAL_X - ? (this.tempBuff.push(t), (this.state = kx)) - : this._reconsumeInState(Ix); - } - [kx](t) { - rne(t) - ? this._reconsumeInState(Rx) - : (this._err(Ae.absenceOfDigitsInNumericCharacterReference), - this._flushCodePointsConsumedAsCharacterReference(), - this._reconsumeInState(this.returnState)); - } - [Ix](t) { - xd(t) - ? this._reconsumeInState(Nx) - : (this._err(Ae.absenceOfDigitsInNumericCharacterReference), - this._flushCodePointsConsumedAsCharacterReference(), - this._reconsumeInState(this.returnState)); - } - [Rx](t) { - yL(t) - ? (this.charRefCode = this.charRefCode * 16 + t - 55) - : _L(t) - ? (this.charRefCode = this.charRefCode * 16 + t - 87) - : xd(t) - ? (this.charRefCode = this.charRefCode * 16 + t - 48) - : t === G.SEMICOLON - ? (this.state = Wc) - : (this._err(Ae.missingSemicolonAfterCharacterReference), - this._reconsumeInState(Wc)); - } - [Nx](t) { - xd(t) - ? (this.charRefCode = this.charRefCode * 10 + t - 48) - : t === G.SEMICOLON - ? (this.state = Wc) - : (this._err(Ae.missingSemicolonAfterCharacterReference), - this._reconsumeInState(Wc)); - } - [Wc]() { - if (this.charRefCode === G.NULL) - this._err(Ae.nullCharacterReference), - (this.charRefCode = G.REPLACEMENT_CHARACTER); - else if (this.charRefCode > 1114111) - this._err(Ae.characterReferenceOutsideUnicodeRange), - (this.charRefCode = G.REPLACEMENT_CHARACTER); - else if (un.isSurrogate(this.charRefCode)) - this._err(Ae.surrogateCharacterReference), - (this.charRefCode = G.REPLACEMENT_CHARACTER); - else if (un.isUndefinedCodePoint(this.charRefCode)) - this._err(Ae.noncharacterCharacterReference); - else if ( - un.isControlCodePoint(this.charRefCode) || - this.charRefCode === G.CARRIAGE_RETURN - ) { - this._err(Ae.controlCharacterReference); - const t = tne[this.charRefCode]; - t && (this.charRefCode = t); - } - (this.tempBuff = [this.charRefCode]), - this._flushCodePointsConsumedAsCharacterReference(), - this._reconsumeInState(this.returnState); - } -}; -_a.CHARACTER_TOKEN = "CHARACTER_TOKEN"; -_a.NULL_CHARACTER_TOKEN = "NULL_CHARACTER_TOKEN"; -_a.WHITESPACE_CHARACTER_TOKEN = "WHITESPACE_CHARACTER_TOKEN"; -_a.START_TAG_TOKEN = "START_TAG_TOKEN"; -_a.END_TAG_TOKEN = "END_TAG_TOKEN"; -_a.COMMENT_TOKEN = "COMMENT_TOKEN"; -_a.DOCTYPE_TOKEN = "DOCTYPE_TOKEN"; -_a.EOF_TOKEN = "EOF_TOKEN"; -_a.HIBERNATION_TOKEN = "HIBERNATION_TOKEN"; -_a.MODE = { DATA: Ot, RCDATA: n1, RAWTEXT: cd, SCRIPT_DATA: Ho, PLAINTEXT: vL }; -_a.getTokenAttr = function (e, t) { - for (let n = e.attrs.length - 1; n >= 0; n--) - if (e.attrs[n].name === t) return e.attrs[n].value; - return null; -}; -var I2 = _a, - Wa = {}; -const k3 = (Wa.NAMESPACES = { - HTML: "http://www.w3.org/1999/xhtml", - MATHML: "http://www.w3.org/1998/Math/MathML", - SVG: "http://www.w3.org/2000/svg", - XLINK: "http://www.w3.org/1999/xlink", - XML: "http://www.w3.org/XML/1998/namespace", - XMLNS: "http://www.w3.org/2000/xmlns/", -}); -Wa.ATTRS = { - TYPE: "type", - ACTION: "action", - ENCODING: "encoding", - PROMPT: "prompt", - NAME: "name", - COLOR: "color", - FACE: "face", - SIZE: "size", -}; -Wa.DOCUMENT_MODE = { - NO_QUIRKS: "no-quirks", - QUIRKS: "quirks", - LIMITED_QUIRKS: "limited-quirks", -}; -const $e = (Wa.TAG_NAMES = { - A: "a", - ADDRESS: "address", - ANNOTATION_XML: "annotation-xml", - APPLET: "applet", - AREA: "area", - ARTICLE: "article", - ASIDE: "aside", - B: "b", - BASE: "base", - BASEFONT: "basefont", - BGSOUND: "bgsound", - BIG: "big", - BLOCKQUOTE: "blockquote", - BODY: "body", - BR: "br", - BUTTON: "button", - CAPTION: "caption", - CENTER: "center", - CODE: "code", - COL: "col", - COLGROUP: "colgroup", - DD: "dd", - DESC: "desc", - DETAILS: "details", - DIALOG: "dialog", - DIR: "dir", - DIV: "div", - DL: "dl", - DT: "dt", - EM: "em", - EMBED: "embed", - FIELDSET: "fieldset", - FIGCAPTION: "figcaption", - FIGURE: "figure", - FONT: "font", - FOOTER: "footer", - FOREIGN_OBJECT: "foreignObject", - FORM: "form", - FRAME: "frame", - FRAMESET: "frameset", - H1: "h1", - H2: "h2", - H3: "h3", - H4: "h4", - H5: "h5", - H6: "h6", - HEAD: "head", - HEADER: "header", - HGROUP: "hgroup", - HR: "hr", - HTML: "html", - I: "i", - IMG: "img", - IMAGE: "image", - INPUT: "input", - IFRAME: "iframe", - KEYGEN: "keygen", - LABEL: "label", - LI: "li", - LINK: "link", - LISTING: "listing", - MAIN: "main", - MALIGNMARK: "malignmark", - MARQUEE: "marquee", - MATH: "math", - MENU: "menu", - META: "meta", - MGLYPH: "mglyph", - MI: "mi", - MO: "mo", - MN: "mn", - MS: "ms", - MTEXT: "mtext", - NAV: "nav", - NOBR: "nobr", - NOFRAMES: "noframes", - NOEMBED: "noembed", - NOSCRIPT: "noscript", - OBJECT: "object", - OL: "ol", - OPTGROUP: "optgroup", - OPTION: "option", - P: "p", - PARAM: "param", - PLAINTEXT: "plaintext", - PRE: "pre", - RB: "rb", - RP: "rp", - RT: "rt", - RTC: "rtc", - RUBY: "ruby", - S: "s", - SCRIPT: "script", - SECTION: "section", - SELECT: "select", - SOURCE: "source", - SMALL: "small", - SPAN: "span", - STRIKE: "strike", - STRONG: "strong", - STYLE: "style", - SUB: "sub", - SUMMARY: "summary", - SUP: "sup", - TABLE: "table", - TBODY: "tbody", - TEMPLATE: "template", - TEXTAREA: "textarea", - TFOOT: "tfoot", - TD: "td", - TH: "th", - THEAD: "thead", - TITLE: "title", - TR: "tr", - TRACK: "track", - TT: "tt", - U: "u", - UL: "ul", - SVG: "svg", - VAR: "var", - WBR: "wbr", - XMP: "xmp", -}); -Wa.SPECIAL_ELEMENTS = { - [k3.HTML]: { - [$e.ADDRESS]: !0, - [$e.APPLET]: !0, - [$e.AREA]: !0, - [$e.ARTICLE]: !0, - [$e.ASIDE]: !0, - [$e.BASE]: !0, - [$e.BASEFONT]: !0, - [$e.BGSOUND]: !0, - [$e.BLOCKQUOTE]: !0, - [$e.BODY]: !0, - [$e.BR]: !0, - [$e.BUTTON]: !0, - [$e.CAPTION]: !0, - [$e.CENTER]: !0, - [$e.COL]: !0, - [$e.COLGROUP]: !0, - [$e.DD]: !0, - [$e.DETAILS]: !0, - [$e.DIR]: !0, - [$e.DIV]: !0, - [$e.DL]: !0, - [$e.DT]: !0, - [$e.EMBED]: !0, - [$e.FIELDSET]: !0, - [$e.FIGCAPTION]: !0, - [$e.FIGURE]: !0, - [$e.FOOTER]: !0, - [$e.FORM]: !0, - [$e.FRAME]: !0, - [$e.FRAMESET]: !0, - [$e.H1]: !0, - [$e.H2]: !0, - [$e.H3]: !0, - [$e.H4]: !0, - [$e.H5]: !0, - [$e.H6]: !0, - [$e.HEAD]: !0, - [$e.HEADER]: !0, - [$e.HGROUP]: !0, - [$e.HR]: !0, - [$e.HTML]: !0, - [$e.IFRAME]: !0, - [$e.IMG]: !0, - [$e.INPUT]: !0, - [$e.LI]: !0, - [$e.LINK]: !0, - [$e.LISTING]: !0, - [$e.MAIN]: !0, - [$e.MARQUEE]: !0, - [$e.MENU]: !0, - [$e.META]: !0, - [$e.NAV]: !0, - [$e.NOEMBED]: !0, - [$e.NOFRAMES]: !0, - [$e.NOSCRIPT]: !0, - [$e.OBJECT]: !0, - [$e.OL]: !0, - [$e.P]: !0, - [$e.PARAM]: !0, - [$e.PLAINTEXT]: !0, - [$e.PRE]: !0, - [$e.SCRIPT]: !0, - [$e.SECTION]: !0, - [$e.SELECT]: !0, - [$e.SOURCE]: !0, - [$e.STYLE]: !0, - [$e.SUMMARY]: !0, - [$e.TABLE]: !0, - [$e.TBODY]: !0, - [$e.TD]: !0, - [$e.TEMPLATE]: !0, - [$e.TEXTAREA]: !0, - [$e.TFOOT]: !0, - [$e.TH]: !0, - [$e.THEAD]: !0, - [$e.TITLE]: !0, - [$e.TR]: !0, - [$e.TRACK]: !0, - [$e.UL]: !0, - [$e.WBR]: !0, - [$e.XMP]: !0, - }, - [k3.MATHML]: { - [$e.MI]: !0, - [$e.MO]: !0, - [$e.MN]: !0, - [$e.MS]: !0, - [$e.MTEXT]: !0, - [$e.ANNOTATION_XML]: !0, - }, - [k3.SVG]: { [$e.TITLE]: !0, [$e.FOREIGN_OBJECT]: !0, [$e.DESC]: !0 }, -}; -const TL = Wa, - je = TL.TAG_NAMES, - cn = TL.NAMESPACES; -function Dx(e) { - switch (e.length) { - case 1: - return e === je.P; - case 2: - return ( - e === je.RB || - e === je.RP || - e === je.RT || - e === je.DD || - e === je.DT || - e === je.LI - ); - case 3: - return e === je.RTC; - case 6: - return e === je.OPTION; - case 8: - return e === je.OPTGROUP; - } - return !1; -} -function ine(e) { - switch (e.length) { - case 1: - return e === je.P; - case 2: - return ( - e === je.RB || - e === je.RP || - e === je.RT || - e === je.DD || - e === je.DT || - e === je.LI || - e === je.TD || - e === je.TH || - e === je.TR - ); - case 3: - return e === je.RTC; - case 5: - return e === je.TBODY || e === je.TFOOT || e === je.THEAD; - case 6: - return e === je.OPTION; - case 7: - return e === je.CAPTION; - case 8: - return e === je.OPTGROUP || e === je.COLGROUP; - } - return !1; -} -function A0(e, t) { - switch (e.length) { - case 2: - if (e === je.TD || e === je.TH) return t === cn.HTML; - if (e === je.MI || e === je.MO || e === je.MN || e === je.MS) - return t === cn.MATHML; - break; - case 4: - if (e === je.HTML) return t === cn.HTML; - if (e === je.DESC) return t === cn.SVG; - break; - case 5: - if (e === je.TABLE) return t === cn.HTML; - if (e === je.MTEXT) return t === cn.MATHML; - if (e === je.TITLE) return t === cn.SVG; - break; - case 6: - return (e === je.APPLET || e === je.OBJECT) && t === cn.HTML; - case 7: - return (e === je.CAPTION || e === je.MARQUEE) && t === cn.HTML; - case 8: - return e === je.TEMPLATE && t === cn.HTML; - case 13: - return e === je.FOREIGN_OBJECT && t === cn.SVG; - case 14: - return e === je.ANNOTATION_XML && t === cn.MATHML; - } - return !1; -} -let ane = class { - constructor(t, n) { - (this.stackTop = -1), - (this.items = []), - (this.current = t), - (this.currentTagName = null), - (this.currentTmplContent = null), - (this.tmplCount = 0), - (this.treeAdapter = n); - } - _indexOf(t) { - let n = -1; - for (let r = this.stackTop; r >= 0; r--) - if (this.items[r] === t) { - n = r; - break; - } - return n; - } - _isInTemplate() { - return ( - this.currentTagName === je.TEMPLATE && - this.treeAdapter.getNamespaceURI(this.current) === cn.HTML - ); - } - _updateCurrentElement() { - (this.current = this.items[this.stackTop]), - (this.currentTagName = - this.current && this.treeAdapter.getTagName(this.current)), - (this.currentTmplContent = this._isInTemplate() - ? this.treeAdapter.getTemplateContent(this.current) - : null); - } - push(t) { - (this.items[++this.stackTop] = t), - this._updateCurrentElement(), - this._isInTemplate() && this.tmplCount++; - } - pop() { - this.stackTop--, - this.tmplCount > 0 && this._isInTemplate() && this.tmplCount--, - this._updateCurrentElement(); - } - replace(t, n) { - const r = this._indexOf(t); - (this.items[r] = n), r === this.stackTop && this._updateCurrentElement(); - } - insertAfter(t, n) { - const r = this._indexOf(t) + 1; - this.items.splice(r, 0, n), - r === ++this.stackTop && this._updateCurrentElement(); - } - popUntilTagNamePopped(t) { - for (; this.stackTop > -1; ) { - const n = this.currentTagName, - r = this.treeAdapter.getNamespaceURI(this.current); - if ((this.pop(), n === t && r === cn.HTML)) break; - } - } - popUntilElementPopped(t) { - for (; this.stackTop > -1; ) { - const n = this.current; - if ((this.pop(), n === t)) break; - } - } - popUntilNumberedHeaderPopped() { - for (; this.stackTop > -1; ) { - const t = this.currentTagName, - n = this.treeAdapter.getNamespaceURI(this.current); - if ( - (this.pop(), - t === je.H1 || - t === je.H2 || - t === je.H3 || - t === je.H4 || - t === je.H5 || - (t === je.H6 && n === cn.HTML)) - ) - break; - } - } - popUntilTableCellPopped() { - for (; this.stackTop > -1; ) { - const t = this.currentTagName, - n = this.treeAdapter.getNamespaceURI(this.current); - if ((this.pop(), t === je.TD || (t === je.TH && n === cn.HTML))) break; - } - } - popAllUpToHtmlElement() { - (this.stackTop = 0), this._updateCurrentElement(); - } - clearBackToTableContext() { - for ( - ; - (this.currentTagName !== je.TABLE && - this.currentTagName !== je.TEMPLATE && - this.currentTagName !== je.HTML) || - this.treeAdapter.getNamespaceURI(this.current) !== cn.HTML; - - ) - this.pop(); - } - clearBackToTableBodyContext() { - for ( - ; - (this.currentTagName !== je.TBODY && - this.currentTagName !== je.TFOOT && - this.currentTagName !== je.THEAD && - this.currentTagName !== je.TEMPLATE && - this.currentTagName !== je.HTML) || - this.treeAdapter.getNamespaceURI(this.current) !== cn.HTML; - - ) - this.pop(); - } - clearBackToTableRowContext() { - for ( - ; - (this.currentTagName !== je.TR && - this.currentTagName !== je.TEMPLATE && - this.currentTagName !== je.HTML) || - this.treeAdapter.getNamespaceURI(this.current) !== cn.HTML; - - ) - this.pop(); - } - remove(t) { - for (let n = this.stackTop; n >= 0; n--) - if (this.items[n] === t) { - this.items.splice(n, 1), this.stackTop--, this._updateCurrentElement(); - break; - } - } - tryPeekProperlyNestedBodyElement() { - const t = this.items[1]; - return t && this.treeAdapter.getTagName(t) === je.BODY ? t : null; - } - contains(t) { - return this._indexOf(t) > -1; - } - getCommonAncestor(t) { - let n = this._indexOf(t); - return --n >= 0 ? this.items[n] : null; - } - isRootHtmlElementCurrent() { - return this.stackTop === 0 && this.currentTagName === je.HTML; - } - hasInScope(t) { - for (let n = this.stackTop; n >= 0; n--) { - const r = this.treeAdapter.getTagName(this.items[n]), - i = this.treeAdapter.getNamespaceURI(this.items[n]); - if (r === t && i === cn.HTML) return !0; - if (A0(r, i)) return !1; - } - return !0; - } - hasNumberedHeaderInScope() { - for (let t = this.stackTop; t >= 0; t--) { - const n = this.treeAdapter.getTagName(this.items[t]), - r = this.treeAdapter.getNamespaceURI(this.items[t]); - if ( - (n === je.H1 || - n === je.H2 || - n === je.H3 || - n === je.H4 || - n === je.H5 || - n === je.H6) && - r === cn.HTML - ) - return !0; - if (A0(n, r)) return !1; - } - return !0; - } - hasInListItemScope(t) { - for (let n = this.stackTop; n >= 0; n--) { - const r = this.treeAdapter.getTagName(this.items[n]), - i = this.treeAdapter.getNamespaceURI(this.items[n]); - if (r === t && i === cn.HTML) return !0; - if (((r === je.UL || r === je.OL) && i === cn.HTML) || A0(r, i)) - return !1; - } - return !0; - } - hasInButtonScope(t) { - for (let n = this.stackTop; n >= 0; n--) { - const r = this.treeAdapter.getTagName(this.items[n]), - i = this.treeAdapter.getNamespaceURI(this.items[n]); - if (r === t && i === cn.HTML) return !0; - if ((r === je.BUTTON && i === cn.HTML) || A0(r, i)) return !1; - } - return !0; - } - hasInTableScope(t) { - for (let n = this.stackTop; n >= 0; n--) { - const r = this.treeAdapter.getTagName(this.items[n]); - if (this.treeAdapter.getNamespaceURI(this.items[n]) === cn.HTML) { - if (r === t) return !0; - if (r === je.TABLE || r === je.TEMPLATE || r === je.HTML) return !1; - } - } - return !0; - } - hasTableBodyContextInTableScope() { - for (let t = this.stackTop; t >= 0; t--) { - const n = this.treeAdapter.getTagName(this.items[t]); - if (this.treeAdapter.getNamespaceURI(this.items[t]) === cn.HTML) { - if (n === je.TBODY || n === je.THEAD || n === je.TFOOT) return !0; - if (n === je.TABLE || n === je.HTML) return !1; - } - } - return !0; - } - hasInSelectScope(t) { - for (let n = this.stackTop; n >= 0; n--) { - const r = this.treeAdapter.getTagName(this.items[n]); - if (this.treeAdapter.getNamespaceURI(this.items[n]) === cn.HTML) { - if (r === t) return !0; - if (r !== je.OPTION && r !== je.OPTGROUP) return !1; - } - } - return !0; - } - generateImpliedEndTags() { - for (; Dx(this.currentTagName); ) this.pop(); - } - generateImpliedEndTagsThoroughly() { - for (; ine(this.currentTagName); ) this.pop(); - } - generateImpliedEndTagsWithExclusion(t) { - for (; Dx(this.currentTagName) && this.currentTagName !== t; ) this.pop(); - } -}; -var one = ane; -const C0 = 3; -let VE = class Os { - constructor(t) { - (this.length = 0), - (this.entries = []), - (this.treeAdapter = t), - (this.bookmark = null); - } - _getNoahArkConditionCandidates(t) { - const n = []; - if (this.length >= C0) { - const r = this.treeAdapter.getAttrList(t).length, - i = this.treeAdapter.getTagName(t), - a = this.treeAdapter.getNamespaceURI(t); - for (let o = this.length - 1; o >= 0; o--) { - const s = this.entries[o]; - if (s.type === Os.MARKER_ENTRY) break; - const u = s.element, - c = this.treeAdapter.getAttrList(u); - this.treeAdapter.getTagName(u) === i && - this.treeAdapter.getNamespaceURI(u) === a && - c.length === r && - n.push({ idx: o, attrs: c }); - } - } - return n.length < C0 ? [] : n; - } - _ensureNoahArkCondition(t) { - const n = this._getNoahArkConditionCandidates(t); - let r = n.length; - if (r) { - const i = this.treeAdapter.getAttrList(t), - a = i.length, - o = Object.create(null); - for (let s = 0; s < a; s++) { - const u = i[s]; - o[u.name] = u.value; - } - for (let s = 0; s < a; s++) - for (let u = 0; u < r; u++) { - const c = n[u].attrs[s]; - if ((o[c.name] !== c.value && (n.splice(u, 1), r--), n.length < C0)) - return; - } - for (let s = r - 1; s >= C0 - 1; s--) - this.entries.splice(n[s].idx, 1), this.length--; - } - } - insertMarker() { - this.entries.push({ type: Os.MARKER_ENTRY }), this.length++; - } - pushElement(t, n) { - this._ensureNoahArkCondition(t), - this.entries.push({ type: Os.ELEMENT_ENTRY, element: t, token: n }), - this.length++; - } - insertElementAfterBookmark(t, n) { - let r = this.length - 1; - for (; r >= 0 && this.entries[r] !== this.bookmark; r--); - this.entries.splice(r + 1, 0, { - type: Os.ELEMENT_ENTRY, - element: t, - token: n, - }), - this.length++; - } - removeEntry(t) { - for (let n = this.length - 1; n >= 0; n--) - if (this.entries[n] === t) { - this.entries.splice(n, 1), this.length--; - break; - } - } - clearToLastMarker() { - for (; this.length; ) { - const t = this.entries.pop(); - if ((this.length--, t.type === Os.MARKER_ENTRY)) break; - } - } - getElementEntryInScopeWithTagName(t) { - for (let n = this.length - 1; n >= 0; n--) { - const r = this.entries[n]; - if (r.type === Os.MARKER_ENTRY) return null; - if (this.treeAdapter.getTagName(r.element) === t) return r; - } - return null; - } - getElementEntry(t) { - for (let n = this.length - 1; n >= 0; n--) { - const r = this.entries[n]; - if (r.type === Os.ELEMENT_ENTRY && r.element === t) return r; - } - return null; - } -}; -VE.MARKER_ENTRY = "MARKER_ENTRY"; -VE.ELEMENT_ENTRY = "ELEMENT_ENTRY"; -var sne = VE; -let SL = class { - constructor(t) { - const n = {}, - r = this._getOverriddenMethods(this, n); - for (const i of Object.keys(r)) - typeof r[i] == "function" && ((n[i] = t[i]), (t[i] = r[i])); - } - _getOverriddenMethods() { - throw new Error("Not implemented"); - } -}; -SL.install = function (e, t, n) { - e.__mixins || (e.__mixins = []); - for (let i = 0; i < e.__mixins.length; i++) - if (e.__mixins[i].constructor === t) return e.__mixins[i]; - const r = new t(e, n); - return e.__mixins.push(r), r; -}; -var ls = SL; -const lne = ls; -let une = class extends lne { - constructor(t) { - super(t), - (this.preprocessor = t), - (this.isEol = !1), - (this.lineStartPos = 0), - (this.droppedBufferSize = 0), - (this.offset = 0), - (this.col = 0), - (this.line = 1); - } - _getOverriddenMethods(t, n) { - return { - advance() { - const r = this.pos + 1, - i = this.html[r]; - return ( - t.isEol && ((t.isEol = !1), t.line++, (t.lineStartPos = r)), - (i === - ` -` || - (i === "\r" && - this.html[r + 1] !== - ` -`)) && - (t.isEol = !0), - (t.col = r - t.lineStartPos + 1), - (t.offset = t.droppedBufferSize + r), - n.advance.call(this) - ); - }, - retreat() { - n.retreat.call(this), - (t.isEol = !1), - (t.col = this.pos - t.lineStartPos + 1); - }, - dropParsedChunk() { - const r = this.pos; - n.dropParsedChunk.call(this); - const i = r - this.pos; - (t.lineStartPos -= i), - (t.droppedBufferSize += i), - (t.offset = t.droppedBufferSize + this.pos); - }, - }; - } -}; -var wL = une; -const Lx = ls, - I3 = I2, - cne = wL; -let dne = class extends Lx { - constructor(t) { - super(t), - (this.tokenizer = t), - (this.posTracker = Lx.install(t.preprocessor, cne)), - (this.currentAttrLocation = null), - (this.ctLoc = null); - } - _getCurrentLocation() { - return { - startLine: this.posTracker.line, - startCol: this.posTracker.col, - startOffset: this.posTracker.offset, - endLine: -1, - endCol: -1, - endOffset: -1, - }; - } - _attachCurrentAttrLocationInfo() { - (this.currentAttrLocation.endLine = this.posTracker.line), - (this.currentAttrLocation.endCol = this.posTracker.col), - (this.currentAttrLocation.endOffset = this.posTracker.offset); - const t = this.tokenizer.currentToken, - n = this.tokenizer.currentAttr; - t.location.attrs || (t.location.attrs = Object.create(null)), - (t.location.attrs[n.name] = this.currentAttrLocation); - } - _getOverriddenMethods(t, n) { - const r = { - _createStartTagToken() { - n._createStartTagToken.call(this), - (this.currentToken.location = t.ctLoc); - }, - _createEndTagToken() { - n._createEndTagToken.call(this), (this.currentToken.location = t.ctLoc); - }, - _createCommentToken() { - n._createCommentToken.call(this), - (this.currentToken.location = t.ctLoc); - }, - _createDoctypeToken(i) { - n._createDoctypeToken.call(this, i), - (this.currentToken.location = t.ctLoc); - }, - _createCharacterToken(i, a) { - n._createCharacterToken.call(this, i, a), - (this.currentCharacterToken.location = t.ctLoc); - }, - _createEOFToken() { - n._createEOFToken.call(this), - (this.currentToken.location = t._getCurrentLocation()); - }, - _createAttr(i) { - n._createAttr.call(this, i), - (t.currentAttrLocation = t._getCurrentLocation()); - }, - _leaveAttrName(i) { - n._leaveAttrName.call(this, i), t._attachCurrentAttrLocationInfo(); - }, - _leaveAttrValue(i) { - n._leaveAttrValue.call(this, i), t._attachCurrentAttrLocationInfo(); - }, - _emitCurrentToken() { - const i = this.currentToken.location; - this.currentCharacterToken && - ((this.currentCharacterToken.location.endLine = i.startLine), - (this.currentCharacterToken.location.endCol = i.startCol), - (this.currentCharacterToken.location.endOffset = i.startOffset)), - this.currentToken.type === I3.EOF_TOKEN - ? ((i.endLine = i.startLine), - (i.endCol = i.startCol), - (i.endOffset = i.startOffset)) - : ((i.endLine = t.posTracker.line), - (i.endCol = t.posTracker.col + 1), - (i.endOffset = t.posTracker.offset + 1)), - n._emitCurrentToken.call(this); - }, - _emitCurrentCharacterToken() { - const i = - this.currentCharacterToken && this.currentCharacterToken.location; - i && - i.endOffset === -1 && - ((i.endLine = t.posTracker.line), - (i.endCol = t.posTracker.col), - (i.endOffset = t.posTracker.offset)), - n._emitCurrentCharacterToken.call(this); - }, - }; - return ( - Object.keys(I3.MODE).forEach((i) => { - const a = I3.MODE[i]; - r[a] = function (o) { - (t.ctLoc = t._getCurrentLocation()), n[a].call(this, o); - }; - }), - r - ); - } -}; -var AL = dne; -const pne = ls; -let fne = class extends pne { - constructor(t, n) { - super(t), (this.onItemPop = n.onItemPop); - } - _getOverriddenMethods(t, n) { - return { - pop() { - t.onItemPop(this.current), n.pop.call(this); - }, - popAllUpToHtmlElement() { - for (let r = this.stackTop; r > 0; r--) t.onItemPop(this.items[r]); - n.popAllUpToHtmlElement.call(this); - }, - remove(r) { - t.onItemPop(this.current), n.remove.call(this, r); - }, - }; - } -}; -var hne = fne; -const R3 = ls, - Mx = I2, - gne = AL, - mne = hne, - bne = Wa, - N3 = bne.TAG_NAMES; -let Ene = class extends R3 { - constructor(t) { - super(t), - (this.parser = t), - (this.treeAdapter = this.parser.treeAdapter), - (this.posTracker = null), - (this.lastStartTagToken = null), - (this.lastFosterParentingLocation = null), - (this.currentToken = null); - } - _setStartLocation(t) { - let n = null; - this.lastStartTagToken && - ((n = Object.assign({}, this.lastStartTagToken.location)), - (n.startTag = this.lastStartTagToken.location)), - this.treeAdapter.setNodeSourceCodeLocation(t, n); - } - _setEndLocation(t, n) { - if (this.treeAdapter.getNodeSourceCodeLocation(t) && n.location) { - const i = n.location, - a = this.treeAdapter.getTagName(t), - o = n.type === Mx.END_TAG_TOKEN && a === n.tagName, - s = {}; - o - ? ((s.endTag = Object.assign({}, i)), - (s.endLine = i.endLine), - (s.endCol = i.endCol), - (s.endOffset = i.endOffset)) - : ((s.endLine = i.startLine), - (s.endCol = i.startCol), - (s.endOffset = i.startOffset)), - this.treeAdapter.updateNodeSourceCodeLocation(t, s); - } - } - _getOverriddenMethods(t, n) { - return { - _bootstrap(r, i) { - n._bootstrap.call(this, r, i), - (t.lastStartTagToken = null), - (t.lastFosterParentingLocation = null), - (t.currentToken = null); - const a = R3.install(this.tokenizer, gne); - (t.posTracker = a.posTracker), - R3.install(this.openElements, mne, { - onItemPop: function (o) { - t._setEndLocation(o, t.currentToken); - }, - }); - }, - _runParsingLoop(r) { - n._runParsingLoop.call(this, r); - for (let i = this.openElements.stackTop; i >= 0; i--) - t._setEndLocation(this.openElements.items[i], t.currentToken); - }, - _processTokenInForeignContent(r) { - (t.currentToken = r), n._processTokenInForeignContent.call(this, r); - }, - _processToken(r) { - if ( - ((t.currentToken = r), - n._processToken.call(this, r), - r.type === Mx.END_TAG_TOKEN && - (r.tagName === N3.HTML || - (r.tagName === N3.BODY && this.openElements.hasInScope(N3.BODY)))) - ) - for (let a = this.openElements.stackTop; a >= 0; a--) { - const o = this.openElements.items[a]; - if (this.treeAdapter.getTagName(o) === r.tagName) { - t._setEndLocation(o, r); - break; - } - } - }, - _setDocumentType(r) { - n._setDocumentType.call(this, r); - const i = this.treeAdapter.getChildNodes(this.document), - a = i.length; - for (let o = 0; o < a; o++) { - const s = i[o]; - if (this.treeAdapter.isDocumentTypeNode(s)) { - this.treeAdapter.setNodeSourceCodeLocation(s, r.location); - break; - } - } - }, - _attachElementToTree(r) { - t._setStartLocation(r), - (t.lastStartTagToken = null), - n._attachElementToTree.call(this, r); - }, - _appendElement(r, i) { - (t.lastStartTagToken = r), n._appendElement.call(this, r, i); - }, - _insertElement(r, i) { - (t.lastStartTagToken = r), n._insertElement.call(this, r, i); - }, - _insertTemplate(r) { - (t.lastStartTagToken = r), n._insertTemplate.call(this, r); - const i = this.treeAdapter.getTemplateContent( - this.openElements.current - ); - this.treeAdapter.setNodeSourceCodeLocation(i, null); - }, - _insertFakeRootElement() { - n._insertFakeRootElement.call(this), - this.treeAdapter.setNodeSourceCodeLocation( - this.openElements.current, - null - ); - }, - _appendCommentNode(r, i) { - n._appendCommentNode.call(this, r, i); - const a = this.treeAdapter.getChildNodes(i), - o = a[a.length - 1]; - this.treeAdapter.setNodeSourceCodeLocation(o, r.location); - }, - _findFosterParentingLocation() { - return ( - (t.lastFosterParentingLocation = - n._findFosterParentingLocation.call(this)), - t.lastFosterParentingLocation - ); - }, - _insertCharacters(r) { - n._insertCharacters.call(this, r); - const i = this._shouldFosterParentOnInsertion(), - a = - (i && t.lastFosterParentingLocation.parent) || - this.openElements.currentTmplContent || - this.openElements.current, - o = this.treeAdapter.getChildNodes(a), - s = - i && t.lastFosterParentingLocation.beforeElement - ? o.indexOf(t.lastFosterParentingLocation.beforeElement) - 1 - : o.length - 1, - u = o[s]; - if (this.treeAdapter.getNodeSourceCodeLocation(u)) { - const { endLine: p, endCol: f, endOffset: m } = r.location; - this.treeAdapter.updateNodeSourceCodeLocation(u, { - endLine: p, - endCol: f, - endOffset: m, - }); - } else this.treeAdapter.setNodeSourceCodeLocation(u, r.location); - }, - }; - } -}; -var vne = Ene; -const yne = ls; -let _ne = class extends yne { - constructor(t, n) { - super(t), (this.posTracker = null), (this.onParseError = n.onParseError); - } - _setErrorLocation(t) { - (t.startLine = t.endLine = this.posTracker.line), - (t.startCol = t.endCol = this.posTracker.col), - (t.startOffset = t.endOffset = this.posTracker.offset); - } - _reportError(t) { - const n = { - code: t, - startLine: -1, - startCol: -1, - startOffset: -1, - endLine: -1, - endCol: -1, - endOffset: -1, - }; - this._setErrorLocation(n), this.onParseError(n); - } - _getOverriddenMethods(t) { - return { - _err(n) { - t._reportError(n); - }, - }; - } -}; -var WE = _ne; -const Tne = WE, - Sne = wL, - wne = ls; -let Ane = class extends Tne { - constructor(t, n) { - super(t, n), - (this.posTracker = wne.install(t, Sne)), - (this.lastErrOffset = -1); - } - _reportError(t) { - this.lastErrOffset !== this.posTracker.offset && - ((this.lastErrOffset = this.posTracker.offset), super._reportError(t)); - } -}; -var Cne = Ane; -const xne = WE, - kne = Cne, - Ine = ls; -let Rne = class extends xne { - constructor(t, n) { - super(t, n); - const r = Ine.install(t.preprocessor, kne, n); - this.posTracker = r.posTracker; - } -}; -var Nne = Rne; -const One = WE, - Dne = Nne, - Lne = AL, - Fx = ls; -let Mne = class extends One { - constructor(t, n) { - super(t, n), - (this.opts = n), - (this.ctLoc = null), - (this.locBeforeToken = !1); - } - _setErrorLocation(t) { - this.ctLoc && - ((t.startLine = this.ctLoc.startLine), - (t.startCol = this.ctLoc.startCol), - (t.startOffset = this.ctLoc.startOffset), - (t.endLine = this.locBeforeToken - ? this.ctLoc.startLine - : this.ctLoc.endLine), - (t.endCol = this.locBeforeToken - ? this.ctLoc.startCol - : this.ctLoc.endCol), - (t.endOffset = this.locBeforeToken - ? this.ctLoc.startOffset - : this.ctLoc.endOffset)); - } - _getOverriddenMethods(t, n) { - return { - _bootstrap(r, i) { - n._bootstrap.call(this, r, i), - Fx.install(this.tokenizer, Dne, t.opts), - Fx.install(this.tokenizer, Lne); - }, - _processInputToken(r) { - (t.ctLoc = r.location), n._processInputToken.call(this, r); - }, - _err(r, i) { - (t.locBeforeToken = i && i.beforeToken), t._reportError(r); - }, - }; - } -}; -var Fne = Mne, - Vt = {}; -const { DOCUMENT_MODE: Pne } = Wa; -Vt.createDocument = function () { - return { nodeName: "#document", mode: Pne.NO_QUIRKS, childNodes: [] }; -}; -Vt.createDocumentFragment = function () { - return { nodeName: "#document-fragment", childNodes: [] }; -}; -Vt.createElement = function (e, t, n) { - return { - nodeName: e, - tagName: e, - attrs: n, - namespaceURI: t, - childNodes: [], - parentNode: null, - }; -}; -Vt.createCommentNode = function (e) { - return { nodeName: "#comment", data: e, parentNode: null }; -}; -const CL = function (e) { - return { nodeName: "#text", value: e, parentNode: null }; - }, - xL = (Vt.appendChild = function (e, t) { - e.childNodes.push(t), (t.parentNode = e); - }), - Bne = (Vt.insertBefore = function (e, t, n) { - const r = e.childNodes.indexOf(n); - e.childNodes.splice(r, 0, t), (t.parentNode = e); - }); -Vt.setTemplateContent = function (e, t) { - e.content = t; -}; -Vt.getTemplateContent = function (e) { - return e.content; -}; -Vt.setDocumentType = function (e, t, n, r) { - let i = null; - for (let a = 0; a < e.childNodes.length; a++) - if (e.childNodes[a].nodeName === "#documentType") { - i = e.childNodes[a]; - break; - } - i - ? ((i.name = t), (i.publicId = n), (i.systemId = r)) - : xL(e, { nodeName: "#documentType", name: t, publicId: n, systemId: r }); -}; -Vt.setDocumentMode = function (e, t) { - e.mode = t; -}; -Vt.getDocumentMode = function (e) { - return e.mode; -}; -Vt.detachNode = function (e) { - if (e.parentNode) { - const t = e.parentNode.childNodes.indexOf(e); - e.parentNode.childNodes.splice(t, 1), (e.parentNode = null); - } -}; -Vt.insertText = function (e, t) { - if (e.childNodes.length) { - const n = e.childNodes[e.childNodes.length - 1]; - if (n.nodeName === "#text") { - n.value += t; - return; - } - } - xL(e, CL(t)); -}; -Vt.insertTextBefore = function (e, t, n) { - const r = e.childNodes[e.childNodes.indexOf(n) - 1]; - r && r.nodeName === "#text" ? (r.value += t) : Bne(e, CL(t), n); -}; -Vt.adoptAttributes = function (e, t) { - const n = []; - for (let r = 0; r < e.attrs.length; r++) n.push(e.attrs[r].name); - for (let r = 0; r < t.length; r++) - n.indexOf(t[r].name) === -1 && e.attrs.push(t[r]); -}; -Vt.getFirstChild = function (e) { - return e.childNodes[0]; -}; -Vt.getChildNodes = function (e) { - return e.childNodes; -}; -Vt.getParentNode = function (e) { - return e.parentNode; -}; -Vt.getAttrList = function (e) { - return e.attrs; -}; -Vt.getTagName = function (e) { - return e.tagName; -}; -Vt.getNamespaceURI = function (e) { - return e.namespaceURI; -}; -Vt.getTextNodeContent = function (e) { - return e.value; -}; -Vt.getCommentNodeContent = function (e) { - return e.data; -}; -Vt.getDocumentTypeNodeName = function (e) { - return e.name; -}; -Vt.getDocumentTypeNodePublicId = function (e) { - return e.publicId; -}; -Vt.getDocumentTypeNodeSystemId = function (e) { - return e.systemId; -}; -Vt.isTextNode = function (e) { - return e.nodeName === "#text"; -}; -Vt.isCommentNode = function (e) { - return e.nodeName === "#comment"; -}; -Vt.isDocumentTypeNode = function (e) { - return e.nodeName === "#documentType"; -}; -Vt.isElementNode = function (e) { - return !!e.tagName; -}; -Vt.setNodeSourceCodeLocation = function (e, t) { - e.sourceCodeLocation = t; -}; -Vt.getNodeSourceCodeLocation = function (e) { - return e.sourceCodeLocation; -}; -Vt.updateNodeSourceCodeLocation = function (e, t) { - e.sourceCodeLocation = Object.assign(e.sourceCodeLocation, t); -}; -var Une = function (t, n) { - return ( - (n = n || Object.create(null)), - [t, n].reduce( - (r, i) => ( - Object.keys(i).forEach((a) => { - r[a] = i[a]; - }), - r - ), - Object.create(null) - ) - ); - }, - R2 = {}; -const { DOCUMENT_MODE: qu } = Wa, - kL = "html", - $ne = "about:legacy-compat", - zne = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", - IL = [ - "+//silmaril//dtd html pro v0r11 19970101//", - "-//as//dtd html 3.0 aswedit + extensions//", - "-//advasoft ltd//dtd html 3.0 aswedit + extensions//", - "-//ietf//dtd html 2.0 level 1//", - "-//ietf//dtd html 2.0 level 2//", - "-//ietf//dtd html 2.0 strict level 1//", - "-//ietf//dtd html 2.0 strict level 2//", - "-//ietf//dtd html 2.0 strict//", - "-//ietf//dtd html 2.0//", - "-//ietf//dtd html 2.1e//", - "-//ietf//dtd html 3.0//", - "-//ietf//dtd html 3.2 final//", - "-//ietf//dtd html 3.2//", - "-//ietf//dtd html 3//", - "-//ietf//dtd html level 0//", - "-//ietf//dtd html level 1//", - "-//ietf//dtd html level 2//", - "-//ietf//dtd html level 3//", - "-//ietf//dtd html strict level 0//", - "-//ietf//dtd html strict level 1//", - "-//ietf//dtd html strict level 2//", - "-//ietf//dtd html strict level 3//", - "-//ietf//dtd html strict//", - "-//ietf//dtd html//", - "-//metrius//dtd metrius presentational//", - "-//microsoft//dtd internet explorer 2.0 html strict//", - "-//microsoft//dtd internet explorer 2.0 html//", - "-//microsoft//dtd internet explorer 2.0 tables//", - "-//microsoft//dtd internet explorer 3.0 html strict//", - "-//microsoft//dtd internet explorer 3.0 html//", - "-//microsoft//dtd internet explorer 3.0 tables//", - "-//netscape comm. corp.//dtd html//", - "-//netscape comm. corp.//dtd strict html//", - "-//o'reilly and associates//dtd html 2.0//", - "-//o'reilly and associates//dtd html extended 1.0//", - "-//o'reilly and associates//dtd html extended relaxed 1.0//", - "-//sq//dtd html 2.0 hotmetal + extensions//", - "-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//", - "-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//", - "-//spyglass//dtd html 2.0 extended//", - "-//sun microsystems corp.//dtd hotjava html//", - "-//sun microsystems corp.//dtd hotjava strict html//", - "-//w3c//dtd html 3 1995-03-24//", - "-//w3c//dtd html 3.2 draft//", - "-//w3c//dtd html 3.2 final//", - "-//w3c//dtd html 3.2//", - "-//w3c//dtd html 3.2s draft//", - "-//w3c//dtd html 4.0 frameset//", - "-//w3c//dtd html 4.0 transitional//", - "-//w3c//dtd html experimental 19960712//", - "-//w3c//dtd html experimental 970421//", - "-//w3c//dtd w3 html//", - "-//w3o//dtd w3 html 3.0//", - "-//webtechs//dtd mozilla html 2.0//", - "-//webtechs//dtd mozilla html//", - ], - Hne = IL.concat([ - "-//w3c//dtd html 4.01 frameset//", - "-//w3c//dtd html 4.01 transitional//", - ]), - jne = [ - "-//w3o//dtd w3 html strict 3.0//en//", - "-/w3c/dtd html 4.0 transitional/en", - "html", - ], - RL = [ - "-//w3c//dtd xhtml 1.0 frameset//", - "-//w3c//dtd xhtml 1.0 transitional//", - ], - Gne = RL.concat([ - "-//w3c//dtd html 4.01 frameset//", - "-//w3c//dtd html 4.01 transitional//", - ]); -function Px(e) { - const t = e.indexOf('"') !== -1 ? "'" : '"'; - return t + e + t; -} -function Bx(e, t) { - for (let n = 0; n < t.length; n++) if (e.indexOf(t[n]) === 0) return !0; - return !1; -} -R2.isConforming = function (e) { - return ( - e.name === kL && - e.publicId === null && - (e.systemId === null || e.systemId === $ne) - ); -}; -R2.getDocumentMode = function (e) { - if (e.name !== kL) return qu.QUIRKS; - const t = e.systemId; - if (t && t.toLowerCase() === zne) return qu.QUIRKS; - let n = e.publicId; - if (n !== null) { - if (((n = n.toLowerCase()), jne.indexOf(n) > -1)) return qu.QUIRKS; - let r = t === null ? Hne : IL; - if (Bx(n, r)) return qu.QUIRKS; - if (((r = t === null ? RL : Gne), Bx(n, r))) return qu.LIMITED_QUIRKS; - } - return qu.NO_QUIRKS; -}; -R2.serializeContent = function (e, t, n) { - let r = "!DOCTYPE "; - return ( - e && (r += e), - t ? (r += " PUBLIC " + Px(t)) : n && (r += " SYSTEM"), - n !== null && (r += " " + Px(n)), - r - ); -}; -var _l = {}; -const O3 = I2, - qE = Wa, - ft = qE.TAG_NAMES, - vr = qE.NAMESPACES, - dh = qE.ATTRS, - Ux = { TEXT_HTML: "text/html", APPLICATION_XML: "application/xhtml+xml" }, - Vne = "definitionurl", - Wne = "definitionURL", - qne = { - attributename: "attributeName", - attributetype: "attributeType", - basefrequency: "baseFrequency", - baseprofile: "baseProfile", - calcmode: "calcMode", - clippathunits: "clipPathUnits", - diffuseconstant: "diffuseConstant", - edgemode: "edgeMode", - filterunits: "filterUnits", - glyphref: "glyphRef", - gradienttransform: "gradientTransform", - gradientunits: "gradientUnits", - kernelmatrix: "kernelMatrix", - kernelunitlength: "kernelUnitLength", - keypoints: "keyPoints", - keysplines: "keySplines", - keytimes: "keyTimes", - lengthadjust: "lengthAdjust", - limitingconeangle: "limitingConeAngle", - markerheight: "markerHeight", - markerunits: "markerUnits", - markerwidth: "markerWidth", - maskcontentunits: "maskContentUnits", - maskunits: "maskUnits", - numoctaves: "numOctaves", - pathlength: "pathLength", - patterncontentunits: "patternContentUnits", - patterntransform: "patternTransform", - patternunits: "patternUnits", - pointsatx: "pointsAtX", - pointsaty: "pointsAtY", - pointsatz: "pointsAtZ", - preservealpha: "preserveAlpha", - preserveaspectratio: "preserveAspectRatio", - primitiveunits: "primitiveUnits", - refx: "refX", - refy: "refY", - repeatcount: "repeatCount", - repeatdur: "repeatDur", - requiredextensions: "requiredExtensions", - requiredfeatures: "requiredFeatures", - specularconstant: "specularConstant", - specularexponent: "specularExponent", - spreadmethod: "spreadMethod", - startoffset: "startOffset", - stddeviation: "stdDeviation", - stitchtiles: "stitchTiles", - surfacescale: "surfaceScale", - systemlanguage: "systemLanguage", - tablevalues: "tableValues", - targetx: "targetX", - targety: "targetY", - textlength: "textLength", - viewbox: "viewBox", - viewtarget: "viewTarget", - xchannelselector: "xChannelSelector", - ychannelselector: "yChannelSelector", - zoomandpan: "zoomAndPan", - }, - Kne = { - "xlink:actuate": { prefix: "xlink", name: "actuate", namespace: vr.XLINK }, - "xlink:arcrole": { prefix: "xlink", name: "arcrole", namespace: vr.XLINK }, - "xlink:href": { prefix: "xlink", name: "href", namespace: vr.XLINK }, - "xlink:role": { prefix: "xlink", name: "role", namespace: vr.XLINK }, - "xlink:show": { prefix: "xlink", name: "show", namespace: vr.XLINK }, - "xlink:title": { prefix: "xlink", name: "title", namespace: vr.XLINK }, - "xlink:type": { prefix: "xlink", name: "type", namespace: vr.XLINK }, - "xml:base": { prefix: "xml", name: "base", namespace: vr.XML }, - "xml:lang": { prefix: "xml", name: "lang", namespace: vr.XML }, - "xml:space": { prefix: "xml", name: "space", namespace: vr.XML }, - xmlns: { prefix: "", name: "xmlns", namespace: vr.XMLNS }, - "xmlns:xlink": { prefix: "xmlns", name: "xlink", namespace: vr.XMLNS }, - }, - Yne = (_l.SVG_TAG_NAMES_ADJUSTMENT_MAP = { - altglyph: "altGlyph", - altglyphdef: "altGlyphDef", - altglyphitem: "altGlyphItem", - animatecolor: "animateColor", - animatemotion: "animateMotion", - animatetransform: "animateTransform", - clippath: "clipPath", - feblend: "feBlend", - fecolormatrix: "feColorMatrix", - fecomponenttransfer: "feComponentTransfer", - fecomposite: "feComposite", - feconvolvematrix: "feConvolveMatrix", - fediffuselighting: "feDiffuseLighting", - fedisplacementmap: "feDisplacementMap", - fedistantlight: "feDistantLight", - feflood: "feFlood", - fefunca: "feFuncA", - fefuncb: "feFuncB", - fefuncg: "feFuncG", - fefuncr: "feFuncR", - fegaussianblur: "feGaussianBlur", - feimage: "feImage", - femerge: "feMerge", - femergenode: "feMergeNode", - femorphology: "feMorphology", - feoffset: "feOffset", - fepointlight: "fePointLight", - fespecularlighting: "feSpecularLighting", - fespotlight: "feSpotLight", - fetile: "feTile", - feturbulence: "feTurbulence", - foreignobject: "foreignObject", - glyphref: "glyphRef", - lineargradient: "linearGradient", - radialgradient: "radialGradient", - textpath: "textPath", - }), - Xne = { - [ft.B]: !0, - [ft.BIG]: !0, - [ft.BLOCKQUOTE]: !0, - [ft.BODY]: !0, - [ft.BR]: !0, - [ft.CENTER]: !0, - [ft.CODE]: !0, - [ft.DD]: !0, - [ft.DIV]: !0, - [ft.DL]: !0, - [ft.DT]: !0, - [ft.EM]: !0, - [ft.EMBED]: !0, - [ft.H1]: !0, - [ft.H2]: !0, - [ft.H3]: !0, - [ft.H4]: !0, - [ft.H5]: !0, - [ft.H6]: !0, - [ft.HEAD]: !0, - [ft.HR]: !0, - [ft.I]: !0, - [ft.IMG]: !0, - [ft.LI]: !0, - [ft.LISTING]: !0, - [ft.MENU]: !0, - [ft.META]: !0, - [ft.NOBR]: !0, - [ft.OL]: !0, - [ft.P]: !0, - [ft.PRE]: !0, - [ft.RUBY]: !0, - [ft.S]: !0, - [ft.SMALL]: !0, - [ft.SPAN]: !0, - [ft.STRONG]: !0, - [ft.STRIKE]: !0, - [ft.SUB]: !0, - [ft.SUP]: !0, - [ft.TABLE]: !0, - [ft.TT]: !0, - [ft.U]: !0, - [ft.UL]: !0, - [ft.VAR]: !0, - }; -_l.causesExit = function (e) { - const t = e.tagName; - return t === ft.FONT && - (O3.getTokenAttr(e, dh.COLOR) !== null || - O3.getTokenAttr(e, dh.SIZE) !== null || - O3.getTokenAttr(e, dh.FACE) !== null) - ? !0 - : Xne[t]; -}; -_l.adjustTokenMathMLAttrs = function (e) { - for (let t = 0; t < e.attrs.length; t++) - if (e.attrs[t].name === Vne) { - e.attrs[t].name = Wne; - break; - } -}; -_l.adjustTokenSVGAttrs = function (e) { - for (let t = 0; t < e.attrs.length; t++) { - const n = qne[e.attrs[t].name]; - n && (e.attrs[t].name = n); - } -}; -_l.adjustTokenXMLAttrs = function (e) { - for (let t = 0; t < e.attrs.length; t++) { - const n = Kne[e.attrs[t].name]; - n && - ((e.attrs[t].prefix = n.prefix), - (e.attrs[t].name = n.name), - (e.attrs[t].namespace = n.namespace)); - } -}; -_l.adjustTokenSVGTagName = function (e) { - const t = Yne[e.tagName]; - t && (e.tagName = t); -}; -function Zne(e, t) { - return ( - t === vr.MATHML && - (e === ft.MI || e === ft.MO || e === ft.MN || e === ft.MS || e === ft.MTEXT) - ); -} -function Qne(e, t, n) { - if (t === vr.MATHML && e === ft.ANNOTATION_XML) { - for (let r = 0; r < n.length; r++) - if (n[r].name === dh.ENCODING) { - const i = n[r].value.toLowerCase(); - return i === Ux.TEXT_HTML || i === Ux.APPLICATION_XML; - } - } - return ( - t === vr.SVG && (e === ft.FOREIGN_OBJECT || e === ft.DESC || e === ft.TITLE) - ); -} -_l.isIntegrationPoint = function (e, t, n, r) { - return !!( - ((!r || r === vr.HTML) && Qne(e, t, n)) || - ((!r || r === vr.MATHML) && Zne(e, t)) - ); -}; -const q = I2, - Jne = one, - $x = sne, - ere = vne, - tre = Fne, - zx = ls, - nre = Vt, - rre = Une, - Hx = R2, - uo = _l, - Ar = GE, - ire = Va, - Su = Wa, - S = Su.TAG_NAMES, - rt = Su.NAMESPACES, - NL = Su.ATTRS, - are = { - scriptingEnabled: !0, - sourceCodeLocationInfo: !1, - onParseError: null, - treeAdapter: nre, - }, - OL = "hidden", - ore = 8, - sre = 3, - DL = "INITIAL_MODE", - KE = "BEFORE_HTML_MODE", - N2 = "BEFORE_HEAD_MODE", - uc = "IN_HEAD_MODE", - LL = "IN_HEAD_NO_SCRIPT_MODE", - O2 = "AFTER_HEAD_MODE", - mo = "IN_BODY_MODE", - sg = "TEXT_MODE", - Ur = "IN_TABLE_MODE", - ML = "IN_TABLE_TEXT_MODE", - D2 = "IN_CAPTION_MODE", - Np = "IN_COLUMN_GROUP_MODE", - pa = "IN_TABLE_BODY_MODE", - rs = "IN_ROW_MODE", - L2 = "IN_CELL_MODE", - YE = "IN_SELECT_MODE", - XE = "IN_SELECT_IN_TABLE_MODE", - lg = "IN_TEMPLATE_MODE", - ZE = "AFTER_BODY_MODE", - M2 = "IN_FRAMESET_MODE", - FL = "AFTER_FRAMESET_MODE", - PL = "AFTER_AFTER_BODY_MODE", - BL = "AFTER_AFTER_FRAMESET_MODE", - lre = { - [S.TR]: rs, - [S.TBODY]: pa, - [S.THEAD]: pa, - [S.TFOOT]: pa, - [S.CAPTION]: D2, - [S.COLGROUP]: Np, - [S.TABLE]: Ur, - [S.BODY]: mo, - [S.FRAMESET]: M2, - }, - ure = { - [S.CAPTION]: Ur, - [S.COLGROUP]: Ur, - [S.TBODY]: Ur, - [S.TFOOT]: Ur, - [S.THEAD]: Ur, - [S.COL]: Np, - [S.TR]: pa, - [S.TD]: rs, - [S.TH]: rs, - }, - jx = { - [DL]: { - [q.CHARACTER_TOKEN]: Kc, - [q.NULL_CHARACTER_TOKEN]: Kc, - [q.WHITESPACE_CHARACTER_TOKEN]: Pt, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: vre, - [q.START_TAG_TOKEN]: Kc, - [q.END_TAG_TOKEN]: Kc, - [q.EOF_TOKEN]: Kc, - }, - [KE]: { - [q.CHARACTER_TOKEN]: kd, - [q.NULL_CHARACTER_TOKEN]: kd, - [q.WHITESPACE_CHARACTER_TOKEN]: Pt, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: yre, - [q.END_TAG_TOKEN]: _re, - [q.EOF_TOKEN]: kd, - }, - [N2]: { - [q.CHARACTER_TOKEN]: Id, - [q.NULL_CHARACTER_TOKEN]: Id, - [q.WHITESPACE_CHARACTER_TOKEN]: Pt, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: x0, - [q.START_TAG_TOKEN]: Tre, - [q.END_TAG_TOKEN]: Sre, - [q.EOF_TOKEN]: Id, - }, - [uc]: { - [q.CHARACTER_TOKEN]: Rd, - [q.NULL_CHARACTER_TOKEN]: Rd, - [q.WHITESPACE_CHARACTER_TOKEN]: di, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: x0, - [q.START_TAG_TOKEN]: cr, - [q.END_TAG_TOKEN]: wu, - [q.EOF_TOKEN]: Rd, - }, - [LL]: { - [q.CHARACTER_TOKEN]: Nd, - [q.NULL_CHARACTER_TOKEN]: Nd, - [q.WHITESPACE_CHARACTER_TOKEN]: di, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: x0, - [q.START_TAG_TOKEN]: wre, - [q.END_TAG_TOKEN]: Are, - [q.EOF_TOKEN]: Nd, - }, - [O2]: { - [q.CHARACTER_TOKEN]: Od, - [q.NULL_CHARACTER_TOKEN]: Od, - [q.WHITESPACE_CHARACTER_TOKEN]: di, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: x0, - [q.START_TAG_TOKEN]: Cre, - [q.END_TAG_TOKEN]: xre, - [q.EOF_TOKEN]: Od, - }, - [mo]: { - [q.CHARACTER_TOKEN]: k0, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: Bl, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: yi, - [q.END_TAG_TOKEN]: QE, - [q.EOF_TOKEN]: Po, - }, - [sg]: { - [q.CHARACTER_TOKEN]: di, - [q.NULL_CHARACTER_TOKEN]: di, - [q.WHITESPACE_CHARACTER_TOKEN]: di, - [q.COMMENT_TOKEN]: Pt, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: Pt, - [q.END_TAG_TOKEN]: iie, - [q.EOF_TOKEN]: aie, - }, - [Ur]: { - [q.CHARACTER_TOKEN]: Bo, - [q.NULL_CHARACTER_TOKEN]: Bo, - [q.WHITESPACE_CHARACTER_TOKEN]: Bo, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: JE, - [q.END_TAG_TOKEN]: ev, - [q.EOF_TOKEN]: Po, - }, - [ML]: { - [q.CHARACTER_TOKEN]: gie, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: hie, - [q.COMMENT_TOKEN]: Yc, - [q.DOCTYPE_TOKEN]: Yc, - [q.START_TAG_TOKEN]: Yc, - [q.END_TAG_TOKEN]: Yc, - [q.EOF_TOKEN]: Yc, - }, - [D2]: { - [q.CHARACTER_TOKEN]: k0, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: Bl, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: mie, - [q.END_TAG_TOKEN]: bie, - [q.EOF_TOKEN]: Po, - }, - [Np]: { - [q.CHARACTER_TOKEN]: ug, - [q.NULL_CHARACTER_TOKEN]: ug, - [q.WHITESPACE_CHARACTER_TOKEN]: di, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: Eie, - [q.END_TAG_TOKEN]: vie, - [q.EOF_TOKEN]: Po, - }, - [pa]: { - [q.CHARACTER_TOKEN]: Bo, - [q.NULL_CHARACTER_TOKEN]: Bo, - [q.WHITESPACE_CHARACTER_TOKEN]: Bo, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: yie, - [q.END_TAG_TOKEN]: _ie, - [q.EOF_TOKEN]: Po, - }, - [rs]: { - [q.CHARACTER_TOKEN]: Bo, - [q.NULL_CHARACTER_TOKEN]: Bo, - [q.WHITESPACE_CHARACTER_TOKEN]: Bo, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: Tie, - [q.END_TAG_TOKEN]: Sie, - [q.EOF_TOKEN]: Po, - }, - [L2]: { - [q.CHARACTER_TOKEN]: k0, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: Bl, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: wie, - [q.END_TAG_TOKEN]: Aie, - [q.EOF_TOKEN]: Po, - }, - [YE]: { - [q.CHARACTER_TOKEN]: di, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: di, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: UL, - [q.END_TAG_TOKEN]: $L, - [q.EOF_TOKEN]: Po, - }, - [XE]: { - [q.CHARACTER_TOKEN]: di, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: di, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: Cie, - [q.END_TAG_TOKEN]: xie, - [q.EOF_TOKEN]: Po, - }, - [lg]: { - [q.CHARACTER_TOKEN]: k0, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: Bl, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: kie, - [q.END_TAG_TOKEN]: Iie, - [q.EOF_TOKEN]: zL, - }, - [ZE]: { - [q.CHARACTER_TOKEN]: cg, - [q.NULL_CHARACTER_TOKEN]: cg, - [q.WHITESPACE_CHARACTER_TOKEN]: Bl, - [q.COMMENT_TOKEN]: Ere, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: Rie, - [q.END_TAG_TOKEN]: Nie, - [q.EOF_TOKEN]: qc, - }, - [M2]: { - [q.CHARACTER_TOKEN]: Pt, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: di, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: Oie, - [q.END_TAG_TOKEN]: Die, - [q.EOF_TOKEN]: qc, - }, - [FL]: { - [q.CHARACTER_TOKEN]: Pt, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: di, - [q.COMMENT_TOKEN]: Qn, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: Lie, - [q.END_TAG_TOKEN]: Mie, - [q.EOF_TOKEN]: qc, - }, - [PL]: { - [q.CHARACTER_TOKEN]: ph, - [q.NULL_CHARACTER_TOKEN]: ph, - [q.WHITESPACE_CHARACTER_TOKEN]: Bl, - [q.COMMENT_TOKEN]: Gx, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: Fie, - [q.END_TAG_TOKEN]: ph, - [q.EOF_TOKEN]: qc, - }, - [BL]: { - [q.CHARACTER_TOKEN]: Pt, - [q.NULL_CHARACTER_TOKEN]: Pt, - [q.WHITESPACE_CHARACTER_TOKEN]: Bl, - [q.COMMENT_TOKEN]: Gx, - [q.DOCTYPE_TOKEN]: Pt, - [q.START_TAG_TOKEN]: Pie, - [q.END_TAG_TOKEN]: Pt, - [q.EOF_TOKEN]: qc, - }, - }; -class cre { - constructor(t) { - (this.options = rre(are, t)), - (this.treeAdapter = this.options.treeAdapter), - (this.pendingScript = null), - this.options.sourceCodeLocationInfo && zx.install(this, ere), - this.options.onParseError && - zx.install(this, tre, { onParseError: this.options.onParseError }); - } - parse(t) { - const n = this.treeAdapter.createDocument(); - return ( - this._bootstrap(n, null), - this.tokenizer.write(t, !0), - this._runParsingLoop(null), - n - ); - } - parseFragment(t, n) { - n || (n = this.treeAdapter.createElement(S.TEMPLATE, rt.HTML, [])); - const r = this.treeAdapter.createElement("documentmock", rt.HTML, []); - this._bootstrap(r, n), - this.treeAdapter.getTagName(n) === S.TEMPLATE && - this._pushTmplInsertionMode(lg), - this._initTokenizerForFragmentParsing(), - this._insertFakeRootElement(), - this._resetInsertionMode(), - this._findFormInFragmentContext(), - this.tokenizer.write(t, !0), - this._runParsingLoop(null); - const i = this.treeAdapter.getFirstChild(r), - a = this.treeAdapter.createDocumentFragment(); - return this._adoptNodes(i, a), a; - } - _bootstrap(t, n) { - (this.tokenizer = new q(this.options)), - (this.stopped = !1), - (this.insertionMode = DL), - (this.originalInsertionMode = ""), - (this.document = t), - (this.fragmentContext = n), - (this.headElement = null), - (this.formElement = null), - (this.openElements = new Jne(this.document, this.treeAdapter)), - (this.activeFormattingElements = new $x(this.treeAdapter)), - (this.tmplInsertionModeStack = []), - (this.tmplInsertionModeStackTop = -1), - (this.currentTmplInsertionMode = null), - (this.pendingCharacterTokens = []), - (this.hasNonWhitespacePendingCharacterToken = !1), - (this.framesetOk = !0), - (this.skipNextNewLine = !1), - (this.fosterParentingEnabled = !1); - } - _err() {} - _runParsingLoop(t) { - for (; !this.stopped; ) { - this._setupTokenizerCDATAMode(); - const n = this.tokenizer.getNextToken(); - if (n.type === q.HIBERNATION_TOKEN) break; - if ( - this.skipNextNewLine && - ((this.skipNextNewLine = !1), - n.type === q.WHITESPACE_CHARACTER_TOKEN && - n.chars[0] === - ` -`) - ) { - if (n.chars.length === 1) continue; - n.chars = n.chars.substr(1); - } - if ((this._processInputToken(n), t && this.pendingScript)) break; - } - } - runParsingLoopForCurrentChunk(t, n) { - if ((this._runParsingLoop(n), n && this.pendingScript)) { - const r = this.pendingScript; - (this.pendingScript = null), n(r); - return; - } - t && t(); - } - _setupTokenizerCDATAMode() { - const t = this._getAdjustedCurrentElement(); - this.tokenizer.allowCDATA = - t && - t !== this.document && - this.treeAdapter.getNamespaceURI(t) !== rt.HTML && - !this._isIntegrationPoint(t); - } - _switchToTextParsing(t, n) { - this._insertElement(t, rt.HTML), - (this.tokenizer.state = n), - (this.originalInsertionMode = this.insertionMode), - (this.insertionMode = sg); - } - switchToPlaintextParsing() { - (this.insertionMode = sg), - (this.originalInsertionMode = mo), - (this.tokenizer.state = q.MODE.PLAINTEXT); - } - _getAdjustedCurrentElement() { - return this.openElements.stackTop === 0 && this.fragmentContext - ? this.fragmentContext - : this.openElements.current; - } - _findFormInFragmentContext() { - let t = this.fragmentContext; - do { - if (this.treeAdapter.getTagName(t) === S.FORM) { - this.formElement = t; - break; - } - t = this.treeAdapter.getParentNode(t); - } while (t); - } - _initTokenizerForFragmentParsing() { - if (this.treeAdapter.getNamespaceURI(this.fragmentContext) === rt.HTML) { - const t = this.treeAdapter.getTagName(this.fragmentContext); - t === S.TITLE || t === S.TEXTAREA - ? (this.tokenizer.state = q.MODE.RCDATA) - : t === S.STYLE || - t === S.XMP || - t === S.IFRAME || - t === S.NOEMBED || - t === S.NOFRAMES || - t === S.NOSCRIPT - ? (this.tokenizer.state = q.MODE.RAWTEXT) - : t === S.SCRIPT - ? (this.tokenizer.state = q.MODE.SCRIPT_DATA) - : t === S.PLAINTEXT && (this.tokenizer.state = q.MODE.PLAINTEXT); - } - } - _setDocumentType(t) { - const n = t.name || "", - r = t.publicId || "", - i = t.systemId || ""; - this.treeAdapter.setDocumentType(this.document, n, r, i); - } - _attachElementToTree(t) { - if (this._shouldFosterParentOnInsertion()) this._fosterParentElement(t); - else { - const n = - this.openElements.currentTmplContent || this.openElements.current; - this.treeAdapter.appendChild(n, t); - } - } - _appendElement(t, n) { - const r = this.treeAdapter.createElement(t.tagName, n, t.attrs); - this._attachElementToTree(r); - } - _insertElement(t, n) { - const r = this.treeAdapter.createElement(t.tagName, n, t.attrs); - this._attachElementToTree(r), this.openElements.push(r); - } - _insertFakeElement(t) { - const n = this.treeAdapter.createElement(t, rt.HTML, []); - this._attachElementToTree(n), this.openElements.push(n); - } - _insertTemplate(t) { - const n = this.treeAdapter.createElement(t.tagName, rt.HTML, t.attrs), - r = this.treeAdapter.createDocumentFragment(); - this.treeAdapter.setTemplateContent(n, r), - this._attachElementToTree(n), - this.openElements.push(n); - } - _insertFakeRootElement() { - const t = this.treeAdapter.createElement(S.HTML, rt.HTML, []); - this.treeAdapter.appendChild(this.openElements.current, t), - this.openElements.push(t); - } - _appendCommentNode(t, n) { - const r = this.treeAdapter.createCommentNode(t.data); - this.treeAdapter.appendChild(n, r); - } - _insertCharacters(t) { - if (this._shouldFosterParentOnInsertion()) this._fosterParentText(t.chars); - else { - const n = - this.openElements.currentTmplContent || this.openElements.current; - this.treeAdapter.insertText(n, t.chars); - } - } - _adoptNodes(t, n) { - for ( - let r = this.treeAdapter.getFirstChild(t); - r; - r = this.treeAdapter.getFirstChild(t) - ) - this.treeAdapter.detachNode(r), this.treeAdapter.appendChild(n, r); - } - _shouldProcessTokenInForeignContent(t) { - const n = this._getAdjustedCurrentElement(); - if (!n || n === this.document) return !1; - const r = this.treeAdapter.getNamespaceURI(n); - if ( - r === rt.HTML || - (this.treeAdapter.getTagName(n) === S.ANNOTATION_XML && - r === rt.MATHML && - t.type === q.START_TAG_TOKEN && - t.tagName === S.SVG) - ) - return !1; - const i = - t.type === q.CHARACTER_TOKEN || - t.type === q.NULL_CHARACTER_TOKEN || - t.type === q.WHITESPACE_CHARACTER_TOKEN; - return (((t.type === q.START_TAG_TOKEN && - t.tagName !== S.MGLYPH && - t.tagName !== S.MALIGNMARK) || - i) && - this._isIntegrationPoint(n, rt.MATHML)) || - ((t.type === q.START_TAG_TOKEN || i) && - this._isIntegrationPoint(n, rt.HTML)) - ? !1 - : t.type !== q.EOF_TOKEN; - } - _processToken(t) { - jx[this.insertionMode][t.type](this, t); - } - _processTokenInBodyMode(t) { - jx[mo][t.type](this, t); - } - _processTokenInForeignContent(t) { - t.type === q.CHARACTER_TOKEN - ? Uie(this, t) - : t.type === q.NULL_CHARACTER_TOKEN - ? Bie(this, t) - : t.type === q.WHITESPACE_CHARACTER_TOKEN - ? di(this, t) - : t.type === q.COMMENT_TOKEN - ? Qn(this, t) - : t.type === q.START_TAG_TOKEN - ? $ie(this, t) - : t.type === q.END_TAG_TOKEN && zie(this, t); - } - _processInputToken(t) { - this._shouldProcessTokenInForeignContent(t) - ? this._processTokenInForeignContent(t) - : this._processToken(t), - t.type === q.START_TAG_TOKEN && - t.selfClosing && - !t.ackSelfClosing && - this._err(Ar.nonVoidHtmlElementStartTagWithTrailingSolidus); - } - _isIntegrationPoint(t, n) { - const r = this.treeAdapter.getTagName(t), - i = this.treeAdapter.getNamespaceURI(t), - a = this.treeAdapter.getAttrList(t); - return uo.isIntegrationPoint(r, i, a, n); - } - _reconstructActiveFormattingElements() { - const t = this.activeFormattingElements.length; - if (t) { - let n = t, - r = null; - do - if ( - (n--, - (r = this.activeFormattingElements.entries[n]), - r.type === $x.MARKER_ENTRY || this.openElements.contains(r.element)) - ) { - n++; - break; - } - while (n > 0); - for (let i = n; i < t; i++) - (r = this.activeFormattingElements.entries[i]), - this._insertElement( - r.token, - this.treeAdapter.getNamespaceURI(r.element) - ), - (r.element = this.openElements.current); - } - } - _closeTableCell() { - this.openElements.generateImpliedEndTags(), - this.openElements.popUntilTableCellPopped(), - this.activeFormattingElements.clearToLastMarker(), - (this.insertionMode = rs); - } - _closePElement() { - this.openElements.generateImpliedEndTagsWithExclusion(S.P), - this.openElements.popUntilTagNamePopped(S.P); - } - _resetInsertionMode() { - for (let t = this.openElements.stackTop, n = !1; t >= 0; t--) { - let r = this.openElements.items[t]; - t === 0 && ((n = !0), this.fragmentContext && (r = this.fragmentContext)); - const i = this.treeAdapter.getTagName(r), - a = lre[i]; - if (a) { - this.insertionMode = a; - break; - } else if (!n && (i === S.TD || i === S.TH)) { - this.insertionMode = L2; - break; - } else if (!n && i === S.HEAD) { - this.insertionMode = uc; - break; - } else if (i === S.SELECT) { - this._resetInsertionModeForSelect(t); - break; - } else if (i === S.TEMPLATE) { - this.insertionMode = this.currentTmplInsertionMode; - break; - } else if (i === S.HTML) { - this.insertionMode = this.headElement ? O2 : N2; - break; - } else if (n) { - this.insertionMode = mo; - break; - } - } - } - _resetInsertionModeForSelect(t) { - if (t > 0) - for (let n = t - 1; n > 0; n--) { - const r = this.openElements.items[n], - i = this.treeAdapter.getTagName(r); - if (i === S.TEMPLATE) break; - if (i === S.TABLE) { - this.insertionMode = XE; - return; - } - } - this.insertionMode = YE; - } - _pushTmplInsertionMode(t) { - this.tmplInsertionModeStack.push(t), - this.tmplInsertionModeStackTop++, - (this.currentTmplInsertionMode = t); - } - _popTmplInsertionMode() { - this.tmplInsertionModeStack.pop(), - this.tmplInsertionModeStackTop--, - (this.currentTmplInsertionMode = - this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]); - } - _isElementCausesFosterParenting(t) { - const n = this.treeAdapter.getTagName(t); - return ( - n === S.TABLE || - n === S.TBODY || - n === S.TFOOT || - n === S.THEAD || - n === S.TR - ); - } - _shouldFosterParentOnInsertion() { - return ( - this.fosterParentingEnabled && - this._isElementCausesFosterParenting(this.openElements.current) - ); - } - _findFosterParentingLocation() { - const t = { parent: null, beforeElement: null }; - for (let n = this.openElements.stackTop; n >= 0; n--) { - const r = this.openElements.items[n], - i = this.treeAdapter.getTagName(r), - a = this.treeAdapter.getNamespaceURI(r); - if (i === S.TEMPLATE && a === rt.HTML) { - t.parent = this.treeAdapter.getTemplateContent(r); - break; - } else if (i === S.TABLE) { - (t.parent = this.treeAdapter.getParentNode(r)), - t.parent - ? (t.beforeElement = r) - : (t.parent = this.openElements.items[n - 1]); - break; - } - } - return t.parent || (t.parent = this.openElements.items[0]), t; - } - _fosterParentElement(t) { - const n = this._findFosterParentingLocation(); - n.beforeElement - ? this.treeAdapter.insertBefore(n.parent, t, n.beforeElement) - : this.treeAdapter.appendChild(n.parent, t); - } - _fosterParentText(t) { - const n = this._findFosterParentingLocation(); - n.beforeElement - ? this.treeAdapter.insertTextBefore(n.parent, t, n.beforeElement) - : this.treeAdapter.insertText(n.parent, t); - } - _isSpecialElement(t) { - const n = this.treeAdapter.getTagName(t), - r = this.treeAdapter.getNamespaceURI(t); - return Su.SPECIAL_ELEMENTS[r][n]; - } -} -var dre = cre; -function pre(e, t) { - let n = e.activeFormattingElements.getElementEntryInScopeWithTagName( - t.tagName - ); - return ( - n - ? e.openElements.contains(n.element) - ? e.openElements.hasInScope(t.tagName) || (n = null) - : (e.activeFormattingElements.removeEntry(n), (n = null)) - : Oa(e, t), - n - ); -} -function fre(e, t) { - let n = null; - for (let r = e.openElements.stackTop; r >= 0; r--) { - const i = e.openElements.items[r]; - if (i === t.element) break; - e._isSpecialElement(i) && (n = i); - } - return ( - n || - (e.openElements.popUntilElementPopped(t.element), - e.activeFormattingElements.removeEntry(t)), - n - ); -} -function hre(e, t, n) { - let r = t, - i = e.openElements.getCommonAncestor(t); - for (let a = 0, o = i; o !== n; a++, o = i) { - i = e.openElements.getCommonAncestor(o); - const s = e.activeFormattingElements.getElementEntry(o), - u = s && a >= sre; - !s || u - ? (u && e.activeFormattingElements.removeEntry(s), - e.openElements.remove(o)) - : ((o = gre(e, s)), - r === t && (e.activeFormattingElements.bookmark = s), - e.treeAdapter.detachNode(r), - e.treeAdapter.appendChild(o, r), - (r = o)); - } - return r; -} -function gre(e, t) { - const n = e.treeAdapter.getNamespaceURI(t.element), - r = e.treeAdapter.createElement(t.token.tagName, n, t.token.attrs); - return e.openElements.replace(t.element, r), (t.element = r), r; -} -function mre(e, t, n) { - if (e._isElementCausesFosterParenting(t)) e._fosterParentElement(n); - else { - const r = e.treeAdapter.getTagName(t), - i = e.treeAdapter.getNamespaceURI(t); - r === S.TEMPLATE && - i === rt.HTML && - (t = e.treeAdapter.getTemplateContent(t)), - e.treeAdapter.appendChild(t, n); - } -} -function bre(e, t, n) { - const r = e.treeAdapter.getNamespaceURI(n.element), - i = n.token, - a = e.treeAdapter.createElement(i.tagName, r, i.attrs); - e._adoptNodes(t, a), - e.treeAdapter.appendChild(t, a), - e.activeFormattingElements.insertElementAfterBookmark(a, n.token), - e.activeFormattingElements.removeEntry(n), - e.openElements.remove(n.element), - e.openElements.insertAfter(t, a); -} -function Fs(e, t) { - let n; - for (let r = 0; r < ore && ((n = pre(e, t)), !!n); r++) { - const i = fre(e, n); - if (!i) break; - e.activeFormattingElements.bookmark = n; - const a = hre(e, i, n.element), - o = e.openElements.getCommonAncestor(n.element); - e.treeAdapter.detachNode(a), mre(e, o, a), bre(e, i, n); - } -} -function Pt() {} -function x0(e) { - e._err(Ar.misplacedDoctype); -} -function Qn(e, t) { - e._appendCommentNode( - t, - e.openElements.currentTmplContent || e.openElements.current - ); -} -function Ere(e, t) { - e._appendCommentNode(t, e.openElements.items[0]); -} -function Gx(e, t) { - e._appendCommentNode(t, e.document); -} -function di(e, t) { - e._insertCharacters(t); -} -function qc(e) { - e.stopped = !0; -} -function vre(e, t) { - e._setDocumentType(t); - const n = t.forceQuirks ? Su.DOCUMENT_MODE.QUIRKS : Hx.getDocumentMode(t); - Hx.isConforming(t) || e._err(Ar.nonConformingDoctype), - e.treeAdapter.setDocumentMode(e.document, n), - (e.insertionMode = KE); -} -function Kc(e, t) { - e._err(Ar.missingDoctype, { beforeToken: !0 }), - e.treeAdapter.setDocumentMode(e.document, Su.DOCUMENT_MODE.QUIRKS), - (e.insertionMode = KE), - e._processToken(t); -} -function yre(e, t) { - t.tagName === S.HTML - ? (e._insertElement(t, rt.HTML), (e.insertionMode = N2)) - : kd(e, t); -} -function _re(e, t) { - const n = t.tagName; - (n === S.HTML || n === S.HEAD || n === S.BODY || n === S.BR) && kd(e, t); -} -function kd(e, t) { - e._insertFakeRootElement(), (e.insertionMode = N2), e._processToken(t); -} -function Tre(e, t) { - const n = t.tagName; - n === S.HTML - ? yi(e, t) - : n === S.HEAD - ? (e._insertElement(t, rt.HTML), - (e.headElement = e.openElements.current), - (e.insertionMode = uc)) - : Id(e, t); -} -function Sre(e, t) { - const n = t.tagName; - n === S.HEAD || n === S.BODY || n === S.HTML || n === S.BR - ? Id(e, t) - : e._err(Ar.endTagWithoutMatchingOpenElement); -} -function Id(e, t) { - e._insertFakeElement(S.HEAD), - (e.headElement = e.openElements.current), - (e.insertionMode = uc), - e._processToken(t); -} -function cr(e, t) { - const n = t.tagName; - n === S.HTML - ? yi(e, t) - : n === S.BASE || - n === S.BASEFONT || - n === S.BGSOUND || - n === S.LINK || - n === S.META - ? (e._appendElement(t, rt.HTML), (t.ackSelfClosing = !0)) - : n === S.TITLE - ? e._switchToTextParsing(t, q.MODE.RCDATA) - : n === S.NOSCRIPT - ? e.options.scriptingEnabled - ? e._switchToTextParsing(t, q.MODE.RAWTEXT) - : (e._insertElement(t, rt.HTML), (e.insertionMode = LL)) - : n === S.NOFRAMES || n === S.STYLE - ? e._switchToTextParsing(t, q.MODE.RAWTEXT) - : n === S.SCRIPT - ? e._switchToTextParsing(t, q.MODE.SCRIPT_DATA) - : n === S.TEMPLATE - ? (e._insertTemplate(t, rt.HTML), - e.activeFormattingElements.insertMarker(), - (e.framesetOk = !1), - (e.insertionMode = lg), - e._pushTmplInsertionMode(lg)) - : n === S.HEAD - ? e._err(Ar.misplacedStartTagForHeadElement) - : Rd(e, t); -} -function wu(e, t) { - const n = t.tagName; - n === S.HEAD - ? (e.openElements.pop(), (e.insertionMode = O2)) - : n === S.BODY || n === S.BR || n === S.HTML - ? Rd(e, t) - : n === S.TEMPLATE && e.openElements.tmplCount > 0 - ? (e.openElements.generateImpliedEndTagsThoroughly(), - e.openElements.currentTagName !== S.TEMPLATE && - e._err(Ar.closingOfElementWithOpenChildElements), - e.openElements.popUntilTagNamePopped(S.TEMPLATE), - e.activeFormattingElements.clearToLastMarker(), - e._popTmplInsertionMode(), - e._resetInsertionMode()) - : e._err(Ar.endTagWithoutMatchingOpenElement); -} -function Rd(e, t) { - e.openElements.pop(), (e.insertionMode = O2), e._processToken(t); -} -function wre(e, t) { - const n = t.tagName; - n === S.HTML - ? yi(e, t) - : n === S.BASEFONT || - n === S.BGSOUND || - n === S.HEAD || - n === S.LINK || - n === S.META || - n === S.NOFRAMES || - n === S.STYLE - ? cr(e, t) - : n === S.NOSCRIPT - ? e._err(Ar.nestedNoscriptInHead) - : Nd(e, t); -} -function Are(e, t) { - const n = t.tagName; - n === S.NOSCRIPT - ? (e.openElements.pop(), (e.insertionMode = uc)) - : n === S.BR - ? Nd(e, t) - : e._err(Ar.endTagWithoutMatchingOpenElement); -} -function Nd(e, t) { - const n = - t.type === q.EOF_TOKEN - ? Ar.openElementsLeftAfterEof - : Ar.disallowedContentInNoscriptInHead; - e._err(n), e.openElements.pop(), (e.insertionMode = uc), e._processToken(t); -} -function Cre(e, t) { - const n = t.tagName; - n === S.HTML - ? yi(e, t) - : n === S.BODY - ? (e._insertElement(t, rt.HTML), - (e.framesetOk = !1), - (e.insertionMode = mo)) - : n === S.FRAMESET - ? (e._insertElement(t, rt.HTML), (e.insertionMode = M2)) - : n === S.BASE || - n === S.BASEFONT || - n === S.BGSOUND || - n === S.LINK || - n === S.META || - n === S.NOFRAMES || - n === S.SCRIPT || - n === S.STYLE || - n === S.TEMPLATE || - n === S.TITLE - ? (e._err(Ar.abandonedHeadElementChild), - e.openElements.push(e.headElement), - cr(e, t), - e.openElements.remove(e.headElement)) - : n === S.HEAD - ? e._err(Ar.misplacedStartTagForHeadElement) - : Od(e, t); -} -function xre(e, t) { - const n = t.tagName; - n === S.BODY || n === S.HTML || n === S.BR - ? Od(e, t) - : n === S.TEMPLATE - ? wu(e, t) - : e._err(Ar.endTagWithoutMatchingOpenElement); -} -function Od(e, t) { - e._insertFakeElement(S.BODY), (e.insertionMode = mo), e._processToken(t); -} -function Bl(e, t) { - e._reconstructActiveFormattingElements(), e._insertCharacters(t); -} -function k0(e, t) { - e._reconstructActiveFormattingElements(), - e._insertCharacters(t), - (e.framesetOk = !1); -} -function kre(e, t) { - e.openElements.tmplCount === 0 && - e.treeAdapter.adoptAttributes(e.openElements.items[0], t.attrs); -} -function Ire(e, t) { - const n = e.openElements.tryPeekProperlyNestedBodyElement(); - n && - e.openElements.tmplCount === 0 && - ((e.framesetOk = !1), e.treeAdapter.adoptAttributes(n, t.attrs)); -} -function Rre(e, t) { - const n = e.openElements.tryPeekProperlyNestedBodyElement(); - e.framesetOk && - n && - (e.treeAdapter.detachNode(n), - e.openElements.popAllUpToHtmlElement(), - e._insertElement(t, rt.HTML), - (e.insertionMode = M2)); -} -function Fo(e, t) { - e.openElements.hasInButtonScope(S.P) && e._closePElement(), - e._insertElement(t, rt.HTML); -} -function Nre(e, t) { - e.openElements.hasInButtonScope(S.P) && e._closePElement(); - const n = e.openElements.currentTagName; - (n === S.H1 || - n === S.H2 || - n === S.H3 || - n === S.H4 || - n === S.H5 || - n === S.H6) && - e.openElements.pop(), - e._insertElement(t, rt.HTML); -} -function Vx(e, t) { - e.openElements.hasInButtonScope(S.P) && e._closePElement(), - e._insertElement(t, rt.HTML), - (e.skipNextNewLine = !0), - (e.framesetOk = !1); -} -function Ore(e, t) { - const n = e.openElements.tmplCount > 0; - (!e.formElement || n) && - (e.openElements.hasInButtonScope(S.P) && e._closePElement(), - e._insertElement(t, rt.HTML), - n || (e.formElement = e.openElements.current)); -} -function Dre(e, t) { - e.framesetOk = !1; - const n = t.tagName; - for (let r = e.openElements.stackTop; r >= 0; r--) { - const i = e.openElements.items[r], - a = e.treeAdapter.getTagName(i); - let o = null; - if ( - (n === S.LI && a === S.LI - ? (o = S.LI) - : (n === S.DD || n === S.DT) && (a === S.DD || a === S.DT) && (o = a), - o) - ) { - e.openElements.generateImpliedEndTagsWithExclusion(o), - e.openElements.popUntilTagNamePopped(o); - break; - } - if (a !== S.ADDRESS && a !== S.DIV && a !== S.P && e._isSpecialElement(i)) - break; - } - e.openElements.hasInButtonScope(S.P) && e._closePElement(), - e._insertElement(t, rt.HTML); -} -function Lre(e, t) { - e.openElements.hasInButtonScope(S.P) && e._closePElement(), - e._insertElement(t, rt.HTML), - (e.tokenizer.state = q.MODE.PLAINTEXT); -} -function Mre(e, t) { - e.openElements.hasInScope(S.BUTTON) && - (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilTagNamePopped(S.BUTTON)), - e._reconstructActiveFormattingElements(), - e._insertElement(t, rt.HTML), - (e.framesetOk = !1); -} -function Fre(e, t) { - const n = e.activeFormattingElements.getElementEntryInScopeWithTagName(S.A); - n && - (Fs(e, t), - e.openElements.remove(n.element), - e.activeFormattingElements.removeEntry(n)), - e._reconstructActiveFormattingElements(), - e._insertElement(t, rt.HTML), - e.activeFormattingElements.pushElement(e.openElements.current, t); -} -function Ku(e, t) { - e._reconstructActiveFormattingElements(), - e._insertElement(t, rt.HTML), - e.activeFormattingElements.pushElement(e.openElements.current, t); -} -function Pre(e, t) { - e._reconstructActiveFormattingElements(), - e.openElements.hasInScope(S.NOBR) && - (Fs(e, t), e._reconstructActiveFormattingElements()), - e._insertElement(t, rt.HTML), - e.activeFormattingElements.pushElement(e.openElements.current, t); -} -function Wx(e, t) { - e._reconstructActiveFormattingElements(), - e._insertElement(t, rt.HTML), - e.activeFormattingElements.insertMarker(), - (e.framesetOk = !1); -} -function Bre(e, t) { - e.treeAdapter.getDocumentMode(e.document) !== Su.DOCUMENT_MODE.QUIRKS && - e.openElements.hasInButtonScope(S.P) && - e._closePElement(), - e._insertElement(t, rt.HTML), - (e.framesetOk = !1), - (e.insertionMode = Ur); -} -function r1(e, t) { - e._reconstructActiveFormattingElements(), - e._appendElement(t, rt.HTML), - (e.framesetOk = !1), - (t.ackSelfClosing = !0); -} -function Ure(e, t) { - e._reconstructActiveFormattingElements(), e._appendElement(t, rt.HTML); - const n = q.getTokenAttr(t, NL.TYPE); - (!n || n.toLowerCase() !== OL) && (e.framesetOk = !1), - (t.ackSelfClosing = !0); -} -function qx(e, t) { - e._appendElement(t, rt.HTML), (t.ackSelfClosing = !0); -} -function $re(e, t) { - e.openElements.hasInButtonScope(S.P) && e._closePElement(), - e._appendElement(t, rt.HTML), - (e.framesetOk = !1), - (t.ackSelfClosing = !0); -} -function zre(e, t) { - (t.tagName = S.IMG), r1(e, t); -} -function Hre(e, t) { - e._insertElement(t, rt.HTML), - (e.skipNextNewLine = !0), - (e.tokenizer.state = q.MODE.RCDATA), - (e.originalInsertionMode = e.insertionMode), - (e.framesetOk = !1), - (e.insertionMode = sg); -} -function jre(e, t) { - e.openElements.hasInButtonScope(S.P) && e._closePElement(), - e._reconstructActiveFormattingElements(), - (e.framesetOk = !1), - e._switchToTextParsing(t, q.MODE.RAWTEXT); -} -function Gre(e, t) { - (e.framesetOk = !1), e._switchToTextParsing(t, q.MODE.RAWTEXT); -} -function Kx(e, t) { - e._switchToTextParsing(t, q.MODE.RAWTEXT); -} -function Vre(e, t) { - e._reconstructActiveFormattingElements(), - e._insertElement(t, rt.HTML), - (e.framesetOk = !1), - e.insertionMode === Ur || - e.insertionMode === D2 || - e.insertionMode === pa || - e.insertionMode === rs || - e.insertionMode === L2 - ? (e.insertionMode = XE) - : (e.insertionMode = YE); -} -function Yx(e, t) { - e.openElements.currentTagName === S.OPTION && e.openElements.pop(), - e._reconstructActiveFormattingElements(), - e._insertElement(t, rt.HTML); -} -function Xx(e, t) { - e.openElements.hasInScope(S.RUBY) && e.openElements.generateImpliedEndTags(), - e._insertElement(t, rt.HTML); -} -function Wre(e, t) { - e.openElements.hasInScope(S.RUBY) && - e.openElements.generateImpliedEndTagsWithExclusion(S.RTC), - e._insertElement(t, rt.HTML); -} -function qre(e, t) { - e.openElements.hasInButtonScope(S.P) && e._closePElement(), - e._insertElement(t, rt.HTML); -} -function Kre(e, t) { - e._reconstructActiveFormattingElements(), - uo.adjustTokenMathMLAttrs(t), - uo.adjustTokenXMLAttrs(t), - t.selfClosing - ? e._appendElement(t, rt.MATHML) - : e._insertElement(t, rt.MATHML), - (t.ackSelfClosing = !0); -} -function Yre(e, t) { - e._reconstructActiveFormattingElements(), - uo.adjustTokenSVGAttrs(t), - uo.adjustTokenXMLAttrs(t), - t.selfClosing ? e._appendElement(t, rt.SVG) : e._insertElement(t, rt.SVG), - (t.ackSelfClosing = !0); -} -function ta(e, t) { - e._reconstructActiveFormattingElements(), e._insertElement(t, rt.HTML); -} -function yi(e, t) { - const n = t.tagName; - switch (n.length) { - case 1: - n === S.I || n === S.S || n === S.B || n === S.U - ? Ku(e, t) - : n === S.P - ? Fo(e, t) - : n === S.A - ? Fre(e, t) - : ta(e, t); - break; - case 2: - n === S.DL || n === S.OL || n === S.UL - ? Fo(e, t) - : n === S.H1 || - n === S.H2 || - n === S.H3 || - n === S.H4 || - n === S.H5 || - n === S.H6 - ? Nre(e, t) - : n === S.LI || n === S.DD || n === S.DT - ? Dre(e, t) - : n === S.EM || n === S.TT - ? Ku(e, t) - : n === S.BR - ? r1(e, t) - : n === S.HR - ? $re(e, t) - : n === S.RB - ? Xx(e, t) - : n === S.RT || n === S.RP - ? Wre(e, t) - : n !== S.TH && n !== S.TD && n !== S.TR && ta(e, t); - break; - case 3: - n === S.DIV || n === S.DIR || n === S.NAV - ? Fo(e, t) - : n === S.PRE - ? Vx(e, t) - : n === S.BIG - ? Ku(e, t) - : n === S.IMG || n === S.WBR - ? r1(e, t) - : n === S.XMP - ? jre(e, t) - : n === S.SVG - ? Yre(e, t) - : n === S.RTC - ? Xx(e, t) - : n !== S.COL && ta(e, t); - break; - case 4: - n === S.HTML - ? kre(e, t) - : n === S.BASE || n === S.LINK || n === S.META - ? cr(e, t) - : n === S.BODY - ? Ire(e, t) - : n === S.MAIN || n === S.MENU - ? Fo(e, t) - : n === S.FORM - ? Ore(e, t) - : n === S.CODE || n === S.FONT - ? Ku(e, t) - : n === S.NOBR - ? Pre(e, t) - : n === S.AREA - ? r1(e, t) - : n === S.MATH - ? Kre(e, t) - : n === S.MENU - ? qre(e, t) - : n !== S.HEAD && ta(e, t); - break; - case 5: - n === S.STYLE || n === S.TITLE - ? cr(e, t) - : n === S.ASIDE - ? Fo(e, t) - : n === S.SMALL - ? Ku(e, t) - : n === S.TABLE - ? Bre(e, t) - : n === S.EMBED - ? r1(e, t) - : n === S.INPUT - ? Ure(e, t) - : n === S.PARAM || n === S.TRACK - ? qx(e, t) - : n === S.IMAGE - ? zre(e, t) - : n !== S.FRAME && - n !== S.TBODY && - n !== S.TFOOT && - n !== S.THEAD && - ta(e, t); - break; - case 6: - n === S.SCRIPT - ? cr(e, t) - : n === S.CENTER || - n === S.FIGURE || - n === S.FOOTER || - n === S.HEADER || - n === S.HGROUP || - n === S.DIALOG - ? Fo(e, t) - : n === S.BUTTON - ? Mre(e, t) - : n === S.STRIKE || n === S.STRONG - ? Ku(e, t) - : n === S.APPLET || n === S.OBJECT - ? Wx(e, t) - : n === S.KEYGEN - ? r1(e, t) - : n === S.SOURCE - ? qx(e, t) - : n === S.IFRAME - ? Gre(e, t) - : n === S.SELECT - ? Vre(e, t) - : n === S.OPTION - ? Yx(e, t) - : ta(e, t); - break; - case 7: - n === S.BGSOUND - ? cr(e, t) - : n === S.DETAILS || - n === S.ADDRESS || - n === S.ARTICLE || - n === S.SECTION || - n === S.SUMMARY - ? Fo(e, t) - : n === S.LISTING - ? Vx(e, t) - : n === S.MARQUEE - ? Wx(e, t) - : n === S.NOEMBED - ? Kx(e, t) - : n !== S.CAPTION && ta(e, t); - break; - case 8: - n === S.BASEFONT - ? cr(e, t) - : n === S.FRAMESET - ? Rre(e, t) - : n === S.FIELDSET - ? Fo(e, t) - : n === S.TEXTAREA - ? Hre(e, t) - : n === S.TEMPLATE - ? cr(e, t) - : n === S.NOSCRIPT - ? e.options.scriptingEnabled - ? Kx(e, t) - : ta(e, t) - : n === S.OPTGROUP - ? Yx(e, t) - : n !== S.COLGROUP && ta(e, t); - break; - case 9: - n === S.PLAINTEXT ? Lre(e, t) : ta(e, t); - break; - case 10: - n === S.BLOCKQUOTE || n === S.FIGCAPTION ? Fo(e, t) : ta(e, t); - break; - default: - ta(e, t); - } -} -function Xre(e) { - e.openElements.hasInScope(S.BODY) && (e.insertionMode = ZE); -} -function Zre(e, t) { - e.openElements.hasInScope(S.BODY) && - ((e.insertionMode = ZE), e._processToken(t)); -} -function Is(e, t) { - const n = t.tagName; - e.openElements.hasInScope(n) && - (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilTagNamePopped(n)); -} -function Qre(e) { - const t = e.openElements.tmplCount > 0, - n = e.formElement; - t || (e.formElement = null), - (n || t) && - e.openElements.hasInScope(S.FORM) && - (e.openElements.generateImpliedEndTags(), - t - ? e.openElements.popUntilTagNamePopped(S.FORM) - : e.openElements.remove(n)); -} -function Jre(e) { - e.openElements.hasInButtonScope(S.P) || e._insertFakeElement(S.P), - e._closePElement(); -} -function eie(e) { - e.openElements.hasInListItemScope(S.LI) && - (e.openElements.generateImpliedEndTagsWithExclusion(S.LI), - e.openElements.popUntilTagNamePopped(S.LI)); -} -function tie(e, t) { - const n = t.tagName; - e.openElements.hasInScope(n) && - (e.openElements.generateImpliedEndTagsWithExclusion(n), - e.openElements.popUntilTagNamePopped(n)); -} -function nie(e) { - e.openElements.hasNumberedHeaderInScope() && - (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilNumberedHeaderPopped()); -} -function Zx(e, t) { - const n = t.tagName; - e.openElements.hasInScope(n) && - (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilTagNamePopped(n), - e.activeFormattingElements.clearToLastMarker()); -} -function rie(e) { - e._reconstructActiveFormattingElements(), - e._insertFakeElement(S.BR), - e.openElements.pop(), - (e.framesetOk = !1); -} -function Oa(e, t) { - const n = t.tagName; - for (let r = e.openElements.stackTop; r > 0; r--) { - const i = e.openElements.items[r]; - if (e.treeAdapter.getTagName(i) === n) { - e.openElements.generateImpliedEndTagsWithExclusion(n), - e.openElements.popUntilElementPopped(i); - break; - } - if (e._isSpecialElement(i)) break; - } -} -function QE(e, t) { - const n = t.tagName; - switch (n.length) { - case 1: - n === S.A || n === S.B || n === S.I || n === S.S || n === S.U - ? Fs(e, t) - : n === S.P - ? Jre(e) - : Oa(e, t); - break; - case 2: - n === S.DL || n === S.UL || n === S.OL - ? Is(e, t) - : n === S.LI - ? eie(e) - : n === S.DD || n === S.DT - ? tie(e, t) - : n === S.H1 || - n === S.H2 || - n === S.H3 || - n === S.H4 || - n === S.H5 || - n === S.H6 - ? nie(e) - : n === S.BR - ? rie(e) - : n === S.EM || n === S.TT - ? Fs(e, t) - : Oa(e, t); - break; - case 3: - n === S.BIG - ? Fs(e, t) - : n === S.DIR || n === S.DIV || n === S.NAV || n === S.PRE - ? Is(e, t) - : Oa(e, t); - break; - case 4: - n === S.BODY - ? Xre(e) - : n === S.HTML - ? Zre(e, t) - : n === S.FORM - ? Qre(e) - : n === S.CODE || n === S.FONT || n === S.NOBR - ? Fs(e, t) - : n === S.MAIN || n === S.MENU - ? Is(e, t) - : Oa(e, t); - break; - case 5: - n === S.ASIDE ? Is(e, t) : n === S.SMALL ? Fs(e, t) : Oa(e, t); - break; - case 6: - n === S.CENTER || - n === S.FIGURE || - n === S.FOOTER || - n === S.HEADER || - n === S.HGROUP || - n === S.DIALOG - ? Is(e, t) - : n === S.APPLET || n === S.OBJECT - ? Zx(e, t) - : n === S.STRIKE || n === S.STRONG - ? Fs(e, t) - : Oa(e, t); - break; - case 7: - n === S.ADDRESS || - n === S.ARTICLE || - n === S.DETAILS || - n === S.SECTION || - n === S.SUMMARY || - n === S.LISTING - ? Is(e, t) - : n === S.MARQUEE - ? Zx(e, t) - : Oa(e, t); - break; - case 8: - n === S.FIELDSET ? Is(e, t) : n === S.TEMPLATE ? wu(e, t) : Oa(e, t); - break; - case 10: - n === S.BLOCKQUOTE || n === S.FIGCAPTION ? Is(e, t) : Oa(e, t); - break; - default: - Oa(e, t); - } -} -function Po(e, t) { - e.tmplInsertionModeStackTop > -1 ? zL(e, t) : (e.stopped = !0); -} -function iie(e, t) { - t.tagName === S.SCRIPT && (e.pendingScript = e.openElements.current), - e.openElements.pop(), - (e.insertionMode = e.originalInsertionMode); -} -function aie(e, t) { - e._err(Ar.eofInElementThatCanContainOnlyText), - e.openElements.pop(), - (e.insertionMode = e.originalInsertionMode), - e._processToken(t); -} -function Bo(e, t) { - const n = e.openElements.currentTagName; - n === S.TABLE || n === S.TBODY || n === S.TFOOT || n === S.THEAD || n === S.TR - ? ((e.pendingCharacterTokens = []), - (e.hasNonWhitespacePendingCharacterToken = !1), - (e.originalInsertionMode = e.insertionMode), - (e.insertionMode = ML), - e._processToken(t)) - : na(e, t); -} -function oie(e, t) { - e.openElements.clearBackToTableContext(), - e.activeFormattingElements.insertMarker(), - e._insertElement(t, rt.HTML), - (e.insertionMode = D2); -} -function sie(e, t) { - e.openElements.clearBackToTableContext(), - e._insertElement(t, rt.HTML), - (e.insertionMode = Np); -} -function lie(e, t) { - e.openElements.clearBackToTableContext(), - e._insertFakeElement(S.COLGROUP), - (e.insertionMode = Np), - e._processToken(t); -} -function uie(e, t) { - e.openElements.clearBackToTableContext(), - e._insertElement(t, rt.HTML), - (e.insertionMode = pa); -} -function cie(e, t) { - e.openElements.clearBackToTableContext(), - e._insertFakeElement(S.TBODY), - (e.insertionMode = pa), - e._processToken(t); -} -function die(e, t) { - e.openElements.hasInTableScope(S.TABLE) && - (e.openElements.popUntilTagNamePopped(S.TABLE), - e._resetInsertionMode(), - e._processToken(t)); -} -function pie(e, t) { - const n = q.getTokenAttr(t, NL.TYPE); - n && n.toLowerCase() === OL ? e._appendElement(t, rt.HTML) : na(e, t), - (t.ackSelfClosing = !0); -} -function fie(e, t) { - !e.formElement && - e.openElements.tmplCount === 0 && - (e._insertElement(t, rt.HTML), - (e.formElement = e.openElements.current), - e.openElements.pop()); -} -function JE(e, t) { - const n = t.tagName; - switch (n.length) { - case 2: - n === S.TD || n === S.TH || n === S.TR ? cie(e, t) : na(e, t); - break; - case 3: - n === S.COL ? lie(e, t) : na(e, t); - break; - case 4: - n === S.FORM ? fie(e, t) : na(e, t); - break; - case 5: - n === S.TABLE - ? die(e, t) - : n === S.STYLE - ? cr(e, t) - : n === S.TBODY || n === S.TFOOT || n === S.THEAD - ? uie(e, t) - : n === S.INPUT - ? pie(e, t) - : na(e, t); - break; - case 6: - n === S.SCRIPT ? cr(e, t) : na(e, t); - break; - case 7: - n === S.CAPTION ? oie(e, t) : na(e, t); - break; - case 8: - n === S.COLGROUP ? sie(e, t) : n === S.TEMPLATE ? cr(e, t) : na(e, t); - break; - default: - na(e, t); - } -} -function ev(e, t) { - const n = t.tagName; - n === S.TABLE - ? e.openElements.hasInTableScope(S.TABLE) && - (e.openElements.popUntilTagNamePopped(S.TABLE), e._resetInsertionMode()) - : n === S.TEMPLATE - ? wu(e, t) - : n !== S.BODY && - n !== S.CAPTION && - n !== S.COL && - n !== S.COLGROUP && - n !== S.HTML && - n !== S.TBODY && - n !== S.TD && - n !== S.TFOOT && - n !== S.TH && - n !== S.THEAD && - n !== S.TR && - na(e, t); -} -function na(e, t) { - const n = e.fosterParentingEnabled; - (e.fosterParentingEnabled = !0), - e._processTokenInBodyMode(t), - (e.fosterParentingEnabled = n); -} -function hie(e, t) { - e.pendingCharacterTokens.push(t); -} -function gie(e, t) { - e.pendingCharacterTokens.push(t), - (e.hasNonWhitespacePendingCharacterToken = !0); -} -function Yc(e, t) { - let n = 0; - if (e.hasNonWhitespacePendingCharacterToken) - for (; n < e.pendingCharacterTokens.length; n++) - na(e, e.pendingCharacterTokens[n]); - else - for (; n < e.pendingCharacterTokens.length; n++) - e._insertCharacters(e.pendingCharacterTokens[n]); - (e.insertionMode = e.originalInsertionMode), e._processToken(t); -} -function mie(e, t) { - const n = t.tagName; - n === S.CAPTION || - n === S.COL || - n === S.COLGROUP || - n === S.TBODY || - n === S.TD || - n === S.TFOOT || - n === S.TH || - n === S.THEAD || - n === S.TR - ? e.openElements.hasInTableScope(S.CAPTION) && - (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilTagNamePopped(S.CAPTION), - e.activeFormattingElements.clearToLastMarker(), - (e.insertionMode = Ur), - e._processToken(t)) - : yi(e, t); -} -function bie(e, t) { - const n = t.tagName; - n === S.CAPTION || n === S.TABLE - ? e.openElements.hasInTableScope(S.CAPTION) && - (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilTagNamePopped(S.CAPTION), - e.activeFormattingElements.clearToLastMarker(), - (e.insertionMode = Ur), - n === S.TABLE && e._processToken(t)) - : n !== S.BODY && - n !== S.COL && - n !== S.COLGROUP && - n !== S.HTML && - n !== S.TBODY && - n !== S.TD && - n !== S.TFOOT && - n !== S.TH && - n !== S.THEAD && - n !== S.TR && - QE(e, t); -} -function Eie(e, t) { - const n = t.tagName; - n === S.HTML - ? yi(e, t) - : n === S.COL - ? (e._appendElement(t, rt.HTML), (t.ackSelfClosing = !0)) - : n === S.TEMPLATE - ? cr(e, t) - : ug(e, t); -} -function vie(e, t) { - const n = t.tagName; - n === S.COLGROUP - ? e.openElements.currentTagName === S.COLGROUP && - (e.openElements.pop(), (e.insertionMode = Ur)) - : n === S.TEMPLATE - ? wu(e, t) - : n !== S.COL && ug(e, t); -} -function ug(e, t) { - e.openElements.currentTagName === S.COLGROUP && - (e.openElements.pop(), (e.insertionMode = Ur), e._processToken(t)); -} -function yie(e, t) { - const n = t.tagName; - n === S.TR - ? (e.openElements.clearBackToTableBodyContext(), - e._insertElement(t, rt.HTML), - (e.insertionMode = rs)) - : n === S.TH || n === S.TD - ? (e.openElements.clearBackToTableBodyContext(), - e._insertFakeElement(S.TR), - (e.insertionMode = rs), - e._processToken(t)) - : n === S.CAPTION || - n === S.COL || - n === S.COLGROUP || - n === S.TBODY || - n === S.TFOOT || - n === S.THEAD - ? e.openElements.hasTableBodyContextInTableScope() && - (e.openElements.clearBackToTableBodyContext(), - e.openElements.pop(), - (e.insertionMode = Ur), - e._processToken(t)) - : JE(e, t); -} -function _ie(e, t) { - const n = t.tagName; - n === S.TBODY || n === S.TFOOT || n === S.THEAD - ? e.openElements.hasInTableScope(n) && - (e.openElements.clearBackToTableBodyContext(), - e.openElements.pop(), - (e.insertionMode = Ur)) - : n === S.TABLE - ? e.openElements.hasTableBodyContextInTableScope() && - (e.openElements.clearBackToTableBodyContext(), - e.openElements.pop(), - (e.insertionMode = Ur), - e._processToken(t)) - : ((n !== S.BODY && n !== S.CAPTION && n !== S.COL && n !== S.COLGROUP) || - (n !== S.HTML && n !== S.TD && n !== S.TH && n !== S.TR)) && - ev(e, t); -} -function Tie(e, t) { - const n = t.tagName; - n === S.TH || n === S.TD - ? (e.openElements.clearBackToTableRowContext(), - e._insertElement(t, rt.HTML), - (e.insertionMode = L2), - e.activeFormattingElements.insertMarker()) - : n === S.CAPTION || - n === S.COL || - n === S.COLGROUP || - n === S.TBODY || - n === S.TFOOT || - n === S.THEAD || - n === S.TR - ? e.openElements.hasInTableScope(S.TR) && - (e.openElements.clearBackToTableRowContext(), - e.openElements.pop(), - (e.insertionMode = pa), - e._processToken(t)) - : JE(e, t); -} -function Sie(e, t) { - const n = t.tagName; - n === S.TR - ? e.openElements.hasInTableScope(S.TR) && - (e.openElements.clearBackToTableRowContext(), - e.openElements.pop(), - (e.insertionMode = pa)) - : n === S.TABLE - ? e.openElements.hasInTableScope(S.TR) && - (e.openElements.clearBackToTableRowContext(), - e.openElements.pop(), - (e.insertionMode = pa), - e._processToken(t)) - : n === S.TBODY || n === S.TFOOT || n === S.THEAD - ? (e.openElements.hasInTableScope(n) || - e.openElements.hasInTableScope(S.TR)) && - (e.openElements.clearBackToTableRowContext(), - e.openElements.pop(), - (e.insertionMode = pa), - e._processToken(t)) - : ((n !== S.BODY && n !== S.CAPTION && n !== S.COL && n !== S.COLGROUP) || - (n !== S.HTML && n !== S.TD && n !== S.TH)) && - ev(e, t); -} -function wie(e, t) { - const n = t.tagName; - n === S.CAPTION || - n === S.COL || - n === S.COLGROUP || - n === S.TBODY || - n === S.TD || - n === S.TFOOT || - n === S.TH || - n === S.THEAD || - n === S.TR - ? (e.openElements.hasInTableScope(S.TD) || - e.openElements.hasInTableScope(S.TH)) && - (e._closeTableCell(), e._processToken(t)) - : yi(e, t); -} -function Aie(e, t) { - const n = t.tagName; - n === S.TD || n === S.TH - ? e.openElements.hasInTableScope(n) && - (e.openElements.generateImpliedEndTags(), - e.openElements.popUntilTagNamePopped(n), - e.activeFormattingElements.clearToLastMarker(), - (e.insertionMode = rs)) - : n === S.TABLE || - n === S.TBODY || - n === S.TFOOT || - n === S.THEAD || - n === S.TR - ? e.openElements.hasInTableScope(n) && - (e._closeTableCell(), e._processToken(t)) - : n !== S.BODY && - n !== S.CAPTION && - n !== S.COL && - n !== S.COLGROUP && - n !== S.HTML && - QE(e, t); -} -function UL(e, t) { - const n = t.tagName; - n === S.HTML - ? yi(e, t) - : n === S.OPTION - ? (e.openElements.currentTagName === S.OPTION && e.openElements.pop(), - e._insertElement(t, rt.HTML)) - : n === S.OPTGROUP - ? (e.openElements.currentTagName === S.OPTION && e.openElements.pop(), - e.openElements.currentTagName === S.OPTGROUP && e.openElements.pop(), - e._insertElement(t, rt.HTML)) - : n === S.INPUT || n === S.KEYGEN || n === S.TEXTAREA || n === S.SELECT - ? e.openElements.hasInSelectScope(S.SELECT) && - (e.openElements.popUntilTagNamePopped(S.SELECT), - e._resetInsertionMode(), - n !== S.SELECT && e._processToken(t)) - : (n === S.SCRIPT || n === S.TEMPLATE) && cr(e, t); -} -function $L(e, t) { - const n = t.tagName; - if (n === S.OPTGROUP) { - const r = e.openElements.items[e.openElements.stackTop - 1], - i = r && e.treeAdapter.getTagName(r); - e.openElements.currentTagName === S.OPTION && - i === S.OPTGROUP && - e.openElements.pop(), - e.openElements.currentTagName === S.OPTGROUP && e.openElements.pop(); - } else - n === S.OPTION - ? e.openElements.currentTagName === S.OPTION && e.openElements.pop() - : n === S.SELECT && e.openElements.hasInSelectScope(S.SELECT) - ? (e.openElements.popUntilTagNamePopped(S.SELECT), - e._resetInsertionMode()) - : n === S.TEMPLATE && wu(e, t); -} -function Cie(e, t) { - const n = t.tagName; - n === S.CAPTION || - n === S.TABLE || - n === S.TBODY || - n === S.TFOOT || - n === S.THEAD || - n === S.TR || - n === S.TD || - n === S.TH - ? (e.openElements.popUntilTagNamePopped(S.SELECT), - e._resetInsertionMode(), - e._processToken(t)) - : UL(e, t); -} -function xie(e, t) { - const n = t.tagName; - n === S.CAPTION || - n === S.TABLE || - n === S.TBODY || - n === S.TFOOT || - n === S.THEAD || - n === S.TR || - n === S.TD || - n === S.TH - ? e.openElements.hasInTableScope(n) && - (e.openElements.popUntilTagNamePopped(S.SELECT), - e._resetInsertionMode(), - e._processToken(t)) - : $L(e, t); -} -function kie(e, t) { - const n = t.tagName; - if ( - n === S.BASE || - n === S.BASEFONT || - n === S.BGSOUND || - n === S.LINK || - n === S.META || - n === S.NOFRAMES || - n === S.SCRIPT || - n === S.STYLE || - n === S.TEMPLATE || - n === S.TITLE - ) - cr(e, t); - else { - const r = ure[n] || mo; - e._popTmplInsertionMode(), - e._pushTmplInsertionMode(r), - (e.insertionMode = r), - e._processToken(t); - } -} -function Iie(e, t) { - t.tagName === S.TEMPLATE && wu(e, t); -} -function zL(e, t) { - e.openElements.tmplCount > 0 - ? (e.openElements.popUntilTagNamePopped(S.TEMPLATE), - e.activeFormattingElements.clearToLastMarker(), - e._popTmplInsertionMode(), - e._resetInsertionMode(), - e._processToken(t)) - : (e.stopped = !0); -} -function Rie(e, t) { - t.tagName === S.HTML ? yi(e, t) : cg(e, t); -} -function Nie(e, t) { - t.tagName === S.HTML ? e.fragmentContext || (e.insertionMode = PL) : cg(e, t); -} -function cg(e, t) { - (e.insertionMode = mo), e._processToken(t); -} -function Oie(e, t) { - const n = t.tagName; - n === S.HTML - ? yi(e, t) - : n === S.FRAMESET - ? e._insertElement(t, rt.HTML) - : n === S.FRAME - ? (e._appendElement(t, rt.HTML), (t.ackSelfClosing = !0)) - : n === S.NOFRAMES && cr(e, t); -} -function Die(e, t) { - t.tagName === S.FRAMESET && - !e.openElements.isRootHtmlElementCurrent() && - (e.openElements.pop(), - !e.fragmentContext && - e.openElements.currentTagName !== S.FRAMESET && - (e.insertionMode = FL)); -} -function Lie(e, t) { - const n = t.tagName; - n === S.HTML ? yi(e, t) : n === S.NOFRAMES && cr(e, t); -} -function Mie(e, t) { - t.tagName === S.HTML && (e.insertionMode = BL); -} -function Fie(e, t) { - t.tagName === S.HTML ? yi(e, t) : ph(e, t); -} -function ph(e, t) { - (e.insertionMode = mo), e._processToken(t); -} -function Pie(e, t) { - const n = t.tagName; - n === S.HTML ? yi(e, t) : n === S.NOFRAMES && cr(e, t); -} -function Bie(e, t) { - (t.chars = ire.REPLACEMENT_CHARACTER), e._insertCharacters(t); -} -function Uie(e, t) { - e._insertCharacters(t), (e.framesetOk = !1); -} -function $ie(e, t) { - if (uo.causesExit(t) && !e.fragmentContext) { - for ( - ; - e.treeAdapter.getNamespaceURI(e.openElements.current) !== rt.HTML && - !e._isIntegrationPoint(e.openElements.current); - - ) - e.openElements.pop(); - e._processToken(t); - } else { - const n = e._getAdjustedCurrentElement(), - r = e.treeAdapter.getNamespaceURI(n); - r === rt.MATHML - ? uo.adjustTokenMathMLAttrs(t) - : r === rt.SVG && - (uo.adjustTokenSVGTagName(t), uo.adjustTokenSVGAttrs(t)), - uo.adjustTokenXMLAttrs(t), - t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), - (t.ackSelfClosing = !0); - } -} -function zie(e, t) { - for (let n = e.openElements.stackTop; n > 0; n--) { - const r = e.openElements.items[n]; - if (e.treeAdapter.getNamespaceURI(r) === rt.HTML) { - e._processToken(t); - break; - } - if (e.treeAdapter.getTagName(r).toLowerCase() === t.tagName) { - e.openElements.popUntilElementPopped(r); - break; - } - } -} -const Hie = Hi(dre), - Qx = /[#.]/g; -function jie(e, t) { - const n = e || "", - r = {}; - let i = 0, - a, - o; - for (; i < n.length; ) { - Qx.lastIndex = i; - const s = Qx.exec(n), - u = n.slice(i, s ? s.index : n.length); - u && - (a - ? a === "#" - ? (r.id = u) - : Array.isArray(r.className) - ? r.className.push(u) - : (r.className = [u]) - : (o = u), - (i += u.length)), - s && ((a = s[0]), i++); - } - return { - type: "element", - tagName: o || t || "div", - properties: r, - children: [], - }; -} -const Gie = new Set(["menu", "submit", "reset", "button"]), - Ib = {}.hasOwnProperty; -function HL(e, t, n) { - const r = n && Kie(n); - return function (a, o, ...s) { - let u = -1, - c; - if (a == null) (c = { type: "root", children: [] }), s.unshift(o); - else if ( - ((c = jie(a, t)), - (c.tagName = c.tagName.toLowerCase()), - r && Ib.call(r, c.tagName) && (c.tagName = r[c.tagName]), - Vie(o, c.tagName)) - ) { - let p; - for (p in o) Ib.call(o, p) && Wie(e, c.properties, p, o[p]); - } else s.unshift(o); - for (; ++u < s.length; ) Rb(c.children, s[u]); - return ( - c.type === "element" && - c.tagName === "template" && - ((c.content = { type: "root", children: c.children }), - (c.children = [])), - c - ); - }; -} -function Vie(e, t) { - return e == null || typeof e != "object" || Array.isArray(e) - ? !1 - : t === "input" || !e.type || typeof e.type != "string" - ? !0 - : "children" in e && Array.isArray(e.children) - ? !1 - : t === "button" - ? Gie.has(e.type.toLowerCase()) - : !("value" in e); -} -function Wie(e, t, n, r) { - const i = lc(e, n); - let a = -1, - o; - if (r != null) { - if (typeof r == "number") { - if (Number.isNaN(r)) return; - o = r; - } else - typeof r == "boolean" - ? (o = r) - : typeof r == "string" - ? i.spaceSeparated - ? (o = og(r)) - : i.commaSeparated - ? (o = lp(r)) - : i.commaOrSpaceSeparated - ? (o = og(lp(r).join(" "))) - : (o = Jx(i, i.property, r)) - : Array.isArray(r) - ? (o = r.concat()) - : (o = i.property === "style" ? qie(r) : String(r)); - if (Array.isArray(o)) { - const s = []; - for (; ++a < o.length; ) s[a] = Jx(i, i.property, o[a]); - o = s; - } - i.property === "className" && - Array.isArray(t.className) && - (o = t.className.concat(o)), - (t[i.property] = o); - } -} -function Rb(e, t) { - let n = -1; - if (t != null) - if (typeof t == "string" || typeof t == "number") - e.push({ type: "text", value: String(t) }); - else if (Array.isArray(t)) for (; ++n < t.length; ) Rb(e, t[n]); - else if (typeof t == "object" && "type" in t) - t.type === "root" ? Rb(e, t.children) : e.push(t); - else throw new Error("Expected node, nodes, or string, got `" + t + "`"); -} -function Jx(e, t, n) { - if (typeof n == "string") { - if (e.number && n && !Number.isNaN(Number(n))) return Number(n); - if ((e.boolean || e.overloadedBoolean) && (n === "" || gu(n) === gu(t))) - return !0; - } - return n; -} -function qie(e) { - const t = []; - let n; - for (n in e) Ib.call(e, n) && t.push([n, e[n]].join(": ")); - return t.join("; "); -} -function Kie(e) { - const t = {}; - let n = -1; - for (; ++n < e.length; ) t[e[n].toLowerCase()] = e[n]; - return t; -} -const Yie = HL(Tu, "div"), - Xie = [ - "altGlyph", - "altGlyphDef", - "altGlyphItem", - "animateColor", - "animateMotion", - "animateTransform", - "clipPath", - "feBlend", - "feColorMatrix", - "feComponentTransfer", - "feComposite", - "feConvolveMatrix", - "feDiffuseLighting", - "feDisplacementMap", - "feDistantLight", - "feDropShadow", - "feFlood", - "feFuncA", - "feFuncB", - "feFuncG", - "feFuncR", - "feGaussianBlur", - "feImage", - "feMerge", - "feMergeNode", - "feMorphology", - "feOffset", - "fePointLight", - "feSpecularLighting", - "feSpotLight", - "feTile", - "feTurbulence", - "foreignObject", - "glyphRef", - "linearGradient", - "radialGradient", - "solidColor", - "textArea", - "textPath", - ], - Zie = HL(yl, "g", Xie); -function Qie(e) { - const t = String(e), - n = [], - r = /\r?\n|\r/g; - for (; r.test(t); ) n.push(r.lastIndex); - return n.push(t.length + 1), { toPoint: i, toOffset: a }; - function i(o) { - let s = -1; - if (typeof o == "number" && o > -1 && o < n[n.length - 1]) { - for (; ++s < n.length; ) - if (n[s] > o) - return { - line: s + 1, - column: o - (s > 0 ? n[s - 1] : 0) + 1, - offset: o, - }; - } - return { line: void 0, column: void 0, offset: void 0 }; - } - function a(o) { - const s = o && o.line, - u = o && o.column; - if ( - typeof s == "number" && - typeof u == "number" && - !Number.isNaN(s) && - !Number.isNaN(u) && - s - 1 in n - ) { - const c = (n[s - 2] || 0) + u - 1 || 0; - if (c > -1 && c < n[n.length - 1]) return c; - } - return -1; - } -} -const up = { - html: "http://www.w3.org/1999/xhtml", - mathml: "http://www.w3.org/1998/Math/MathML", - svg: "http://www.w3.org/2000/svg", - xlink: "http://www.w3.org/1999/xlink", - xml: "http://www.w3.org/XML/1998/namespace", - xmlns: "http://www.w3.org/2000/xmlns/", - }, - jL = {}.hasOwnProperty, - Jie = Object.prototype; -function eae(e, t) { - const n = t || {}; - let r, i; - return ( - rae(n) ? ((i = n), (r = {})) : ((i = n.file || void 0), (r = n)), - tv( - { - schema: r.space === "svg" ? yl : Tu, - file: i, - verbose: r.verbose, - location: !1, - }, - e - ) - ); -} -function tv(e, t) { - let n; - switch (t.nodeName) { - case "#comment": { - const r = t; - return (n = { type: "comment", value: r.data }), fh(e, r, n), n; - } - case "#document": - case "#document-fragment": { - const r = t, - i = - "mode" in r ? r.mode === "quirks" || r.mode === "limited-quirks" : !1; - if ( - ((n = { - type: "root", - children: GL(e, t.childNodes), - data: { quirksMode: i }, - }), - e.file && e.location) - ) { - const a = String(e.file), - o = Qie(a), - s = o.toPoint(0), - u = o.toPoint(a.length); - n.position = { start: s, end: u }; - } - return n; - } - case "#documentType": { - const r = t; - return (n = { type: "doctype" }), fh(e, r, n), n; - } - case "#text": { - const r = t; - return (n = { type: "text", value: r.value }), fh(e, r, n), n; - } - default: - return (n = tae(e, t)), n; - } -} -function GL(e, t) { - let n = -1; - const r = []; - for (; ++n < t.length; ) r[n] = tv(e, t[n]); - return r; -} -function tae(e, t) { - const n = e.schema; - e.schema = t.namespaceURI === up.svg ? yl : Tu; - let r = -1; - const i = {}; - for (; ++r < t.attrs.length; ) { - const s = t.attrs[r], - u = (s.prefix ? s.prefix + ":" : "") + s.name; - jL.call(Jie, u) || (i[u] = s.value); - } - const o = (e.schema.space === "svg" ? Zie : Yie)( - t.tagName, - i, - GL(e, t.childNodes) - ); - if ((fh(e, t, o), o.tagName === "template")) { - const s = t, - u = s.sourceCodeLocation, - c = u && u.startTag && y1(u.startTag), - p = u && u.endTag && y1(u.endTag), - f = tv(e, s.content); - c && p && e.file && (f.position = { start: c.end, end: p.start }), - (o.content = f); - } - return (e.schema = n), o; -} -function fh(e, t, n) { - if ("sourceCodeLocation" in t && t.sourceCodeLocation && e.file) { - const r = nae(e, n, t.sourceCodeLocation); - r && ((e.location = !0), (n.position = r)); - } -} -function nae(e, t, n) { - const r = y1(n); - if (t.type === "element") { - const i = t.children[t.children.length - 1]; - if ( - (r && - !n.endTag && - i && - i.position && - i.position.end && - (r.end = Object.assign({}, i.position.end)), - e.verbose) - ) { - const a = {}; - let o; - if (n.attrs) - for (o in n.attrs) - jL.call(n.attrs, o) && (a[lc(e.schema, o).property] = y1(n.attrs[o])); - t.data = { - position: { - opening: y1(n.startTag), - closing: n.endTag ? y1(n.endTag) : null, - properties: a, - }, - }; - } - } - return r; -} -function y1(e) { - const t = ek({ - line: e.startLine, - column: e.startCol, - offset: e.startOffset, - }), - n = ek({ line: e.endLine, column: e.endCol, offset: e.endOffset }); - return t || n ? { start: t, end: n } : void 0; -} -function ek(e) { - return e.line && e.column ? e : void 0; -} -function rae(e) { - return "messages" in e; -} -const tk = {}.hasOwnProperty; -function F2(e, t) { - const n = t || {}; - function r(i, ...a) { - let o = r.invalid; - const s = r.handlers; - if (i && tk.call(i, e)) { - const u = String(i[e]); - o = tk.call(s, u) ? s[u] : r.unknown; - } - if (o) return o.call(this, i, ...a); - } - return ( - (r.handlers = n.handlers || {}), - (r.invalid = n.invalid), - (r.unknown = n.unknown), - r - ); -} -const iae = {}.hasOwnProperty, - VL = F2("type", { - handlers: { - root: oae, - element: dae, - text: uae, - comment: cae, - doctype: lae, - }, - }); -function aae(e, t) { - const n = t && typeof t == "object" ? t.space : t; - return VL(e, n === "svg" ? yl : Tu); -} -function oae(e, t) { - const n = { - nodeName: "#document", - mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks", - childNodes: [], - }; - return (n.childNodes = nv(e.children, n, t)), cc(e, n), n; -} -function sae(e, t) { - const n = { nodeName: "#document-fragment", childNodes: [] }; - return (n.childNodes = nv(e.children, n, t)), cc(e, n), n; -} -function lae(e) { - const t = { - nodeName: "#documentType", - name: "html", - publicId: "", - systemId: "", - parentNode: void 0, - }; - return cc(e, t), t; -} -function uae(e) { - const t = { nodeName: "#text", value: e.value, parentNode: void 0 }; - return cc(e, t), t; -} -function cae(e) { - const t = { nodeName: "#comment", data: e.value, parentNode: void 0 }; - return cc(e, t), t; -} -function dae(e, t) { - const n = t; - let r = n; - e.type === "element" && - e.tagName.toLowerCase() === "svg" && - n.space === "html" && - (r = yl); - const i = []; - let a; - if (e.properties) { - for (a in e.properties) - if (a !== "children" && iae.call(e.properties, a)) { - const s = pae(r, a, e.properties[a]); - s && i.push(s); - } - } - const o = { - nodeName: e.tagName, - tagName: e.tagName, - attrs: i, - namespaceURI: up[r.space], - childNodes: [], - parentNode: void 0, - }; - return ( - (o.childNodes = nv(e.children, o, r)), - cc(e, o), - e.tagName === "template" && e.content && (o.content = sae(e.content, r)), - o - ); -} -function pae(e, t, n) { - const r = lc(e, t); - if ( - n == null || - n === !1 || - (typeof n == "number" && Number.isNaN(n)) || - (!n && r.boolean) - ) - return; - Array.isArray(n) && (n = r.commaSeparated ? $E(n) : UE(n)); - const i = { name: r.attribute, value: n === !0 ? "" : String(n) }; - if (r.space && r.space !== "html" && r.space !== "svg") { - const a = i.name.indexOf(":"); - a < 0 - ? (i.prefix = "") - : ((i.name = i.name.slice(a + 1)), (i.prefix = r.attribute.slice(0, a))), - (i.namespace = up[r.space]); - } - return i; -} -function nv(e, t, n) { - let r = -1; - const i = []; - if (e) - for (; ++r < e.length; ) { - const a = VL(e[r], n); - (a.parentNode = t), i.push(a); - } - return i; -} -function cc(e, t) { - const n = e.position; - n && - n.start && - n.end && - (t.sourceCodeLocation = { - startLine: n.start.line, - startCol: n.start.column, - startOffset: n.start.offset, - endLine: n.end.line, - endCol: n.end.column, - endOffset: n.end.offset, - }); -} -const fae = [ - "area", - "base", - "basefont", - "bgsound", - "br", - "col", - "command", - "embed", - "frame", - "hr", - "image", - "img", - "input", - "isindex", - "keygen", - "link", - "menuitem", - "meta", - "nextid", - "param", - "source", - "track", - "wbr", - ], - hae = "IN_TEMPLATE_MODE", - gae = "DATA_STATE", - mae = "CHARACTER_TOKEN", - bae = "START_TAG_TOKEN", - Eae = "END_TAG_TOKEN", - vae = "COMMENT_TOKEN", - yae = "DOCTYPE_TOKEN", - _ae = { sourceCodeLocationInfo: !0, scriptingEnabled: !1 }, - WL = function (e, t, n) { - let r = -1; - const i = new Hie(_ae), - a = F2("type", { - handlers: { - root: b, - element: T, - text: v, - comment: w, - doctype: y, - raw: A, - }, - unknown: Aae, - }); - let o, s, u, c, p; - if ((xae(t) && ((n = t), (t = void 0)), n && n.passThrough)) - for (; ++r < n.passThrough.length; ) a.handlers[n.passThrough[r]] = D; - const f = eae(Cae(e) ? g() : m(), t); - if ( - (o && - Ui(f, "comment", (R, B, W) => { - const P = R; - if (P.value.stitch && W !== null && B !== null) - return (W.children[B] = P.value.stitch), B; - }), - e.type !== "root" && f.type === "root" && f.children.length === 1) - ) - return f.children[0]; - return f; - function m() { - const R = { - nodeName: "template", - tagName: "template", - attrs: [], - namespaceURI: up.html, - childNodes: [], - }, - B = { - nodeName: "documentmock", - tagName: "documentmock", - attrs: [], - namespaceURI: up.html, - childNodes: [], - }, - W = { nodeName: "#document-fragment", childNodes: [] }; - if ( - (i._bootstrap(B, R), - i._pushTmplInsertionMode(hae), - i._initTokenizerForFragmentParsing(), - i._insertFakeRootElement(), - i._resetInsertionMode(), - i._findFormInFragmentContext(), - (s = i.tokenizer), - !s) - ) - throw new Error("Expected `tokenizer`"); - return ( - (u = s.preprocessor), - (p = s.__mixins[0]), - (c = p.posTracker), - a(e), - k(), - i._adoptNodes(B.childNodes[0], W), - W - ); - } - function g() { - const R = i.treeAdapter.createDocument(); - if ((i._bootstrap(R, void 0), (s = i.tokenizer), !s)) - throw new Error("Expected `tokenizer`"); - return ( - (u = s.preprocessor), - (p = s.__mixins[0]), - (c = p.posTracker), - a(e), - k(), - R - ); - } - function E(R) { - let B = -1; - if (R) for (; ++B < R.length; ) a(R[B]); - } - function b(R) { - E(R.children); - } - function T(R) { - k(), - i._processInputToken(Tae(R)), - E(R.children), - fae.includes(R.tagName) || (k(), i._processInputToken(wae(R))); - } - function v(R) { - k(), i._processInputToken({ type: mae, chars: R.value, location: _1(R) }); - } - function y(R) { - k(), - i._processInputToken({ - type: yae, - name: "html", - forceQuirks: !1, - publicId: "", - systemId: "", - location: _1(R), - }); - } - function w(R) { - k(), i._processInputToken({ type: vae, data: R.value, location: _1(R) }); - } - function A(R) { - const B = Ip(R), - W = B.line || 1, - P = B.column || 1, - Q = B.offset || 0; - if (!u) throw new Error("Expected `preprocessor`"); - if (!s) throw new Error("Expected `tokenizer`"); - if (!c) throw new Error("Expected `posTracker`"); - if (!p) throw new Error("Expected `locationTracker`"); - (u.html = void 0), - (u.pos = -1), - (u.lastGapPos = -1), - (u.lastCharPos = -1), - (u.gapStack = []), - (u.skipNextNewLine = !1), - (u.lastChunkWritten = !1), - (u.endOfChunkHit = !1), - (c.isEol = !1), - (c.lineStartPos = -P + 1), - (c.droppedBufferSize = Q), - (c.offset = 0), - (c.col = 1), - (c.line = W), - (p.currentAttrLocation = void 0), - (p.ctLoc = _1(R)), - s.write(R.value), - i._runParsingLoop(null), - (s.state === "NAMED_CHARACTER_REFERENCE_STATE" || - s.state === "NUMERIC_CHARACTER_REFERENCE_END_STATE") && - ((u.lastChunkWritten = !0), s[s.state](s._consume())); - } - function D(R) { - o = !0; - let B; - "children" in R - ? (B = { - ...R, - children: WL({ type: "root", children: R.children }, t, n).children, - }) - : (B = { ...R }), - w({ type: "comment", value: { stitch: B } }); - } - function k() { - if (!s) throw new Error("Expected `tokenizer`"); - if (!c) throw new Error("Expected `posTracker`"); - const R = s.currentCharacterToken; - R && - ((R.location.endLine = c.line), - (R.location.endCol = c.col + 1), - (R.location.endOffset = c.offset + 1), - i._processInputToken(R)), - (s.tokenQueue = []), - (s.state = gae), - (s.returnState = ""), - (s.charRefCode = -1), - (s.tempBuff = []), - (s.lastStartTagName = ""), - (s.consumedAfterSnapshot = -1), - (s.active = !1), - (s.currentCharacterToken = void 0), - (s.currentToken = void 0), - (s.currentAttr = void 0); - } - }; -function Tae(e) { - const t = Object.assign(_1(e)); - return ( - (t.startTag = Object.assign({}, t)), - { - type: bae, - tagName: e.tagName, - selfClosing: !1, - attrs: Sae(e), - location: t, - } - ); -} -function Sae(e) { - return aae({ - tagName: e.tagName, - type: "element", - properties: e.properties, - children: [], - }).attrs; -} -function wae(e) { - const t = Object.assign(_1(e)); - return ( - (t.startTag = Object.assign({}, t)), - { type: Eae, tagName: e.tagName, attrs: [], location: t } - ); -} -function Aae(e) { - throw new Error("Cannot compile `" + e.type + "` node"); -} -function Cae(e) { - const t = e.type === "root" ? e.children[0] : e; - return !!( - t && - (t.type === "doctype" || (t.type === "element" && t.tagName === "html")) - ); -} -function _1(e) { - const t = Ip(e), - n = A2(e); - return { - startLine: t.line, - startCol: t.column, - startOffset: t.offset, - endLine: n.line, - endCol: n.column, - endOffset: n.offset, - }; -} -function xae(e) { - return !!(e && !("message" in e && "messages" in e)); -} -function kae(e = {}) { - return (t, n) => WL(t, n, e); -} -const Iae = - /[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g, - Rae = Object.hasOwnProperty; -class Nae { - constructor() { - this.occurrences, this.reset(); - } - slug(t, n) { - const r = this; - let i = Oae(t, n === !0); - const a = i; - for (; Rae.call(r.occurrences, i); ) - r.occurrences[a]++, (i = a + "-" + r.occurrences[a]); - return (r.occurrences[i] = 0), i; - } - reset() { - this.occurrences = Object.create(null); - } -} -function Oae(e, t) { - return typeof e != "string" - ? "" - : (t || (e = e.toLowerCase()), e.replace(Iae, "").replace(/ /g, "-")); -} -const Dae = {}.hasOwnProperty; -function Hr(e, t) { - const n = - typeof t == "string" && - Lae(e) && - e.type === "element" && - e.properties && - Dae.call(e.properties, t) && - e.properties[t]; - return n != null && n !== !1; -} -function Lae(e) { - return !!(e && typeof e == "object" && "type" in e); -} -function qL(e) { - const t = (e && e.type === "element" && e.tagName.toLowerCase()) || "", - n = t.length === 2 && t.charCodeAt(0) === 104 ? t.charCodeAt(1) : 0; - return n > 48 && n < 55 ? n - 48 : null; -} -function T1(e) { - return "children" in e ? KL(e) : "value" in e ? e.value : ""; -} -function Mae(e) { - return e.type === "text" ? e.value : "children" in e ? KL(e) : ""; -} -function KL(e) { - let t = -1; - const n = []; - for (; ++t < e.children.length; ) n[t] = Mae(e.children[t]); - return n.join(""); -} -const nk = new Nae(); -function Fae(e = {}) { - const t = e.prefix || ""; - return (n) => { - nk.reset(), - Ui(n, "element", (r) => { - qL(r) && - r.properties && - !Hr(r, "id") && - (r.properties.id = t + nk.slug(T1(r))); - }); - }; -} -const YL = function (e) { - if (e == null) return rv; - if (typeof e == "string") return Bae(e); - if (typeof e == "object") return Pae(e); - if (typeof e == "function") return XL(e); - throw new Error("Expected function, string, or array as test"); -}; -function Pae(e) { - const t = []; - let n = -1; - for (; ++n < e.length; ) t[n] = YL(e[n]); - return XL(r); - function r(...i) { - let a = -1; - for (; ++a < t.length; ) if (t[a].call(this, ...i)) return !0; - return !1; - } -} -function Bae(e) { - return t; - function t(n) { - return rv(n) && n.tagName === e; - } -} -function XL(e) { - return t; - function t(n, ...r) { - return rv(n) && !!e.call(this, n, ...r); - } -} -function rv(e) { - return !!( - e && - typeof e == "object" && - e.type === "element" && - typeof e.tagName == "string" - ); -} -const Uae = { - type: "element", - tagName: "span", - properties: { className: ["icon", "icon-link"] }, - children: [], -}; -function $ae(e = {}) { - let t = e.properties; - const n = e.behaviour || e.behavior || "prepend", - r = e.content || Uae, - i = e.group, - a = YL(e.test); - let o; - return ( - n === "wrap" - ? (o = c) - : n === "before" || n === "after" - ? (o = u) - : (t || (t = { ariaHidden: "true", tabIndex: -1 }), (o = s)), - (g) => { - Ui(g, "element", (E, b, T) => { - if (qL(E) && Hr(E, "id") && a(E, b, T)) return o(E, b, T); - }); - } - ); - function s(g) { - return ( - g.children[n === "prepend" ? "unshift" : "push"]( - m(g, v1(!0, {}, t), p(r, g)) - ), - [Cd] - ); - } - function u(g, E, b) { - if (typeof E != "number" || !b) return; - const T = m(g, v1(!0, {}, t), p(r, g)); - let v = n === "before" ? [T, g] : [g, T]; - if (i) { - const y = f(i, g); - y && - !Array.isArray(y) && - y.type === "element" && - ((y.children = v), (v = [y])); - } - return b.children.splice(E, 1, ...v), [Cd, E + v.length]; - } - function c(g) { - return (g.children = [m(g, v1(!0, {}, t), g.children)]), [Cd]; - } - function p(g, E) { - const b = f(g, E); - return Array.isArray(b) ? b : [b]; - } - function f(g, E) { - return typeof g == "function" - ? g(E) - : v1(!0, Array.isArray(g) ? [] : {}, g); - } - function m(g, E, b) { - return { - type: "element", - tagName: "a", - properties: Object.assign({}, E, { href: "#" + (g.properties || {}).id }), - children: b, - }; - } -} -const zae = (e = "") => - (e.match(/([^?=&]+)(=([^&]*))/g) || []).reduce( - (t, n) => ( - (t[n.slice(0, n.indexOf("="))] = n.slice(n.indexOf("=") + 1)), t - ), - {} - ), - Hae = (e = [], t) => { - let n = t; - for (; n > -1; ) { - if ((n--, !e[n])) return; - if ( - (e[n] && e[n].value && e[n].value.replace(/(\n|\s)/g, "") !== "") || - e[n].type !== "text" - ) - return !/^rehype:/.test(e[n].value) || e[n].type !== "comment" - ? void 0 - : e[n]; - } - }, - ZL = (e = [], t, n, r) => { - let i = t; - for (; i < e.length; ) - if ((i++, n)) { - const a = e[i]; - if ( - (a && a.value && a.value.replace(/(\n|\s)/g, "") !== "") || - (e[i] && e[i].type === "element") - ) - return a.tagName === n ? a : void 0; - } else { - const a = e[i]; - if ( - !a || - a.type === "element" || - (a.type === "text" && a.value.replace(/(\n|\s)/g, "") !== "") - ) - return; - if (a.type && /^(comment|raw)$/gi.test(a.type)) - return a.value && - !/^rehype:/.test(a.value.replace(/^(\s+)?/, "$2") || "") - ? void 0 - : r - ? ZL(e, i, "pre", r) - ? void 0 - : ((a.value = (a.value || "").replace(/^(\n|\s)+/, "")), a) - : ((a.value = (a.value || "").replace(/^(\n|\s)+/, "")), a); - } - }, - rk = ({ value: e = "" }) => { - const t = zae(e.replace(/^/, "$1").replace(/^rehype:/, "")); - return ( - Object.keys(t).forEach((n) => { - t[n] === "true" && (t[n] = !0), - t[n] === "false" && (t[n] = !1), - typeof t[n] == "string" && - !/^0/.test(t[n]) && - !isNaN(+t[n]) && - (t[n] = +t[n]); - }), - t - ); - }, - ik = (e, t, n) => - n === "string" - ? { ...e, "data-config": JSON.stringify({ ...t, rehyp: !0 }) } - : n === "attr" - ? { ...e, ...t } - : { ...e, "data-config": { ...t, rehyp: !0 } }, - jae = (e = {}) => { - const { properties: t = "data", codeBlockParames: n = !0 } = e; - return (r) => { - Ui(r, "element", (i, a, o) => { - if ( - n && - i.tagName === "pre" && - i && - Array.isArray(i.children) && - o && - Array.isArray(o.children) && - o.children.length > 1 - ) { - const s = i.children[0]; - if (s && s.tagName === "code" && typeof a == "number") { - const u = Hae(o.children, a); - if (u) { - const c = rk(u); - Object.keys(c).length > 0 && - ((i.properties = { ...i.properties, "data-type": "rehyp" }), - (s.properties = ik(s.properties, c, t))); - } - } - } - if ( - /^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test( - i.tagName - ) && - o && - Array.isArray(o.children) && - typeof a == "number" - ) { - const s = ZL(o.children, a, "", n); - if (s) { - const u = rk(s); - Object.keys(u).length > 0 && - (i.properties = ik(i.properties, u, t)); - } - } - }); - }; - }, - Gae = jae, - Vae = (e = {}) => { - const { - openDelimiter: t = "rehype:ignore:start", - closeDelimiter: n = "rehype:ignore:end", - } = e; - return (r) => { - Ui(r, (i, a, o) => { - if (i.type === "element" || i.type === "root") { - let s = !1; - i.children = i.children.filter((u) => { - if (u.type === "raw" || u.type === "comment") { - let c = (u.value || "").trim(); - if (((c = c.replace(/^/, "$1")), c === t)) - return (s = !0), !1; - if (c === n) return (s = !1), !1; - } - return !s; - }); - } - }); - }; - }, - Wae = Vae, - qae = {}.hasOwnProperty, - Kae = function (e, t, n) { - const r = C2(n || t), - i = t && typeof t == "object" && "cascade" in t ? t.cascade : void 0, - a = i ?? !0; - return o(e); - function o(s, u, c) { - const p = []; - if (!r(s, u, c)) return null; - if (s.children) { - let g = -1; - for (; ++g < s.children.length; ) { - const E = o(s.children[g], g, s); - E && p.push(E); - } - if (a && s.children.length > 0 && p.length === 0) return null; - } - const f = {}; - let m; - for (m in s) qae.call(s, m) && (f[m] = m === "children" ? p : s[m]); - return f; - } - }; -var Nb = { exports: {} }; -(function (e, t) { - function n(r) { - let i = [], - a; - for (let o of r.split(",").map((s) => s.trim())) - if (/^-?\d+$/.test(o)) i.push(parseInt(o, 10)); - else if ( - (a = o.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)) - ) { - let [s, u, c, p] = a; - if (u && p) { - (u = parseInt(u)), (p = parseInt(p)); - const f = u < p ? 1 : -1; - (c === "-" || c === ".." || c === "‥") && (p += f); - for (let m = u; m !== p; m += f) i.push(m); - } - } - return i; - } - (t.default = n), (e.exports = n); -})(Nb, Nb.exports); -var Yae = Nb.exports; -const Xae = Hi(Yae); -Mt.displayName = "clike"; -Mt.aliases = []; -function Mt(e) { - e.languages.clike = { - comment: [ - { - pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, - lookbehind: !0, - greedy: !0, - }, - { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }, - ], - string: { - pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - greedy: !0, - }, - "class-name": { - pattern: - /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i, - lookbehind: !0, - inside: { punctuation: /[.\\]/ }, - }, - keyword: - /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/, - boolean: /\b(?:false|true)\b/, - function: /\b\w+(?=\()/, - number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, - operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/, - punctuation: /[{}[\];(),.:]/, - }; -} -qa.displayName = "c"; -qa.aliases = []; -function qa(e) { - e.register(Mt), - (e.languages.c = e.languages.extend("clike", { - comment: { - pattern: - /\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/, - greedy: !0, - }, - string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 }, - "class-name": { - pattern: - /(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/, - lookbehind: !0, - }, - keyword: - /\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/, - function: /\b[a-z_]\w*(?=\s*\()/i, - number: - /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i, - operator: />>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/, - })), - e.languages.insertBefore("c", "string", { - char: { pattern: /'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/, greedy: !0 }, - }), - e.languages.insertBefore("c", "string", { - macro: { - pattern: - /(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im, - lookbehind: !0, - greedy: !0, - alias: "property", - inside: { - string: [ - { pattern: /^(#\s*include\s*)<[^>]+>/, lookbehind: !0 }, - e.languages.c.string, - ], - char: e.languages.c.char, - comment: e.languages.c.comment, - "macro-name": [ - { pattern: /(^#\s*define\s+)\w+\b(?!\()/i, lookbehind: !0 }, - { - pattern: /(^#\s*define\s+)\w+\b(?=\()/i, - lookbehind: !0, - alias: "function", - }, - ], - directive: { - pattern: /^(#\s*)[a-z]+/, - lookbehind: !0, - alias: "keyword", - }, - "directive-hash": /^#/, - punctuation: /##|\\(?=[\r\n])/, - expression: { pattern: /\S[\s\S]*/, inside: e.languages.c }, - }, - }, - }), - e.languages.insertBefore("c", "function", { - constant: - /\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/, - }), - delete e.languages.c.boolean; -} -Au.displayName = "cpp"; -Au.aliases = []; -function Au(e) { - e.register(qa), - (function (t) { - var n = - /\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/, - r = /\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace( - //g, - function () { - return n.source; - } - ); - (t.languages.cpp = t.languages.extend("c", { - "class-name": [ - { - pattern: RegExp( - /(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace( - //g, - function () { - return n.source; - } - ) - ), - lookbehind: !0, - }, - /\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/, - /\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i, - /\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/, - ], - keyword: n, - number: { - pattern: - /(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i, - greedy: !0, - }, - operator: - />>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/, - boolean: /\b(?:false|true)\b/, - })), - t.languages.insertBefore("cpp", "string", { - module: { - pattern: RegExp( - /(\b(?:import|module)\s+)/.source + - "(?:" + - /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source + - "|" + - /(?:\s*:\s*)?|:\s*/.source.replace( - //g, - function () { - return r; - } - ) + - ")" - ), - lookbehind: !0, - greedy: !0, - inside: { - string: /^[<"][\s\S]+/, - operator: /:/, - punctuation: /\./, - }, - }, - "raw-string": { - pattern: /R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/, - alias: "string", - greedy: !0, - }, - }), - t.languages.insertBefore("cpp", "keyword", { - "generic-function": { - pattern: - /\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i, - inside: { - function: /^\w+/, - generic: { - pattern: /<[\s\S]+/, - alias: "class-name", - inside: t.languages.cpp, - }, - }, - }, - }), - t.languages.insertBefore("cpp", "operator", { - "double-colon": { pattern: /::/, alias: "punctuation" }, - }), - t.languages.insertBefore("cpp", "class-name", { - "base-clause": { - pattern: - /(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/, - lookbehind: !0, - greedy: !0, - inside: t.languages.extend("cpp", {}), - }, - }), - t.languages.insertBefore( - "inside", - "double-colon", - { "class-name": /\b[a-z_]\w*\b(?!\s*::)/i }, - t.languages.cpp["base-clause"] - ); - })(e); -} -P2.displayName = "arduino"; -P2.aliases = ["ino"]; -function P2(e) { - e.register(Au), - (e.languages.arduino = e.languages.extend("cpp", { - keyword: - /\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/, - constant: - /\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/, - builtin: - /\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/, - })), - (e.languages.ino = e.languages.arduino); -} -Op.displayName = "bash"; -Op.aliases = ["sh", "shell"]; -function Op(e) { - (function (t) { - var n = - "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", - r = { - pattern: /(^(["']?)\w+\2)[ \t]+\S.*/, - lookbehind: !0, - alias: "punctuation", - inside: null, - }, - i = { - bash: r, - environment: { pattern: RegExp("\\$" + n), alias: "constant" }, - variable: [ - { - pattern: /\$?\(\([\s\S]+?\)\)/, - greedy: !0, - inside: { - variable: [ - { pattern: /(^\$\(\([\s\S]+)\)\)/, lookbehind: !0 }, - /^\$\(\(/, - ], - number: - /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/, - operator: - /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/, - punctuation: /\(\(?|\)\)?|,|;/, - }, - }, - { - pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/, - greedy: !0, - inside: { variable: /^\$\(|^`|\)$|`$/ }, - }, - { - pattern: /\$\{[^}]+\}/, - greedy: !0, - inside: { - operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/, - punctuation: /[\[\]]/, - environment: { - pattern: RegExp("(\\{)" + n), - lookbehind: !0, - alias: "constant", - }, - }, - }, - /\$(?:\w+|[#?*!@$])/, - ], - entity: - /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/, - }; - (t.languages.bash = { - shebang: { pattern: /^#!\s*\/.*/, alias: "important" }, - comment: { pattern: /(^|[^"{\\$])#.*/, lookbehind: !0 }, - "function-name": [ - { - pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/, - lookbehind: !0, - alias: "function", - }, - { pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/, alias: "function" }, - ], - "for-or-select": { - pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/, - alias: "variable", - lookbehind: !0, - }, - "assign-left": { - pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/, - inside: { - environment: { - pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + n), - lookbehind: !0, - alias: "constant", - }, - }, - alias: "variable", - lookbehind: !0, - }, - parameter: { - pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/, - alias: "variable", - lookbehind: !0, - }, - string: [ - { - pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/, - lookbehind: !0, - greedy: !0, - inside: i, - }, - { - pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/, - lookbehind: !0, - greedy: !0, - inside: { bash: r }, - }, - { - pattern: - /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/, - lookbehind: !0, - greedy: !0, - inside: i, - }, - { pattern: /(^|[^$\\])'[^']*'/, lookbehind: !0, greedy: !0 }, - { - pattern: /\$'(?:[^'\\]|\\[\s\S])*'/, - greedy: !0, - inside: { entity: i.entity }, - }, - ], - environment: { pattern: RegExp("\\$?" + n), alias: "constant" }, - variable: i.variable, - function: { - pattern: - /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/, - lookbehind: !0, - }, - keyword: { - pattern: - /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/, - lookbehind: !0, - }, - builtin: { - pattern: - /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/, - lookbehind: !0, - alias: "class-name", - }, - boolean: { - pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/, - lookbehind: !0, - }, - "file-descriptor": { pattern: /\B&\d\b/, alias: "important" }, - operator: { - pattern: - /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/, - inside: { "file-descriptor": { pattern: /^\d/, alias: "important" } }, - }, - punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/, - number: { pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/, lookbehind: !0 }, - }), - (r.inside = t.languages.bash); - for ( - var a = [ - "comment", - "function-name", - "for-or-select", - "assign-left", - "parameter", - "string", - "environment", - "function", - "keyword", - "builtin", - "boolean", - "file-descriptor", - "operator", - "punctuation", - "number", - ], - o = i.variable[1].inside, - s = 0; - s < a.length; - s++ - ) - o[a[s]] = t.languages.bash[a[s]]; - (t.languages.sh = t.languages.bash), (t.languages.shell = t.languages.bash); - })(e); -} -Cu.displayName = "csharp"; -Cu.aliases = ["cs", "dotnet"]; -function Cu(e) { - e.register(Mt), - (function (t) { - function n(N, me) { - return N.replace(/<<(\d+)>>/g, function (oe, O) { - return "(?:" + me[+O] + ")"; - }); - } - function r(N, me, oe) { - return RegExp(n(N, me), oe || ""); - } - function i(N, me) { - for (var oe = 0; oe < me; oe++) - N = N.replace(/<>/g, function () { - return "(?:" + N + ")"; - }); - return N.replace(/<>/g, "[^\\s\\S]"); - } - var a = { - type: "bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void", - typeDeclaration: "class enum interface record struct", - contextual: - "add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)", - other: - "abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield", - }; - function o(N) { - return "\\b(?:" + N.trim().replace(/ /g, "|") + ")\\b"; - } - var s = o(a.typeDeclaration), - u = RegExp( - o( - a.type + - " " + - a.typeDeclaration + - " " + - a.contextual + - " " + - a.other - ) - ), - c = o(a.typeDeclaration + " " + a.contextual + " " + a.other), - p = o(a.type + " " + a.typeDeclaration + " " + a.other), - f = i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source, 2), - m = i(/\((?:[^()]|<>)*\)/.source, 2), - g = /@?\b[A-Za-z_]\w*\b/.source, - E = n(/<<0>>(?:\s*<<1>>)?/.source, [g, f]), - b = n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source, [c, E]), - T = /\[\s*(?:,\s*)*\]/.source, - v = n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source, [b, T]), - y = n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source, [f, m, T]), - w = n(/\(<<0>>+(?:,<<0>>+)+\)/.source, [y]), - A = n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source, [ - w, - b, - T, - ]), - D = { keyword: u, punctuation: /[<>()?,.:[\]]/ }, - k = /'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source, - R = /"(?:\\.|[^\\"\r\n])*"/.source, - B = /@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source; - (t.languages.csharp = t.languages.extend("clike", { - string: [ - { - pattern: r(/(^|[^$\\])<<0>>/.source, [B]), - lookbehind: !0, - greedy: !0, - }, - { - pattern: r(/(^|[^@$\\])<<0>>/.source, [R]), - lookbehind: !0, - greedy: !0, - }, - ], - "class-name": [ - { - pattern: r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source, [b]), - lookbehind: !0, - inside: D, - }, - { - pattern: r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source, [g, A]), - lookbehind: !0, - inside: D, - }, - { - pattern: r(/(\busing\s+)<<0>>(?=\s*=)/.source, [g]), - lookbehind: !0, - }, - { - pattern: r(/(\b<<0>>\s+)<<1>>/.source, [s, E]), - lookbehind: !0, - inside: D, - }, - { - pattern: r(/(\bcatch\s*\(\s*)<<0>>/.source, [b]), - lookbehind: !0, - inside: D, - }, - { pattern: r(/(\bwhere\s+)<<0>>/.source, [g]), lookbehind: !0 }, - { - pattern: r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source, [v]), - lookbehind: !0, - inside: D, - }, - { - pattern: r( - /\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/ - .source, - [A, p, g] - ), - inside: D, - }, - ], - keyword: u, - number: - /(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i, - operator: />>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/, - punctuation: /\?\.?|::|[{}[\];(),.:]/, - })), - t.languages.insertBefore("csharp", "number", { - range: { pattern: /\.\./, alias: "operator" }, - }), - t.languages.insertBefore("csharp", "punctuation", { - "named-parameter": { - pattern: r(/([(,]\s*)<<0>>(?=\s*:)/.source, [g]), - lookbehind: !0, - alias: "punctuation", - }, - }), - t.languages.insertBefore("csharp", "class-name", { - namespace: { - pattern: r( - /(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/ - .source, - [g] - ), - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - "type-expression": { - pattern: r( - /(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/ - .source, - [m] - ), - lookbehind: !0, - alias: "class-name", - inside: D, - }, - "return-type": { - pattern: r( - /<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/ - .source, - [A, b] - ), - inside: D, - alias: "class-name", - }, - "constructor-invocation": { - pattern: r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source, [A]), - lookbehind: !0, - inside: D, - alias: "class-name", - }, - "generic-method": { - pattern: r(/<<0>>\s*<<1>>(?=\s*\()/.source, [g, f]), - inside: { - function: r(/^<<0>>/.source, [g]), - generic: { pattern: RegExp(f), alias: "class-name", inside: D }, - }, - }, - "type-list": { - pattern: r( - /\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/ - .source, - [s, E, g, A, u.source, m, /\bnew\s*\(\s*\)/.source] - ), - lookbehind: !0, - inside: { - "record-arguments": { - pattern: r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source, [E, m]), - lookbehind: !0, - greedy: !0, - inside: t.languages.csharp, - }, - keyword: u, - "class-name": { pattern: RegExp(A), greedy: !0, inside: D }, - punctuation: /[,()]/, - }, - }, - preprocessor: { - pattern: /(^[\t ]*)#.*/m, - lookbehind: !0, - alias: "property", - inside: { - directive: { - pattern: - /(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/, - lookbehind: !0, - alias: "keyword", - }, - }, - }, - }); - var W = R + "|" + k, - P = n( - /\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/ - .source, - [W] - ), - Q = i(n(/[^"'/()]|<<0>>|\(<>*\)/.source, [P]), 2), - z = - /\b(?:assembly|event|field|method|module|param|property|return|type)\b/ - .source, - le = n(/<<0>>(?:\s*\(<<1>>*\))?/.source, [b, Q]); - t.languages.insertBefore("csharp", "class-name", { - attribute: { - pattern: r( - /((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/ - .source, - [z, le] - ), - lookbehind: !0, - greedy: !0, - inside: { - target: { - pattern: r(/^<<0>>(?=\s*:)/.source, [z]), - alias: "keyword", - }, - "attribute-arguments": { - pattern: r(/\(<<0>>*\)/.source, [Q]), - inside: t.languages.csharp, - }, - "class-name": { pattern: RegExp(b), inside: { punctuation: /\./ } }, - punctuation: /[:,]/, - }, - }, - }); - var he = /:[^}\r\n]+/.source, - de = i(n(/[^"'/()]|<<0>>|\(<>*\)/.source, [P]), 2), - fe = n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [de, he]), - Z = i( - n( - /[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/ - .source, - [W] - ), - 2 - ), - V = n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [Z, he]); - function ce(N, me) { - return { - interpolation: { - pattern: r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source, [N]), - lookbehind: !0, - inside: { - "format-string": { - pattern: r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source, [ - me, - he, - ]), - lookbehind: !0, - inside: { punctuation: /^:/ }, - }, - punctuation: /^\{|\}$/, - expression: { - pattern: /[\s\S]+/, - alias: "language-csharp", - inside: t.languages.csharp, - }, - }, - }, - string: /[\s\S]+/, - }; - } - t.languages.insertBefore("csharp", "string", { - "interpolation-string": [ - { - pattern: r( - /(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/ - .source, - [fe] - ), - lookbehind: !0, - greedy: !0, - inside: ce(fe, de), - }, - { - pattern: r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source, [V]), - lookbehind: !0, - greedy: !0, - inside: ce(V, Z), - }, - ], - char: { pattern: RegExp(k), greedy: !0 }, - }), - (t.languages.dotnet = t.languages.cs = t.languages.csharp); - })(e); -} -fr.displayName = "markup"; -fr.aliases = ["atom", "html", "mathml", "rss", "ssml", "svg", "xml"]; -function fr(e) { - (e.languages.markup = { - comment: { pattern: //, greedy: !0 }, - prolog: { pattern: /<\?[\s\S]+?\?>/, greedy: !0 }, - doctype: { - pattern: - /"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i, - greedy: !0, - inside: { - "internal-subset": { - pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/, - lookbehind: !0, - greedy: !0, - inside: null, - }, - string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 }, - punctuation: /^$|[[\]]/, - "doctype-tag": /^DOCTYPE/i, - name: /[^\s<>'"]+/, - }, - }, - cdata: { pattern: //i, greedy: !0 }, - tag: { - pattern: - /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/, - greedy: !0, - inside: { - tag: { - pattern: /^<\/?[^\s>\/]+/, - inside: { punctuation: /^<\/?/, namespace: /^[^\s>\/:]+:/ }, - }, - "special-attr": [], - "attr-value": { - pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/, - inside: { - punctuation: [ - { pattern: /^=/, alias: "attr-equals" }, - { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }, - ], - }, - }, - punctuation: /\/?>/, - "attr-name": { - pattern: /[^\s>\/]+/, - inside: { namespace: /^[^\s>\/:]+:/ }, - }, - }, - }, - entity: [ - { pattern: /&[\da-z]{1,8};/i, alias: "named-entity" }, - /&#x?[\da-f]{1,8};/i, - ], - }), - (e.languages.markup.tag.inside["attr-value"].inside.entity = - e.languages.markup.entity), - (e.languages.markup.doctype.inside["internal-subset"].inside = - e.languages.markup), - e.hooks.add("wrap", function (t) { - t.type === "entity" && - (t.attributes.title = t.content.value.replace(/&/, "&")); - }), - Object.defineProperty(e.languages.markup.tag, "addInlined", { - value: function (n, r) { - var i = {}; - (i["language-" + r] = { - pattern: /(^$)/i, - lookbehind: !0, - inside: e.languages[r], - }), - (i.cdata = /^$/i); - var a = { - "included-cdata": { pattern: //i, inside: i }, - }; - a["language-" + r] = { pattern: /[\s\S]+/, inside: e.languages[r] }; - var o = {}; - (o[n] = { - pattern: RegExp( - /(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace( - /__/g, - function () { - return n; - } - ), - "i" - ), - lookbehind: !0, - greedy: !0, - inside: a, - }), - e.languages.insertBefore("markup", "cdata", o); - }, - }), - Object.defineProperty(e.languages.markup.tag, "addAttribute", { - value: function (t, n) { - e.languages.markup.tag.inside["special-attr"].push({ - pattern: RegExp( - /(^|["'\s])/.source + - "(?:" + - t + - ")" + - /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source, - "i" - ), - lookbehind: !0, - inside: { - "attr-name": /^[^\s=]+/, - "attr-value": { - pattern: /=[\s\S]+/, - inside: { - value: { - pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/, - lookbehind: !0, - alias: [n, "language-" + n], - inside: e.languages[n], - }, - punctuation: [{ pattern: /^=/, alias: "attr-equals" }, /"|'/], - }, - }, - }, - }); - }, - }), - (e.languages.html = e.languages.markup), - (e.languages.mathml = e.languages.markup), - (e.languages.svg = e.languages.markup), - (e.languages.xml = e.languages.extend("markup", {})), - (e.languages.ssml = e.languages.xml), - (e.languages.atom = e.languages.xml), - (e.languages.rss = e.languages.xml); -} -Tl.displayName = "css"; -Tl.aliases = []; -function Tl(e) { - (function (t) { - var n = - /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/; - (t.languages.css = { - comment: /\/\*[\s\S]*?\*\//, - atrule: { - pattern: RegExp( - "@[\\w-](?:" + - /[^;{\s"']|\s+(?!\s)/.source + - "|" + - n.source + - ")*?" + - /(?:;|(?=\s*\{))/.source - ), - inside: { - rule: /^@[\w-]+/, - "selector-function-argument": { - pattern: - /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/, - lookbehind: !0, - alias: "selector", - }, - keyword: { - pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/, - lookbehind: !0, - }, - }, - }, - url: { - pattern: RegExp( - "\\burl\\((?:" + - n.source + - "|" + - /(?:[^\\\r\n()"']|\\[\s\S])*/.source + - ")\\)", - "i" - ), - greedy: !0, - inside: { - function: /^url/i, - punctuation: /^\(|\)$/, - string: { pattern: RegExp("^" + n.source + "$"), alias: "url" }, - }, - }, - selector: { - pattern: RegExp( - `(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + - n.source + - ")*(?=\\s*\\{)" - ), - lookbehind: !0, - }, - string: { pattern: n, greedy: !0 }, - property: { - pattern: - /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i, - lookbehind: !0, - }, - important: /!important\b/i, - function: { pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i, lookbehind: !0 }, - punctuation: /[(){};:,]/, - }), - (t.languages.css.atrule.inside.rest = t.languages.css); - var r = t.languages.markup; - r && (r.tag.addInlined("style", "css"), r.tag.addAttribute("style", "css")); - })(e); -} -B2.displayName = "diff"; -B2.aliases = []; -function B2(e) { - (function (t) { - t.languages.diff = { - coord: [/^(?:\*{3}|-{3}|\+{3}).*$/m, /^@@.*@@$/m, /^\d.*$/m], - }; - var n = { - "deleted-sign": "-", - "deleted-arrow": "<", - "inserted-sign": "+", - "inserted-arrow": ">", - unchanged: " ", - diff: "!", - }; - Object.keys(n).forEach(function (r) { - var i = n[r], - a = []; - /^\w+$/.test(r) || a.push(/\w+/.exec(r)[0]), - r === "diff" && a.push("bold"), - (t.languages.diff[r] = { - pattern: RegExp( - "^(?:[" + - i + - `].*(?:\r +`}const ate=/\r?\n|\r/g;function ote(e,t){const n=[];let r=0,i=0,a;for(;a=ate.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join("");function o(s){n.push(t(s,i,!s))}}function cL(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function ste(e,t){return PC(e,t.inConstruct,!0)&&!PC(e,t.notInConstruct,!1)}function PC(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r=c||p+10?" ":"")),i.shift(4),a+=i.move(ote(rte(e,n,i.current()),_te)),o(),a}function _te(e,t,n){return t===0?e:(n?"":" ")+e}function fL(e,t,n){const r=t.indexStack,i=e.children||[],a=[];let o=-1,s=n.before;r.push(-1);let u=t.createTracker(n);for(;++o0&&(s==="\r"||s===` +`)&&c.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),s=" ",u=t.createTracker(n),u.move(a.join(""))),a.push(u.move(t.handle(c,e,t,{...u.current(),before:s,after:p}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join("")}const Tte=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];hL.peek=xte;const Ste={canContainEols:["delete"],enter:{strikethrough:Ate},exit:{strikethrough:Cte}},wte={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Tte}],handlers:{delete:hL}};function Ate(e){this.enter({type:"delete",children:[]},e)}function Cte(e){this.exit(e)}function hL(e,t,n,r){const i=k2(r),a=n.enter("strikethrough");let o=i.move("~~");return o+=fL(e,n,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function xte(){return"~"}gL.peek=kte;function gL(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++au&&(u=e[c].length);++Ts[T])&&(s[T]=y)}E.push(v)}a[c]=E,o[c]=b}let p=-1;if(typeof n=="object"&&"length"in n)for(;++ps[p]&&(s[p]=v),m[p]=v),f[p]=y}a.splice(1,0,f),o.splice(1,0,m),c=-1;const g=[];for(;++cn==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function Lte(e){this.exit(e),this.setData("inTable")}function Mte(e){this.enter({type:"tableRow",children:[]},e)}function m3(e){this.exit(e)}function $C(e){this.enter({type:"tableCell",children:[]},e)}function Fte(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Pte));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function Pte(e,t){return t==="|"?t:e}function Bte(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:o,tableRow:s,tableCell:u,inlineCode:m}};function o(g,E,b,T){return c(p(g,b,T),g.align)}function s(g,E,b,T){const v=f(g,b,T),y=c([v]);return y.slice(0,y.indexOf(` +`))}function u(g,E,b,T){const v=b.enter("tableCell"),y=b.enter("phrasing"),w=fL(g,b,{...T,before:a,after:a});return y(),v(),w}function c(g,E){return Ite(g,{align:E,alignDelimiters:r,padding:n,stringLength:i})}function p(g,E,b){const T=g.children;let v=-1;const y=[],w=E.enter("table");for(;++v-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);const u=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),p);return u(),c;function p(f,m,g){return m?(g?"":" ".repeat(o))+f:(g?a:a+" ".repeat(o-a.length))+f}}const Hte={exit:{taskListCheckValueChecked:zC,taskListCheckValueUnchecked:zC,paragraph:Gte}},jte={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Vte}};function zC(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function Gte(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,o;for(;++a=55296&&e<=57343};Va.isSurrogatePair=function(e){return e>=56320&&e<=57343};Va.getSurrogatePairCodePoint=function(e,t){return(e-55296)*1024+9216+t};Va.isControlCodePoint=function(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159};Va.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||Yte.indexOf(e)>-1};var GE={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"};const t1=Va,b3=GE,Fl=t1.CODE_POINTS,Xte=65536;let Zte=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Xte}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.lastCharPos){const n=this.html.charCodeAt(this.pos+1);if(t1.isSurrogatePair(n))return this.pos++,this._addGap(),t1.getSurrogatePairCodePoint(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Fl.EOF;return this._err(b3.surrogateInInputStream),t}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(t,n){this.html?this.html+=t:this.html=t,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,Fl.EOF;let t=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&t===Fl.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):t===Fl.CARRIAGE_RETURN?(this.skipNextNewLine=!0,Fl.LINE_FEED):(this.skipNextNewLine=!1,t1.isSurrogate(t)&&(t=this._processSurrogate(t)),t>31&&t<127||t===Fl.LINE_FEED||t===Fl.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){t1.isControlCodePoint(t)?this._err(b3.controlCharacterInInputStream):t1.isUndefinedCodePoint(t)&&this._err(b3.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}};var Qte=Zte,Jte=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]);const ene=Qte,un=Va,Jl=Jte,Ae=GE,G=un.CODE_POINTS,Pl=un.CODE_POINT_SEQUENCES,tne={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},mL=1,bL=2,EL=4,nne=mL|bL|EL,Ot="DATA_STATE",n1="RCDATA_STATE",cd="RAWTEXT_STATE",Ho="SCRIPT_DATA_STATE",vL="PLAINTEXT_STATE",HC="TAG_OPEN_STATE",jC="END_TAG_OPEN_STATE",E3="TAG_NAME_STATE",GC="RCDATA_LESS_THAN_SIGN_STATE",VC="RCDATA_END_TAG_OPEN_STATE",WC="RCDATA_END_TAG_NAME_STATE",qC="RAWTEXT_LESS_THAN_SIGN_STATE",KC="RAWTEXT_END_TAG_OPEN_STATE",YC="RAWTEXT_END_TAG_NAME_STATE",XC="SCRIPT_DATA_LESS_THAN_SIGN_STATE",ZC="SCRIPT_DATA_END_TAG_OPEN_STATE",QC="SCRIPT_DATA_END_TAG_NAME_STATE",JC="SCRIPT_DATA_ESCAPE_START_STATE",ex="SCRIPT_DATA_ESCAPE_START_DASH_STATE",ka="SCRIPT_DATA_ESCAPED_STATE",tx="SCRIPT_DATA_ESCAPED_DASH_STATE",v3="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",h0="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",nx="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",rx="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",ix="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",Lo="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",ax="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",ox="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",g0="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",sx="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",to="BEFORE_ATTRIBUTE_NAME_STATE",m0="ATTRIBUTE_NAME_STATE",y3="AFTER_ATTRIBUTE_NAME_STATE",_3="BEFORE_ATTRIBUTE_VALUE_STATE",b0="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",E0="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",v0="ATTRIBUTE_VALUE_UNQUOTED_STATE",T3="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",Cs="SELF_CLOSING_START_TAG_STATE",jc="BOGUS_COMMENT_STATE",lx="MARKUP_DECLARATION_OPEN_STATE",ux="COMMENT_START_STATE",cx="COMMENT_START_DASH_STATE",xs="COMMENT_STATE",dx="COMMENT_LESS_THAN_SIGN_STATE",px="COMMENT_LESS_THAN_SIGN_BANG_STATE",fx="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",hx="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",y0="COMMENT_END_DASH_STATE",_0="COMMENT_END_STATE",gx="COMMENT_END_BANG_STATE",mx="DOCTYPE_STATE",T0="BEFORE_DOCTYPE_NAME_STATE",S0="DOCTYPE_NAME_STATE",bx="AFTER_DOCTYPE_NAME_STATE",Ex="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",vx="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",S3="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",w3="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",A3="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",yx="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",_x="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",Tx="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Gc="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Vc="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",C3="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Mo="BOGUS_DOCTYPE_STATE",w0="CDATA_SECTION_STATE",Sx="CDATA_SECTION_BRACKET_STATE",wx="CDATA_SECTION_END_STATE",Wu="CHARACTER_REFERENCE_STATE",Ax="NAMED_CHARACTER_REFERENCE_STATE",Cx="AMBIGUOS_AMPERSAND_STATE",xx="NUMERIC_CHARACTER_REFERENCE_STATE",kx="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Ix="DECIMAL_CHARACTER_REFERENCE_START_STATE",Rx="HEXADEMICAL_CHARACTER_REFERENCE_STATE",Nx="DECIMAL_CHARACTER_REFERENCE_STATE",Wc="NUMERIC_CHARACTER_REFERENCE_END_STATE";function vn(e){return e===G.SPACE||e===G.LINE_FEED||e===G.TABULATION||e===G.FORM_FEED}function xd(e){return e>=G.DIGIT_0&&e<=G.DIGIT_9}function Na(e){return e>=G.LATIN_CAPITAL_A&&e<=G.LATIN_CAPITAL_Z}function Gl(e){return e>=G.LATIN_SMALL_A&&e<=G.LATIN_SMALL_Z}function Ns(e){return Gl(e)||Na(e)}function x3(e){return Ns(e)||xd(e)}function yL(e){return e>=G.LATIN_CAPITAL_A&&e<=G.LATIN_CAPITAL_F}function _L(e){return e>=G.LATIN_SMALL_A&&e<=G.LATIN_SMALL_F}function rne(e){return xd(e)||yL(e)||_L(e)}function ch(e){return e+32}function Mn(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|e&1023))}function ks(e){return String.fromCharCode(ch(e))}function Ox(e,t){const n=Jl[++e];let r=++e,i=r+n-1;for(;r<=i;){const a=r+i>>>1,o=Jl[a];if(ot)i=a-1;else return Jl[a+n]}return-1}let _a=class ci{constructor(){this.preprocessor=new ene,this.tokenQueue=[],this.allowCDATA=!1,this.state=Ot,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(t){this._consume(),this._err(t),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this[this.state](t)}return this.tokenQueue.shift()}write(t,n){this.active=!0,this.preprocessor.write(t,n)}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:ci.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(t){this.state=t,this._unconsume()}_consumeSequenceIfMatch(t,n,r){let i=0,a=!0;const o=t.length;let s=0,u=n,c;for(;s0&&(u=this._consume(),i++),u===G.EOF){a=!1;break}if(c=t[s],u!==c&&(r||u!==ch(c))){a=!1;break}}if(!a)for(;i--;)this._unconsume();return a}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==Pl.SCRIPT_STRING.length)return!1;for(let t=0;t0&&this._err(Ae.endTagWithAttributes),t.selfClosing&&this._err(Ae.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(t,n){this.currentCharacterToken&&this.currentCharacterToken.type!==t&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=n:this._createCharacterToken(t,n)}_emitCodePoint(t){let n=ci.CHARACTER_TOKEN;vn(t)?n=ci.WHITESPACE_CHARACTER_TOKEN:t===G.NULL&&(n=ci.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,Mn(t))}_emitSeveralCodePoints(t){for(let n=0;n-1;){const a=Jl[i],o=a")):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.state=ka,this._emitChars(un.REPLACEMENT_CHARACTER)):t===G.EOF?(this._err(Ae.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=ka,this._emitCodePoint(t))}[h0](t){t===G.SOLIDUS?(this.tempBuff=[],this.state=nx):Ns(t)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(ix)):(this._emitChars("<"),this._reconsumeInState(ka))}[nx](t){Ns(t)?(this._createEndTagToken(),this._reconsumeInState(rx)):(this._emitChars("")):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.state=Lo,this._emitChars(un.REPLACEMENT_CHARACTER)):t===G.EOF?(this._err(Ae.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Lo,this._emitCodePoint(t))}[g0](t){t===G.SOLIDUS?(this.tempBuff=[],this.state=sx,this._emitChars("/")):this._reconsumeInState(Lo)}[sx](t){vn(t)||t===G.SOLIDUS||t===G.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?ka:Lo,this._emitCodePoint(t)):Na(t)?(this.tempBuff.push(ch(t)),this._emitCodePoint(t)):Gl(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(Lo)}[to](t){vn(t)||(t===G.SOLIDUS||t===G.GREATER_THAN_SIGN||t===G.EOF?this._reconsumeInState(y3):t===G.EQUALS_SIGN?(this._err(Ae.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=m0):(this._createAttr(""),this._reconsumeInState(m0)))}[m0](t){vn(t)||t===G.SOLIDUS||t===G.GREATER_THAN_SIGN||t===G.EOF?(this._leaveAttrName(y3),this._unconsume()):t===G.EQUALS_SIGN?this._leaveAttrName(_3):Na(t)?this.currentAttr.name+=ks(t):t===G.QUOTATION_MARK||t===G.APOSTROPHE||t===G.LESS_THAN_SIGN?(this._err(Ae.unexpectedCharacterInAttributeName),this.currentAttr.name+=Mn(t)):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentAttr.name+=un.REPLACEMENT_CHARACTER):this.currentAttr.name+=Mn(t)}[y3](t){vn(t)||(t===G.SOLIDUS?this.state=Cs:t===G.EQUALS_SIGN?this.state=_3:t===G.GREATER_THAN_SIGN?(this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(m0)))}[_3](t){vn(t)||(t===G.QUOTATION_MARK?this.state=b0:t===G.APOSTROPHE?this.state=E0:t===G.GREATER_THAN_SIGN?(this._err(Ae.missingAttributeValue),this.state=Ot,this._emitCurrentToken()):this._reconsumeInState(v0))}[b0](t){t===G.QUOTATION_MARK?this.state=T3:t===G.AMPERSAND?(this.returnState=b0,this.state=Wu):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentAttr.value+=un.REPLACEMENT_CHARACTER):t===G.EOF?(this._err(Ae.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Mn(t)}[E0](t){t===G.APOSTROPHE?this.state=T3:t===G.AMPERSAND?(this.returnState=E0,this.state=Wu):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentAttr.value+=un.REPLACEMENT_CHARACTER):t===G.EOF?(this._err(Ae.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Mn(t)}[v0](t){vn(t)?this._leaveAttrValue(to):t===G.AMPERSAND?(this.returnState=v0,this.state=Wu):t===G.GREATER_THAN_SIGN?(this._leaveAttrValue(Ot),this._emitCurrentToken()):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentAttr.value+=un.REPLACEMENT_CHARACTER):t===G.QUOTATION_MARK||t===G.APOSTROPHE||t===G.LESS_THAN_SIGN||t===G.EQUALS_SIGN||t===G.GRAVE_ACCENT?(this._err(Ae.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=Mn(t)):t===G.EOF?(this._err(Ae.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Mn(t)}[T3](t){vn(t)?this._leaveAttrValue(to):t===G.SOLIDUS?this._leaveAttrValue(Cs):t===G.GREATER_THAN_SIGN?(this._leaveAttrValue(Ot),this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInTag),this._emitEOFToken()):(this._err(Ae.missingWhitespaceBetweenAttributes),this._reconsumeInState(to))}[Cs](t){t===G.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInTag),this._emitEOFToken()):(this._err(Ae.unexpectedSolidusInTag),this._reconsumeInState(to))}[jc](t){t===G.GREATER_THAN_SIGN?(this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._emitCurrentToken(),this._emitEOFToken()):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentToken.data+=un.REPLACEMENT_CHARACTER):this.currentToken.data+=Mn(t)}[lx](t){this._consumeSequenceIfMatch(Pl.DASH_DASH_STRING,t,!0)?(this._createCommentToken(),this.state=ux):this._consumeSequenceIfMatch(Pl.DOCTYPE_STRING,t,!1)?this.state=mx:this._consumeSequenceIfMatch(Pl.CDATA_START_STRING,t,!0)?this.allowCDATA?this.state=w0:(this._err(Ae.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=jc):this._ensureHibernation()||(this._err(Ae.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(jc))}[ux](t){t===G.HYPHEN_MINUS?this.state=cx:t===G.GREATER_THAN_SIGN?(this._err(Ae.abruptClosingOfEmptyComment),this.state=Ot,this._emitCurrentToken()):this._reconsumeInState(xs)}[cx](t){t===G.HYPHEN_MINUS?this.state=_0:t===G.GREATER_THAN_SIGN?(this._err(Ae.abruptClosingOfEmptyComment),this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(xs))}[xs](t){t===G.HYPHEN_MINUS?this.state=y0:t===G.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=dx):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentToken.data+=un.REPLACEMENT_CHARACTER):t===G.EOF?(this._err(Ae.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=Mn(t)}[dx](t){t===G.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=px):t===G.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(xs)}[px](t){t===G.HYPHEN_MINUS?this.state=fx:this._reconsumeInState(xs)}[fx](t){t===G.HYPHEN_MINUS?this.state=hx:this._reconsumeInState(y0)}[hx](t){t!==G.GREATER_THAN_SIGN&&t!==G.EOF&&this._err(Ae.nestedComment),this._reconsumeInState(_0)}[y0](t){t===G.HYPHEN_MINUS?this.state=_0:t===G.EOF?(this._err(Ae.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(xs))}[_0](t){t===G.GREATER_THAN_SIGN?(this.state=Ot,this._emitCurrentToken()):t===G.EXCLAMATION_MARK?this.state=gx:t===G.HYPHEN_MINUS?this.currentToken.data+="-":t===G.EOF?(this._err(Ae.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(xs))}[gx](t){t===G.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=y0):t===G.GREATER_THAN_SIGN?(this._err(Ae.incorrectlyClosedComment),this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(xs))}[mx](t){vn(t)?this.state=T0:t===G.GREATER_THAN_SIGN?this._reconsumeInState(T0):t===G.EOF?(this._err(Ae.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ae.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(T0))}[T0](t){vn(t)||(Na(t)?(this._createDoctypeToken(ks(t)),this.state=S0):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this._createDoctypeToken(un.REPLACEMENT_CHARACTER),this.state=S0):t===G.GREATER_THAN_SIGN?(this._err(Ae.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ot):t===G.EOF?(this._err(Ae.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(Mn(t)),this.state=S0))}[S0](t){vn(t)?this.state=bx:t===G.GREATER_THAN_SIGN?(this.state=Ot,this._emitCurrentToken()):Na(t)?this.currentToken.name+=ks(t):t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentToken.name+=un.REPLACEMENT_CHARACTER):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=Mn(t)}[bx](t){vn(t)||(t===G.GREATER_THAN_SIGN?(this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(Pl.PUBLIC_STRING,t,!1)?this.state=Ex:this._consumeSequenceIfMatch(Pl.SYSTEM_STRING,t,!1)?this.state=_x:this._ensureHibernation()||(this._err(Ae.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Mo)))}[Ex](t){vn(t)?this.state=vx:t===G.QUOTATION_MARK?(this._err(Ae.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=S3):t===G.APOSTROPHE?(this._err(Ae.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=w3):t===G.GREATER_THAN_SIGN?(this._err(Ae.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ae.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Mo))}[vx](t){vn(t)||(t===G.QUOTATION_MARK?(this.currentToken.publicId="",this.state=S3):t===G.APOSTROPHE?(this.currentToken.publicId="",this.state=w3):t===G.GREATER_THAN_SIGN?(this._err(Ae.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ae.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Mo)))}[S3](t){t===G.QUOTATION_MARK?this.state=A3:t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentToken.publicId+=un.REPLACEMENT_CHARACTER):t===G.GREATER_THAN_SIGN?(this._err(Ae.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ot):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Mn(t)}[w3](t){t===G.APOSTROPHE?this.state=A3:t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentToken.publicId+=un.REPLACEMENT_CHARACTER):t===G.GREATER_THAN_SIGN?(this._err(Ae.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ot):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Mn(t)}[A3](t){vn(t)?this.state=yx:t===G.GREATER_THAN_SIGN?(this.state=Ot,this._emitCurrentToken()):t===G.QUOTATION_MARK?(this._err(Ae.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Gc):t===G.APOSTROPHE?(this._err(Ae.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Vc):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ae.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Mo))}[yx](t){vn(t)||(t===G.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Ot):t===G.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Gc):t===G.APOSTROPHE?(this.currentToken.systemId="",this.state=Vc):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ae.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Mo)))}[_x](t){vn(t)?this.state=Tx:t===G.QUOTATION_MARK?(this._err(Ae.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Gc):t===G.APOSTROPHE?(this._err(Ae.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Vc):t===G.GREATER_THAN_SIGN?(this._err(Ae.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ae.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Mo))}[Tx](t){vn(t)||(t===G.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Gc):t===G.APOSTROPHE?(this.currentToken.systemId="",this.state=Vc):t===G.GREATER_THAN_SIGN?(this._err(Ae.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=Ot,this._emitCurrentToken()):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ae.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Mo)))}[Gc](t){t===G.QUOTATION_MARK?this.state=C3:t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentToken.systemId+=un.REPLACEMENT_CHARACTER):t===G.GREATER_THAN_SIGN?(this._err(Ae.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ot):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Mn(t)}[Vc](t){t===G.APOSTROPHE?this.state=C3:t===G.NULL?(this._err(Ae.unexpectedNullCharacter),this.currentToken.systemId+=un.REPLACEMENT_CHARACTER):t===G.GREATER_THAN_SIGN?(this._err(Ae.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ot):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Mn(t)}[C3](t){vn(t)||(t===G.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Ot):t===G.EOF?(this._err(Ae.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(Ae.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(Mo)))}[Mo](t){t===G.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Ot):t===G.NULL?this._err(Ae.unexpectedNullCharacter):t===G.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[w0](t){t===G.RIGHT_SQUARE_BRACKET?this.state=Sx:t===G.EOF?(this._err(Ae.eofInCdata),this._emitEOFToken()):this._emitCodePoint(t)}[Sx](t){t===G.RIGHT_SQUARE_BRACKET?this.state=wx:(this._emitChars("]"),this._reconsumeInState(w0))}[wx](t){t===G.GREATER_THAN_SIGN?this.state=Ot:t===G.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(w0))}[Wu](t){this.tempBuff=[G.AMPERSAND],t===G.NUMBER_SIGN?(this.tempBuff.push(t),this.state=xx):x3(t)?this._reconsumeInState(Ax):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Ax](t){const n=this._matchNamedCharacterReference(t);if(this._ensureHibernation())this.tempBuff=[G.AMPERSAND];else if(n){const r=this.tempBuff[this.tempBuff.length-1]===G.SEMICOLON;this._isCharacterReferenceAttributeQuirk(r)||(r||this._errOnNextCodePoint(Ae.missingSemicolonAfterCharacterReference),this.tempBuff=n),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=Cx}[Cx](t){x3(t)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=Mn(t):this._emitCodePoint(t):(t===G.SEMICOLON&&this._err(Ae.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[xx](t){this.charRefCode=0,t===G.LATIN_SMALL_X||t===G.LATIN_CAPITAL_X?(this.tempBuff.push(t),this.state=kx):this._reconsumeInState(Ix)}[kx](t){rne(t)?this._reconsumeInState(Rx):(this._err(Ae.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Ix](t){xd(t)?this._reconsumeInState(Nx):(this._err(Ae.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Rx](t){yL(t)?this.charRefCode=this.charRefCode*16+t-55:_L(t)?this.charRefCode=this.charRefCode*16+t-87:xd(t)?this.charRefCode=this.charRefCode*16+t-48:t===G.SEMICOLON?this.state=Wc:(this._err(Ae.missingSemicolonAfterCharacterReference),this._reconsumeInState(Wc))}[Nx](t){xd(t)?this.charRefCode=this.charRefCode*10+t-48:t===G.SEMICOLON?this.state=Wc:(this._err(Ae.missingSemicolonAfterCharacterReference),this._reconsumeInState(Wc))}[Wc](){if(this.charRefCode===G.NULL)this._err(Ae.nullCharacterReference),this.charRefCode=G.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(Ae.characterReferenceOutsideUnicodeRange),this.charRefCode=G.REPLACEMENT_CHARACTER;else if(un.isSurrogate(this.charRefCode))this._err(Ae.surrogateCharacterReference),this.charRefCode=G.REPLACEMENT_CHARACTER;else if(un.isUndefinedCodePoint(this.charRefCode))this._err(Ae.noncharacterCharacterReference);else if(un.isControlCodePoint(this.charRefCode)||this.charRefCode===G.CARRIAGE_RETURN){this._err(Ae.controlCharacterReference);const t=tne[this.charRefCode];t&&(this.charRefCode=t)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}};_a.CHARACTER_TOKEN="CHARACTER_TOKEN";_a.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";_a.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";_a.START_TAG_TOKEN="START_TAG_TOKEN";_a.END_TAG_TOKEN="END_TAG_TOKEN";_a.COMMENT_TOKEN="COMMENT_TOKEN";_a.DOCTYPE_TOKEN="DOCTYPE_TOKEN";_a.EOF_TOKEN="EOF_TOKEN";_a.HIBERNATION_TOKEN="HIBERNATION_TOKEN";_a.MODE={DATA:Ot,RCDATA:n1,RAWTEXT:cd,SCRIPT_DATA:Ho,PLAINTEXT:vL};_a.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null};var I2=_a,Wa={};const k3=Wa.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};Wa.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};Wa.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const $e=Wa.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};Wa.SPECIAL_ELEMENTS={[k3.HTML]:{[$e.ADDRESS]:!0,[$e.APPLET]:!0,[$e.AREA]:!0,[$e.ARTICLE]:!0,[$e.ASIDE]:!0,[$e.BASE]:!0,[$e.BASEFONT]:!0,[$e.BGSOUND]:!0,[$e.BLOCKQUOTE]:!0,[$e.BODY]:!0,[$e.BR]:!0,[$e.BUTTON]:!0,[$e.CAPTION]:!0,[$e.CENTER]:!0,[$e.COL]:!0,[$e.COLGROUP]:!0,[$e.DD]:!0,[$e.DETAILS]:!0,[$e.DIR]:!0,[$e.DIV]:!0,[$e.DL]:!0,[$e.DT]:!0,[$e.EMBED]:!0,[$e.FIELDSET]:!0,[$e.FIGCAPTION]:!0,[$e.FIGURE]:!0,[$e.FOOTER]:!0,[$e.FORM]:!0,[$e.FRAME]:!0,[$e.FRAMESET]:!0,[$e.H1]:!0,[$e.H2]:!0,[$e.H3]:!0,[$e.H4]:!0,[$e.H5]:!0,[$e.H6]:!0,[$e.HEAD]:!0,[$e.HEADER]:!0,[$e.HGROUP]:!0,[$e.HR]:!0,[$e.HTML]:!0,[$e.IFRAME]:!0,[$e.IMG]:!0,[$e.INPUT]:!0,[$e.LI]:!0,[$e.LINK]:!0,[$e.LISTING]:!0,[$e.MAIN]:!0,[$e.MARQUEE]:!0,[$e.MENU]:!0,[$e.META]:!0,[$e.NAV]:!0,[$e.NOEMBED]:!0,[$e.NOFRAMES]:!0,[$e.NOSCRIPT]:!0,[$e.OBJECT]:!0,[$e.OL]:!0,[$e.P]:!0,[$e.PARAM]:!0,[$e.PLAINTEXT]:!0,[$e.PRE]:!0,[$e.SCRIPT]:!0,[$e.SECTION]:!0,[$e.SELECT]:!0,[$e.SOURCE]:!0,[$e.STYLE]:!0,[$e.SUMMARY]:!0,[$e.TABLE]:!0,[$e.TBODY]:!0,[$e.TD]:!0,[$e.TEMPLATE]:!0,[$e.TEXTAREA]:!0,[$e.TFOOT]:!0,[$e.TH]:!0,[$e.THEAD]:!0,[$e.TITLE]:!0,[$e.TR]:!0,[$e.TRACK]:!0,[$e.UL]:!0,[$e.WBR]:!0,[$e.XMP]:!0},[k3.MATHML]:{[$e.MI]:!0,[$e.MO]:!0,[$e.MN]:!0,[$e.MS]:!0,[$e.MTEXT]:!0,[$e.ANNOTATION_XML]:!0},[k3.SVG]:{[$e.TITLE]:!0,[$e.FOREIGN_OBJECT]:!0,[$e.DESC]:!0}};const TL=Wa,je=TL.TAG_NAMES,cn=TL.NAMESPACES;function Dx(e){switch(e.length){case 1:return e===je.P;case 2:return e===je.RB||e===je.RP||e===je.RT||e===je.DD||e===je.DT||e===je.LI;case 3:return e===je.RTC;case 6:return e===je.OPTION;case 8:return e===je.OPTGROUP}return!1}function ine(e){switch(e.length){case 1:return e===je.P;case 2:return e===je.RB||e===je.RP||e===je.RT||e===je.DD||e===je.DT||e===je.LI||e===je.TD||e===je.TH||e===je.TR;case 3:return e===je.RTC;case 5:return e===je.TBODY||e===je.TFOOT||e===je.THEAD;case 6:return e===je.OPTION;case 7:return e===je.CAPTION;case 8:return e===je.OPTGROUP||e===je.COLGROUP}return!1}function A0(e,t){switch(e.length){case 2:if(e===je.TD||e===je.TH)return t===cn.HTML;if(e===je.MI||e===je.MO||e===je.MN||e===je.MS)return t===cn.MATHML;break;case 4:if(e===je.HTML)return t===cn.HTML;if(e===je.DESC)return t===cn.SVG;break;case 5:if(e===je.TABLE)return t===cn.HTML;if(e===je.MTEXT)return t===cn.MATHML;if(e===je.TITLE)return t===cn.SVG;break;case 6:return(e===je.APPLET||e===je.OBJECT)&&t===cn.HTML;case 7:return(e===je.CAPTION||e===je.MARQUEE)&&t===cn.HTML;case 8:return e===je.TEMPLATE&&t===cn.HTML;case 13:return e===je.FOREIGN_OBJECT&&t===cn.SVG;case 14:return e===je.ANNOTATION_XML&&t===cn.MATHML}return!1}let ane=class{constructor(t,n){this.stackTop=-1,this.items=[],this.current=t,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=n}_indexOf(t){let n=-1;for(let r=this.stackTop;r>=0;r--)if(this.items[r]===t){n=r;break}return n}_isInTemplate(){return this.currentTagName===je.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===cn.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(t){this.items[++this.stackTop]=t,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&this._updateCurrentElement()}insertAfter(t,n){const r=this._indexOf(t)+1;this.items.splice(r,0,n),r===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(t){for(;this.stackTop>-1;){const n=this.currentTagName,r=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),n===t&&r===cn.HTML)break}}popUntilElementPopped(t){for(;this.stackTop>-1;){const n=this.current;if(this.pop(),n===t)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===je.H1||t===je.H2||t===je.H3||t===je.H4||t===je.H5||t===je.H6&&n===cn.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===je.TD||t===je.TH&&n===cn.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==je.TABLE&&this.currentTagName!==je.TEMPLATE&&this.currentTagName!==je.HTML||this.treeAdapter.getNamespaceURI(this.current)!==cn.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==je.TBODY&&this.currentTagName!==je.TFOOT&&this.currentTagName!==je.THEAD&&this.currentTagName!==je.TEMPLATE&&this.currentTagName!==je.HTML||this.treeAdapter.getNamespaceURI(this.current)!==cn.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==je.TR&&this.currentTagName!==je.TEMPLATE&&this.currentTagName!==je.HTML||this.treeAdapter.getNamespaceURI(this.current)!==cn.HTML;)this.pop()}remove(t){for(let n=this.stackTop;n>=0;n--)if(this.items[n]===t){this.items.splice(n,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const t=this.items[1];return t&&this.treeAdapter.getTagName(t)===je.BODY?t:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){let n=this._indexOf(t);return--n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===je.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===cn.HTML)return!0;if(A0(r,i))return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if((n===je.H1||n===je.H2||n===je.H3||n===je.H4||n===je.H5||n===je.H6)&&r===cn.HTML)return!0;if(A0(n,r))return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===cn.HTML)return!0;if((r===je.UL||r===je.OL)&&i===cn.HTML||A0(r,i))return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===cn.HTML)return!0;if(r===je.BUTTON&&i===cn.HTML||A0(r,i))return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===cn.HTML){if(r===t)return!0;if(r===je.TABLE||r===je.TEMPLATE||r===je.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===cn.HTML){if(n===je.TBODY||n===je.THEAD||n===je.TFOOT)return!0;if(n===je.TABLE||n===je.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===cn.HTML){if(r===t)return!0;if(r!==je.OPTION&&r!==je.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Dx(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ine(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;Dx(this.currentTagName)&&this.currentTagName!==t;)this.pop()}};var one=ane;const C0=3;let VE=class Os{constructor(t){this.length=0,this.entries=[],this.treeAdapter=t,this.bookmark=null}_getNoahArkConditionCandidates(t){const n=[];if(this.length>=C0){const r=this.treeAdapter.getAttrList(t).length,i=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=this.length-1;o>=0;o--){const s=this.entries[o];if(s.type===Os.MARKER_ENTRY)break;const u=s.element,c=this.treeAdapter.getAttrList(u);this.treeAdapter.getTagName(u)===i&&this.treeAdapter.getNamespaceURI(u)===a&&c.length===r&&n.push({idx:o,attrs:c})}}return n.length=C0-1;s--)this.entries.splice(n[s].idx,1),this.length--}}insertMarker(){this.entries.push({type:Os.MARKER_ENTRY}),this.length++}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:Os.ELEMENT_ENTRY,element:t,token:n}),this.length++}insertElementAfterBookmark(t,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:Os.ELEMENT_ENTRY,element:t,token:n}),this.length++}removeEntry(t){for(let n=this.length-1;n>=0;n--)if(this.entries[n]===t){this.entries.splice(n,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const t=this.entries.pop();if(this.length--,t.type===Os.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===Os.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}getElementEntry(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===Os.ELEMENT_ENTRY&&r.element===t)return r}return null}};VE.MARKER_ENTRY="MARKER_ENTRY";VE.ELEMENT_ENTRY="ELEMENT_ENTRY";var sne=VE;let SL=class{constructor(t){const n={},r=this._getOverriddenMethods(this,n);for(const i of Object.keys(r))typeof r[i]=="function"&&(n[i]=t[i],t[i]=r[i])}_getOverriddenMethods(){throw new Error("Not implemented")}};SL.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let i=0;i{const a=I3.MODE[i];r[a]=function(o){t.ctLoc=t._getCurrentLocation(),n[a].call(this,o)}}),r}};var AL=dne;const pne=ls;let fne=class extends pne{constructor(t,n){super(t),this.onItemPop=n.onItemPop}_getOverriddenMethods(t,n){return{pop(){t.onItemPop(this.current),n.pop.call(this)},popAllUpToHtmlElement(){for(let r=this.stackTop;r>0;r--)t.onItemPop(this.items[r]);n.popAllUpToHtmlElement.call(this)},remove(r){t.onItemPop(this.current),n.remove.call(this,r)}}}};var hne=fne;const R3=ls,Mx=I2,gne=AL,mne=hne,bne=Wa,N3=bne.TAG_NAMES;let Ene=class extends R3{constructor(t){super(t),this.parser=t,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(t){let n=null;this.lastStartTagToken&&(n=Object.assign({},this.lastStartTagToken.location),n.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(t,n)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const i=n.location,a=this.treeAdapter.getTagName(t),o=n.type===Mx.END_TAG_TOKEN&&a===n.tagName,s={};o?(s.endTag=Object.assign({},i),s.endLine=i.endLine,s.endCol=i.endCol,s.endOffset=i.endOffset):(s.endLine=i.startLine,s.endCol=i.startCol,s.endOffset=i.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}_getOverriddenMethods(t,n){return{_bootstrap(r,i){n._bootstrap.call(this,r,i),t.lastStartTagToken=null,t.lastFosterParentingLocation=null,t.currentToken=null;const a=R3.install(this.tokenizer,gne);t.posTracker=a.posTracker,R3.install(this.openElements,mne,{onItemPop:function(o){t._setEndLocation(o,t.currentToken)}})},_runParsingLoop(r){n._runParsingLoop.call(this,r);for(let i=this.openElements.stackTop;i>=0;i--)t._setEndLocation(this.openElements.items[i],t.currentToken)},_processTokenInForeignContent(r){t.currentToken=r,n._processTokenInForeignContent.call(this,r)},_processToken(r){if(t.currentToken=r,n._processToken.call(this,r),r.type===Mx.END_TAG_TOKEN&&(r.tagName===N3.HTML||r.tagName===N3.BODY&&this.openElements.hasInScope(N3.BODY)))for(let a=this.openElements.stackTop;a>=0;a--){const o=this.openElements.items[a];if(this.treeAdapter.getTagName(o)===r.tagName){t._setEndLocation(o,r);break}}},_setDocumentType(r){n._setDocumentType.call(this,r);const i=this.treeAdapter.getChildNodes(this.document),a=i.length;for(let o=0;o(Object.keys(i).forEach(a=>{r[a]=i[a]}),r),Object.create(null))},R2={};const{DOCUMENT_MODE:qu}=Wa,kL="html",$ne="about:legacy-compat",zne="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",IL=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Hne=IL.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),jne=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],RL=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Gne=RL.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function Px(e){const t=e.indexOf('"')!==-1?"'":'"';return t+e+t}function Bx(e,t){for(let n=0;n-1)return qu.QUIRKS;let r=t===null?Hne:IL;if(Bx(n,r))return qu.QUIRKS;if(r=t===null?RL:Gne,Bx(n,r))return qu.LIMITED_QUIRKS}return qu.NO_QUIRKS};R2.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+Px(t):n&&(r+=" SYSTEM"),n!==null&&(r+=" "+Px(n)),r};var _l={};const O3=I2,qE=Wa,ft=qE.TAG_NAMES,vr=qE.NAMESPACES,dh=qE.ATTRS,Ux={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Vne="definitionurl",Wne="definitionURL",qne={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},Kne={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:vr.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:vr.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:vr.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:vr.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:vr.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:vr.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:vr.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:vr.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:vr.XML},"xml:space":{prefix:"xml",name:"space",namespace:vr.XML},xmlns:{prefix:"",name:"xmlns",namespace:vr.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:vr.XMLNS}},Yne=_l.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},Xne={[ft.B]:!0,[ft.BIG]:!0,[ft.BLOCKQUOTE]:!0,[ft.BODY]:!0,[ft.BR]:!0,[ft.CENTER]:!0,[ft.CODE]:!0,[ft.DD]:!0,[ft.DIV]:!0,[ft.DL]:!0,[ft.DT]:!0,[ft.EM]:!0,[ft.EMBED]:!0,[ft.H1]:!0,[ft.H2]:!0,[ft.H3]:!0,[ft.H4]:!0,[ft.H5]:!0,[ft.H6]:!0,[ft.HEAD]:!0,[ft.HR]:!0,[ft.I]:!0,[ft.IMG]:!0,[ft.LI]:!0,[ft.LISTING]:!0,[ft.MENU]:!0,[ft.META]:!0,[ft.NOBR]:!0,[ft.OL]:!0,[ft.P]:!0,[ft.PRE]:!0,[ft.RUBY]:!0,[ft.S]:!0,[ft.SMALL]:!0,[ft.SPAN]:!0,[ft.STRONG]:!0,[ft.STRIKE]:!0,[ft.SUB]:!0,[ft.SUP]:!0,[ft.TABLE]:!0,[ft.TT]:!0,[ft.U]:!0,[ft.UL]:!0,[ft.VAR]:!0};_l.causesExit=function(e){const t=e.tagName;return t===ft.FONT&&(O3.getTokenAttr(e,dh.COLOR)!==null||O3.getTokenAttr(e,dh.SIZE)!==null||O3.getTokenAttr(e,dh.FACE)!==null)?!0:Xne[t]};_l.adjustTokenMathMLAttrs=function(e){for(let t=0;t0);for(let i=n;i=0;t--){let r=this.openElements.items[t];t===0&&(n=!0,this.fragmentContext&&(r=this.fragmentContext));const i=this.treeAdapter.getTagName(r),a=lre[i];if(a){this.insertionMode=a;break}else if(!n&&(i===S.TD||i===S.TH)){this.insertionMode=L2;break}else if(!n&&i===S.HEAD){this.insertionMode=uc;break}else if(i===S.SELECT){this._resetInsertionModeForSelect(t);break}else if(i===S.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(i===S.HTML){this.insertionMode=this.headElement?O2:N2;break}else if(n){this.insertionMode=mo;break}}}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r);if(i===S.TEMPLATE)break;if(i===S.TABLE){this.insertionMode=XE;return}}this.insertionMode=YE}_pushTmplInsertionMode(t){this.tmplInsertionModeStack.push(t),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=t}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(t){const n=this.treeAdapter.getTagName(t);return n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const t={parent:null,beforeElement:null};for(let n=this.openElements.stackTop;n>=0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r),a=this.treeAdapter.getNamespaceURI(r);if(i===S.TEMPLATE&&a===rt.HTML){t.parent=this.treeAdapter.getTemplateContent(r);break}else if(i===S.TABLE){t.parent=this.treeAdapter.getParentNode(r),t.parent?t.beforeElement=r:t.parent=this.openElements.items[n-1];break}}return t.parent||(t.parent=this.openElements.items[0]),t}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_fosterParentText(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertTextBefore(n.parent,t,n.beforeElement):this.treeAdapter.insertText(n.parent,t)}_isSpecialElement(t){const n=this.treeAdapter.getTagName(t),r=this.treeAdapter.getNamespaceURI(t);return Su.SPECIAL_ELEMENTS[r][n]}}var dre=cre;function pre(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Oa(e,t),n}function fre(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function hre(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);const s=e.activeFormattingElements.getElementEntry(o),u=s&&a>=sre;!s||u?(u&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=gre(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function gre(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function mre(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===S.TEMPLATE&&i===rt.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function bre(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a)}function Fs(e,t){let n;for(let r=0;r0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==S.TEMPLATE&&e._err(Ar.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(Ar.endTagWithoutMatchingOpenElement)}function Rd(e,t){e.openElements.pop(),e.insertionMode=O2,e._processToken(t)}function wre(e,t){const n=t.tagName;n===S.HTML?yi(e,t):n===S.BASEFONT||n===S.BGSOUND||n===S.HEAD||n===S.LINK||n===S.META||n===S.NOFRAMES||n===S.STYLE?cr(e,t):n===S.NOSCRIPT?e._err(Ar.nestedNoscriptInHead):Nd(e,t)}function Are(e,t){const n=t.tagName;n===S.NOSCRIPT?(e.openElements.pop(),e.insertionMode=uc):n===S.BR?Nd(e,t):e._err(Ar.endTagWithoutMatchingOpenElement)}function Nd(e,t){const n=t.type===q.EOF_TOKEN?Ar.openElementsLeftAfterEof:Ar.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=uc,e._processToken(t)}function Cre(e,t){const n=t.tagName;n===S.HTML?yi(e,t):n===S.BODY?(e._insertElement(t,rt.HTML),e.framesetOk=!1,e.insertionMode=mo):n===S.FRAMESET?(e._insertElement(t,rt.HTML),e.insertionMode=M2):n===S.BASE||n===S.BASEFONT||n===S.BGSOUND||n===S.LINK||n===S.META||n===S.NOFRAMES||n===S.SCRIPT||n===S.STYLE||n===S.TEMPLATE||n===S.TITLE?(e._err(Ar.abandonedHeadElementChild),e.openElements.push(e.headElement),cr(e,t),e.openElements.remove(e.headElement)):n===S.HEAD?e._err(Ar.misplacedStartTagForHeadElement):Od(e,t)}function xre(e,t){const n=t.tagName;n===S.BODY||n===S.HTML||n===S.BR?Od(e,t):n===S.TEMPLATE?wu(e,t):e._err(Ar.endTagWithoutMatchingOpenElement)}function Od(e,t){e._insertFakeElement(S.BODY),e.insertionMode=mo,e._processToken(t)}function Bl(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function k0(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function kre(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Ire(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Rre(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,rt.HTML),e.insertionMode=M2)}function Fo(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,rt.HTML)}function Nre(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement();const n=e.openElements.currentTagName;(n===S.H1||n===S.H2||n===S.H3||n===S.H4||n===S.H5||n===S.H6)&&e.openElements.pop(),e._insertElement(t,rt.HTML)}function Vx(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,rt.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Ore(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,rt.HTML),n||(e.formElement=e.openElements.current))}function Dre(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r],a=e.treeAdapter.getTagName(i);let o=null;if(n===S.LI&&a===S.LI?o=S.LI:(n===S.DD||n===S.DT)&&(a===S.DD||a===S.DT)&&(o=a),o){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.popUntilTagNamePopped(o);break}if(a!==S.ADDRESS&&a!==S.DIV&&a!==S.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,rt.HTML)}function Lre(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,rt.HTML),e.tokenizer.state=q.MODE.PLAINTEXT}function Mre(e,t){e.openElements.hasInScope(S.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(S.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,rt.HTML),e.framesetOk=!1}function Fre(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(S.A);n&&(Fs(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,rt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ku(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,rt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Pre(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(S.NOBR)&&(Fs(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,rt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Wx(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,rt.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Bre(e,t){e.treeAdapter.getDocumentMode(e.document)!==Su.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,rt.HTML),e.framesetOk=!1,e.insertionMode=Ur}function r1(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,rt.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ure(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,rt.HTML);const n=q.getTokenAttr(t,NL.TYPE);(!n||n.toLowerCase()!==OL)&&(e.framesetOk=!1),t.ackSelfClosing=!0}function qx(e,t){e._appendElement(t,rt.HTML),t.ackSelfClosing=!0}function $re(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._appendElement(t,rt.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function zre(e,t){t.tagName=S.IMG,r1(e,t)}function Hre(e,t){e._insertElement(t,rt.HTML),e.skipNextNewLine=!0,e.tokenizer.state=q.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=sg}function jre(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,q.MODE.RAWTEXT)}function Gre(e,t){e.framesetOk=!1,e._switchToTextParsing(t,q.MODE.RAWTEXT)}function Kx(e,t){e._switchToTextParsing(t,q.MODE.RAWTEXT)}function Vre(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,rt.HTML),e.framesetOk=!1,e.insertionMode===Ur||e.insertionMode===D2||e.insertionMode===pa||e.insertionMode===rs||e.insertionMode===L2?e.insertionMode=XE:e.insertionMode=YE}function Yx(e,t){e.openElements.currentTagName===S.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,rt.HTML)}function Xx(e,t){e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,rt.HTML)}function Wre(e,t){e.openElements.hasInScope(S.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(S.RTC),e._insertElement(t,rt.HTML)}function qre(e,t){e.openElements.hasInButtonScope(S.P)&&e._closePElement(),e._insertElement(t,rt.HTML)}function Kre(e,t){e._reconstructActiveFormattingElements(),uo.adjustTokenMathMLAttrs(t),uo.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,rt.MATHML):e._insertElement(t,rt.MATHML),t.ackSelfClosing=!0}function Yre(e,t){e._reconstructActiveFormattingElements(),uo.adjustTokenSVGAttrs(t),uo.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,rt.SVG):e._insertElement(t,rt.SVG),t.ackSelfClosing=!0}function ta(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,rt.HTML)}function yi(e,t){const n=t.tagName;switch(n.length){case 1:n===S.I||n===S.S||n===S.B||n===S.U?Ku(e,t):n===S.P?Fo(e,t):n===S.A?Fre(e,t):ta(e,t);break;case 2:n===S.DL||n===S.OL||n===S.UL?Fo(e,t):n===S.H1||n===S.H2||n===S.H3||n===S.H4||n===S.H5||n===S.H6?Nre(e,t):n===S.LI||n===S.DD||n===S.DT?Dre(e,t):n===S.EM||n===S.TT?Ku(e,t):n===S.BR?r1(e,t):n===S.HR?$re(e,t):n===S.RB?Xx(e,t):n===S.RT||n===S.RP?Wre(e,t):n!==S.TH&&n!==S.TD&&n!==S.TR&&ta(e,t);break;case 3:n===S.DIV||n===S.DIR||n===S.NAV?Fo(e,t):n===S.PRE?Vx(e,t):n===S.BIG?Ku(e,t):n===S.IMG||n===S.WBR?r1(e,t):n===S.XMP?jre(e,t):n===S.SVG?Yre(e,t):n===S.RTC?Xx(e,t):n!==S.COL&&ta(e,t);break;case 4:n===S.HTML?kre(e,t):n===S.BASE||n===S.LINK||n===S.META?cr(e,t):n===S.BODY?Ire(e,t):n===S.MAIN||n===S.MENU?Fo(e,t):n===S.FORM?Ore(e,t):n===S.CODE||n===S.FONT?Ku(e,t):n===S.NOBR?Pre(e,t):n===S.AREA?r1(e,t):n===S.MATH?Kre(e,t):n===S.MENU?qre(e,t):n!==S.HEAD&&ta(e,t);break;case 5:n===S.STYLE||n===S.TITLE?cr(e,t):n===S.ASIDE?Fo(e,t):n===S.SMALL?Ku(e,t):n===S.TABLE?Bre(e,t):n===S.EMBED?r1(e,t):n===S.INPUT?Ure(e,t):n===S.PARAM||n===S.TRACK?qx(e,t):n===S.IMAGE?zre(e,t):n!==S.FRAME&&n!==S.TBODY&&n!==S.TFOOT&&n!==S.THEAD&&ta(e,t);break;case 6:n===S.SCRIPT?cr(e,t):n===S.CENTER||n===S.FIGURE||n===S.FOOTER||n===S.HEADER||n===S.HGROUP||n===S.DIALOG?Fo(e,t):n===S.BUTTON?Mre(e,t):n===S.STRIKE||n===S.STRONG?Ku(e,t):n===S.APPLET||n===S.OBJECT?Wx(e,t):n===S.KEYGEN?r1(e,t):n===S.SOURCE?qx(e,t):n===S.IFRAME?Gre(e,t):n===S.SELECT?Vre(e,t):n===S.OPTION?Yx(e,t):ta(e,t);break;case 7:n===S.BGSOUND?cr(e,t):n===S.DETAILS||n===S.ADDRESS||n===S.ARTICLE||n===S.SECTION||n===S.SUMMARY?Fo(e,t):n===S.LISTING?Vx(e,t):n===S.MARQUEE?Wx(e,t):n===S.NOEMBED?Kx(e,t):n!==S.CAPTION&&ta(e,t);break;case 8:n===S.BASEFONT?cr(e,t):n===S.FRAMESET?Rre(e,t):n===S.FIELDSET?Fo(e,t):n===S.TEXTAREA?Hre(e,t):n===S.TEMPLATE?cr(e,t):n===S.NOSCRIPT?e.options.scriptingEnabled?Kx(e,t):ta(e,t):n===S.OPTGROUP?Yx(e,t):n!==S.COLGROUP&&ta(e,t);break;case 9:n===S.PLAINTEXT?Lre(e,t):ta(e,t);break;case 10:n===S.BLOCKQUOTE||n===S.FIGCAPTION?Fo(e,t):ta(e,t);break;default:ta(e,t)}}function Xre(e){e.openElements.hasInScope(S.BODY)&&(e.insertionMode=ZE)}function Zre(e,t){e.openElements.hasInScope(S.BODY)&&(e.insertionMode=ZE,e._processToken(t))}function Is(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Qre(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(S.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(S.FORM):e.openElements.remove(n))}function Jre(e){e.openElements.hasInButtonScope(S.P)||e._insertFakeElement(S.P),e._closePElement()}function eie(e){e.openElements.hasInListItemScope(S.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(S.LI),e.openElements.popUntilTagNamePopped(S.LI))}function tie(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function nie(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Zx(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function rie(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(S.BR),e.openElements.pop(),e.framesetOk=!1}function Oa(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const i=e.openElements.items[r];if(e.treeAdapter.getTagName(i)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function QE(e,t){const n=t.tagName;switch(n.length){case 1:n===S.A||n===S.B||n===S.I||n===S.S||n===S.U?Fs(e,t):n===S.P?Jre(e):Oa(e,t);break;case 2:n===S.DL||n===S.UL||n===S.OL?Is(e,t):n===S.LI?eie(e):n===S.DD||n===S.DT?tie(e,t):n===S.H1||n===S.H2||n===S.H3||n===S.H4||n===S.H5||n===S.H6?nie(e):n===S.BR?rie(e):n===S.EM||n===S.TT?Fs(e,t):Oa(e,t);break;case 3:n===S.BIG?Fs(e,t):n===S.DIR||n===S.DIV||n===S.NAV||n===S.PRE?Is(e,t):Oa(e,t);break;case 4:n===S.BODY?Xre(e):n===S.HTML?Zre(e,t):n===S.FORM?Qre(e):n===S.CODE||n===S.FONT||n===S.NOBR?Fs(e,t):n===S.MAIN||n===S.MENU?Is(e,t):Oa(e,t);break;case 5:n===S.ASIDE?Is(e,t):n===S.SMALL?Fs(e,t):Oa(e,t);break;case 6:n===S.CENTER||n===S.FIGURE||n===S.FOOTER||n===S.HEADER||n===S.HGROUP||n===S.DIALOG?Is(e,t):n===S.APPLET||n===S.OBJECT?Zx(e,t):n===S.STRIKE||n===S.STRONG?Fs(e,t):Oa(e,t);break;case 7:n===S.ADDRESS||n===S.ARTICLE||n===S.DETAILS||n===S.SECTION||n===S.SUMMARY||n===S.LISTING?Is(e,t):n===S.MARQUEE?Zx(e,t):Oa(e,t);break;case 8:n===S.FIELDSET?Is(e,t):n===S.TEMPLATE?wu(e,t):Oa(e,t);break;case 10:n===S.BLOCKQUOTE||n===S.FIGCAPTION?Is(e,t):Oa(e,t);break;default:Oa(e,t)}}function Po(e,t){e.tmplInsertionModeStackTop>-1?zL(e,t):e.stopped=!0}function iie(e,t){t.tagName===S.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function aie(e,t){e._err(Ar.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Bo(e,t){const n=e.openElements.currentTagName;n===S.TABLE||n===S.TBODY||n===S.TFOOT||n===S.THEAD||n===S.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=ML,e._processToken(t)):na(e,t)}function oie(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,rt.HTML),e.insertionMode=D2}function sie(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,rt.HTML),e.insertionMode=Np}function lie(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(S.COLGROUP),e.insertionMode=Np,e._processToken(t)}function uie(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,rt.HTML),e.insertionMode=pa}function cie(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(S.TBODY),e.insertionMode=pa,e._processToken(t)}function die(e,t){e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode(),e._processToken(t))}function pie(e,t){const n=q.getTokenAttr(t,NL.TYPE);n&&n.toLowerCase()===OL?e._appendElement(t,rt.HTML):na(e,t),t.ackSelfClosing=!0}function fie(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,rt.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function JE(e,t){const n=t.tagName;switch(n.length){case 2:n===S.TD||n===S.TH||n===S.TR?cie(e,t):na(e,t);break;case 3:n===S.COL?lie(e,t):na(e,t);break;case 4:n===S.FORM?fie(e,t):na(e,t);break;case 5:n===S.TABLE?die(e,t):n===S.STYLE?cr(e,t):n===S.TBODY||n===S.TFOOT||n===S.THEAD?uie(e,t):n===S.INPUT?pie(e,t):na(e,t);break;case 6:n===S.SCRIPT?cr(e,t):na(e,t);break;case 7:n===S.CAPTION?oie(e,t):na(e,t);break;case 8:n===S.COLGROUP?sie(e,t):n===S.TEMPLATE?cr(e,t):na(e,t);break;default:na(e,t)}}function ev(e,t){const n=t.tagName;n===S.TABLE?e.openElements.hasInTableScope(S.TABLE)&&(e.openElements.popUntilTagNamePopped(S.TABLE),e._resetInsertionMode()):n===S.TEMPLATE?wu(e,t):n!==S.BODY&&n!==S.CAPTION&&n!==S.COL&&n!==S.COLGROUP&&n!==S.HTML&&n!==S.TBODY&&n!==S.TD&&n!==S.TFOOT&&n!==S.TH&&n!==S.THEAD&&n!==S.TR&&na(e,t)}function na(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function hie(e,t){e.pendingCharacterTokens.push(t)}function gie(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Yc(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0?(e.openElements.popUntilTagNamePopped(S.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Rie(e,t){t.tagName===S.HTML?yi(e,t):cg(e,t)}function Nie(e,t){t.tagName===S.HTML?e.fragmentContext||(e.insertionMode=PL):cg(e,t)}function cg(e,t){e.insertionMode=mo,e._processToken(t)}function Oie(e,t){const n=t.tagName;n===S.HTML?yi(e,t):n===S.FRAMESET?e._insertElement(t,rt.HTML):n===S.FRAME?(e._appendElement(t,rt.HTML),t.ackSelfClosing=!0):n===S.NOFRAMES&&cr(e,t)}function Die(e,t){t.tagName===S.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagName!==S.FRAMESET&&(e.insertionMode=FL))}function Lie(e,t){const n=t.tagName;n===S.HTML?yi(e,t):n===S.NOFRAMES&&cr(e,t)}function Mie(e,t){t.tagName===S.HTML&&(e.insertionMode=BL)}function Fie(e,t){t.tagName===S.HTML?yi(e,t):ph(e,t)}function ph(e,t){e.insertionMode=mo,e._processToken(t)}function Pie(e,t){const n=t.tagName;n===S.HTML?yi(e,t):n===S.NOFRAMES&&cr(e,t)}function Bie(e,t){t.chars=ire.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function Uie(e,t){e._insertCharacters(t),e.framesetOk=!1}function $ie(e,t){if(uo.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==rt.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===rt.MATHML?uo.adjustTokenMathMLAttrs(t):r===rt.SVG&&(uo.adjustTokenSVGTagName(t),uo.adjustTokenSVGAttrs(t)),uo.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function zie(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===rt.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}const Hie=Hi(dre),Qx=/[#.]/g;function jie(e,t){const n=e||"",r={};let i=0,a,o;for(;i-1&&oo)return{line:s+1,column:o-(s>0?n[s-1]:0)+1,offset:o}}return{line:void 0,column:void 0,offset:void 0}}function a(o){const s=o&&o.line,u=o&&o.column;if(typeof s=="number"&&typeof u=="number"&&!Number.isNaN(s)&&!Number.isNaN(u)&&s-1 in n){const c=(n[s-2]||0)+u-1||0;if(c>-1&&c{const P=R;if(P.value.stitch&&W!==null&&B!==null)return W.children[B]=P.value.stitch,B}),e.type!=="root"&&f.type==="root"&&f.children.length===1)return f.children[0];return f;function m(){const R={nodeName:"template",tagName:"template",attrs:[],namespaceURI:up.html,childNodes:[]},B={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:up.html,childNodes:[]},W={nodeName:"#document-fragment",childNodes:[]};if(i._bootstrap(B,R),i._pushTmplInsertionMode(hae),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),s=i.tokenizer,!s)throw new Error("Expected `tokenizer`");return u=s.preprocessor,p=s.__mixins[0],c=p.posTracker,a(e),k(),i._adoptNodes(B.childNodes[0],W),W}function g(){const R=i.treeAdapter.createDocument();if(i._bootstrap(R,void 0),s=i.tokenizer,!s)throw new Error("Expected `tokenizer`");return u=s.preprocessor,p=s.__mixins[0],c=p.posTracker,a(e),k(),R}function E(R){let B=-1;if(R)for(;++BWL(t,n,e)}const Iae=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Rae=Object.hasOwnProperty;class Nae{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let i=Oae(t,n===!0);const a=i;for(;Rae.call(r.occurrences,i);)r.occurrences[a]++,i=a+"-"+r.occurrences[a];return r.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}}function Oae(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(Iae,"").replace(/ /g,"-"))}const Dae={}.hasOwnProperty;function Hr(e,t){const n=typeof t=="string"&&Lae(e)&&e.type==="element"&&e.properties&&Dae.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}function Lae(e){return!!(e&&typeof e=="object"&&"type"in e)}function qL(e){const t=e&&e.type==="element"&&e.tagName.toLowerCase()||"",n=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return n>48&&n<55?n-48:null}function T1(e){return"children"in e?KL(e):"value"in e?e.value:""}function Mae(e){return e.type==="text"?e.value:"children"in e?KL(e):""}function KL(e){let t=-1;const n=[];for(;++t{nk.reset(),Ui(n,"element",r=>{qL(r)&&r.properties&&!Hr(r,"id")&&(r.properties.id=t+nk.slug(T1(r)))})}}const YL=function(e){if(e==null)return rv;if(typeof e=="string")return Bae(e);if(typeof e=="object")return Pae(e);if(typeof e=="function")return XL(e);throw new Error("Expected function, string, or array as test")};function Pae(e){const t=[];let n=-1;for(;++n{Ui(g,"element",(E,b,T)=>{if(qL(E)&&Hr(E,"id")&&a(E,b,T))return o(E,b,T)})};function s(g){return g.children[n==="prepend"?"unshift":"push"](m(g,v1(!0,{},t),p(r,g))),[Cd]}function u(g,E,b){if(typeof E!="number"||!b)return;const T=m(g,v1(!0,{},t),p(r,g));let v=n==="before"?[T,g]:[g,T];if(i){const y=f(i,g);y&&!Array.isArray(y)&&y.type==="element"&&(y.children=v,v=[y])}return b.children.splice(E,1,...v),[Cd,E+v.length]}function c(g){return g.children=[m(g,v1(!0,{},t),g.children)],[Cd]}function p(g,E){const b=f(g,E);return Array.isArray(b)?b:[b]}function f(g,E){return typeof g=="function"?g(E):v1(!0,Array.isArray(g)?[]:{},g)}function m(g,E,b){return{type:"element",tagName:"a",properties:Object.assign({},E,{href:"#"+(g.properties||{}).id}),children:b}}}const zae=(e="")=>(e.match(/([^?=&]+)(=([^&]*))/g)||[]).reduce((t,n)=>(t[n.slice(0,n.indexOf("="))]=n.slice(n.indexOf("=")+1),t),{}),Hae=(e=[],t)=>{let n=t;for(;n>-1;){if(n--,!e[n])return;if(e[n]&&e[n].value&&e[n].value.replace(/(\n|\s)/g,"")!==""||e[n].type!=="text")return!/^rehype:/.test(e[n].value)||e[n].type!=="comment"?void 0:e[n]}},ZL=(e=[],t,n,r)=>{let i=t;for(;i/,"$2")||"")?void 0:r?ZL(e,i,"pre",r)?void 0:(a.value=(a.value||"").replace(/^(\n|\s)+/,""),a):(a.value=(a.value||"").replace(/^(\n|\s)+/,""),a)}},rk=({value:e=""})=>{const t=zae(e.replace(/^/,"$1").replace(/^rehype:/,""));return Object.keys(t).forEach(n=>{t[n]==="true"&&(t[n]=!0),t[n]==="false"&&(t[n]=!1),typeof t[n]=="string"&&!/^0/.test(t[n])&&!isNaN(+t[n])&&(t[n]=+t[n])}),t},ik=(e,t,n)=>n==="string"?{...e,"data-config":JSON.stringify({...t,rehyp:!0})}:n==="attr"?{...e,...t}:{...e,"data-config":{...t,rehyp:!0}},jae=(e={})=>{const{properties:t="data",codeBlockParames:n=!0}=e;return r=>{Ui(r,"element",(i,a,o)=>{if(n&&i.tagName==="pre"&&i&&Array.isArray(i.children)&&o&&Array.isArray(o.children)&&o.children.length>1){const s=i.children[0];if(s&&s.tagName==="code"&&typeof a=="number"){const u=Hae(o.children,a);if(u){const c=rk(u);Object.keys(c).length>0&&(i.properties={...i.properties,"data-type":"rehyp"},s.properties=ik(s.properties,c,t))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(i.tagName)&&o&&Array.isArray(o.children)&&typeof a=="number"){const s=ZL(o.children,a,"",n);if(s){const u=rk(s);Object.keys(u).length>0&&(i.properties=ik(i.properties,u,t))}}})}},Gae=jae,Vae=(e={})=>{const{openDelimiter:t="rehype:ignore:start",closeDelimiter:n="rehype:ignore:end"}=e;return r=>{Ui(r,(i,a,o)=>{if(i.type==="element"||i.type==="root"){let s=!1;i.children=i.children.filter(u=>{if(u.type==="raw"||u.type==="comment"){let c=(u.value||"").trim();if(c=c.replace(/^/,"$1"),c===t)return s=!0,!1;if(c===n)return s=!1,!1}return!s})}})}},Wae=Vae,qae={}.hasOwnProperty,Kae=function(e,t,n){const r=C2(n||t),i=t&&typeof t=="object"&&"cascade"in t?t.cascade:void 0,a=i??!0;return o(e);function o(s,u,c){const p=[];if(!r(s,u,c))return null;if(s.children){let g=-1;for(;++g0&&p.length===0)return null}const f={};let m;for(m in s)qae.call(s,m)&&(f[m]=m==="children"?p:s[m]);return f}};var Nb={exports:{}};(function(e,t){function n(r){let i=[],a;for(let o of r.split(",").map(s=>s.trim()))if(/^-?\d+$/.test(o))i.push(parseInt(o,10));else if(a=o.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[s,u,c,p]=a;if(u&&p){u=parseInt(u),p=parseInt(p);const f=u]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}qa.displayName="c";qa.aliases=[];function qa(e){e.register(Mt),e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}Au.displayName="cpp";Au.aliases=[];function Au(e){e.register(qa),function(t){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return n.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return n.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(e)}P2.displayName="arduino";P2.aliases=["ino"];function P2(e){e.register(Au),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}Op.displayName="bash";Op.aliases=["sh","shell"];function Op(e){(function(t){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=t.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=i.variable[1].inside,s=0;s>/g,function(oe,O){return"(?:"+me[+O]+")"})}function r(N,me,oe){return RegExp(n(N,me),oe||"")}function i(N,me){for(var oe=0;oe>/g,function(){return"(?:"+N+")"});return N.replace(/<>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function o(N){return"\\b(?:"+N.trim().replace(/ /g,"|")+")\\b"}var s=o(a.typeDeclaration),u=RegExp(o(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),c=o(a.typeDeclaration+" "+a.contextual+" "+a.other),p=o(a.type+" "+a.typeDeclaration+" "+a.other),f=i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),m=i(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,E=n(/<<0>>(?:\s*<<1>>)?/.source,[g,f]),b=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[c,E]),T=/\[\s*(?:,\s*)*\]/.source,v=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,T]),y=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,m,T]),w=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[y]),A=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,b,T]),D={keyword:u,punctuation:/[<>()?,.:[\]]/},k=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,R=/"(?:\\.|[^\\"\r\n])*"/.source,B=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[B]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:D},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,A]),lookbehind:!0,inside:D},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[s,E]),lookbehind:!0,inside:D},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:D},{pattern:r(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:D},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[A,p,g]),inside:D}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:D},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[A,b]),inside:D,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[A]),lookbehind:!0,inside:D,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,f]),inside:{function:r(/^<<0>>/.source,[g]),generic:{pattern:RegExp(f),alias:"class-name",inside:D}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[s,E,g,A,u.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[E,m]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:u,"class-name":{pattern:RegExp(A),greedy:!0,inside:D},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var W=R+"|"+k,P=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[W]),Q=i(n(/[^"'/()]|<<0>>|\(<>*\)/.source,[P]),2),z=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,le=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,Q]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[z,le]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[z]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[Q]),inside:t.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var he=/:[^}\r\n]+/.source,de=i(n(/[^"'/()]|<<0>>|\(<>*\)/.source,[P]),2),fe=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[de,he]),Z=i(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[W]),2),V=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Z,he]);function ce(N,me){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[N]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[me,he]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[fe]),lookbehind:!0,greedy:!0,inside:ce(fe,de)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[V]),lookbehind:!0,greedy:!0,inside:ce(V,Z)}],char:{pattern:RegExp(k),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp}(e)}fr.displayName="markup";fr.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function fr(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},i.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:i}};a["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var o={};o[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}Tl.displayName="css";Tl.aliases=[];function Tl(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}B2.displayName="diff";B2.aliases=[];function B2(e){(function(t){t.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(n).forEach(function(r){var i=n[r],a=[];/^\w+$/.test(r)||a.push(/\w+/.exec(r)[0]),r==="diff"&&a.push("bold"),t.languages.diff[r]={pattern:RegExp("^(?:["+i+`].*(?:\r ?| -|(?![\\s\\S])))+`, - "m" - ), - alias: a, - inside: { - line: { pattern: /(.)(?=[\s\S]).*(?:\r\n?|\n)?/, lookbehind: !0 }, - prefix: { pattern: /[\s\S]/, alias: /\w+/.exec(r)[0] }, - }, - }); - }), - Object.defineProperty(t.languages.diff, "PREFIXES", { value: n }); - })(e); -} -U2.displayName = "go"; -U2.aliases = []; -function U2(e) { - e.register(Mt), - (e.languages.go = e.languages.extend("clike", { - string: { - pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/, - lookbehind: !0, - greedy: !0, - }, - keyword: - /\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/, - boolean: /\b(?:_|false|iota|nil|true)\b/, - number: [ - /\b0(?:b[01_]+|o[0-7_]+)i?\b/i, - /\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i, - /(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i, - ], - operator: - /[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./, - builtin: - /\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/, - })), - e.languages.insertBefore("go", "string", { - char: { pattern: /'(?:\\.|[^'\\\r\n]){0,10}'/, greedy: !0 }, - }), - delete e.languages.go["class-name"]; -} -$2.displayName = "ini"; -$2.aliases = []; -function $2(e) { - e.languages.ini = { - comment: { pattern: /(^[ \f\t\v]*)[#;][^\n\r]*/m, lookbehind: !0 }, - section: { - pattern: /(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m, - lookbehind: !0, - inside: { - "section-name": { - pattern: /(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/, - lookbehind: !0, - alias: "selector", - }, - punctuation: /\[|\]/, - }, - }, - key: { - pattern: - /(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m, - lookbehind: !0, - alias: "attr-name", - }, - value: { - pattern: /(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/, - lookbehind: !0, - alias: "attr-value", - inside: { "inner-value": { pattern: /^("|').+(?=\1$)/, lookbehind: !0 } }, - }, - punctuation: /=/, - }; -} -xu.displayName = "java"; -xu.aliases = []; -function xu(e) { - e.register(Mt), - (function (t) { - var n = - /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, - r = /(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source, - i = { - pattern: RegExp( - /(^|[^\w.])/.source + r + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source - ), - lookbehind: !0, - inside: { - namespace: { - pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/, - inside: { punctuation: /\./ }, - }, - punctuation: /\./, - }, - }; - (t.languages.java = t.languages.extend("clike", { - string: { - pattern: /(^|[^\\])"(?:\\.|[^"\\\r\n])*"/, - lookbehind: !0, - greedy: !0, - }, - "class-name": [ - i, - { - pattern: RegExp( - /(^|[^\w.])/.source + - r + - /[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/ - .source - ), - lookbehind: !0, - inside: i.inside, - }, - { - pattern: RegExp( - /(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/ - .source + - r + - /[A-Z]\w*\b/.source - ), - lookbehind: !0, - inside: i.inside, - }, - ], - keyword: n, - function: [ - t.languages.clike.function, - { pattern: /(::\s*)[a-z_]\w*/, lookbehind: !0 }, - ], - number: - /\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i, - operator: { - pattern: - /(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m, - lookbehind: !0, - }, - constant: /\b[A-Z][A-Z_\d]+\b/, - })), - t.languages.insertBefore("java", "string", { - "triple-quoted-string": { - pattern: /"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/, - greedy: !0, - alias: "string", - }, - char: { pattern: /'(?:\\.|[^'\\\r\n]){1,6}'/, greedy: !0 }, - }), - t.languages.insertBefore("java", "class-name", { - annotation: { - pattern: /(^|[^.])@\w+(?:\s*\.\s*\w+)*/, - lookbehind: !0, - alias: "punctuation", - }, - generics: { - pattern: - /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/, - inside: { - "class-name": i, - keyword: n, - punctuation: /[<>(),.:]/, - operator: /[?&|]/, - }, - }, - import: [ - { - pattern: RegExp( - /(\bimport\s+)/.source + r + /(?:[A-Z]\w*|\*)(?=\s*;)/.source - ), - lookbehind: !0, - inside: { - namespace: i.inside.namespace, - punctuation: /\./, - operator: /\*/, - "class-name": /\w+/, - }, - }, - { - pattern: RegExp( - /(\bimport\s+static\s+)/.source + - r + - /(?:\w+|\*)(?=\s*;)/.source - ), - lookbehind: !0, - alias: "static", - inside: { - namespace: i.inside.namespace, - static: /\b\w+$/, - punctuation: /\./, - operator: /\*/, - "class-name": /\w+/, - }, - }, - ], - namespace: { - pattern: RegExp( - /(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace( - //g, - function () { - return n.source; - } - ) - ), - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - }); - })(e); -} -z2.displayName = "regex"; -z2.aliases = []; -function z2(e) { - (function (t) { - var n = { pattern: /\\[\\(){}[\]^$+*?|.]/, alias: "escape" }, - r = - /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/, - i = { pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, - a = { pattern: /\\[wsd]|\\p\{[^{}]+\}/i, alias: "class-name" }, - o = "(?:[^\\\\-]|" + r.source + ")", - s = RegExp(o + "-" + o), - u = { - pattern: /(<|')[^<>']+(?=[>']$)/, - lookbehind: !0, - alias: "variable", - }; - t.languages.regex = { - "char-class": { - pattern: /((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/, - lookbehind: !0, - inside: { - "char-class-negation": { - pattern: /(^\[)\^/, - lookbehind: !0, - alias: "operator", - }, - "char-class-punctuation": { - pattern: /^\[|\]$/, - alias: "punctuation", - }, - range: { - pattern: s, - inside: { - escape: r, - "range-punctuation": { pattern: /-/, alias: "operator" }, - }, - }, - "special-escape": n, - "char-set": a, - escape: r, - }, - }, - "special-escape": n, - "char-set": i, - backreference: [ - { pattern: /\\(?![123][0-7]{2})[1-9]/, alias: "keyword" }, - { - pattern: /\\k<[^<>']+>/, - alias: "keyword", - inside: { "group-name": u }, - }, - ], - anchor: { pattern: /[$^]|\\[ABbGZz]/, alias: "function" }, - escape: r, - group: [ - { - pattern: - /\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]||&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/, - })), - (e.languages.javascript["class-name"][0].pattern = - /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/), - e.languages.insertBefore("javascript", "keyword", { - regex: { - pattern: RegExp( - /((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source + - /\//.source + - "(?:" + - /(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/ - .source + - "|" + - /(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/ - .source + - ")" + - /(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/ - .source - ), - lookbehind: !0, - greedy: !0, - inside: { - "regex-source": { - pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/, - lookbehind: !0, - alias: "language-regex", - inside: e.languages.regex, - }, - "regex-delimiter": /^\/|\/$/, - "regex-flags": /^[a-z]+$/, - }, - }, - "function-variable": { - pattern: - /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/, - alias: "function", - }, - parameter: [ - { - pattern: - /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/, - lookbehind: !0, - inside: e.languages.javascript, - }, - { - pattern: - /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i, - lookbehind: !0, - inside: e.languages.javascript, - }, - { - pattern: - /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/, - lookbehind: !0, - inside: e.languages.javascript, - }, - { - pattern: - /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/, - lookbehind: !0, - inside: e.languages.javascript, - }, - ], - constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/, - }), - e.languages.insertBefore("javascript", "string", { - hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" }, - "template-string": { - pattern: - /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/, - greedy: !0, - inside: { - "template-punctuation": { pattern: /^`|`$/, alias: "string" }, - interpolation: { - pattern: - /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, - lookbehind: !0, - inside: { - "interpolation-punctuation": { - pattern: /^\$\{|\}$/, - alias: "punctuation", - }, - rest: e.languages.javascript, - }, - }, - string: /[\s\S]+/, - }, - }, - "string-property": { - pattern: - /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m, - lookbehind: !0, - greedy: !0, - alias: "property", - }, - }), - e.languages.insertBefore("javascript", "operator", { - "literal-property": { - pattern: - /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m, - lookbehind: !0, - alias: "property", - }, - }), - e.languages.markup && - (e.languages.markup.tag.addInlined("script", "javascript"), - e.languages.markup.tag.addAttribute( - /on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/ - .source, - "javascript" - )), - (e.languages.js = e.languages.javascript); -} -dc.displayName = "json"; -dc.aliases = ["webmanifest"]; -function dc(e) { - (e.languages.json = { - property: { - pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/, - lookbehind: !0, - greedy: !0, - }, - string: { - pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/, - lookbehind: !0, - greedy: !0, - }, - comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 }, - number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, - punctuation: /[{}[\],]/, - operator: /:/, - boolean: /\b(?:false|true)\b/, - null: { pattern: /\bnull\b/, alias: "keyword" }, - }), - (e.languages.webmanifest = e.languages.json); -} -H2.displayName = "kotlin"; -H2.aliases = ["kt", "kts"]; -function H2(e) { - e.register(Mt), - (function (t) { - (t.languages.kotlin = t.languages.extend("clike", { - keyword: { - pattern: - /(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/, - lookbehind: !0, - }, - function: [ - { pattern: /(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/, greedy: !0 }, - { - pattern: /(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/, - lookbehind: !0, - greedy: !0, - }, - ], - number: - /\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/, - operator: - /\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/, - })), - delete t.languages.kotlin["class-name"]; - var n = { - "interpolation-punctuation": { - pattern: /^\$\{?|\}$/, - alias: "punctuation", - }, - expression: { pattern: /[\s\S]+/, inside: t.languages.kotlin }, - }; - t.languages.insertBefore("kotlin", "string", { - "string-literal": [ - { - pattern: /"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/, - alias: "multiline", - inside: { - interpolation: { - pattern: /\$(?:[a-z_]\w*|\{[^{}]*\})/i, - inside: n, - }, - string: /[\s\S]+/, - }, - }, - { - pattern: /"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/, - alias: "singleline", - inside: { - interpolation: { - pattern: /((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i, - lookbehind: !0, - inside: n, - }, - string: /[\s\S]+/, - }, - }, - ], - char: { - pattern: /'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/, - greedy: !0, - }, - }), - delete t.languages.kotlin.string, - t.languages.insertBefore("kotlin", "keyword", { - annotation: { - pattern: /\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/, - alias: "builtin", - }, - }), - t.languages.insertBefore("kotlin", "function", { - label: { pattern: /\b\w+@|@\w+\b/, alias: "symbol" }, - }), - (t.languages.kt = t.languages.kotlin), - (t.languages.kts = t.languages.kotlin); - })(e); -} -j2.displayName = "less"; -j2.aliases = []; -function j2(e) { - e.register(Tl), - (e.languages.less = e.languages.extend("css", { - comment: [ - /\/\*[\s\S]*?\*\//, - { pattern: /(^|[^\\])\/\/.*/, lookbehind: !0 }, - ], - atrule: { - pattern: - /@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/, - inside: { punctuation: /[:()]/ }, - }, - selector: { - pattern: - /(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/, - inside: { variable: /@+[\w-]+/ }, - }, - property: /(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/, - operator: /[+\-*\/]/, - })), - e.languages.insertBefore("less", "property", { - variable: [ - { pattern: /@[\w-]+\s*:/, inside: { punctuation: /:/ } }, - /@@?[\w-]+/, - ], - "mixin-usage": { - pattern: /([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/, - lookbehind: !0, - alias: "function", - }, - }); -} -Dp.displayName = "lua"; -Dp.aliases = []; -function Dp(e) { - e.languages.lua = { - comment: /^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m, - string: { - pattern: - /(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/, - greedy: !0, - }, - number: - /\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i, - keyword: - /\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/, - function: /(?!\d)\w+(?=\s*(?:[({]))/, - operator: [ - /[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/, - { pattern: /(^|[^.])\.\.(?!\.)/, lookbehind: !0 }, - ], - punctuation: /[\[\](){},;]|\.+|:+/, - }; -} -G2.displayName = "makefile"; -G2.aliases = []; -function G2(e) { - e.languages.makefile = { - comment: { - pattern: /(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/, - lookbehind: !0, - }, - string: { - pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - greedy: !0, - }, - "builtin-target": { - pattern: /\.[A-Z][^:#=\s]+(?=\s*:(?!=))/, - alias: "builtin", - }, - target: { - pattern: /^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m, - alias: "symbol", - inside: { variable: /\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/ }, - }, - variable: /\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/, - keyword: - /-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/, - function: { - pattern: - /(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/, - lookbehind: !0, - }, - operator: /(?:::|[?:+!])?=|[|@]/, - punctuation: /[:;(){}]/, - }; -} -Lp.displayName = "yaml"; -Lp.aliases = ["yml"]; -function Lp(e) { - (function (t) { - var n = /[*&][^\s[\]{},]+/, - r = - /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, - i = - "(?:" + - r.source + - "(?:[ ]+" + - n.source + - ")?|" + - n.source + - "(?:[ ]+" + - r.source + - ")?)", - a = - /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace( - //g, - function () { - return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/ - .source; - } - ), - o = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source; - function s(u, c) { - c = (c || "").replace(/m/g, "") + "m"; - var p = - /([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source - .replace(/<>/g, function () { - return i; - }) - .replace(/<>/g, function () { - return u; - }); - return RegExp(p, c); - } - (t.languages.yaml = { - scalar: { - pattern: RegExp( - /([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace( - /<>/g, - function () { - return i; - } - ) - ), - lookbehind: !0, - alias: "string", - }, - comment: /#.*/, - key: { - pattern: RegExp( - /((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source - .replace(/<>/g, function () { - return i; - }) - .replace(/<>/g, function () { - return "(?:" + a + "|" + o + ")"; - }) - ), - lookbehind: !0, - greedy: !0, - alias: "atrule", - }, - directive: { - pattern: /(^[ \t]*)%.+/m, - lookbehind: !0, - alias: "important", - }, - datetime: { - pattern: s( - /\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/ - .source - ), - lookbehind: !0, - alias: "number", - }, - boolean: { - pattern: s(/false|true/.source, "i"), - lookbehind: !0, - alias: "important", - }, - null: { - pattern: s(/null|~/.source, "i"), - lookbehind: !0, - alias: "important", - }, - string: { pattern: s(o), lookbehind: !0, greedy: !0 }, - number: { - pattern: s( - /[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/ - .source, - "i" - ), - lookbehind: !0, - }, - tag: r, - important: n, - punctuation: /---|[:[\]{}\-,|>?]|\.\.\./, - }), - (t.languages.yml = t.languages.yaml); - })(e); -} -V2.displayName = "markdown"; -V2.aliases = ["md"]; -function V2(e) { - e.register(fr), - (function (t) { - var n = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source; - function r(s) { - return ( - (s = s.replace(//g, function () { - return n; - })), - RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + s + ")") - ); - } - var i = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/ - .source, - a = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace( - /__/g, - function () { - return i; - } - ), - o = - /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/ - .source; - (t.languages.markdown = t.languages.extend("markup", {})), - t.languages.insertBefore("markdown", "prolog", { - "front-matter-block": { - pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/, - lookbehind: !0, - greedy: !0, - inside: { - punctuation: /^---|---$/, - "front-matter": { - pattern: /\S+(?:\s+\S+)*/, - alias: ["yaml", "language-yaml"], - inside: t.languages.yaml, - }, - }, - }, - blockquote: { pattern: /^>(?:[\t ]*>)*/m, alias: "punctuation" }, - table: { - pattern: RegExp("^" + a + o + "(?:" + a + ")*", "m"), - inside: { - "table-data-rows": { - pattern: RegExp("^(" + a + o + ")(?:" + a + ")*$"), - lookbehind: !0, - inside: { - "table-data": { - pattern: RegExp(i), - inside: t.languages.markdown, - }, - punctuation: /\|/, - }, - }, - "table-line": { - pattern: RegExp("^(" + a + ")" + o + "$"), - lookbehind: !0, - inside: { punctuation: /\||:?-{3,}:?/ }, - }, - "table-header-row": { - pattern: RegExp("^" + a + "$"), - inside: { - "table-header": { - pattern: RegExp(i), - alias: "important", - inside: t.languages.markdown, - }, - punctuation: /\|/, - }, - }, - }, - }, - code: [ - { - pattern: - /((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/, - lookbehind: !0, - alias: "keyword", - }, - { - pattern: /^```[\s\S]*?^```$/m, - greedy: !0, - inside: { - "code-block": { - pattern: /^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m, - lookbehind: !0, - }, - "code-language": { pattern: /^(```).+/, lookbehind: !0 }, - punctuation: /```/, - }, - }, - ], - title: [ - { - pattern: /\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m, - alias: "important", - inside: { punctuation: /==+$|--+$/ }, - }, - { - pattern: /(^\s*)#.+/m, - lookbehind: !0, - alias: "important", - inside: { punctuation: /^#+|#+$/ }, - }, - ], - hr: { - pattern: /(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m, - lookbehind: !0, - alias: "punctuation", - }, - list: { - pattern: /(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m, - lookbehind: !0, - alias: "punctuation", - }, - "url-reference": { - pattern: - /!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/, - inside: { - variable: { pattern: /^(!?\[)[^\]]+/, lookbehind: !0 }, - string: - /(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/, - punctuation: /^[\[\]!:]|[<>]/, - }, - alias: "url", - }, - bold: { - pattern: r( - /\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/ - .source - ), - lookbehind: !0, - greedy: !0, - inside: { - content: { - pattern: /(^..)[\s\S]+(?=..$)/, - lookbehind: !0, - inside: {}, - }, - punctuation: /\*\*|__/, - }, - }, - italic: { - pattern: r( - /\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/ - .source - ), - lookbehind: !0, - greedy: !0, - inside: { - content: { - pattern: /(^.)[\s\S]+(?=.$)/, - lookbehind: !0, - inside: {}, - }, - punctuation: /[*_]/, - }, - }, - strike: { - pattern: r(/(~~?)(?:(?!~))+\2/.source), - lookbehind: !0, - greedy: !0, - inside: { - content: { - pattern: /(^~~?)[\s\S]+(?=\1$)/, - lookbehind: !0, - inside: {}, - }, - punctuation: /~~?/, - }, - }, - "code-snippet": { - pattern: - /(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/, - lookbehind: !0, - greedy: !0, - alias: ["code", "keyword"], - }, - url: { - pattern: r( - /!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/ - .source - ), - lookbehind: !0, - greedy: !0, - inside: { - operator: /^!/, - content: { - pattern: /(^\[)[^\]]+(?=\])/, - lookbehind: !0, - inside: {}, - }, - variable: { - pattern: /(^\][ \t]?\[)[^\]]+(?=\]$)/, - lookbehind: !0, - }, - url: { pattern: /(^\]\()[^\s)]+/, lookbehind: !0 }, - string: { - pattern: /(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/, - lookbehind: !0, - }, - }, - }, - }), - ["url", "bold", "italic", "strike"].forEach(function (s) { - ["url", "bold", "italic", "strike", "code-snippet"].forEach(function ( - u - ) { - s !== u && - (t.languages.markdown[s].inside.content.inside[u] = - t.languages.markdown[u]); - }); - }), - t.hooks.add("after-tokenize", function (s) { - if (s.language !== "markdown" && s.language !== "md") return; - function u(c) { - if (!(!c || typeof c == "string")) - for (var p = 0, f = c.length; p < f; p++) { - var m = c[p]; - if (m.type !== "code") { - u(m.content); - continue; - } - var g = m.content[1], - E = m.content[3]; - if ( - g && - E && - g.type === "code-language" && - E.type === "code-block" && - typeof g.content == "string" - ) { - var b = g.content - .replace(/\b#/g, "sharp") - .replace(/\b\+\+/g, "pp"); - b = (/[a-z][\w-]*/i.exec(b) || [""])[0].toLowerCase(); - var T = "language-" + b; - E.alias - ? typeof E.alias == "string" - ? (E.alias = [E.alias, T]) - : E.alias.push(T) - : (E.alias = [T]); - } - } - } - u(s.tokens); - }), - t.hooks.add("wrap", function (s) { - if (s.type === "code-block") { - for (var u = "", c = 0, p = s.classes.length; c < p; c++) { - var f = s.classes[c], - m = /language-(.+)/.exec(f); - if (m) { - u = m[1]; - break; - } - } - var g = t.languages[u]; - if (g) s.content = t.highlight(s.content.value, g, u); - else if (u && u !== "none" && t.plugins.autoloader) { - var E = - "md-" + - new Date().valueOf() + - "-" + - Math.floor(Math.random() * 1e16); - (s.attributes.id = E), - t.plugins.autoloader.loadLanguages(u, function () { - var b = document.getElementById(E); - b && - (b.innerHTML = t.highlight( - b.textContent, - t.languages[u], - u - )); - }); - } - } - }), - RegExp(t.languages.markup.tag.pattern.source, "gi"), - (t.languages.md = t.languages.markdown); - })(e); -} -W2.displayName = "objectivec"; -W2.aliases = ["objc"]; -function W2(e) { - e.register(qa), - (e.languages.objectivec = e.languages.extend("c", { - string: { pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 }, - keyword: - /\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/, - operator: /-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/, - })), - delete e.languages.objectivec["class-name"], - (e.languages.objc = e.languages.objectivec); -} -q2.displayName = "perl"; -q2.aliases = []; -function q2(e) { - (function (t) { - var n = - /(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/ - .source; - t.languages.perl = { - comment: [ - { pattern: /(^\s*)=\w[\s\S]*?=cut.*/m, lookbehind: !0, greedy: !0 }, - { pattern: /(^|[^\\$])#.*/, lookbehind: !0, greedy: !0 }, - ], - string: [ - { - pattern: RegExp( - /\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source + - "(?:" + - [ - /([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source, - /([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source, - n, - ].join("|") + - ")" - ), - greedy: !0, - }, - { pattern: /("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/, greedy: !0 }, - { pattern: /'(?:[^'\\\r\n]|\\.)*'/, greedy: !0 }, - ], - regex: [ - { - pattern: RegExp( - /\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source + - "(?:" + - [ - /([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source, - /([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source, - n, - ].join("|") + - ")" + - /[msixpodualngc]*/.source - ), - greedy: !0, - }, - { - pattern: RegExp( - /(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source + - "(?:" + - [ - /([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/ - .source, - /([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/ - .source, - n + /\s*/.source + n, - ].join("|") + - ")" + - /[msixpodualngcer]*/.source - ), - lookbehind: !0, - greedy: !0, - }, - { - pattern: - /\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/, - greedy: !0, - }, - ], - variable: [ - /[&*$@%]\{\^[A-Z]+\}/, - /[&*$@%]\^[A-Z_]/, - /[&*$@%]#?(?=\{)/, - /[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/, - /[&*$@%]\d+/, - /(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/, - ], - filehandle: { pattern: /<(?![<=])\S*?>|\b_\b/, alias: "symbol" }, - "v-string": { - pattern: /v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/, - alias: "string", - }, - function: { pattern: /(\bsub[ \t]+)\w+/, lookbehind: !0 }, - keyword: - /\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/, - number: - /\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/, - operator: - /-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/, - punctuation: /[{}[\];(),:]/, - }; - })(e); -} -kr.displayName = "markup-templating"; -kr.aliases = []; -function kr(e) { - e.register(fr), - (function (t) { - function n(r, i) { - return "___" + r.toUpperCase() + i + "___"; - } - Object.defineProperties((t.languages["markup-templating"] = {}), { - buildPlaceholders: { - value: function (r, i, a, o) { - if (r.language === i) { - var s = (r.tokenStack = []); - (r.code = r.code.replace(a, function (u) { - if (typeof o == "function" && !o(u)) return u; - for ( - var c = s.length, p; - r.code.indexOf((p = n(i, c))) !== -1; - - ) - ++c; - return (s[c] = u), p; - })), - (r.grammar = t.languages.markup); - } - }, - }, - tokenizePlaceholders: { - value: function (r, i) { - if (r.language !== i || !r.tokenStack) return; - r.grammar = t.languages[i]; - var a = 0, - o = Object.keys(r.tokenStack); - function s(u) { - for (var c = 0; c < u.length && !(a >= o.length); c++) { - var p = u[c]; - if ( - typeof p == "string" || - (p.content && typeof p.content == "string") - ) { - var f = o[a], - m = r.tokenStack[f], - g = typeof p == "string" ? p : p.content, - E = n(i, f), - b = g.indexOf(E); - if (b > -1) { - ++a; - var T = g.substring(0, b), - v = new t.Token( - i, - t.tokenize(m, r.grammar), - "language-" + i, - m - ), - y = g.substring(b + E.length), - w = []; - T && w.push.apply(w, s([T])), - w.push(v), - y && w.push.apply(w, s([y])), - typeof p == "string" - ? u.splice.apply(u, [c, 1].concat(w)) - : (p.content = w); - } - } else p.content && s(p.content); - } - return u; - } - s(r.tokens); - }, - }, - }); - })(e); -} -ku.displayName = "php"; -ku.aliases = []; -function ku(e) { - e.register(kr), - (function (t) { - var n = /\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/, - r = [ - { pattern: /\b(?:false|true)\b/i, alias: "boolean" }, - { - pattern: /(::\s*)\b[a-z_]\w*\b(?!\s*\()/i, - greedy: !0, - lookbehind: !0, - }, - { - pattern: /(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i, - greedy: !0, - lookbehind: !0, - }, - /\b(?:null)\b/i, - /\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/, - ], - i = - /\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i, - a = - /|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/, - o = /[{}\[\](),:;]/; - t.languages.php = { - delimiter: { - pattern: /\?>$|^<\?(?:php(?=\s)|=)?/i, - alias: "important", - }, - comment: n, - variable: /\$+(?:\w+\b|(?=\{))/, - package: { - pattern: - /(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i, - lookbehind: !0, - inside: { punctuation: /\\/ }, - }, - "class-name-definition": { - pattern: /(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i, - lookbehind: !0, - alias: "class-name", - }, - "function-definition": { - pattern: /(\bfunction\s+)[a-z_]\w*(?=\s*\()/i, - lookbehind: !0, - alias: "function", - }, - keyword: [ - { - pattern: - /(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i, - alias: "type-casting", - greedy: !0, - lookbehind: !0, - }, - { - pattern: - /([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i, - alias: "type-hint", - greedy: !0, - lookbehind: !0, - }, - { - pattern: - /(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i, - alias: "return-type", - greedy: !0, - lookbehind: !0, - }, - { - pattern: - /\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i, - alias: "type-declaration", - greedy: !0, - }, - { - pattern: /(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i, - alias: "type-declaration", - greedy: !0, - lookbehind: !0, - }, - { - pattern: /\b(?:parent|self|static)(?=\s*::)/i, - alias: "static-context", - greedy: !0, - }, - { pattern: /(\byield\s+)from\b/i, lookbehind: !0 }, - /\bclass\b/i, - { - pattern: - /((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i, - lookbehind: !0, - }, - ], - "argument-name": { - pattern: /([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i, - lookbehind: !0, - }, - "class-name": [ - { - pattern: - /(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i, - greedy: !0, - lookbehind: !0, - }, - { - pattern: /(\|\s*)\b[a-z_]\w*(?!\\)\b/i, - greedy: !0, - lookbehind: !0, - }, - { pattern: /\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i, greedy: !0 }, - { - pattern: /(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i, - alias: "class-name-fully-qualified", - greedy: !0, - lookbehind: !0, - inside: { punctuation: /\\/ }, - }, - { - pattern: /(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i, - alias: "class-name-fully-qualified", - greedy: !0, - inside: { punctuation: /\\/ }, - }, - { - pattern: - /(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i, - alias: "class-name-fully-qualified", - greedy: !0, - lookbehind: !0, - inside: { punctuation: /\\/ }, - }, - { - pattern: /\b[a-z_]\w*(?=\s*\$)/i, - alias: "type-declaration", - greedy: !0, - }, - { - pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i, - alias: ["class-name-fully-qualified", "type-declaration"], - greedy: !0, - inside: { punctuation: /\\/ }, - }, - { - pattern: /\b[a-z_]\w*(?=\s*::)/i, - alias: "static-context", - greedy: !0, - }, - { - pattern: /(?:\\?\b[a-z_]\w*)+(?=\s*::)/i, - alias: ["class-name-fully-qualified", "static-context"], - greedy: !0, - inside: { punctuation: /\\/ }, - }, - { - pattern: /([(,?]\s*)[a-z_]\w*(?=\s*\$)/i, - alias: "type-hint", - greedy: !0, - lookbehind: !0, - }, - { - pattern: /([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i, - alias: ["class-name-fully-qualified", "type-hint"], - greedy: !0, - lookbehind: !0, - inside: { punctuation: /\\/ }, - }, - { - pattern: /(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i, - alias: "return-type", - greedy: !0, - lookbehind: !0, - }, - { - pattern: /(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i, - alias: ["class-name-fully-qualified", "return-type"], - greedy: !0, - lookbehind: !0, - inside: { punctuation: /\\/ }, - }, - ], - constant: r, - function: { - pattern: /(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i, - lookbehind: !0, - inside: { punctuation: /\\/ }, - }, - property: { pattern: /(->\s*)\w+/, lookbehind: !0 }, - number: i, - operator: a, - punctuation: o, - }; - var s = { - pattern: - /\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/, - lookbehind: !0, - inside: t.languages.php, - }, - u = [ - { - pattern: /<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/, - alias: "nowdoc-string", - greedy: !0, - inside: { - delimiter: { - pattern: /^<<<'[^']+'|[a-z_]\w*;$/i, - alias: "symbol", - inside: { punctuation: /^<<<'?|[';]$/ }, - }, - }, - }, - { - pattern: - /<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i, - alias: "heredoc-string", - greedy: !0, - inside: { - delimiter: { - pattern: /^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i, - alias: "symbol", - inside: { punctuation: /^<<<"?|[";]$/ }, - }, - interpolation: s, - }, - }, - { - pattern: /`(?:\\[\s\S]|[^\\`])*`/, - alias: "backtick-quoted-string", - greedy: !0, - }, - { - pattern: /'(?:\\[\s\S]|[^\\'])*'/, - alias: "single-quoted-string", - greedy: !0, - }, - { - pattern: /"(?:\\[\s\S]|[^\\"])*"/, - alias: "double-quoted-string", - greedy: !0, - inside: { interpolation: s }, - }, - ]; - t.languages.insertBefore("php", "variable", { - string: u, - attribute: { - pattern: - /#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im, - greedy: !0, - inside: { - "attribute-content": { - pattern: /^(#\[)[\s\S]+(?=\]$)/, - lookbehind: !0, - inside: { - comment: n, - string: u, - "attribute-class-name": [ - { - pattern: /([^:]|^)\b[a-z_]\w*(?!\\)\b/i, - alias: "class-name", - greedy: !0, - lookbehind: !0, - }, - { - pattern: /([^:]|^)(?:\\?\b[a-z_]\w*)+/i, - alias: ["class-name", "class-name-fully-qualified"], - greedy: !0, - lookbehind: !0, - inside: { punctuation: /\\/ }, - }, - ], - constant: r, - number: i, - operator: a, - punctuation: o, - }, - }, - delimiter: { pattern: /^#\[|\]$/, alias: "punctuation" }, - }, - }, - }), - t.hooks.add("before-tokenize", function (c) { - if (/<\?/.test(c.code)) { - var p = - /<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g; - t.languages["markup-templating"].buildPlaceholders(c, "php", p); - } - }), - t.hooks.add("after-tokenize", function (c) { - t.languages["markup-templating"].tokenizePlaceholders(c, "php"); - }); - })(e); -} -Mp.displayName = "python"; -Mp.aliases = ["py"]; -function Mp(e) { - (e.languages.python = { - comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0, greedy: !0 }, - "string-interpolation": { - pattern: - /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i, - greedy: !0, - inside: { - interpolation: { - pattern: - /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/, - lookbehind: !0, - inside: { - "format-spec": { pattern: /(:)[^:(){}]+(?=\}$)/, lookbehind: !0 }, - "conversion-option": { - pattern: /![sra](?=[:}]$)/, - alias: "punctuation", - }, - rest: null, - }, - }, - string: /[\s\S]+/, - }, - }, - "triple-quoted-string": { - pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i, - greedy: !0, - alias: "string", - }, - string: { - pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i, - greedy: !0, - }, - function: { - pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g, - lookbehind: !0, - }, - "class-name": { pattern: /(\bclass\s+)\w+/i, lookbehind: !0 }, - decorator: { - pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m, - lookbehind: !0, - alias: ["annotation", "punctuation"], - inside: { punctuation: /\./ }, - }, - keyword: - /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/, - builtin: - /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/, - boolean: /\b(?:False|None|True)\b/, - number: - /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i, - operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/, - punctuation: /[{}[\];(),.:]/, - }), - (e.languages.python[ - "string-interpolation" - ].inside.interpolation.inside.rest = e.languages.python), - (e.languages.py = e.languages.python); -} -K2.displayName = "r"; -K2.aliases = []; -function K2(e) { - e.languages.r = { - comment: /#.*/, - string: { pattern: /(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, - "percent-operator": { pattern: /%[^%\s]*%/, alias: "operator" }, - boolean: /\b(?:FALSE|TRUE)\b/, - ellipsis: /\.\.(?:\.|\d+)/, - number: [ - /\b(?:Inf|NaN)\b/, - /(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/, - ], - keyword: - /\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/, - operator: /->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/, - punctuation: /[(){}\[\],;]/, - }; -} -Iu.displayName = "ruby"; -Iu.aliases = ["rb"]; -function Iu(e) { - e.register(Mt), - (function (t) { - (t.languages.ruby = t.languages.extend("clike", { - comment: { pattern: /#.*|^=begin\s[\s\S]*?^=end/m, greedy: !0 }, - "class-name": { - pattern: - /(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/, - lookbehind: !0, - inside: { punctuation: /[.\\]/ }, - }, - keyword: - /\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/, - operator: - /\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/, - punctuation: /[(){}[\].,;]/, - })), - t.languages.insertBefore("ruby", "operator", { - "double-colon": { pattern: /::/, alias: "punctuation" }, - }); - var n = { - pattern: /((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/, - lookbehind: !0, - inside: { - content: { - pattern: /^(#\{)[\s\S]+(?=\}$)/, - lookbehind: !0, - inside: t.languages.ruby, - }, - delimiter: { pattern: /^#\{|\}$/, alias: "punctuation" }, - }, - }; - delete t.languages.ruby.function; - var r = - "(?:" + - [ - /([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source, - /\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source, - /\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source, - /\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source, - /<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source, - ].join("|") + - ")", - i = - /(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/ - .source; - t.languages.insertBefore("ruby", "keyword", { - "regex-literal": [ - { - pattern: RegExp(/%r/.source + r + /[egimnosux]{0,6}/.source), - greedy: !0, - inside: { interpolation: n, regex: /[\s\S]+/ }, - }, - { - pattern: - /(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/, - lookbehind: !0, - greedy: !0, - inside: { interpolation: n, regex: /[\s\S]+/ }, - }, - ], - variable: /[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/, - symbol: [ - { - pattern: RegExp(/(^|[^:]):/.source + i), - lookbehind: !0, - greedy: !0, - }, - { - pattern: RegExp( - /([\r\n{(,][ \t]*)/.source + i + /(?=:(?!:))/.source - ), - lookbehind: !0, - greedy: !0, - }, - ], - "method-definition": { - pattern: /(\bdef\s+)\w+(?:\s*\.\s*\w+)?/, - lookbehind: !0, - inside: { - function: /\b\w+$/, - keyword: /^self\b/, - "class-name": /^\w+/, - punctuation: /\./, - }, - }, - }), - t.languages.insertBefore("ruby", "string", { - "string-literal": [ - { - pattern: RegExp(/%[qQiIwWs]?/.source + r), - greedy: !0, - inside: { interpolation: n, string: /[\s\S]+/ }, - }, - { - pattern: - /("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/, - greedy: !0, - inside: { interpolation: n, string: /[\s\S]+/ }, - }, - { - pattern: /<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i, - alias: "heredoc-string", - greedy: !0, - inside: { - delimiter: { - pattern: /^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i, - inside: { symbol: /\b\w+/, punctuation: /^<<[-~]?/ }, - }, - interpolation: n, - string: /[\s\S]+/, - }, - }, - { - pattern: /<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i, - alias: "heredoc-string", - greedy: !0, - inside: { - delimiter: { - pattern: /^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i, - inside: { symbol: /\b\w+/, punctuation: /^<<[-~]?'|'$/ }, - }, - string: /[\s\S]+/, - }, - }, - ], - "command-literal": [ - { - pattern: RegExp(/%x/.source + r), - greedy: !0, - inside: { - interpolation: n, - command: { pattern: /[\s\S]+/, alias: "string" }, - }, - }, - { - pattern: - /`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/, - greedy: !0, - inside: { - interpolation: n, - command: { pattern: /[\s\S]+/, alias: "string" }, - }, - }, - ], - }), - delete t.languages.ruby.string, - t.languages.insertBefore("ruby", "number", { - builtin: - /\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/, - constant: /\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/, - }), - (t.languages.rb = t.languages.ruby); - })(e); -} -Y2.displayName = "rust"; -Y2.aliases = []; -function Y2(e) { - (function (t) { - for ( - var n = /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source, r = 0; - r < 2; - r++ - ) - n = n.replace(//g, function () { - return n; - }); - (n = n.replace(//g, function () { - return /[^\s\S]/.source; - })), - (t.languages.rust = { - comment: [ - { - pattern: RegExp(/(^|[^\\])/.source + n), - lookbehind: !0, - greedy: !0, - }, - { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }, - ], - string: { - pattern: /b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/, - greedy: !0, - }, - char: { - pattern: - /b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/, - greedy: !0, - }, - attribute: { - pattern: /#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/, - greedy: !0, - alias: "attr-name", - inside: { string: null }, - }, - "closure-params": { - pattern: /([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/, - lookbehind: !0, - greedy: !0, - inside: { - "closure-punctuation": { pattern: /^\||\|$/, alias: "punctuation" }, - rest: null, - }, - }, - "lifetime-annotation": { pattern: /'\w+/, alias: "symbol" }, - "fragment-specifier": { - pattern: /(\$\w+:)[a-z]+/, - lookbehind: !0, - alias: "punctuation", - }, - variable: /\$\w+/, - "function-definition": { - pattern: /(\bfn\s+)\w+/, - lookbehind: !0, - alias: "function", - }, - "type-definition": { - pattern: /(\b(?:enum|struct|trait|type|union)\s+)\w+/, - lookbehind: !0, - alias: "class-name", - }, - "module-declaration": [ - { - pattern: /(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/, - lookbehind: !0, - alias: "namespace", - }, - { - pattern: - /(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/, - lookbehind: !0, - alias: "namespace", - inside: { punctuation: /::/ }, - }, - ], - keyword: [ - /\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/, - /\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/, - ], - function: /\b[a-z_]\w*(?=\s*(?:::\s*<|\())/, - macro: { pattern: /\b\w+!/, alias: "property" }, - constant: /\b[A-Z_][A-Z_\d]+\b/, - "class-name": /\b[A-Z]\w*\b/, - namespace: { - pattern: /(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/, - inside: { punctuation: /::/ }, - }, - number: - /\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/, - boolean: /\b(?:false|true)\b/, - punctuation: /->|\.\.=|\.{1,3}|::|[{}[\];(),:]/, - operator: /[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/, - }), - (t.languages.rust["closure-params"].inside.rest = t.languages.rust), - (t.languages.rust.attribute.inside.string = t.languages.rust.string); - })(e); -} -X2.displayName = "sass"; -X2.aliases = []; -function X2(e) { - e.register(Tl), - (function (t) { - (t.languages.sass = t.languages.extend("css", { - comment: { - pattern: /^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m, - lookbehind: !0, - greedy: !0, - }, - })), - t.languages.insertBefore("sass", "atrule", { - "atrule-line": { - pattern: /^(?:[ \t]*)[@+=].+/m, - greedy: !0, - inside: { atrule: /(?:@[\w-]+|[+=])/ }, - }, - }), - delete t.languages.sass.atrule; - var n = /\$[-\w]+|#\{\$[-\w]+\}/, - r = [ - /[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/, - { pattern: /(\s)-(?=\s)/, lookbehind: !0 }, - ]; - t.languages.insertBefore("sass", "property", { - "variable-line": { - pattern: /^[ \t]*\$.+/m, - greedy: !0, - inside: { punctuation: /:/, variable: n, operator: r }, - }, - "property-line": { - pattern: /^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m, - greedy: !0, - inside: { - property: [ - /[^:\s]+(?=\s*:)/, - { pattern: /(:)[^:\s]+/, lookbehind: !0 }, - ], - punctuation: /:/, - variable: n, - operator: r, - important: t.languages.sass.important, - }, - }, - }), - delete t.languages.sass.property, - delete t.languages.sass.important, - t.languages.insertBefore("sass", "punctuation", { - selector: { - pattern: - /^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m, - lookbehind: !0, - greedy: !0, - }, - }); - })(e); -} -Z2.displayName = "scss"; -Z2.aliases = []; -function Z2(e) { - e.register(Tl), - (e.languages.scss = e.languages.extend("css", { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/, - lookbehind: !0, - }, - atrule: { - pattern: /@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/, - inside: { rule: /@[\w-]+/ }, - }, - url: /(?:[-a-z]+-)?url(?=\()/i, - selector: { - pattern: - /(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/, - inside: { - parent: { pattern: /&/, alias: "important" }, - placeholder: /%[-\w]+/, - variable: /\$[-\w]+|#\{\$[-\w]+\}/, - }, - }, - property: { - pattern: /(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/, - inside: { variable: /\$[-\w]+|#\{\$[-\w]+\}/ }, - }, - })), - e.languages.insertBefore("scss", "atrule", { - keyword: [ - /@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i, - { pattern: /( )(?:from|through)(?= )/, lookbehind: !0 }, - ], - }), - e.languages.insertBefore("scss", "important", { - variable: /\$[-\w]+|#\{\$[-\w]+\}/, - }), - e.languages.insertBefore("scss", "function", { - "module-modifier": { - pattern: /\b(?:as|hide|show|with)\b/i, - alias: "keyword", - }, - placeholder: { pattern: /%[-\w]+/, alias: "selector" }, - statement: { pattern: /\B!(?:default|optional)\b/i, alias: "keyword" }, - boolean: /\b(?:false|true)\b/, - null: { pattern: /\bnull\b/, alias: "keyword" }, - operator: { - pattern: /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/, - lookbehind: !0, - }, - }), - (e.languages.scss.atrule.inside.rest = e.languages.scss); -} -pc.displayName = "sql"; -pc.aliases = []; -function pc(e) { - e.languages.sql = { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/, - lookbehind: !0, - }, - variable: [ - { pattern: /@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/, greedy: !0 }, - /@[\w.$]+/, - ], - string: { - pattern: /(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/, - greedy: !0, - lookbehind: !0, - }, - identifier: { - pattern: /(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/, - greedy: !0, - lookbehind: !0, - inside: { punctuation: /^`|`$/ }, - }, - function: - /\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i, - keyword: - /\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i, - boolean: /\b(?:FALSE|NULL|TRUE)\b/i, - number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i, - operator: - /[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i, - punctuation: /[;[\]()`,.]/, - }; -} -Q2.displayName = "swift"; -Q2.aliases = []; -function Q2(e) { - (e.languages.swift = { - comment: { - pattern: - /(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/, - lookbehind: !0, - greedy: !0, - }, - "string-literal": [ - { - pattern: RegExp( - /(^|[^"#])/.source + - "(?:" + - /"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/ - .source + - "|" + - /"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/ - .source + - ")" + - /(?!["#])/.source - ), - lookbehind: !0, - greedy: !0, - inside: { - interpolation: { - pattern: /(\\\()(?:[^()]|\([^()]*\))*(?=\))/, - lookbehind: !0, - inside: null, - }, - "interpolation-punctuation": { - pattern: /^\)|\\\($/, - alias: "punctuation", - }, - punctuation: /\\(?=[\r\n])/, - string: /[\s\S]+/, - }, - }, - { - pattern: RegExp( - /(^|[^"#])(#+)/.source + - "(?:" + - /"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/ - .source + - "|" + - /"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source + - ")\\2" - ), - lookbehind: !0, - greedy: !0, - inside: { - interpolation: { - pattern: /(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/, - lookbehind: !0, - inside: null, - }, - "interpolation-punctuation": { - pattern: /^\)|\\#+\($/, - alias: "punctuation", - }, - string: /[\s\S]+/, - }, - }, - ], - directive: { - pattern: RegExp( - /#/.source + - "(?:" + - (/(?:elseif|if)\b/.source + - "(?:[ ]*" + - /(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/ - .source + - ")+") + - "|" + - /(?:else|endif)\b/.source + - ")" - ), - alias: "property", - inside: { - "directive-name": /^#\w+/, - boolean: /\b(?:false|true)\b/, - number: /\b\d+(?:\.\d+)*\b/, - operator: /!|&&|\|\||[<>]=?/, - punctuation: /[(),]/, - }, - }, - literal: { - pattern: - /#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/, - alias: "constant", - }, - "other-directive": { pattern: /#\w+\b/, alias: "property" }, - attribute: { pattern: /@\w+/, alias: "atrule" }, - "function-definition": { - pattern: /(\bfunc\s+)\w+/, - lookbehind: !0, - alias: "function", - }, - label: { - pattern: - /\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/, - lookbehind: !0, - alias: "important", - }, - keyword: - /\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/, - boolean: /\b(?:false|true)\b/, - nil: { pattern: /\bnil\b/, alias: "constant" }, - "short-argument": /\$\d+\b/, - omit: { pattern: /\b_\b/, alias: "keyword" }, - number: - /\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i, - "class-name": /\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/, - function: /\b[a-z_]\w*(?=\s*\()/i, - constant: /\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/, - operator: /[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/, - punctuation: /[{}[\]();,.:\\]/, - }), - e.languages.swift["string-literal"].forEach(function (t) { - t.inside.interpolation.inside = e.languages.swift; - }); -} -fc.displayName = "typescript"; -fc.aliases = ["ts"]; -function fc(e) { - e.register(xr), - (function (t) { - (t.languages.typescript = t.languages.extend("javascript", { - "class-name": { - pattern: - /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/, - lookbehind: !0, - greedy: !0, - inside: null, - }, - builtin: - /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/, - })), - t.languages.typescript.keyword.push( - /\b(?:abstract|declare|is|keyof|readonly|require)\b/, - /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/, - /\btype\b(?=\s*(?:[\{*]|$))/ - ), - delete t.languages.typescript.parameter, - delete t.languages.typescript["literal-property"]; - var n = t.languages.extend("typescript", {}); - delete n["class-name"], - (t.languages.typescript["class-name"].inside = n), - t.languages.insertBefore("typescript", "function", { - decorator: { - pattern: /@[$\w\xA0-\uFFFF]+/, - inside: { - at: { pattern: /^@/, alias: "operator" }, - function: /^[\s\S]+/, - }, - }, - "generic-function": { - pattern: - /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/, - greedy: !0, - inside: { - function: - /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/, - generic: { pattern: /<[\s\S]+/, alias: "class-name", inside: n }, - }, - }, - }), - (t.languages.ts = t.languages.typescript); - })(e); -} -Fp.displayName = "basic"; -Fp.aliases = []; -function Fp(e) { - e.languages.basic = { - comment: { pattern: /(?:!|REM\b).+/i, inside: { keyword: /^REM/i } }, - string: { pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/, greedy: !0 }, - number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i, - keyword: - /\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i, - function: - /\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i, - operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i, - punctuation: /[,;:()]/, - }; -} -Pp.displayName = "vbnet"; -Pp.aliases = []; -function Pp(e) { - e.register(Fp), - (e.languages.vbnet = e.languages.extend("basic", { - comment: [ - { pattern: /(?:!|REM\b).+/i, inside: { keyword: /^REM/i } }, - { pattern: /(^|[^\\:])'.*/, lookbehind: !0, greedy: !0 }, - ], - string: { - pattern: /(^|[^"])"(?:""|[^"])*"(?!")/, - lookbehind: !0, - greedy: !0, - }, - keyword: - /(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i, - punctuation: /[,;:(){}]/, - })); -} -const ak = /[#.]/g; -function Zae(e, t) { - const n = e || "", - r = {}; - let i = 0, - a, - o; - for (; i < n.length; ) { - ak.lastIndex = i; - const s = ak.exec(n), - u = n.slice(i, s ? s.index : n.length); - u && - (a - ? a === "#" - ? (r.id = u) - : Array.isArray(r.className) - ? r.className.push(u) - : (r.className = [u]) - : (o = u), - (i += u.length)), - s && ((a = s[0]), i++); - } - return { - type: "element", - tagName: o || t || "div", - properties: r, - children: [], - }; -} -const Qae = new Set(["menu", "submit", "reset", "button"]), - Ob = {}.hasOwnProperty; -function Jae(e, t, n) { - const r = n && roe(n); - return function (a, o, ...s) { - let u = -1, - c; - if (a == null) (c = { type: "root", children: [] }), s.unshift(o); - else if ( - ((c = Zae(a, t)), - (c.tagName = c.tagName.toLowerCase()), - r && Ob.call(r, c.tagName) && (c.tagName = r[c.tagName]), - eoe(o, c.tagName)) - ) { - let p; - for (p in o) Ob.call(o, p) && toe(e, c.properties, p, o[p]); - } else s.unshift(o); - for (; ++u < s.length; ) Db(c.children, s[u]); - return ( - c.type === "element" && - c.tagName === "template" && - ((c.content = { type: "root", children: c.children }), - (c.children = [])), - c - ); - }; -} -function eoe(e, t) { - return e == null || typeof e != "object" || Array.isArray(e) - ? !1 - : t === "input" || !e.type || typeof e.type != "string" - ? !0 - : "children" in e && Array.isArray(e.children) - ? !1 - : t === "button" - ? Qae.has(e.type.toLowerCase()) - : !("value" in e); -} -function toe(e, t, n, r) { - const i = lc(e, n); - let a = -1, - o; - if (r != null) { - if (typeof r == "number") { - if (Number.isNaN(r)) return; - o = r; - } else - typeof r == "boolean" - ? (o = r) - : typeof r == "string" - ? i.spaceSeparated - ? (o = og(r)) - : i.commaSeparated - ? (o = lp(r)) - : i.commaOrSpaceSeparated - ? (o = og(lp(r).join(" "))) - : (o = ok(i, i.property, r)) - : Array.isArray(r) - ? (o = r.concat()) - : (o = i.property === "style" ? noe(r) : String(r)); - if (Array.isArray(o)) { - const s = []; - for (; ++a < o.length; ) s[a] = ok(i, i.property, o[a]); - o = s; - } - i.property === "className" && - Array.isArray(t.className) && - (o = t.className.concat(o)), - (t[i.property] = o); - } -} -function Db(e, t) { - let n = -1; - if (t != null) - if (typeof t == "string" || typeof t == "number") - e.push({ type: "text", value: String(t) }); - else if (Array.isArray(t)) for (; ++n < t.length; ) Db(e, t[n]); - else if (typeof t == "object" && "type" in t) - t.type === "root" ? Db(e, t.children) : e.push(t); - else throw new Error("Expected node, nodes, or string, got `" + t + "`"); -} -function ok(e, t, n) { - if (typeof n == "string") { - if (e.number && n && !Number.isNaN(Number(n))) return Number(n); - if ((e.boolean || e.overloadedBoolean) && (n === "" || gu(n) === gu(t))) - return !0; - } - return n; -} -function noe(e) { - const t = []; - let n; - for (n in e) Ob.call(e, n) && t.push([n, e[n]].join(": ")); - return t.join("; "); -} -function roe(e) { - const t = {}; - let n = -1; - for (; ++n < e.length; ) t[e[n].toLowerCase()] = e[n]; - return t; -} -const ioe = Jae(Tu, "div"), - aoe = [ - "AElig", - "AMP", - "Aacute", - "Acirc", - "Agrave", - "Aring", - "Atilde", - "Auml", - "COPY", - "Ccedil", - "ETH", - "Eacute", - "Ecirc", - "Egrave", - "Euml", - "GT", - "Iacute", - "Icirc", - "Igrave", - "Iuml", - "LT", - "Ntilde", - "Oacute", - "Ocirc", - "Ograve", - "Oslash", - "Otilde", - "Ouml", - "QUOT", - "REG", - "THORN", - "Uacute", - "Ucirc", - "Ugrave", - "Uuml", - "Yacute", - "aacute", - "acirc", - "acute", - "aelig", - "agrave", - "amp", - "aring", - "atilde", - "auml", - "brvbar", - "ccedil", - "cedil", - "cent", - "copy", - "curren", - "deg", - "divide", - "eacute", - "ecirc", - "egrave", - "eth", - "euml", - "frac12", - "frac14", - "frac34", - "gt", - "iacute", - "icirc", - "iexcl", - "igrave", - "iquest", - "iuml", - "laquo", - "lt", - "macr", - "micro", - "middot", - "nbsp", - "not", - "ntilde", - "oacute", - "ocirc", - "ograve", - "ordf", - "ordm", - "oslash", - "otilde", - "ouml", - "para", - "plusmn", - "pound", - "quot", - "raquo", - "reg", - "sect", - "shy", - "sup1", - "sup2", - "sup3", - "szlig", - "thorn", - "times", - "uacute", - "ucirc", - "ugrave", - "uml", - "uuml", - "yacute", - "yen", - "yuml", - ], - sk = { - 0: "�", - 128: "€", - 130: "‚", - 131: "ƒ", - 132: "„", - 133: "…", - 134: "†", - 135: "‡", - 136: "ˆ", - 137: "‰", - 138: "Š", - 139: "‹", - 140: "Œ", - 142: "Ž", - 145: "‘", - 146: "’", - 147: "“", - 148: "”", - 149: "•", - 150: "–", - 151: "—", - 152: "˜", - 153: "™", - 154: "š", - 155: "›", - 156: "œ", - 158: "ž", - 159: "Ÿ", - }; -function QL(e) { - const t = typeof e == "string" ? e.charCodeAt(0) : e; - return t >= 48 && t <= 57; -} -function ooe(e) { - const t = typeof e == "string" ? e.charCodeAt(0) : e; - return (t >= 97 && t <= 102) || (t >= 65 && t <= 70) || (t >= 48 && t <= 57); -} -function soe(e) { - const t = typeof e == "string" ? e.charCodeAt(0) : e; - return (t >= 97 && t <= 122) || (t >= 65 && t <= 90); -} -function lk(e) { - return soe(e) || QL(e); -} -const Yu = String.fromCharCode, - loe = [ - "", - "Named character references must be terminated by a semicolon", - "Numeric character references must be terminated by a semicolon", - "Named character references cannot be empty", - "Numeric character references cannot be empty", - "Named character references must be known", - "Numeric character references cannot be disallowed", - "Numeric character references cannot be outside the permissible Unicode range", - ]; -function uoe(e, t = {}) { - const n = - typeof t.additional == "string" - ? t.additional.charCodeAt(0) - : t.additional, - r = []; - let i = 0, - a = -1, - o = "", - s, - u; - t.position && - ("start" in t.position || "indent" in t.position - ? ((u = t.position.indent), (s = t.position.start)) - : (s = t.position)); - let c = (s ? s.line : 0) || 1, - p = (s ? s.column : 0) || 1, - f = g(), - m; - for (i--; ++i <= e.length; ) - if ( - (m === 10 && (p = (u ? u[a] : 0) || 1), (m = e.charCodeAt(i)), m === 38) - ) { - const T = e.charCodeAt(i + 1); - if ( - T === 9 || - T === 10 || - T === 12 || - T === 32 || - T === 38 || - T === 60 || - Number.isNaN(T) || - (n && T === n) - ) { - (o += Yu(m)), p++; - continue; - } - const v = i + 1; - let y = v, - w = v, - A; - if (T === 35) { - w = ++y; - const z = e.charCodeAt(w); - z === 88 || z === 120 - ? ((A = "hexadecimal"), (w = ++y)) - : (A = "decimal"); - } else A = "named"; - let D = "", - k = "", - R = ""; - const B = A === "named" ? lk : A === "decimal" ? QL : ooe; - for (w--; ++w <= e.length; ) { - const z = e.charCodeAt(w); - if (!B(z)) break; - (R += Yu(z)), - A === "named" && aoe.includes(R) && ((D = R), (k = sp(R))); - } - let W = e.charCodeAt(w) === 59; - if (W) { - w++; - const z = A === "named" ? sp(R) : !1; - z && ((D = R), (k = z)); - } - let P = 1 + w - v, - Q = ""; - if (!(!W && t.nonTerminated === !1)) - if (!R) A !== "named" && E(4, P); - else if (A === "named") { - if (W && !k) E(5, 1); - else if ( - (D !== R && ((w = y + D.length), (P = 1 + w - y), (W = !1)), !W) - ) { - const z = D ? 1 : 3; - if (t.attribute) { - const le = e.charCodeAt(w); - le === 61 ? (E(z, P), (k = "")) : lk(le) ? (k = "") : E(z, P); - } else E(z, P); - } - Q = k; - } else { - W || E(2, P); - let z = Number.parseInt(R, A === "hexadecimal" ? 16 : 10); - if (coe(z)) E(7, P), (Q = Yu(65533)); - else if (z in sk) E(6, P), (Q = sk[z]); - else { - let le = ""; - doe(z) && E(6, P), - z > 65535 && - ((z -= 65536), - (le += Yu((z >>> 10) | 55296)), - (z = 56320 | (z & 1023))), - (Q = le + Yu(z)); - } - } - if (Q) { - b(), (f = g()), (i = w - 1), (p += w - v + 1), r.push(Q); - const z = g(); - z.offset++, - t.reference && - t.reference.call( - t.referenceContext, - Q, - { start: f, end: z }, - e.slice(v - 1, w) - ), - (f = z); - } else (R = e.slice(v - 1, w)), (o += R), (p += R.length), (i = w - 1); - } else - m === 10 && (c++, a++, (p = 0)), - Number.isNaN(m) ? b() : ((o += Yu(m)), p++); - return r.join(""); - function g() { - return { line: c, column: p, offset: i + ((s ? s.offset : 0) || 0) }; - } - function E(T, v) { - let y; - t.warning && - ((y = g()), - (y.column += v), - (y.offset += v), - t.warning.call(t.warningContext, loe[T], y, T)); - } - function b() { - o && - (r.push(o), - t.text && t.text.call(t.textContext, o, { start: f, end: g() }), - (o = "")); - } -} -function coe(e) { - return (e >= 55296 && e <= 57343) || e > 1114111; -} -function doe(e) { - return ( - (e >= 1 && e <= 8) || - e === 11 || - (e >= 13 && e <= 31) || - (e >= 127 && e <= 159) || - (e >= 64976 && e <= 65007) || - (e & 65535) === 65535 || - (e & 65535) === 65534 - ); -} -var poe = 0, - I0 = {}, - sr = { - util: { - type: function (e) { - return Object.prototype.toString.call(e).slice(8, -1); - }, - objId: function (e) { - return ( - e.__id || Object.defineProperty(e, "__id", { value: ++poe }), e.__id - ); - }, - clone: function e(t, n) { - n = n || {}; - var r, i; - switch (sr.util.type(t)) { - case "Object": - if (((i = sr.util.objId(t)), n[i])) return n[i]; - (r = {}), (n[i] = r); - for (var a in t) t.hasOwnProperty(a) && (r[a] = e(t[a], n)); - return r; - case "Array": - return ( - (i = sr.util.objId(t)), - n[i] - ? n[i] - : ((r = []), - (n[i] = r), - t.forEach(function (o, s) { - r[s] = e(o, n); - }), - r) - ); - default: - return t; - } - }, - }, - languages: { - plain: I0, - plaintext: I0, - text: I0, - txt: I0, - extend: function (e, t) { - var n = sr.util.clone(sr.languages[e]); - for (var r in t) n[r] = t[r]; - return n; - }, - insertBefore: function (e, t, n, r) { - r = r || sr.languages; - var i = r[e], - a = {}; - for (var o in i) - if (i.hasOwnProperty(o)) { - if (o == t) for (var s in n) n.hasOwnProperty(s) && (a[s] = n[s]); - n.hasOwnProperty(o) || (a[o] = i[o]); - } - var u = r[e]; - return ( - (r[e] = a), - sr.languages.DFS(sr.languages, function (c, p) { - p === u && c != e && (this[c] = a); - }), - a - ); - }, - DFS: function e(t, n, r, i) { - i = i || {}; - var a = sr.util.objId; - for (var o in t) - if (t.hasOwnProperty(o)) { - n.call(t, o, t[o], r || o); - var s = t[o], - u = sr.util.type(s); - u === "Object" && !i[a(s)] - ? ((i[a(s)] = !0), e(s, n, null, i)) - : u === "Array" && !i[a(s)] && ((i[a(s)] = !0), e(s, n, o, i)); - } - }, - }, - plugins: {}, - highlight: function (e, t, n) { - var r = { code: e, grammar: t, language: n }; - if ((sr.hooks.run("before-tokenize", r), !r.grammar)) - throw new Error('The language "' + r.language + '" has no grammar.'); - return ( - (r.tokens = sr.tokenize(r.code, r.grammar)), - sr.hooks.run("after-tokenize", r), - Dd.stringify(sr.util.encode(r.tokens), r.language) - ); - }, - tokenize: function (e, t) { - var n = t.rest; - if (n) { - for (var r in n) t[r] = n[r]; - delete t.rest; - } - var i = new foe(); - return hh(i, i.head, e), JL(e, i, t, i.head, 0), goe(i); - }, - hooks: { - all: {}, - add: function (e, t) { - var n = sr.hooks.all; - (n[e] = n[e] || []), n[e].push(t); - }, - run: function (e, t) { - var n = sr.hooks.all[e]; - if (!(!n || !n.length)) for (var r = 0, i; (i = n[r++]); ) i(t); - }, - }, - Token: Dd, - }; -function Dd(e, t, n, r) { - (this.type = e), - (this.content = t), - (this.alias = n), - (this.length = (r || "").length | 0); -} -function uk(e, t, n, r) { - e.lastIndex = t; - var i = e.exec(n); - if (i && r && i[1]) { - var a = i[1].length; - (i.index += a), (i[0] = i[0].slice(a)); - } - return i; -} -function JL(e, t, n, r, i, a) { - for (var o in n) - if (!(!n.hasOwnProperty(o) || !n[o])) { - var s = n[o]; - s = Array.isArray(s) ? s : [s]; - for (var u = 0; u < s.length; ++u) { - if (a && a.cause == o + "," + u) return; - var c = s[u], - p = c.inside, - f = !!c.lookbehind, - m = !!c.greedy, - g = c.alias; - if (m && !c.pattern.global) { - var E = c.pattern.toString().match(/[imsuy]*$/)[0]; - c.pattern = RegExp(c.pattern.source, E + "g"); - } - for ( - var b = c.pattern || c, T = r.next, v = i; - T !== t.tail && !(a && v >= a.reach); - v += T.value.length, T = T.next - ) { - var y = T.value; - if (t.length > e.length) return; - if (!(y instanceof Dd)) { - var w = 1, - A; - if (m) { - if (((A = uk(b, v, e, f)), !A || A.index >= e.length)) break; - var B = A.index, - D = A.index + A[0].length, - k = v; - for (k += T.value.length; B >= k; ) - (T = T.next), (k += T.value.length); - if (((k -= T.value.length), (v = k), T.value instanceof Dd)) - continue; - for ( - var R = T; - R !== t.tail && (k < D || typeof R.value == "string"); - R = R.next - ) - w++, (k += R.value.length); - w--, (y = e.slice(v, k)), (A.index -= v); - } else if (((A = uk(b, 0, y, f)), !A)) continue; - var B = A.index, - W = A[0], - P = y.slice(0, B), - Q = y.slice(B + W.length), - z = v + y.length; - a && z > a.reach && (a.reach = z); - var le = T.prev; - P && ((le = hh(t, le, P)), (v += P.length)), hoe(t, le, w); - var he = new Dd(o, p ? sr.tokenize(W, p) : W, g, W); - if (((T = hh(t, le, he)), Q && hh(t, T, Q), w > 1)) { - var de = { cause: o + "," + u, reach: z }; - JL(e, t, n, T.prev, v, de), - a && de.reach > a.reach && (a.reach = de.reach); - } - } - } - } - } -} -function foe() { - var e = { value: null, prev: null, next: null }, - t = { value: null, prev: e, next: null }; - (e.next = t), (this.head = e), (this.tail = t), (this.length = 0); -} -function hh(e, t, n) { - var r = t.next, - i = { value: n, prev: t, next: r }; - return (t.next = i), (r.prev = i), e.length++, i; -} -function hoe(e, t, n) { - for (var r = t.next, i = 0; i < n && r !== e.tail; i++) r = r.next; - (t.next = r), (r.prev = t), (e.length -= i); -} -function goe(e) { - for (var t = [], n = e.head.next; n !== e.tail; ) - t.push(n.value), (n = n.next); - return t; -} -const eM = sr, - hc = {}.hasOwnProperty; -function tM() {} -tM.prototype = eM; -const L = new tM(); -L.highlight = moe; -L.register = boe; -L.alias = Eoe; -L.registered = voe; -L.listLanguages = yoe; -L.util.encode = _oe; -L.Token.stringify = Lb; -function moe(e, t) { - if (typeof e != "string") - throw new TypeError("Expected `string` for `value`, got `" + e + "`"); - let n, r; - if (t && typeof t == "object") n = t; - else { - if (((r = t), typeof r != "string")) - throw new TypeError("Expected `string` for `name`, got `" + r + "`"); - if (hc.call(L.languages, r)) n = L.languages[r]; - else throw new Error("Unknown language: `" + r + "` is not registered"); - } - return { type: "root", children: eM.highlight.call(L, e, n, r) }; -} -function boe(e) { - if (typeof e != "function" || !e.displayName) - throw new Error("Expected `function` for `syntax`, got `" + e + "`"); - hc.call(L.languages, e.displayName) || e(L); -} -function Eoe(e, t) { - const n = L.languages; - let r = {}; - typeof e == "string" ? t && (r[e] = t) : (r = e); - let i; - for (i in r) - if (hc.call(r, i)) { - const a = r[i], - o = typeof a == "string" ? [a] : a; - let s = -1; - for (; ++s < o.length; ) n[o[s]] = n[i]; - } -} -function voe(e) { - if (typeof e != "string") - throw new TypeError( - "Expected `string` for `aliasOrLanguage`, got `" + e + "`" - ); - return hc.call(L.languages, e); -} -function yoe() { - const e = L.languages, - t = []; - let n; - for (n in e) hc.call(e, n) && typeof e[n] == "object" && t.push(n); - return t; -} -function Lb(e, t) { - if (typeof e == "string") return { type: "text", value: e }; - if (Array.isArray(e)) { - const r = []; - let i = -1; - for (; ++i < e.length; ) - e[i] !== "" && e[i] !== null && e[i] !== void 0 && r.push(Lb(e[i], t)); - return r; - } - const n = { - type: e.type, - content: Lb(e.content, t), - tag: "span", - classes: ["token", e.type], - attributes: {}, - language: t, - }; - return ( - e.alias && - n.classes.push(...(typeof e.alias == "string" ? [e.alias] : e.alias)), - L.hooks.run("wrap", n), - ioe(n.tag + "." + n.classes.join("."), Toe(n.attributes), n.content) - ); -} -function _oe(e) { - return e; -} -function Toe(e) { - let t; - for (t in e) hc.call(e, t) && (e[t] = uoe(e[t])); - return e; -} -L.register(Mt); -L.register(qa); -L.register(Au); -L.register(P2); -L.register(Op); -L.register(Cu); -L.register(fr); -L.register(Tl); -L.register(B2); -L.register(U2); -L.register($2); -L.register(xu); -L.register(z2); -L.register(xr); -L.register(dc); -L.register(H2); -L.register(j2); -L.register(Dp); -L.register(G2); -L.register(Lp); -L.register(V2); -L.register(W2); -L.register(q2); -L.register(kr); -L.register(ku); -L.register(Mp); -L.register(K2); -L.register(Iu); -L.register(Y2); -L.register(X2); -L.register(Z2); -L.register(pc); -L.register(Q2); -L.register(fc); -L.register(Fp); -L.register(Pp); -iv.displayName = "abap"; -iv.aliases = []; -function iv(e) { - e.languages.abap = { - comment: /^\*.*/m, - string: /(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/, - "string-template": { - pattern: /([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/, - lookbehind: !0, - alias: "string", - }, - "eol-comment": { pattern: /(^|\s)".*/m, lookbehind: !0, alias: "comment" }, - keyword: { - pattern: - /(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i, - lookbehind: !0, - }, - number: /\b\d+\b/, - operator: { - pattern: /(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/, - lookbehind: !0, - }, - "string-operator": { - pattern: /(\s)&&?(?=\s)/, - lookbehind: !0, - alias: "keyword", - }, - "token-operator": [ - { - pattern: /(\w)(?:->?|=>|[~|{}])(?=\w)/, - lookbehind: !0, - alias: "punctuation", - }, - { pattern: /[|{}]/, alias: "punctuation" }, - ], - punctuation: /[,.:()]/, - }; -} -av.displayName = "abnf"; -av.aliases = []; -function av(e) { - (function (t) { - var n = - "(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)"; - t.languages.abnf = { - comment: /;.*/, - string: { - pattern: /(?:%[is])?"[^"\n\r]*"/, - greedy: !0, - inside: { punctuation: /^%[is]/ }, - }, - range: { - pattern: /%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i, - alias: "number", - }, - terminal: { - pattern: - /%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i, - alias: "number", - }, - repetition: { - pattern: /(^|[^\w-])(?:\d*\*\d*|\d+)/, - lookbehind: !0, - alias: "operator", - }, - definition: { - pattern: /(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m, - lookbehind: !0, - alias: "keyword", - inside: { punctuation: /<|>/ }, - }, - "core-rule": { - pattern: RegExp("(?:(^|[^<\\w-])" + n + "|<" + n + ">)(?![\\w-])", "i"), - lookbehind: !0, - alias: ["rule", "constant"], - inside: { punctuation: /<|>/ }, - }, - rule: { - pattern: /(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i, - lookbehind: !0, - inside: { punctuation: /<|>/ }, - }, - operator: /=\/?|\//, - punctuation: /[()\[\]]/, - }; - })(e); -} -ov.displayName = "actionscript"; -ov.aliases = []; -function ov(e) { - e.register(xr), - (e.languages.actionscript = e.languages.extend("javascript", { - keyword: - /\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/, - operator: /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/, - })), - (e.languages.actionscript["class-name"].alias = "function"), - delete e.languages.actionscript.parameter, - delete e.languages.actionscript["literal-property"], - e.languages.markup && - e.languages.insertBefore("actionscript", "string", { - xml: { - pattern: - /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/, - lookbehind: !0, - inside: e.languages.markup, - }, - }); -} -sv.displayName = "ada"; -sv.aliases = []; -function sv(e) { - e.languages.ada = { - comment: /--.*/, - string: /"(?:""|[^"\r\f\n])*"/, - number: [ - { - pattern: - /\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i, - }, - { pattern: /\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i }, - ], - attribute: { pattern: /\b'\w+/, alias: "attr-name" }, - keyword: - /\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i, - boolean: /\b(?:false|true)\b/i, - operator: /<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/, - punctuation: /\.\.?|[,;():]/, - char: /'.'/, - variable: /\b[a-z](?:\w)*\b/i, - }; -} -lv.displayName = "agda"; -lv.aliases = []; -function lv(e) { - (function (t) { - t.languages.agda = { - comment: /\{-[\s\S]*?(?:-\}|$)|--.*/, - string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/, greedy: !0 }, - punctuation: /[(){}⦃⦄.;@]/, - "class-name": { pattern: /((?:data|record) +)\S+/, lookbehind: !0 }, - function: { pattern: /(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m, lookbehind: !0 }, - operator: { - pattern: /(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/, - lookbehind: !0, - }, - keyword: - /\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/, - }; - })(e); -} -uv.displayName = "al"; -uv.aliases = []; -function uv(e) { - e.languages.al = { - comment: /\/\/.*|\/\*[\s\S]*?\*\//, - string: { - pattern: /'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/, - greedy: !0, - }, - function: { - pattern: - /(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i, - lookbehind: !0, - }, - keyword: [ - /\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i, - /\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i, - ], - number: - /\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i, - boolean: /\b(?:false|true)\b/i, - variable: /\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/, - "class-name": - /\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i, - operator: /\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i, - punctuation: /[()\[\]{}:.;,]/, - }; -} -cv.displayName = "antlr4"; -cv.aliases = ["g4"]; -function cv(e) { - (e.languages.antlr4 = { - comment: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, - string: { pattern: /'(?:\\.|[^\\'\r\n])*'/, greedy: !0 }, - "character-class": { - pattern: /\[(?:\\.|[^\\\]\r\n])*\]/, - greedy: !0, - alias: "regex", - inside: { - range: { - pattern: /([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/, - lookbehind: !0, - alias: "punctuation", - }, - escape: - /\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/, - punctuation: /[\[\]]/, - }, - }, - action: { - pattern: /\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/, - greedy: !0, - inside: { - content: { pattern: /(\{)[\s\S]+(?=\})/, lookbehind: !0 }, - punctuation: /[{}]/, - }, - }, - command: { - pattern: - /(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i, - lookbehind: !0, - inside: { function: /\b\w+(?=\s*(?:[,(]|$))/, punctuation: /[,()]/ }, - }, - annotation: { pattern: /@\w+(?:::\w+)*/, alias: "keyword" }, - label: { pattern: /#[ \t]*\w+/, alias: "punctuation" }, - keyword: - /\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/, - definition: [ - { pattern: /\b[a-z]\w*(?=\s*:)/, alias: ["rule", "class-name"] }, - { pattern: /\b[A-Z]\w*(?=\s*:)/, alias: ["token", "constant"] }, - ], - constant: /\b[A-Z][A-Z_]*\b/, - operator: /\.\.|->|[|~]|[*+?]\??/, - punctuation: /[;:()=]/, - }), - (e.languages.g4 = e.languages.antlr4); -} -dv.displayName = "apacheconf"; -dv.aliases = []; -function dv(e) { - e.languages.apacheconf = { - comment: /#.*/, - "directive-inline": { - pattern: - /(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im, - lookbehind: !0, - alias: "property", - }, - "directive-block": { - pattern: - /<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i, - inside: { - "directive-block": { - pattern: /^<\/?\w+/, - inside: { punctuation: /^<\/?/ }, - alias: "tag", - }, - "directive-block-parameter": { - pattern: /.*[^>]/, - inside: { - punctuation: /:/, - string: { - pattern: /("|').*\1/, - inside: { variable: /[$%]\{?(?:\w\.?[-+:]?)+\}?/ }, - }, - }, - alias: "attr-value", - }, - punctuation: />/, - }, - alias: "tag", - }, - "directive-flags": { pattern: /\[(?:[\w=],?)+\]/, alias: "keyword" }, - string: { - pattern: /("|').*\1/, - inside: { variable: /[$%]\{?(?:\w\.?[-+:]?)+\}?/ }, - }, - variable: /[$%]\{?(?:\w\.?[-+:]?)+\}?/, - regex: /\^?.*\$|\^.*\$?/, - }; -} -pv.displayName = "apex"; -pv.aliases = []; -function pv(e) { - e.register(Mt), - e.register(pc), - (function (t) { - var n = - /\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i, - r = - /\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace( - //g, - function () { - return n.source; - } - ); - function i(o) { - return RegExp( - o.replace(//g, function () { - return r; - }), - "i" - ); - } - var a = { keyword: n, punctuation: /[()\[\]{};,:.<>]/ }; - t.languages.apex = { - comment: t.languages.clike.comment, - string: t.languages.clike.string, - sql: { - pattern: /((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i, - lookbehind: !0, - greedy: !0, - alias: "language-sql", - inside: t.languages.sql, - }, - annotation: { pattern: /@\w+\b/, alias: "punctuation" }, - "class-name": [ - { - pattern: i( - /(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/ - .source - ), - lookbehind: !0, - inside: a, - }, - { - pattern: i(/(\(\s*)(?=\s*\)\s*[\w(])/.source), - lookbehind: !0, - inside: a, - }, - { - pattern: i(/(?=\s*\w+\s*[;=,(){:])/.source), - inside: a, - }, - ], - trigger: { - pattern: /(\btrigger\s+)\w+\b/i, - lookbehind: !0, - alias: "class-name", - }, - keyword: n, - function: /\b[a-z_]\w*(?=\s*\()/i, - boolean: /\b(?:false|true)\b/i, - number: /(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i, - operator: - /[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/, - punctuation: /[()\[\]{};,.]/, - }; - })(e); -} -fv.displayName = "apl"; -fv.aliases = []; -function fv(e) { - e.languages.apl = { - comment: /(?:⍝|#[! ]).*$/m, - string: { pattern: /'(?:[^'\r\n]|'')*'/, greedy: !0 }, - number: - /¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i, - statement: /:[A-Z][a-z][A-Za-z]*\b/, - "system-function": { pattern: /⎕[A-Z]+/i, alias: "function" }, - constant: /[⍬⌾#⎕⍞]/, - function: /[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/, - "monadic-operator": { pattern: /[\\\/⌿⍀¨⍨⌶&∥]/, alias: "operator" }, - "dyadic-operator": { pattern: /[.⍣⍠⍤∘⌸@⌺⍥]/, alias: "operator" }, - assignment: { pattern: /←/, alias: "keyword" }, - punctuation: /[\[;\]()◇⋄]/, - dfn: { pattern: /[{}⍺⍵⍶⍹∇⍫:]/, alias: "builtin" }, - }; -} -hv.displayName = "applescript"; -hv.aliases = []; -function hv(e) { - e.languages.applescript = { - comment: [ - /\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/, - /--.+/, - /#.+/, - ], - string: /"(?:\\.|[^"\\\r\n])*"/, - number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i, - operator: [ - /[&=≠≤≥*+\-\/÷^]|[<>]=?/, - /\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/, - ], - keyword: - /\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/, - "class-name": - /\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/, - punctuation: /[{}():,¬«»《》]/, - }; -} -gv.displayName = "aql"; -gv.aliases = []; -function gv(e) { - e.languages.aql = { - comment: /\/\/.*|\/\*[\s\S]*?\*\//, - property: { - pattern: - /([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/, - lookbehind: !0, - greedy: !0, - }, - string: { pattern: /(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/, greedy: !0 }, - identifier: { pattern: /([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/, greedy: !0 }, - variable: /@@?\w+/, - keyword: [ - { pattern: /(\bWITH\s+)COUNT(?=\s+INTO\b)/i, lookbehind: !0 }, - /\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i, - { pattern: /(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i, lookbehind: !0 }, - { pattern: /(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/, lookbehind: !0 }, - { pattern: /\bOPTIONS(?=\s*\{)/i }, - ], - function: /\b(?!\d)\w+(?=\s*\()/, - boolean: /\b(?:false|true)\b/i, - range: { pattern: /\.\./, alias: "operator" }, - number: [ - /\b0b[01]+/i, - /\b0x[0-9a-f]+/i, - /(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i, - ], - operator: /\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/, - punctuation: /::|[?.:,;()[\]{}]/, - }; -} -mv.displayName = "arff"; -mv.aliases = []; -function mv(e) { - e.languages.arff = { - comment: /%.*/, - string: { pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, - keyword: /@(?:attribute|data|end|relation)\b/i, - number: /\b\d+(?:\.\d+)?\b/, - punctuation: /[{},]/, - }; -} -bv.displayName = "armasm"; -bv.aliases = ["arm-asm"]; -function bv(e) { - (e.languages.armasm = { - comment: { pattern: /;.*/, greedy: !0 }, - string: { - pattern: /"(?:[^"\r\n]|"")*"/, - greedy: !0, - inside: { - variable: { pattern: /((?:^|[^$])(?:\${2})*)\$\w+/, lookbehind: !0 }, - }, - }, - char: { pattern: /'(?:[^'\r\n]{0,4}|'')'/, greedy: !0 }, - "version-symbol": { pattern: /\|[\w@]+\|/, greedy: !0, alias: "property" }, - boolean: /\b(?:FALSE|TRUE)\b/, - directive: { - pattern: - /\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/, - alias: "property", - }, - instruction: { - pattern: - /((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/, - lookbehind: !0, - alias: "keyword", - }, - variable: /\$\w+/, - number: - /(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i, - register: { pattern: /\b(?:r\d|lr)\b/, alias: "symbol" }, - operator: /<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/, - punctuation: /[()[\],]/, - }), - (e.languages["arm-asm"] = e.languages.armasm); -} -Ev.displayName = "arturo"; -Ev.aliases = ["art"]; -function Ev(e) { - (function (t) { - var n = function (r, i) { - return { - pattern: RegExp( - /\{!/.source + "(?:" + (i || r) + ")" + /$[\s\S]*\}/.source, - "m" - ), - greedy: !0, - inside: { - embedded: { - pattern: /(^\{!\w+\b)[\s\S]+(?=\}$)/, - lookbehind: !0, - alias: "language-" + r, - inside: t.languages[r], - }, - string: /[\s\S]+/, - }, - }; - }; - (t.languages.arturo = { - comment: { pattern: /;.*/, greedy: !0 }, - character: { pattern: /`.`/, alias: "char", greedy: !0 }, - number: { pattern: /\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/ }, - string: { pattern: /"(?:[^"\\\r\n]|\\.)*"/, greedy: !0 }, - regex: { pattern: /\{\/.*?\/\}/, greedy: !0 }, - "html-string": n("html"), - "css-string": n("css"), - "js-string": n("js"), - "md-string": n("md"), - "sql-string": n("sql"), - "sh-string": n("shell", "sh"), - multistring: { - pattern: /».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m, - alias: "string", - greedy: !0, - }, - label: { pattern: /\w+\b\??:/, alias: "property" }, - literal: { pattern: /'(?:\w+\b\??:?)/, alias: "constant" }, - type: { pattern: /:(?:\w+\b\??:?)/, alias: "class-name" }, - color: /#\w+/, - predicate: { - pattern: - /\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/, - alias: "keyword", - }, - "builtin-function": { - pattern: - /\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/, - alias: "keyword", - }, - sugar: { pattern: /->|=>|\||::/, alias: "operator" }, - punctuation: /[()[\],]/, - symbol: { - pattern: /<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/, - }, - boolean: { pattern: /\b(?:false|maybe|true)\b/ }, - }), - (t.languages.art = t.languages.arturo); - })(e); -} -vv.displayName = "asciidoc"; -vv.aliases = ["adoc"]; -function vv(e) { - (function (t) { - var n = { - pattern: - /(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m, - lookbehind: !0, - inside: { - quoted: { - pattern: /([$`])(?:(?!\1)[^\\]|\\.)*\1/, - inside: { punctuation: /^[$`]|[$`]$/ }, - }, - interpreted: { - pattern: /'(?:[^'\\]|\\.)*'/, - inside: { punctuation: /^'|'$/ }, - }, - string: /"(?:[^"\\]|\\.)*"/, - variable: /\w+(?==)/, - punctuation: /^\[|\]$|,/, - operator: /=/, - "attr-value": /(?!^\s+$).+/, - }, - }, - r = (t.languages.asciidoc = { - "comment-block": { - pattern: /^(\/{4,})$[\s\S]*?^\1/m, - alias: "comment", - }, - table: { - pattern: /^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m, - inside: { - specifiers: { - pattern: - /(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/, - alias: "attr-value", - }, - punctuation: { pattern: /(^|[^\\])[|!]=*/, lookbehind: !0 }, - }, - }, - "passthrough-block": { - pattern: /^(\+{4,})$[\s\S]*?^\1$/m, - inside: { punctuation: /^\++|\++$/ }, - }, - "literal-block": { - pattern: /^(-{4,}|\.{4,})$[\s\S]*?^\1$/m, - inside: { punctuation: /^(?:-+|\.+)|(?:-+|\.+)$/ }, - }, - "other-block": { - pattern: /^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m, - inside: { punctuation: /^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/ }, - }, - "list-punctuation": { - pattern: - /(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im, - lookbehind: !0, - alias: "punctuation", - }, - "list-label": { - pattern: /(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im, - lookbehind: !0, - alias: "symbol", - }, - "indented-block": { - pattern: /((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/, - lookbehind: !0, - }, - comment: /^\/\/.*/m, - title: { - pattern: - /^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m, - alias: "important", - inside: { punctuation: /^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/ }, - }, - "attribute-entry": { - pattern: /^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m, - alias: "tag", - }, - attributes: n, - hr: { pattern: /^'{3,}$/m, alias: "punctuation" }, - "page-break": { pattern: /^<{3,}$/m, alias: "punctuation" }, - admonition: { - pattern: /^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m, - alias: "keyword", - }, - callout: [ - { pattern: /(^[ \t]*)/m, lookbehind: !0, alias: "symbol" }, - { pattern: /<\d+>/, alias: "symbol" }, - ], - macro: { - pattern: - /\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/, - inside: { - function: /^[a-z\d-]+(?=:)/, - punctuation: /^::?/, - attributes: { - pattern: - /(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/, - inside: n.inside, - }, - }, - }, - inline: { - pattern: - /(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m, - lookbehind: !0, - inside: { - attributes: n, - url: { - pattern: /^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/, - inside: { punctuation: /^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/ }, - }, - "attribute-ref": { - pattern: /^\{.+\}$/, - inside: { - variable: { pattern: /(^\{)[a-z\d,+_-]+/, lookbehind: !0 }, - operator: /^[=?!#%@$]|!(?=[:}])/, - punctuation: /^\{|\}$|::?/, - }, - }, - italic: { - pattern: /^(['_])[\s\S]+\1$/, - inside: { punctuation: /^(?:''?|__?)|(?:''?|__?)$/ }, - }, - bold: { - pattern: /^\*[\s\S]+\*$/, - inside: { punctuation: /^\*\*?|\*\*?$/ }, - }, - punctuation: - /^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/, - }, - }, - replacement: { pattern: /\((?:C|R|TM)\)/, alias: "builtin" }, - entity: /&#?[\da-z]{1,8};/i, - "line-continuation": { - pattern: /(^| )\+$/m, - lookbehind: !0, - alias: "punctuation", - }, - }); - function i(a) { - a = a.split(" "); - for (var o = {}, s = 0, u = a.length; s < u; s++) o[a[s]] = r[a[s]]; - return o; - } - (n.inside.interpreted.inside.rest = i("macro inline replacement entity")), - (r["passthrough-block"].inside.rest = i("macro")), - (r["literal-block"].inside.rest = i("callout")), - (r.table.inside.rest = i( - "comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation" - )), - (r["other-block"].inside.rest = i( - "table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation" - )), - (r.title.inside.rest = i("macro inline replacement entity")), - t.hooks.add("wrap", function (a) { - a.type === "entity" && - (a.attributes.title = a.content.value.replace(/&/, "&")); - }), - (t.languages.adoc = t.languages.asciidoc); - })(e); -} -yv.displayName = "aspnet"; -yv.aliases = []; -function yv(e) { - e.register(Cu), - e.register(fr), - (e.languages.aspnet = e.languages.extend("markup", { - "page-directive": { - pattern: /<%\s*@.*%>/, - alias: "tag", - inside: { - "page-directive": { - pattern: - /<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i, - alias: "tag", - }, - rest: e.languages.markup.tag.inside, - }, - }, - directive: { - pattern: /<%.*%>/, - alias: "tag", - inside: { - directive: { pattern: /<%\s*?[$=%#:]{0,2}|%>/, alias: "tag" }, - rest: e.languages.csharp, - }, - }, - })), - (e.languages.aspnet.tag.pattern = - /<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/), - e.languages.insertBefore( - "inside", - "punctuation", - { directive: e.languages.aspnet.directive }, - e.languages.aspnet.tag.inside["attr-value"] - ), - e.languages.insertBefore("aspnet", "comment", { - "asp-comment": { pattern: /<%--[\s\S]*?--%>/, alias: ["asp", "comment"] }, - }), - e.languages.insertBefore( - "aspnet", - e.languages.javascript ? "script" : "tag", - { - "asp-script": { - pattern: - /(]*>)[\s\S]*?(?=<\/script>)/i, - lookbehind: !0, - alias: ["asp", "script"], - inside: e.languages.csharp || {}, - }, - } - ); -} -_v.displayName = "asm6502"; -_v.aliases = []; -function _v(e) { - e.languages.asm6502 = { - comment: /;.*/, - directive: { pattern: /\.\w+(?= )/, alias: "property" }, - string: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/, - "op-code": { - pattern: - /\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/, - alias: "keyword", - }, - "hex-number": { pattern: /#?\$[\da-f]{1,4}\b/i, alias: "number" }, - "binary-number": { pattern: /#?%[01]+\b/, alias: "number" }, - "decimal-number": { pattern: /#?\b\d+\b/, alias: "number" }, - register: { pattern: /\b[xya]\b/i, alias: "variable" }, - punctuation: /[(),:]/, - }; -} -Tv.displayName = "asmatmel"; -Tv.aliases = []; -function Tv(e) { - e.languages.asmatmel = { - comment: { pattern: /;.*/, greedy: !0 }, - string: { pattern: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, - constant: /\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/, - directive: { pattern: /\.\w+(?= )/, alias: "property" }, - "r-register": { pattern: /\br(?:\d|[12]\d|3[01])\b/, alias: "variable" }, - "op-code": { - pattern: - /\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/, - alias: "keyword", - }, - "hex-number": { pattern: /#?\$[\da-f]{2,4}\b/i, alias: "number" }, - "binary-number": { pattern: /#?%[01]+\b/, alias: "number" }, - "decimal-number": { pattern: /#?\b\d+\b/, alias: "number" }, - register: { pattern: /\b[acznvshtixy]\b/i, alias: "variable" }, - operator: />>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/, - punctuation: /[(),:]/, - }; -} -Sv.displayName = "autohotkey"; -Sv.aliases = []; -function Sv(e) { - e.languages.autohotkey = { - comment: [ - { pattern: /(^|\s);.*/, lookbehind: !0 }, - { - pattern: - /(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m, - lookbehind: !0, - greedy: !0, - }, - ], - tag: { pattern: /^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m, lookbehind: !0 }, - string: /"(?:[^"\n\r]|"")*"/, - variable: /%\w+%/, - number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/, - operator: - /\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/, - boolean: /\b(?:false|true)\b/, - command: { - pattern: - /\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i, - alias: "selector", - }, - constant: - /\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i, - builtin: - /\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i, - symbol: - /\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i, - directive: { pattern: /#[a-z]+\b/i, alias: "important" }, - keyword: - /\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i, - function: /[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/, - punctuation: /[{}[\]():,]/, - }; -} -wv.displayName = "autoit"; -wv.aliases = []; -function wv(e) { - e.languages.autoit = { - comment: [ - /;.*/, - { - pattern: - /(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m, - lookbehind: !0, - }, - ], - url: { - pattern: /(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m, - lookbehind: !0, - }, - string: { - pattern: /(["'])(?:\1\1|(?!\1)[^\r\n])*\1/, - greedy: !0, - inside: { variable: /([%$@])\w+\1/ }, - }, - directive: { - pattern: /(^[\t ]*)#[\w-]+/m, - lookbehind: !0, - alias: "keyword", - }, - function: /\b\w+(?=\()/, - variable: /[$@]\w+/, - keyword: - /\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i, - number: /\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i, - boolean: /\b(?:False|True)\b/i, - operator: /<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i, - punctuation: /[\[\]().,:]/, - }; -} -Av.displayName = "avisynth"; -Av.aliases = ["avs"]; -function Av(e) { - (function (t) { - function n(c, p) { - return c.replace(/<<(\d+)>>/g, function (f, m) { - return p[+m]; - }); - } - function r(c, p, f) { - return RegExp(n(c, p), f || ""); - } - var i = /bool|clip|float|int|string|val/.source, - a = [ - /is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/ - .source, - /apply|assert|default|eval|import|nop|select|undefined/.source, - /opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/ - .source, - /hex(?:value)?|value/.source, - /abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/ - .source, - /a?sinh?|a?cosh?|a?tan[2h]?/.source, - /(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/ - .source, - /average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/ - .source, - /getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/ - .source, - /chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/ - .source, - /isversionorgreater|version(?:number|string)/.source, - /buildpixeltype|colorspacenametopixeltype/.source, - /addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source, - ].join("|"), - o = [ - /has(?:audio|video)/.source, - /height|width/.source, - /frame(?:count|rate)|framerate(?:denominator|numerator)/.source, - /getparity|is(?:field|frame)based/.source, - /bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/ - .source, - /audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/ - .source, - ].join("|"), - s = [ - /avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/ - .source, - /coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/ - .source, - /(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/ - .source, - /addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/ - .source, - /blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/ - .source, - /trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/ - .source, - /assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/ - .source, - /amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/ - .source, - /animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/ - .source, - /imagewriter/.source, - /blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/ - .source, - ].join("|"), - u = [a, o, s].join("|"); - (t.languages.avisynth = { - comment: [ - { - pattern: - /(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/, - lookbehind: !0, - greedy: !0, - }, - { - pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, - lookbehind: !0, - greedy: !0, - }, - { pattern: /(^|[^\\$])#.*/, lookbehind: !0, greedy: !0 }, - ], - argument: { - pattern: r(/\b(?:<<0>>)\s+("?)\w+\1/.source, [i], "i"), - inside: { keyword: /^\w+/ }, - }, - "argument-label": { - pattern: /([,(][\s\\]*)\w+\s*=(?!=)/, - lookbehind: !0, - inside: { - "argument-name": { pattern: /^\w+/, alias: "punctuation" }, - punctuation: /=$/, - }, - }, - string: [ - { pattern: /"""[\s\S]*?"""/, greedy: !0 }, - { - pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, - greedy: !0, - inside: { - constant: { - pattern: - /\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/, - }, - }, - }, - ], - variable: /\b(?:last)\b/i, - boolean: /\b(?:false|no|true|yes)\b/i, - keyword: - /\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i, - constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/, - "builtin-function": { - pattern: r(/\b(?:<<0>>)\b/.source, [u], "i"), - alias: "function", - }, - "type-cast": { - pattern: r(/\b(?:<<0>>)(?=\s*\()/.source, [i], "i"), - alias: "keyword", - }, - function: { - pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i, - lookbehind: !0, - }, - "line-continuation": { - pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m, - lookbehind: !0, - alias: "punctuation", - }, - number: - /\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i, - operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/, - punctuation: /[{}\[\]();,.]/, - }), - (t.languages.avs = t.languages.avisynth); - })(e); -} -Cv.displayName = "avro-idl"; -Cv.aliases = ["avdl"]; -function Cv(e) { - (e.languages["avro-idl"] = { - comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\//, greedy: !0 }, - string: { - pattern: /(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/, - lookbehind: !0, - greedy: !0, - }, - annotation: { - pattern: /@(?:[$\w.-]|`[^\r\n`]+`)+/, - greedy: !0, - alias: "function", - }, - "function-identifier": { - pattern: /`[^\r\n`]+`(?=\s*\()/, - greedy: !0, - alias: "function", - }, - identifier: { pattern: /`[^\r\n`]+`/, greedy: !0 }, - "class-name": { - pattern: /(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/, - lookbehind: !0, - greedy: !0, - }, - keyword: - /\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/, - function: /\b[a-z_]\w*(?=\s*\()/i, - number: [ - { - pattern: - /(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i, - lookbehind: !0, - }, - /-?\b(?:Infinity|NaN)\b/, - ], - operator: /=/, - punctuation: /[()\[\]{}<>.:,;-]/, - }), - (e.languages.avdl = e.languages["avro-idl"]); -} -xv.displayName = "awk"; -xv.aliases = ["gawk"]; -function xv(e) { - (e.languages.awk = { - hashbang: { pattern: /^#!.*/, greedy: !0, alias: "comment" }, - comment: { pattern: /#.*/, greedy: !0 }, - string: { - pattern: /(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/, - lookbehind: !0, - greedy: !0, - }, - regex: { - pattern: /((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//, - lookbehind: !0, - greedy: !0, - }, - variable: /\$\w+/, - keyword: - /\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/, - function: /\b[a-z_]\w*(?=\s*\()/i, - number: /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/, - operator: /--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/, - punctuation: /[()[\]{},;]/, - }), - (e.languages.gawk = e.languages.awk); -} -kv.displayName = "batch"; -kv.aliases = []; -function kv(e) { - (function (t) { - var n = /%%?[~:\w]+%?|!\S+!/, - r = { - pattern: /\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im, - alias: "attr-name", - inside: { punctuation: /:/ }, - }, - i = /"(?:[\\"]"|[^"])*"(?!")/, - a = /(?:\b|-)\d+\b/; - t.languages.batch = { - comment: [ - /^::.*/m, - { - pattern: /((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im, - lookbehind: !0, - }, - ], - label: { pattern: /^:.*/m, alias: "property" }, - command: [ - { - pattern: - /((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im, - lookbehind: !0, - inside: { - keyword: /\b(?:do|in)\b|^for\b/i, - string: i, - parameter: r, - variable: n, - number: a, - punctuation: /[()',]/, - }, - }, - { - pattern: - /((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im, - lookbehind: !0, - inside: { - keyword: - /\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i, - string: i, - parameter: r, - variable: n, - number: a, - operator: /\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i, - }, - }, - { - pattern: /((?:^|[&()])[ \t]*)else\b/im, - lookbehind: !0, - inside: { keyword: /^else\b/i }, - }, - { - pattern: - /((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im, - lookbehind: !0, - inside: { - keyword: /^set\b/i, - string: i, - parameter: r, - variable: [n, /\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/], - number: a, - operator: /[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/, - punctuation: /[()',]/, - }, - }, - { - pattern: - /((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m, - lookbehind: !0, - inside: { - keyword: /^\w+\b/, - string: i, - parameter: r, - label: { - pattern: /(^\s*):\S+/m, - lookbehind: !0, - alias: "property", - }, - variable: n, - number: a, - operator: /\^/, - }, - }, - ], - operator: /[&@]/, - punctuation: /[()']/, - }; - })(e); -} -Iv.displayName = "bbcode"; -Iv.aliases = ["shortcode"]; -function Iv(e) { - (e.languages.bbcode = { - tag: { - pattern: - /\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/, - inside: { - tag: { pattern: /^\[\/?[^\s=\]]+/, inside: { punctuation: /^\[\/?/ } }, - "attr-value": { - pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/, - inside: { - punctuation: [ - /^=/, - { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }, - ], - }, - }, - punctuation: /\]/, - "attr-name": /[^\s=\]]+/, - }, - }, - }), - (e.languages.shortcode = e.languages.bbcode); -} -Rv.displayName = "bbj"; -Rv.aliases = []; -function Rv(e) { - (function (t) { - t.languages.bbj = { - comment: { pattern: /(^|[^\\:])rem\s+.*/i, lookbehind: !0, greedy: !0 }, - string: { pattern: /(['"])(?:(?!\1|\\).|\\.)*\1/, greedy: !0 }, - number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i, - keyword: - /\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i, - function: /\b\w+(?=\()/, - boolean: /\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i, - operator: /<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i, - punctuation: /[.,;:()]/, - }; - })(e); -} -Nv.displayName = "bicep"; -Nv.aliases = []; -function Nv(e) { - (e.languages.bicep = { - comment: [ - { - pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, - lookbehind: !0, - greedy: !0, - }, - { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }, - ], - property: [ - { pattern: /([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i, lookbehind: !0 }, - { - pattern: /([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/, - lookbehind: !0, - greedy: !0, - }, - ], - string: [ - { pattern: /'''[^'][\s\S]*?'''/, greedy: !0 }, - { - pattern: /(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/, - lookbehind: !0, - greedy: !0, - }, - ], - "interpolated-string": { - pattern: /(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/, - lookbehind: !0, - greedy: !0, - inside: { - interpolation: { - pattern: /\$\{[^{}\r\n]*\}/, - inside: { - expression: { pattern: /(^\$\{)[\s\S]+(?=\}$)/, lookbehind: !0 }, - punctuation: /^\$\{|\}$/, - }, - }, - string: /[\s\S]+/, - }, - }, - datatype: { - pattern: /(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/, - lookbehind: !0, - alias: "class-name", - }, - boolean: /\b(?:false|true)\b/, - keyword: - /\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/, - decorator: /@\w+\b/, - function: /\b[a-z_]\w*(?=[ \t]*\()/i, - number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i, - operator: - /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/, - punctuation: /[{}[\];(),.:]/, - }), - (e.languages.bicep[ - "interpolated-string" - ].inside.interpolation.inside.expression.inside = e.languages.bicep); -} -Ov.displayName = "birb"; -Ov.aliases = []; -function Ov(e) { - e.register(Mt), - (e.languages.birb = e.languages.extend("clike", { - string: { pattern: /r?("|')(?:\\.|(?!\1)[^\\])*\1/, greedy: !0 }, - "class-name": [ - /\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/, - /\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/, - ], - keyword: - /\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/, - operator: /\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/, - variable: /\b[a-z_]\w*\b/, - })), - e.languages.insertBefore("birb", "function", { - metadata: { pattern: /<\w+>/, greedy: !0, alias: "symbol" }, - }); -} -Dv.displayName = "bison"; -Dv.aliases = []; -function Dv(e) { - e.register(qa), - (e.languages.bison = e.languages.extend("c", {})), - e.languages.insertBefore("bison", "comment", { - bison: { - pattern: /^(?:[^%]|%(?!%))*%%[\s\S]*?%%/, - inside: { - c: { - pattern: /%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/, - inside: { - delimiter: { pattern: /^%?\{|%?\}$/, alias: "punctuation" }, - "bison-variable": { - pattern: /[$@](?:<[^\s>]+>)?[\w$]+/, - alias: "variable", - inside: { punctuation: /<|>/ }, - }, - rest: e.languages.c, - }, - }, - comment: e.languages.c.comment, - string: e.languages.c.string, - property: /\S+(?=:)/, - keyword: /%\w+/, - number: { pattern: /(^|[^@])\b(?:0x[\da-f]+|\d+)/i, lookbehind: !0 }, - punctuation: /%[%?]|[|:;\[\]<>]/, - }, - }, - }); -} -Lv.displayName = "bnf"; -Lv.aliases = ["rbnf"]; -function Lv(e) { - (e.languages.bnf = { - string: { pattern: /"[^\r\n"]*"|'[^\r\n']*'/ }, - definition: { - pattern: /<[^<>\r\n\t]+>(?=\s*::=)/, - alias: ["rule", "keyword"], - inside: { punctuation: /^<|>$/ }, - }, - rule: { pattern: /<[^<>\r\n\t]+>/, inside: { punctuation: /^<|>$/ } }, - operator: /::=|[|()[\]{}*+?]|\.{3}/, - }), - (e.languages.rbnf = e.languages.bnf); -} -Mv.displayName = "bqn"; -Mv.aliases = []; -function Mv(e) { - e.languages.bqn = { - shebang: { pattern: /^#![ \t]*\/.*/, alias: "important", greedy: !0 }, - comment: { pattern: /#.*/, greedy: !0 }, - "string-literal": { - pattern: /"(?:[^"]|"")*"/, - greedy: !0, - alias: "string", - }, - "character-literal": { - pattern: /'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/, - greedy: !0, - alias: "char", - }, - function: /•[\w¯.∞π]+[\w¯.∞π]*/, - "dot-notation-on-brackets": { - pattern: /\{(?=.*\}\.)|\}\./, - alias: "namespace", - }, - "special-name": { - pattern: /(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/, - alias: "keyword", - }, - "dot-notation-on-name": { - pattern: /[A-Za-z_][\w¯∞π]*\./, - alias: "namespace", - }, - "word-number-scientific": { - pattern: /\d+(?:\.\d+)?[eE]¯?\d+/, - alias: "number", - }, - "word-name": { pattern: /[A-Za-z_][\w¯∞π]*/, alias: "symbol" }, - "word-number": { - pattern: - /[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/, - alias: "number", - }, - "null-literal": { pattern: /@/, alias: "char" }, - "primitive-functions": { - pattern: /[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/, - alias: "operator", - }, - "primitive-1-operators": { pattern: /[`˜˘¨⁼⌜´˝˙]/, alias: "operator" }, - "primitive-2-operators": { pattern: /[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/, alias: "operator" }, - punctuation: /[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/, - }; -} -Fv.displayName = "brainfuck"; -Fv.aliases = []; -function Fv(e) { - e.languages.brainfuck = { - pointer: { pattern: /<|>/, alias: "keyword" }, - increment: { pattern: /\+/, alias: "inserted" }, - decrement: { pattern: /-/, alias: "deleted" }, - branching: { pattern: /\[|\]/, alias: "important" }, - operator: /[.,]/, - comment: /\S+/, - }; -} -Pv.displayName = "brightscript"; -Pv.aliases = []; -function Pv(e) { - (e.languages.brightscript = { - comment: /(?:\brem|').*/i, - "directive-statement": { - pattern: /(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im, - lookbehind: !0, - alias: "property", - inside: { - "error-message": { pattern: /(^#error).+/, lookbehind: !0 }, - directive: { - pattern: /^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/, - alias: "keyword", - }, - expression: { pattern: /[\s\S]+/, inside: null }, - }, - }, - property: { - pattern: - /([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/, - lookbehind: !0, - greedy: !0, - }, - string: { pattern: /"(?:[^"\r\n]|"")*"(?!")/, greedy: !0 }, - "class-name": { pattern: /(\bAs[\t ]+)\w+/i, lookbehind: !0 }, - keyword: - /\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i, - boolean: /\b(?:false|true)\b/i, - function: /\b(?!\d)\w+(?=[\t ]*\()/, - number: /(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i, - operator: - /--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i, - punctuation: /[.,;()[\]{}]/, - constant: /\b(?:LINE_NUM)\b/i, - }), - (e.languages.brightscript["directive-statement"].inside.expression.inside = - e.languages.brightscript); -} -Bv.displayName = "bro"; -Bv.aliases = []; -function Bv(e) { - e.languages.bro = { - comment: { - pattern: /(^|[^\\$])#.*/, - lookbehind: !0, - inside: { italic: /\b(?:FIXME|TODO|XXX)\b/ }, - }, - string: { - pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - greedy: !0, - }, - boolean: /\b[TF]\b/, - function: { - pattern: /(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/, - lookbehind: !0, - }, - builtin: - /(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/, - constant: { pattern: /(\bconst[ \t]+)\w+/i, lookbehind: !0 }, - keyword: - /\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/, - operator: /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/, - number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, - punctuation: /[{}[\];(),.:]/, - }; -} -Uv.displayName = "bsl"; -Uv.aliases = ["oscript"]; -function Uv(e) { - (e.languages.bsl = { - comment: /\/\/.*/, - string: [ - { pattern: /"(?:[^"]|"")*"(?!")/, greedy: !0 }, - { pattern: /'(?:[^'\r\n\\]|\\.)*'/ }, - ], - keyword: [ - { - pattern: - /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i, - lookbehind: !0, - }, - { - pattern: - /\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i, - }, - ], - number: { - pattern: - /(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i, - lookbehind: !0, - }, - operator: [ - /[<>+\-*/]=?|[%=]/, - { - pattern: - /(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i, - lookbehind: !0, - }, - { pattern: /\b(?:and|not|or)\b/i }, - ], - punctuation: /\(\.|\.\)|[()\[\]:;,.]/, - directive: [ - { - pattern: /^([ \t]*)&.*/m, - lookbehind: !0, - greedy: !0, - alias: "important", - }, - { - pattern: /^([ \t]*)#.*/gm, - lookbehind: !0, - greedy: !0, - alias: "important", - }, - ], - }), - (e.languages.oscript = e.languages.bsl); -} -$v.displayName = "cfscript"; -$v.aliases = ["cfc"]; -function $v(e) { - e.register(Mt), - (e.languages.cfscript = e.languages.extend("clike", { - comment: [ - { - pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, - lookbehind: !0, - inside: { - annotation: { pattern: /(?:^|[^.])@[\w\.]+/, alias: "punctuation" }, - }, - }, - { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }, - ], - keyword: - /\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/, - operator: [ - /\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/, - /\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/, - ], - scope: { - pattern: - /\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/, - alias: "global", - }, - type: { - pattern: - /\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/, - alias: "builtin", - }, - })), - e.languages.insertBefore("cfscript", "keyword", { - "function-variable": { - pattern: - /[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/, - alias: "function", - }, - }), - delete e.languages.cfscript["class-name"], - (e.languages.cfc = e.languages.cfscript); -} -zv.displayName = "chaiscript"; -zv.aliases = []; -function zv(e) { - e.register(Mt), - e.register(Au), - (e.languages.chaiscript = e.languages.extend("clike", { - string: { - pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/, - lookbehind: !0, - greedy: !0, - }, - "class-name": [ - { pattern: /(\bclass\s+)\w+/, lookbehind: !0 }, - { pattern: /(\b(?:attr|def)\s+)\w+(?=\s*::)/, lookbehind: !0 }, - ], - keyword: - /\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/, - number: [e.languages.cpp.number, /\b(?:Infinity|NaN)\b/], - operator: - />>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/, - })), - e.languages.insertBefore("chaiscript", "operator", { - "parameter-type": { - pattern: /([,(]\s*)\w+(?=\s+\w)/, - lookbehind: !0, - alias: "class-name", - }, - }), - e.languages.insertBefore("chaiscript", "string", { - "string-interpolation": { - pattern: - /(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/, - lookbehind: !0, - greedy: !0, - inside: { - interpolation: { - pattern: - /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/, - lookbehind: !0, - inside: { - "interpolation-expression": { - pattern: /(^\$\{)[\s\S]+(?=\}$)/, - lookbehind: !0, - inside: e.languages.chaiscript, - }, - "interpolation-punctuation": { - pattern: /^\$\{|\}$/, - alias: "punctuation", - }, - }, - }, - string: /[\s\S]+/, - }, - }, - }); -} -Hv.displayName = "cil"; -Hv.aliases = []; -function Hv(e) { - e.languages.cil = { - comment: /\/\/.*/, - string: { - pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - greedy: !0, - }, - directive: { - pattern: /(^|\W)\.[a-z]+(?=\s)/, - lookbehind: !0, - alias: "class-name", - }, - variable: /\[[\w\.]+\]/, - keyword: - /\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/, - function: - /\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/, - boolean: /\b(?:false|true)\b/, - number: /\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i, - punctuation: /[{}[\];(),:=]|IL_[0-9A-Za-z]+/, - }; -} -jv.displayName = "cilkc"; -jv.aliases = ["cilk-c"]; -function jv(e) { - e.register(qa), - (e.languages.cilkc = e.languages.insertBefore("c", "function", { - "parallel-keyword": { - pattern: /\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/, - alias: "keyword", - }, - })), - (e.languages["cilk-c"] = e.languages.cilkc); -} -Gv.displayName = "cilkcpp"; -Gv.aliases = ["cilk", "cilk-cpp"]; -function Gv(e) { - e.register(Au), - (e.languages.cilkcpp = e.languages.insertBefore("cpp", "function", { - "parallel-keyword": { - pattern: /\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/, - alias: "keyword", - }, - })), - (e.languages["cilk-cpp"] = e.languages.cilkcpp), - (e.languages.cilk = e.languages.cilkcpp); -} -Vv.displayName = "clojure"; -Vv.aliases = []; -function Vv(e) { - e.languages.clojure = { - comment: { pattern: /;.*/, greedy: !0 }, - string: { pattern: /"(?:[^"\\]|\\.)*"/, greedy: !0 }, - char: /\\\w+/, - symbol: { pattern: /(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/, lookbehind: !0 }, - keyword: { - pattern: - /(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/, - lookbehind: !0, - }, - boolean: /\b(?:false|nil|true)\b/, - number: { - pattern: - /(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i, - lookbehind: !0, - }, - function: { - pattern: /((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/, - lookbehind: !0, - }, - operator: /[#@^`~]/, - punctuation: /[{}\[\](),]/, - }; -} -Wv.displayName = "cmake"; -Wv.aliases = []; -function Wv(e) { - e.languages.cmake = { - comment: /#.*/, - string: { - pattern: /"(?:[^\\"]|\\.)*"/, - greedy: !0, - inside: { - interpolation: { - pattern: /\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/, - inside: { punctuation: /\$\{|\}/, variable: /\w+/ }, - }, - }, - }, - variable: - /\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/, - property: - /\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/, - keyword: - /\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/, - boolean: /\b(?:FALSE|OFF|ON|TRUE)\b/, - namespace: - /\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/, - operator: - /\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/, - inserted: { pattern: /\b\w+::\w+\b/, alias: "class-name" }, - number: /\b\d+(?:\.\d+)*\b/, - function: /\b[a-z_]\w*(?=\s*\()\b/i, - punctuation: /[()>}]|\$[<{]/, - }; -} -qv.displayName = "cobol"; -qv.aliases = []; -function qv(e) { - e.languages.cobol = { - comment: { pattern: /\*>.*|(^[ \t]*)\*.*/m, lookbehind: !0, greedy: !0 }, - string: { - pattern: /[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i, - greedy: !0, - }, - level: { - pattern: /(^[ \t]*)\d+\b/m, - lookbehind: !0, - greedy: !0, - alias: "number", - }, - "class-name": { - pattern: - /(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i, - lookbehind: !0, - inside: { - number: { pattern: /(\()\d+/, lookbehind: !0 }, - punctuation: /[()]/, - }, - }, - keyword: { - pattern: - /(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i, - lookbehind: !0, - }, - boolean: { pattern: /(^|[^\w-])(?:false|true)(?![\w-])/i, lookbehind: !0 }, - number: { - pattern: - /(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i, - lookbehind: !0, - }, - operator: [ - /<>|[<>]=?|[=+*/&]/, - { - pattern: /(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i, - lookbehind: !0, - }, - ], - punctuation: /[.:,()]/, - }; -} -Kv.displayName = "coffeescript"; -Kv.aliases = ["coffee"]; -function Kv(e) { - e.register(xr), - (function (t) { - var n = /#(?!\{).+/, - r = { pattern: /#\{[^}]+\}/, alias: "variable" }; - (t.languages.coffeescript = t.languages.extend("javascript", { - comment: n, - string: [ - { pattern: /'(?:\\[\s\S]|[^\\'])*'/, greedy: !0 }, - { - pattern: /"(?:\\[\s\S]|[^\\"])*"/, - greedy: !0, - inside: { interpolation: r }, - }, - ], - keyword: - /\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/, - "class-member": { pattern: /@(?!\d)\w+/, alias: "variable" }, - })), - t.languages.insertBefore("coffeescript", "comment", { - "multiline-comment": { pattern: /###[\s\S]+?###/, alias: "comment" }, - "block-regex": { - pattern: /\/{3}[\s\S]*?\/{3}/, - alias: "regex", - inside: { comment: n, interpolation: r }, - }, - }), - t.languages.insertBefore("coffeescript", "string", { - "inline-javascript": { - pattern: /`(?:\\[\s\S]|[^\\`])*`/, - inside: { - delimiter: { pattern: /^`|`$/, alias: "punctuation" }, - script: { - pattern: /[\s\S]+/, - alias: "language-javascript", - inside: t.languages.javascript, - }, - }, - }, - "multiline-string": [ - { pattern: /'''[\s\S]*?'''/, greedy: !0, alias: "string" }, - { - pattern: /"""[\s\S]*?"""/, - greedy: !0, - alias: "string", - inside: { interpolation: r }, - }, - ], - }), - t.languages.insertBefore("coffeescript", "keyword", { - property: /(?!\d)\w+(?=\s*:(?!:))/, - }), - delete t.languages.coffeescript["template-string"], - (t.languages.coffee = t.languages.coffeescript); - })(e); -} -Yv.displayName = "concurnas"; -Yv.aliases = ["conc"]; -function Yv(e) { - (e.languages.concurnas = { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/, - lookbehind: !0, - greedy: !0, - }, - langext: { - pattern: /\b\w+\s*\|\|[\s\S]+?\|\|/, - greedy: !0, - inside: { - "class-name": /^\w+/, - string: { pattern: /(^\s*\|\|)[\s\S]+(?=\|\|$)/, lookbehind: !0 }, - punctuation: /\|\|/, - }, - }, - function: { - pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/, - lookbehind: !0, - }, - keyword: - /\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/, - boolean: /\b(?:false|true)\b/, - number: - /\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i, - punctuation: /[{}[\];(),.:]/, - operator: - /<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/, - annotation: { pattern: /@(?:\w+:)?(?:\w+|\[[^\]]+\])?/, alias: "builtin" }, - }), - e.languages.insertBefore("concurnas", "langext", { - "regex-literal": { - pattern: /\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, - greedy: !0, - inside: { - interpolation: { - pattern: - /((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, - lookbehind: !0, - inside: e.languages.concurnas, - }, - regex: /[\s\S]+/, - }, - }, - "string-literal": { - pattern: /(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, - greedy: !0, - inside: { - interpolation: { - pattern: - /((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, - lookbehind: !0, - inside: e.languages.concurnas, - }, - string: /[\s\S]+/, - }, - }, - }), - (e.languages.conc = e.languages.concurnas); -} -Xv.displayName = "csp"; -Xv.aliases = []; -function Xv(e) { - (function (t) { - function n(r) { - return RegExp( - /([ \t])/.source + "(?:" + r + ")" + /(?=[\s;]|$)/.source, - "i" - ); - } - t.languages.csp = { - directive: { - pattern: - /(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i, - lookbehind: !0, - alias: "property", - }, - scheme: { pattern: n(/[a-z][a-z0-9.+-]*:/.source), lookbehind: !0 }, - none: { pattern: n(/'none'/.source), lookbehind: !0, alias: "keyword" }, - nonce: { - pattern: n(/'nonce-[-+/\w=]+'/.source), - lookbehind: !0, - alias: "number", - }, - hash: { - pattern: n(/'sha(?:256|384|512)-[-+/\w=]+'/.source), - lookbehind: !0, - alias: "number", - }, - host: { - pattern: n( - /[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source + - "|" + - /\*[^\s;,']*/.source + - "|" + - /[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source - ), - lookbehind: !0, - alias: "url", - inside: { important: /\*/ }, - }, - keyword: [ - { - pattern: n(/'unsafe-[a-z-]+'/.source), - lookbehind: !0, - alias: "unsafe", - }, - { pattern: n(/'[a-z-]+'/.source), lookbehind: !0, alias: "safe" }, - ], - punctuation: /;/, - }; - })(e); -} -Zv.displayName = "cooklang"; -Zv.aliases = []; -function Zv(e) { - (function (t) { - var n = /(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source, - r = /[^{}@#]+/.source, - i = /\{[^}#@]*\}/.source, - a = r + i, - o = /(?:h|hours|hrs|m|min|minutes)/.source, - s = { - pattern: /\{[^{}]*\}/, - inside: { - amount: { - pattern: /([\{|])[^{}|*%]+/, - lookbehind: !0, - alias: "number", - }, - unit: { pattern: /(%)[^}]+/, lookbehind: !0, alias: "symbol" }, - "servings-scaler": { pattern: /\*/, alias: "operator" }, - "servings-alternative-separator": { - pattern: /\|/, - alias: "operator", - }, - "unit-separator": { - pattern: /(?:%|(\*)%)/, - lookbehind: !0, - alias: "operator", - }, - punctuation: /[{}]/, - }, - }; - t.languages.cooklang = { - comment: { pattern: /\[-[\s\S]*?-\]|--.*/, greedy: !0 }, - meta: { - pattern: />>.*:.*/, - inside: { - property: { - pattern: /(>>\s*)[^\s:](?:[^:]*[^\s:])?/, - lookbehind: !0, - }, - }, - }, - "cookware-group": { - pattern: new RegExp("#(?:" + a + "|" + n + ")"), - inside: { - cookware: { - pattern: new RegExp("(^#)(?:" + r + ")"), - lookbehind: !0, - alias: "variable", - }, - "cookware-keyword": { pattern: /^#/, alias: "keyword" }, - "quantity-group": { - pattern: new RegExp(/\{[^{}@#]*\}/), - inside: { - quantity: { - pattern: new RegExp(/(^\{)/.source + r), - lookbehind: !0, - alias: "number", - }, - punctuation: /[{}]/, - }, - }, - }, - }, - "ingredient-group": { - pattern: new RegExp("@(?:" + a + "|" + n + ")"), - inside: { - ingredient: { - pattern: new RegExp("(^@)(?:" + r + ")"), - lookbehind: !0, - alias: "variable", - }, - "ingredient-keyword": { pattern: /^@/, alias: "keyword" }, - "amount-group": s, - }, - }, - "timer-group": { - pattern: /~(?!\s)[^@#~{}]*\{[^{}]*\}/, - inside: { - timer: { pattern: /(^~)[^{]+/, lookbehind: !0, alias: "variable" }, - "duration-group": { - pattern: /\{[^{}]*\}/, - inside: { - punctuation: /[{}]/, - unit: { - pattern: new RegExp(/(%\s*)/.source + o + /\b/.source), - lookbehind: !0, - alias: "symbol", - }, - operator: /%/, - duration: { pattern: /\d+/, alias: "number" }, - }, - }, - "timer-keyword": { pattern: /^~/, alias: "keyword" }, - }, - }, - }; - })(e); -} -Qv.displayName = "coq"; -Qv.aliases = []; -function Qv(e) { - (function (t) { - for ( - var n = /\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source, r = 0; - r < 2; - r++ - ) - n = n.replace(//g, function () { - return n; - }); - (n = n.replace(//g, "[]")), - (t.languages.coq = { - comment: RegExp(n), - string: { pattern: /"(?:[^"]|"")*"(?!")/, greedy: !0 }, - attribute: [ - { - pattern: RegExp( - /#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace( - //g, - function () { - return n; - } - ) - ), - greedy: !0, - alias: "attr-name", - inside: { - comment: RegExp(n), - string: { pattern: /"(?:[^"]|"")*"(?!")/, greedy: !0 }, - operator: /=/, - punctuation: /^#\[|\]$|[,()]/, - }, - }, - { - pattern: - /\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/, - alias: "attr-name", - }, - ], - keyword: - /\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/, - number: - /\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i, - punct: { pattern: /@\{|\{\||\[=|:>/, alias: "punctuation" }, - operator: - /\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/, - punctuation: /\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/, - }); - })(e); -} -Jv.displayName = "crystal"; -Jv.aliases = []; -function Jv(e) { - e.register(Iu), - (function (t) { - (t.languages.crystal = t.languages.extend("ruby", { - keyword: [ - /\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/, - { pattern: /(\.\s*)(?:is_a|responds_to)\?/, lookbehind: !0 }, - ], - number: - /\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/, - operator: [/->/, t.languages.ruby.operator], - punctuation: /[(){}[\].,;\\]/, - })), - t.languages.insertBefore("crystal", "string-literal", { - attribute: { - pattern: /@\[.*?\]/, - inside: { - delimiter: { pattern: /^@\[|\]$/, alias: "punctuation" }, - attribute: { - pattern: /^(\s*)\w+/, - lookbehind: !0, - alias: "class-name", - }, - args: { - pattern: /\S(?:[\s\S]*\S)?/, - inside: t.languages.crystal, - }, - }, - }, - expansion: { - pattern: /\{(?:\{.*?\}|%.*?%)\}/, - inside: { - content: { - pattern: /^(\{.)[\s\S]+(?=.\}$)/, - lookbehind: !0, - inside: t.languages.crystal, - }, - delimiter: { pattern: /^\{[\{%]|[\}%]\}$/, alias: "operator" }, - }, - }, - char: { - pattern: - /'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/, - greedy: !0, - }, - }); - })(e); -} -ey.displayName = "css-extras"; -ey.aliases = []; -function ey(e) { - e.register(Tl), - (function (t) { - var n = /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - r; - (t.languages.css.selector = { - pattern: t.languages.css.selector.pattern, - lookbehind: !0, - inside: (r = { - "pseudo-element": - /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/, - "pseudo-class": /:[-\w]+/, - class: /\.[-\w]+/, - id: /#[-\w]+/, - attribute: { - pattern: RegExp(`\\[(?:[^[\\]"']|` + n.source + ")*\\]"), - greedy: !0, - inside: { - punctuation: /^\[|\]$/, - "case-sensitivity": { - pattern: /(\s)[si]$/i, - lookbehind: !0, - alias: "keyword", - }, - namespace: { - pattern: /^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/, - lookbehind: !0, - inside: { punctuation: /\|$/ }, - }, - "attr-name": { - pattern: /^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/, - lookbehind: !0, - }, - "attr-value": [ - n, - { - pattern: /(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/, - lookbehind: !0, - }, - ], - operator: /[|~*^$]?=/, - }, - }, - "n-th": [ - { - pattern: /(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/, - lookbehind: !0, - inside: { number: /[\dn]+/, operator: /[+-]/ }, - }, - { pattern: /(\(\s*)(?:even|odd)(?=\s*\))/i, lookbehind: !0 }, - ], - combinator: />|\+|~|\|\|/, - punctuation: /[(),]/, - }), - }), - (t.languages.css.atrule.inside["selector-function-argument"].inside = - r), - t.languages.insertBefore("css", "property", { - variable: { - pattern: - /(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i, - lookbehind: !0, - }, - }); - var i = { pattern: /(\b\d+)(?:%|[a-z]+(?![\w-]))/, lookbehind: !0 }, - a = { pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/, lookbehind: !0 }; - t.languages.insertBefore("css", "function", { - operator: { pattern: /(\s)[+\-*\/](?=\s)/, lookbehind: !0 }, - hexcode: { pattern: /\B#[\da-f]{3,8}\b/i, alias: "color" }, - color: [ - { - pattern: - /(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i, - lookbehind: !0, - }, - { - pattern: - /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i, - inside: { - unit: i, - number: a, - function: /[\w-]+(?=\()/, - punctuation: /[(),]/, - }, - }, - ], - entity: /\\[\da-f]{1,8}/i, - unit: i, - number: a, - }); - })(e); -} -ty.displayName = "csv"; -ty.aliases = []; -function ty(e) { - e.languages.csv = { - value: /[^\r\n,"]+|"(?:[^"]|"")*"(?!")/, - punctuation: /,/, - }; -} -ny.displayName = "cue"; -ny.aliases = []; -function ny(e) { - (function (t) { - var n = /\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source, - r = - /"""(?:[^\\"]|"(?!""\2)|)*"""/.source + - "|" + - /'''(?:[^\\']|'(?!''\2)|)*'''/.source + - "|" + - /"(?:[^\\\r\n"]|"(?!\2)|)*"/.source + - "|" + - /'(?:[^\\\r\n']|'(?!\2)|)*'/.source, - i = "(?:" + r.replace(//g, n) + ")"; - (t.languages.cue = { - comment: { pattern: /\/\/.*/, greedy: !0 }, - "string-literal": { - pattern: RegExp(/(^|[^#"'\\])(#*)/.source + i + /(?!["'])\2/.source), - lookbehind: !0, - greedy: !0, - inside: { - escape: { - pattern: - /(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/, - greedy: !0, - alias: "string", - }, - interpolation: { - pattern: /(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/, - greedy: !0, - inside: { - punctuation: /^\\#*\(|\)$/, - expression: { pattern: /[\s\S]+/, inside: null }, - }, - }, - string: /[\s\S]+/, - }, - }, - keyword: { - pattern: /(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/, - lookbehind: !0, - }, - boolean: { pattern: /(^|[^\w$])(?:false|true)(?![\w$])/, lookbehind: !0 }, - builtin: { - pattern: - /(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/, - lookbehind: !0, - }, - attribute: { pattern: /@[\w$]+(?=\s*\()/, alias: "function" }, - function: { - pattern: /(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i, - lookbehind: !0, - }, - number: { - pattern: - /(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/, - lookbehind: !0, - }, - operator: /\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/, - punctuation: /[()[\]{},.:]/, - }), - (t.languages.cue[ - "string-literal" - ].inside.interpolation.inside.expression.inside = t.languages.cue); - })(e); -} -ry.displayName = "cypher"; -ry.aliases = []; -function ry(e) { - e.languages.cypher = { - comment: /\/\/.*/, - string: { - pattern: /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/, - greedy: !0, - }, - "class-name": { - pattern: /(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/, - lookbehind: !0, - greedy: !0, - }, - relationship: { - pattern: - /(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/, - lookbehind: !0, - greedy: !0, - alias: "property", - }, - identifier: { pattern: /`(?:[^`\\\r\n])*`/, greedy: !0 }, - variable: /\$\w+/, - keyword: - /\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i, - function: /\b\w+\b(?=\s*\()/, - boolean: /\b(?:false|null|true)\b/i, - number: /\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/, - operator: /:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/, - punctuation: /[()[\]{},;.]/, - }; -} -iy.displayName = "d"; -iy.aliases = []; -function iy(e) { - e.register(Mt), - (e.languages.d = e.languages.extend("clike", { - comment: [ - { pattern: /^\s*#!.+/, greedy: !0 }, - { - pattern: RegExp( - /(^|[^\\])/.source + - "(?:" + - [ - /\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\// - .source, - /\/\/.*/.source, - /\/\*[\s\S]*?\*\//.source, - ].join("|") + - ")" - ), - lookbehind: !0, - greedy: !0, - }, - ], - string: [ - { - pattern: RegExp( - [ - /\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source, - /\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/ - .source, - /\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source, - /\bq"(.)[\s\S]*?\2"/.source, - /(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source, - ].join("|"), - "m" - ), - greedy: !0, - }, - { - pattern: /\bq\{(?:\{[^{}]*\}|[^{}])*\}/, - greedy: !0, - alias: "token-string", - }, - ], - keyword: - /\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/, - number: [ - /\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i, - { - pattern: - /((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i, - lookbehind: !0, - }, - ], - operator: - /\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/, - })), - e.languages.insertBefore("d", "string", { - char: /'(?:\\(?:\W|\w+)|[^\\])'/, - }), - e.languages.insertBefore("d", "keyword", { property: /\B@\w*/ }), - e.languages.insertBefore("d", "function", { - register: { - pattern: - /\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/, - alias: "variable", - }, - }); -} -ay.displayName = "dart"; -ay.aliases = []; -function ay(e) { - e.register(Mt), - (function (t) { - var n = [ - /\b(?:async|sync|yield)\*/, - /\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/, - ], - r = /(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source, - i = { - pattern: RegExp(r + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source), - lookbehind: !0, - inside: { - namespace: { - pattern: /^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/, - inside: { punctuation: /\./ }, - }, - }, - }; - (t.languages.dart = t.languages.extend("clike", { - "class-name": [ - i, - { - pattern: RegExp(r + /[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source), - lookbehind: !0, - inside: i.inside, - }, - ], - keyword: n, - operator: - /\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/, - })), - t.languages.insertBefore("dart", "string", { - "string-literal": { - pattern: - /r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/, - greedy: !0, - inside: { - interpolation: { - pattern: - /((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/, - lookbehind: !0, - inside: { - punctuation: /^\$\{?|\}$/, - expression: { pattern: /[\s\S]+/, inside: t.languages.dart }, - }, - }, - string: /[\s\S]+/, - }, - }, - string: void 0, - }), - t.languages.insertBefore("dart", "class-name", { - metadata: { pattern: /@\w+/, alias: "function" }, - }), - t.languages.insertBefore("dart", "class-name", { - generics: { - pattern: - /<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/, - inside: { - "class-name": i, - keyword: n, - punctuation: /[<>(),.:]/, - operator: /[?&|]/, - }, - }, - }); - })(e); -} -oy.displayName = "dataweave"; -oy.aliases = []; -function oy(e) { - (function (t) { - t.languages.dataweave = { - url: /\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/, - property: { - pattern: /(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/, - greedy: !0, - }, - string: { pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/, greedy: !0 }, - "mime-type": - /\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/, - date: { pattern: /\|[\w:+-]+\|/, greedy: !0 }, - comment: [ - { - pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, - lookbehind: !0, - greedy: !0, - }, - { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }, - ], - regex: { pattern: /\/(?:[^\\\/\r\n]|\\[^\r\n])+\//, greedy: !0 }, - keyword: - /\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/, - function: /\b[A-Z_]\w*(?=\s*\()/i, - number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, - punctuation: /[{}[\];(),.:@]/, - operator: /<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/, - boolean: /\b(?:false|true)\b/, - }; - })(e); -} -sy.displayName = "dax"; -sy.aliases = []; -function sy(e) { - e.languages.dax = { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/, - lookbehind: !0, - }, - "data-field": { - pattern: - /'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/, - alias: "symbol", - }, - measure: { pattern: /\[[ \w\xA0-\uFFFF]+\]/, alias: "constant" }, - string: { pattern: /"(?:[^"]|"")*"(?!")/, greedy: !0 }, - function: - /\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i, - keyword: - /\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i, - boolean: { pattern: /\b(?:FALSE|NULL|TRUE)\b/i, alias: "constant" }, - number: /\b\d+(?:\.\d*)?|\B\.\d+\b/, - operator: /:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i, - punctuation: /[;\[\](){}`,.]/, - }; -} -ly.displayName = "dhall"; -ly.aliases = []; -function ly(e) { - (e.languages.dhall = { - comment: - /--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/, - string: { - pattern: /"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/, - greedy: !0, - inside: { - interpolation: { - pattern: /\$\{[^{}]*\}/, - inside: { - expression: { - pattern: /(^\$\{)[\s\S]+(?=\}$)/, - lookbehind: !0, - alias: "language-dhall", - inside: null, - }, - punctuation: /\$\{|\}/, - }, - }, - }, - }, - label: { pattern: /`[^`]*`/, greedy: !0 }, - url: { - pattern: - /\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/, - greedy: !0, - }, - env: { - pattern: /\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/, - greedy: !0, - inside: { function: /^env/, operator: /^:/, variable: /[\s\S]+/ }, - }, - hash: { - pattern: /\bsha256:[\da-fA-F]{64}\b/, - inside: { function: /sha256/, operator: /:/, number: /[\da-fA-F]{64}/ }, - }, - keyword: - /\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/, - builtin: /\b(?:None|Some)\b/, - boolean: /\b(?:False|True)\b/, - number: - /\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/, - operator: - /\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/, - punctuation: /\.\.|[{}\[\](),./]/, - "class-name": /\b[A-Z]\w*\b/, - }), - (e.languages.dhall.string.inside.interpolation.inside.expression.inside = - e.languages.dhall); -} -uy.displayName = "django"; -uy.aliases = ["jinja2"]; -function uy(e) { - e.register(kr), - (function (t) { - t.languages.django = { - comment: /^\{#[\s\S]*?#\}$/, - tag: { pattern: /(^\{%[+-]?\s*)\w+/, lookbehind: !0, alias: "keyword" }, - delimiter: { - pattern: /^\{[{%][+-]?|[+-]?[}%]\}$/, - alias: "punctuation", - }, - string: { pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, - filter: { pattern: /(\|)\w+/, lookbehind: !0, alias: "function" }, - test: { - pattern: /(\bis\s+(?:not\s+)?)(?!not\b)\w+/, - lookbehind: !0, - alias: "function", - }, - function: /\b[a-z_]\w+(?=\s*\()/i, - keyword: - /\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/, - operator: /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/, - number: /\b\d+(?:\.\d+)?\b/, - boolean: /[Ff]alse|[Nn]one|[Tt]rue/, - variable: /\b\w+\b/, - punctuation: /[{}[\](),.:;]/, - }; - var n = /\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g, - r = t.languages["markup-templating"]; - t.hooks.add("before-tokenize", function (i) { - r.buildPlaceholders(i, "django", n); - }), - t.hooks.add("after-tokenize", function (i) { - r.tokenizePlaceholders(i, "django"); - }), - (t.languages.jinja2 = t.languages.django), - t.hooks.add("before-tokenize", function (i) { - r.buildPlaceholders(i, "jinja2", n); - }), - t.hooks.add("after-tokenize", function (i) { - r.tokenizePlaceholders(i, "jinja2"); - }); - })(e); -} -cy.displayName = "dns-zone-file"; -cy.aliases = ["dns-zone"]; -function cy(e) { - (e.languages["dns-zone-file"] = { - comment: /;.*/, - string: { pattern: /"(?:\\.|[^"\\\r\n])*"/, greedy: !0 }, - variable: [ - { pattern: /(^\$ORIGIN[ \t]+)\S+/m, lookbehind: !0 }, - { pattern: /(^|\s)@(?=\s|$)/, lookbehind: !0 }, - ], - keyword: /^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m, - class: { - pattern: /(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/, - lookbehind: !0, - alias: "keyword", - }, - type: { - pattern: - /(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/, - lookbehind: !0, - alias: "keyword", - }, - punctuation: /[()]/, - }), - (e.languages["dns-zone"] = e.languages["dns-zone-file"]); -} -dy.displayName = "docker"; -dy.aliases = ["dockerfile"]; -function dy(e) { - (function (t) { - var n = /\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source, - r = /(?:[ \t]+(?![ \t])(?:)?|)/.source.replace( - //g, - function () { - return n; - } - ), - i = - /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/ - .source, - a = /--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace( - //g, - function () { - return i; - } - ), - o = { pattern: RegExp(i), greedy: !0 }, - s = { pattern: /(^[ \t]*)#.*/m, lookbehind: !0, greedy: !0 }; - function u(c, p) { - return ( - (c = c - .replace(//g, function () { - return a; - }) - .replace(//g, function () { - return r; - })), - RegExp(c, p) - ); - } - (t.languages.docker = { - instruction: { - pattern: - /(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im, - lookbehind: !0, - greedy: !0, - inside: { - options: { - pattern: u( - /(^(?:ONBUILD)?\w+)(?:)*/.source, - "i" - ), - lookbehind: !0, - greedy: !0, - inside: { - property: { pattern: /(^|\s)--[\w-]+/, lookbehind: !0 }, - string: [ - o, - { pattern: /(=)(?!["'])(?:[^\s\\]|\\.)+/, lookbehind: !0 }, - ], - operator: /\\$/m, - punctuation: /=/, - }, - }, - keyword: [ - { - pattern: u( - /(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/ - .source, - "i" - ), - lookbehind: !0, - greedy: !0, - }, - { - pattern: u( - /(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/ - .source, - "i" - ), - lookbehind: !0, - greedy: !0, - }, - { - pattern: u(/(^ONBUILD)\w+/.source, "i"), - lookbehind: !0, - greedy: !0, - }, - { pattern: /^\w+/, greedy: !0 }, - ], - comment: s, - string: o, - variable: /\$(?:\w+|\{[^{}"'\\]*\})/, - operator: /\\$/m, - }, - }, - comment: s, - }), - (t.languages.dockerfile = t.languages.docker); - })(e); -} -py.displayName = "dot"; -py.aliases = ["gv"]; -function py(e) { - (function (t) { - var n = - "(?:" + - [ - /[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source, - /-?(?:\.\d+|\d+(?:\.\d*)?)/.source, - /"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source, - /<(?:[^<>]|(?!)*>/ - .source, - ].join("|") + - ")", - r = { - markup: { - pattern: /(^<)[\s\S]+(?=>$)/, - lookbehind: !0, - alias: ["language-markup", "language-html", "language-xml"], - inside: t.languages.markup, - }, - }; - function i(a, o) { - return RegExp( - a.replace(//g, function () { - return n; - }), - o - ); - } - (t.languages.dot = { - comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m, greedy: !0 }, - "graph-name": { - pattern: i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source, "i"), - lookbehind: !0, - greedy: !0, - alias: "class-name", - inside: r, - }, - "attr-value": { - pattern: i(/(=[ \t\r\n]*)/.source), - lookbehind: !0, - greedy: !0, - inside: r, - }, - "attr-name": { - pattern: i(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source), - lookbehind: !0, - greedy: !0, - inside: r, - }, - keyword: /\b(?:digraph|edge|graph|node|strict|subgraph)\b/i, - "compass-point": { - pattern: /(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/, - lookbehind: !0, - alias: "builtin", - }, - node: { - pattern: i(/(^|[^-.\w\x80-\uFFFF\\])/.source), - lookbehind: !0, - greedy: !0, - inside: r, - }, - operator: /[=:]|-[->]/, - punctuation: /[\[\]{};,]/, - }), - (t.languages.gv = t.languages.dot); - })(e); -} -fy.displayName = "ebnf"; -fy.aliases = []; -function fy(e) { - e.languages.ebnf = { - comment: /\(\*[\s\S]*?\*\)/, - string: { pattern: /"[^"\r\n]*"|'[^'\r\n]*'/, greedy: !0 }, - special: { pattern: /\?[^?\r\n]*\?/, greedy: !0, alias: "class-name" }, - definition: { - pattern: /^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im, - lookbehind: !0, - alias: ["rule", "keyword"], - }, - rule: /\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i, - punctuation: /\([:/]|[:/]\)|[.,;()[\]{}]/, - operator: /[-=|*/!]/, - }; -} -hy.displayName = "editorconfig"; -hy.aliases = []; -function hy(e) { - e.languages.editorconfig = { - comment: /[;#].*/, - section: { - pattern: /(^[ \t]*)\[.+\]/m, - lookbehind: !0, - alias: "selector", - inside: { - regex: /\\\\[\[\]{},!?.*]/, - operator: /[!?]|\.\.|\*{1,2}/, - punctuation: /[\[\]{},]/, - }, - }, - key: { - pattern: /(^[ \t]*)[^\s=]+(?=[ \t]*=)/m, - lookbehind: !0, - alias: "attr-name", - }, - value: { - pattern: /=.*/, - alias: "attr-value", - inside: { punctuation: /^=/ }, - }, - }; -} -gy.displayName = "eiffel"; -gy.aliases = []; -function gy(e) { - e.languages.eiffel = { - comment: /--.*/, - string: [ - { pattern: /"([^[]*)\[[\s\S]*?\]\1"/, greedy: !0 }, - { pattern: /"([^{]*)\{[\s\S]*?\}\1"/, greedy: !0 }, - { pattern: /"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/, greedy: !0 }, - ], - char: /'(?:%.|[^%'\r\n])+'/, - keyword: - /\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i, - boolean: /\b(?:False|True)\b/i, - "class-name": /\b[A-Z][\dA-Z_]*\b/, - number: [ - /\b0[xcb][\da-f](?:_*[\da-f])*\b/i, - /(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i, - ], - punctuation: /:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/, - operator: /\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/, - }; -} -my.displayName = "ejs"; -my.aliases = ["eta"]; -function my(e) { - e.register(xr), - e.register(kr), - (function (t) { - (t.languages.ejs = { - delimiter: { pattern: /^<%[-_=]?|[-_]?%>$/, alias: "punctuation" }, - comment: /^#[\s\S]*/, - "language-javascript": { - pattern: /[\s\S]+/, - inside: t.languages.javascript, - }, - }), - t.hooks.add("before-tokenize", function (n) { - var r = /<%(?!%)[\s\S]+?%>/g; - t.languages["markup-templating"].buildPlaceholders(n, "ejs", r); - }), - t.hooks.add("after-tokenize", function (n) { - t.languages["markup-templating"].tokenizePlaceholders(n, "ejs"); - }), - (t.languages.eta = t.languages.ejs); - })(e); -} -by.displayName = "elixir"; -by.aliases = []; -function by(e) { - (e.languages.elixir = { - doc: { - pattern: - /@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/, - inside: { attribute: /^@\w+/, string: /['"][\s\S]+/ }, - }, - comment: { pattern: /#.*/, greedy: !0 }, - regex: { - pattern: - /~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/, - greedy: !0, - }, - string: [ - { - pattern: - /~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/, - greedy: !0, - inside: {}, - }, - { pattern: /("""|''')[\s\S]*?\1/, greedy: !0, inside: {} }, - { - pattern: /("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - greedy: !0, - inside: {}, - }, - ], - atom: { pattern: /(^|[^:]):\w+/, lookbehind: !0, alias: "symbol" }, - module: { pattern: /\b[A-Z]\w*\b/, alias: "class-name" }, - "attr-name": /\b\w+\??:(?!:)/, - argument: { pattern: /(^|[^&])&\d+/, lookbehind: !0, alias: "variable" }, - attribute: { pattern: /@\w+/, alias: "variable" }, - function: /\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/, - number: /\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i, - keyword: - /\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/, - boolean: /\b(?:false|nil|true)\b/, - operator: [ - /\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/, - { pattern: /([^<])<(?!<)/, lookbehind: !0 }, - { pattern: /([^>])>(?!>)/, lookbehind: !0 }, - ], - punctuation: /<<|>>|[.,%\[\]{}()]/, - }), - e.languages.elixir.string.forEach(function (t) { - t.inside = { - interpolation: { - pattern: /#\{[^}]+\}/, - inside: { - delimiter: { pattern: /^#\{|\}$/, alias: "punctuation" }, - rest: e.languages.elixir, - }, - }, - }; - }); -} -Ey.displayName = "elm"; -Ey.aliases = []; -function Ey(e) { - e.languages.elm = { - comment: /--.*|\{-[\s\S]*?-\}/, - char: { - pattern: - /'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/, - greedy: !0, - }, - string: [ - { pattern: /"""[\s\S]*?"""/, greedy: !0 }, - { pattern: /"(?:[^\\"\r\n]|\\.)*"/, greedy: !0 }, - ], - "import-statement": { - pattern: - /(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m, - lookbehind: !0, - inside: { keyword: /\b(?:as|exposing|import)\b/ }, - }, - keyword: - /\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/, - builtin: - /\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/, - number: /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i, - operator: /\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/, - hvariable: /\b(?:[A-Z]\w*\.)*[a-z]\w*\b/, - constant: /\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/, - punctuation: /[{}[\]|(),.:]/, - }; -} -vy.displayName = "etlua"; -vy.aliases = []; -function vy(e) { - e.register(Dp), - e.register(kr), - (function (t) { - (t.languages.etlua = { - delimiter: { pattern: /^<%[-=]?|-?%>$/, alias: "punctuation" }, - "language-lua": { pattern: /[\s\S]+/, inside: t.languages.lua }, - }), - t.hooks.add("before-tokenize", function (n) { - var r = /<%[\s\S]+?%>/g; - t.languages["markup-templating"].buildPlaceholders(n, "etlua", r); - }), - t.hooks.add("after-tokenize", function (n) { - t.languages["markup-templating"].tokenizePlaceholders(n, "etlua"); - }); - })(e); -} -yy.displayName = "erb"; -yy.aliases = []; -function yy(e) { - e.register(kr), - e.register(Iu), - (function (t) { - (t.languages.erb = { - delimiter: { - pattern: /^(\s*)<%=?|%>(?=\s*$)/, - lookbehind: !0, - alias: "punctuation", - }, - ruby: { - pattern: /\s*\S[\s\S]*/, - alias: "language-ruby", - inside: t.languages.ruby, - }, - }), - t.hooks.add("before-tokenize", function (n) { - var r = - /<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g; - t.languages["markup-templating"].buildPlaceholders(n, "erb", r); - }), - t.hooks.add("after-tokenize", function (n) { - t.languages["markup-templating"].tokenizePlaceholders(n, "erb"); - }); - })(e); -} -_y.displayName = "erlang"; -_y.aliases = []; -function _y(e) { - e.languages.erlang = { - comment: /%.+/, - string: { pattern: /"(?:\\.|[^\\"\r\n])*"/, greedy: !0 }, - "quoted-function": { - pattern: /'(?:\\.|[^\\'\r\n])+'(?=\()/, - alias: "function", - }, - "quoted-atom": { pattern: /'(?:\\.|[^\\'\r\n])+'/, alias: "atom" }, - boolean: /\b(?:false|true)\b/, - keyword: /\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/, - number: [ - /\$\\?./, - /\b\d+#[a-z0-9]+/i, - /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, - ], - function: /\b[a-z][\w@]*(?=\()/, - variable: { pattern: /(^|[^@])(?:\b|\?)[A-Z_][\w@]*/, lookbehind: !0 }, - operator: [ - /[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/, - { pattern: /(^|[^<])<(?!<)/, lookbehind: !0 }, - { pattern: /(^|[^>])>(?!>)/, lookbehind: !0 }, - ], - atom: /\b[a-z][\w@]*/, - punctuation: /[()[\]{}:;,.#|]|<<|>>/, - }; -} -Ty.displayName = "excel-formula"; -Ty.aliases = ["xls", "xlsx"]; -function Ty(e) { - (e.languages["excel-formula"] = { - comment: { - pattern: /(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i, - lookbehind: !0, - greedy: !0, - }, - string: { pattern: /"(?:[^"]|"")*"(?!")/, greedy: !0 }, - reference: { - pattern: - /(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/, - greedy: !0, - alias: "string", - inside: { - operator: /!$/, - punctuation: /'/, - sheet: { pattern: /[^[\]]+$/, alias: "function" }, - file: { pattern: /\[[^[\]]+\]$/, inside: { punctuation: /[[\]]/ } }, - path: /[\s\S]+/, - }, - }, - "function-name": { pattern: /\b[A-Z]\w*(?=\()/i, alias: "builtin" }, - range: { - pattern: - /\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i, - alias: "selector", - inside: { - operator: /:/, - cell: /\$?[A-Z]+\$?\d+/i, - column: /\$?[A-Z]+/i, - row: /\$?\d+/, - }, - }, - cell: { - pattern: /\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/, - alias: "selector", - }, - number: /(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i, - boolean: /\b(?:FALSE|TRUE)\b/i, - operator: /[-+*/^%=&,]|<[=>]?|>=?/, - punctuation: /[[\]();{}|]/, - }), - (e.languages.xlsx = e.languages.xls = e.languages["excel-formula"]); -} -Sy.displayName = "fsharp"; -Sy.aliases = []; -function Sy(e) { - e.register(Mt), - (e.languages.fsharp = e.languages.extend("clike", { - comment: [ - { - pattern: /(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/, - lookbehind: !0, - greedy: !0, - }, - { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }, - ], - string: { - pattern: /(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/, - greedy: !0, - }, - "class-name": { - pattern: - /(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/, - lookbehind: !0, - inside: { operator: /->|\*/, punctuation: /\./ }, - }, - keyword: - /\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/, - number: [ - /\b0x[\da-fA-F]+(?:LF|lf|un)?\b/, - /\b0b[01]+(?:uy|y)?\b/, - /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i, - /\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/, - ], - operator: - /([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/, - })), - e.languages.insertBefore("fsharp", "keyword", { - preprocessor: { - pattern: /(^[\t ]*)#.*/m, - lookbehind: !0, - alias: "property", - inside: { - directive: { - pattern: /(^#)\b(?:else|endif|if|light|line|nowarn)\b/, - lookbehind: !0, - alias: "keyword", - }, - }, - }, - }), - e.languages.insertBefore("fsharp", "punctuation", { - "computation-expression": { - pattern: /\b[_a-z]\w*(?=\s*\{)/i, - alias: "keyword", - }, - }), - e.languages.insertBefore("fsharp", "string", { - annotation: { - pattern: /\[<.+?>\]/, - greedy: !0, - inside: { - punctuation: /^\[<|>\]$/, - "class-name": { - pattern: /^\w+$|(^|;\s*)[A-Z]\w*(?=\()/, - lookbehind: !0, - }, - "annotation-content": { - pattern: /[\s\S]+/, - inside: e.languages.fsharp, - }, - }, - }, - char: { - pattern: - /'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/, - greedy: !0, - }, - }); -} -wy.displayName = "factor"; -wy.aliases = []; -function wy(e) { - (function (t) { - var n = { - function: - /\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/, - }, - r = { number: /\\[^\s']|%\w/ }, - i = { - comment: [ - { pattern: /(^|\s)(?:! .*|!$)/, lookbehind: !0, inside: n }, - { - pattern: /(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/, - lookbehind: !0, - greedy: !0, - inside: n, - }, - { - pattern: /(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/, - lookbehind: !0, - greedy: !0, - inside: n, - }, - ], - number: [ - { pattern: /(^|\s)[+-]?\d+(?=\s|$)/, lookbehind: !0 }, - { - pattern: /(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i, - lookbehind: !0, - }, - { pattern: /(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/, lookbehind: !0 }, - { pattern: /(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/, lookbehind: !0 }, - { pattern: /(^|\s)-\d+-\d+\/\d+(?=\s|$)/, lookbehind: !0 }, - { - pattern: - /(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i, - lookbehind: !0, - }, - { pattern: /(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/, lookbehind: !0 }, - { - pattern: - /(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i, - lookbehind: !0, - }, - ], - regexp: { - pattern: - /(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/, - lookbehind: !0, - alias: "number", - inside: { - variable: /\\\S/, - keyword: /[+?*\[\]^$(){}.|]/, - operator: { pattern: /(\/)[idmsr]+(?:-[idmsr]+)?/, lookbehind: !0 }, - }, - }, - boolean: { pattern: /(^|\s)[tf](?=\s|$)/, lookbehind: !0 }, - "custom-string": { - pattern: /(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/, - lookbehind: !0, - greedy: !0, - alias: "string", - inside: { number: /\\\S|%\w|\// }, - }, - "multiline-string": [ - { - pattern: /(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/, - lookbehind: !0, - greedy: !0, - alias: "string", - inside: { - number: r.number, - "semicolon-or-setlocal": { - pattern: /([\r\n][ \t]*);(?=\s|$)/, - lookbehind: !0, - alias: "function", - }, - }, - }, - { - pattern: - /(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/, - lookbehind: !0, - greedy: !0, - alias: "string", - inside: r, - }, - { - pattern: /(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/, - lookbehind: !0, - greedy: !0, - alias: "string", - inside: r, - }, - ], - "special-using": { - pattern: /(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/, - lookbehind: !0, - alias: "function", - inside: { string: { pattern: /(\s)[^:\s]+/, lookbehind: !0 } }, - }, - "stack-effect-delimiter": [ - { - pattern: /(^|\s)(?:call|eval|execute)?\((?=\s)/, - lookbehind: !0, - alias: "operator", - }, - { pattern: /(\s)--(?=\s)/, lookbehind: !0, alias: "operator" }, - { pattern: /(\s)\)(?=\s|$)/, lookbehind: !0, alias: "operator" }, - ], - combinators: { pattern: null, lookbehind: !0, alias: "keyword" }, - "kernel-builtin": { pattern: null, lookbehind: !0, alias: "variable" }, - "sequences-builtin": { - pattern: null, - lookbehind: !0, - alias: "variable", - }, - "math-builtin": { pattern: null, lookbehind: !0, alias: "variable" }, - "constructor-word": { - pattern: /(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/, - lookbehind: !0, - alias: "keyword", - }, - "other-builtin-syntax": { - pattern: null, - lookbehind: !0, - alias: "operator", - }, - "conventionally-named-word": { - pattern: - /(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/, - lookbehind: !0, - alias: "keyword", - }, - "colon-syntax": { - pattern: /(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/, - lookbehind: !0, - greedy: !0, - alias: "function", - }, - "semicolon-or-setlocal": { - pattern: /(\s)(?:;|:>)(?=\s|$)/, - lookbehind: !0, - alias: "function", - }, - "curly-brace-literal-delimiter": [ - { - pattern: /(^|\s)[a-z]*\{(?=\s)/i, - lookbehind: !0, - alias: "operator", - }, - { pattern: /(\s)\}(?=\s|$)/, lookbehind: !0, alias: "operator" }, - ], - "quotation-delimiter": [ - { pattern: /(^|\s)\[(?=\s)/, lookbehind: !0, alias: "operator" }, - { pattern: /(\s)\](?=\s|$)/, lookbehind: !0, alias: "operator" }, - ], - "normal-word": { pattern: /(^|\s)[^"\s]\S*(?=\s|$)/, lookbehind: !0 }, - string: { pattern: /"(?:\\\S|[^"\\])*"/, greedy: !0, inside: r }, - }, - a = function (c) { - return (c + "").replace(/([.?*+\^$\[\]\\(){}|\-])/g, "\\$1"); - }, - o = function (c) { - return new RegExp("(^|\\s)(?:" + c.map(a).join("|") + ")(?=\\s|$)"); - }, - s = { - "kernel-builtin": [ - "or", - "2nipd", - "4drop", - "tuck", - "wrapper", - "nip", - "wrapper?", - "callstack>array", - "die", - "dupd", - "callstack", - "callstack?", - "3dup", - "hashcode", - "pick", - "4nip", - "build", - ">boolean", - "nipd", - "clone", - "5nip", - "eq?", - "?", - "=", - "swapd", - "2over", - "clear", - "2dup", - "get-retainstack", - "not", - "tuple?", - "dup", - "3nipd", - "call", - "-rotd", - "object", - "drop", - "assert=", - "assert?", - "-rot", - "execute", - "boa", - "get-callstack", - "curried?", - "3drop", - "pickd", - "overd", - "over", - "roll", - "3nip", - "swap", - "and", - "2nip", - "rotd", - "throw", - "(clone)", - "hashcode*", - "spin", - "reach", - "4dup", - "equal?", - "get-datastack", - "assert", - "2drop", - "", - "boolean?", - "identity-hashcode", - "identity-tuple?", - "null", - "composed?", - "new", - "5drop", - "rot", - "-roll", - "xor", - "identity-tuple", - "boolean", - ], - "other-builtin-syntax": [ - "=======", - "recursive", - "flushable", - ">>", - "<<<<<<", - "M\\", - "B", - "PRIVATE>", - "\\", - "======", - "final", - "inline", - "delimiter", - "deprecated", - ">>>>>", - "<<<<<<<", - "parse-complex", - "malformed-complex", - "read-only", - ">>>>>>>", - "call-next-method", - "<<", - "foldable", - "$", - "$[", - "${", - ], - "sequences-builtin": [ - "member-eq?", - "mismatch", - "append", - "assert-sequence=", - "longer", - "repetition", - "clone-like", - "3sequence", - "assert-sequence?", - "last-index-from", - "reversed", - "index-from", - "cut*", - "pad-tail", - "join-as", - "remove-eq!", - "concat-as", - "but-last", - "snip", - "nths", - "nth", - "sequence", - "longest", - "slice?", - "", - "remove-nth", - "tail-slice", - "empty?", - "tail*", - "member?", - "virtual-sequence?", - "set-length", - "drop-prefix", - "iota", - "unclip", - "bounds-error?", - "unclip-last-slice", - "non-negative-integer-expected", - "non-negative-integer-expected?", - "midpoint@", - "longer?", - "?set-nth", - "?first", - "rest-slice", - "prepend-as", - "prepend", - "fourth", - "sift", - "subseq-start", - "new-sequence", - "?last", - "like", - "first4", - "1sequence", - "reverse", - "slice", - "virtual@", - "repetition?", - "set-last", - "index", - "4sequence", - "max-length", - "set-second", - "immutable-sequence", - "first2", - "first3", - "supremum", - "unclip-slice", - "suffix!", - "insert-nth", - "tail", - "3append", - "short", - "suffix", - "concat", - "flip", - "immutable?", - "reverse!", - "2sequence", - "sum", - "delete-all", - "indices", - "snip-slice", - "", - "check-slice", - "sequence?", - "head", - "append-as", - "halves", - "sequence=", - "collapse-slice", - "?second", - "slice-error?", - "product", - "bounds-check?", - "bounds-check", - "immutable", - "virtual-exemplar", - "harvest", - "remove", - "pad-head", - "last", - "set-fourth", - "cartesian-product", - "remove-eq", - "shorten", - "shorter", - "reversed?", - "shorter?", - "shortest", - "head-slice", - "pop*", - "tail-slice*", - "but-last-slice", - "iota?", - "append!", - "cut-slice", - "new-resizable", - "head-slice*", - "sequence-hashcode", - "pop", - "set-nth", - "?nth", - "second", - "join", - "immutable-sequence?", - "", - "3append-as", - "virtual-sequence", - "subseq?", - "remove-nth!", - "length", - "last-index", - "lengthen", - "assert-sequence", - "copy", - "move", - "third", - "first", - "tail?", - "set-first", - "prefix", - "bounds-error", - "", - "exchange", - "surround", - "cut", - "min-length", - "set-third", - "push-all", - "head?", - "subseq-start-from", - "delete-slice", - "rest", - "sum-lengths", - "head*", - "infimum", - "remove!", - "glue", - "slice-error", - "subseq", - "push", - "replace-slice", - "subseq-as", - "unclip-last", - ], - "math-builtin": [ - "number=", - "next-power-of-2", - "?1+", - "fp-special?", - "imaginary-part", - "float>bits", - "number?", - "fp-infinity?", - "bignum?", - "fp-snan?", - "denominator", - "gcd", - "*", - "+", - "fp-bitwise=", - "-", - "u>=", - "/", - ">=", - "bitand", - "power-of-2?", - "log2-expects-positive", - "neg?", - "<", - "log2", - ">", - "integer?", - "number", - "bits>double", - "2/", - "zero?", - "bits>float", - "float?", - "shift", - "ratio?", - "rect>", - "even?", - "ratio", - "fp-sign", - "bitnot", - ">fixnum", - "complex?", - "/i", - "integer>fixnum", - "/f", - "sgn", - ">bignum", - "next-float", - "u<", - "u>", - "mod", - "recip", - "rational", - ">float", - "2^", - "integer", - "fixnum?", - "neg", - "fixnum", - "sq", - "bignum", - ">rect", - "bit?", - "fp-qnan?", - "simple-gcd", - "complex", - "", - "real", - ">fraction", - "double>bits", - "bitor", - "rem", - "fp-nan-payload", - "real-part", - "log2-expects-positive?", - "prev-float", - "align", - "unordered?", - "float", - "fp-nan?", - "abs", - "bitxor", - "integer>fixnum-strict", - "u<=", - "odd?", - "<=", - "/mod", - ">integer", - "real?", - "rational?", - "numerator", - ], - }; - Object.keys(s).forEach(function (c) { - i[c].pattern = o(s[c]); - }); - var u = [ - "2bi", - "while", - "2tri", - "bi*", - "4dip", - "both?", - "same?", - "tri@", - "curry", - "prepose", - "3bi", - "?if", - "tri*", - "2keep", - "3keep", - "curried", - "2keepd", - "when", - "2bi*", - "2tri*", - "4keep", - "bi@", - "keepdd", - "do", - "unless*", - "tri-curry", - "if*", - "loop", - "bi-curry*", - "when*", - "2bi@", - "2tri@", - "with", - "2with", - "either?", - "bi", - "until", - "3dip", - "3curry", - "tri-curry*", - "tri-curry@", - "bi-curry", - "keepd", - "compose", - "2dip", - "if", - "3tri", - "unless", - "tuple", - "keep", - "2curry", - "tri", - "most", - "while*", - "dip", - "composed", - "bi-curry@", - "find-last-from", - "trim-head-slice", - "map-as", - "each-from", - "none?", - "trim-tail", - "partition", - "if-empty", - "accumulate*", - "reject!", - "find-from", - "accumulate-as", - "collector-for-as", - "reject", - "map", - "map-sum", - "accumulate!", - "2each-from", - "follow", - "supremum-by", - "map!", - "unless-empty", - "collector", - "padding", - "reduce-index", - "replicate-as", - "infimum-by", - "trim-tail-slice", - "count", - "find-index", - "filter", - "accumulate*!", - "reject-as", - "map-integers", - "map-find", - "reduce", - "selector", - "interleave", - "2map", - "filter-as", - "binary-reduce", - "map-index-as", - "find", - "produce", - "filter!", - "replicate", - "cartesian-map", - "cartesian-each", - "find-index-from", - "map-find-last", - "3map-as", - "3map", - "find-last", - "selector-as", - "2map-as", - "2map-reduce", - "accumulate", - "each", - "each-index", - "accumulate*-as", - "when-empty", - "all?", - "collector-as", - "push-either", - "new-like", - "collector-for", - "2selector", - "push-if", - "2all?", - "map-reduce", - "3each", - "any?", - "trim-slice", - "2reduce", - "change-nth", - "produce-as", - "2each", - "trim", - "trim-head", - "cartesian-find", - "map-index", - "if-zero", - "each-integer", - "unless-zero", - "(find-integer)", - "when-zero", - "find-last-integer", - "(all-integers?)", - "times", - "(each-integer)", - "find-integer", - "all-integers?", - "unless-negative", - "if-positive", - "when-positive", - "when-negative", - "unless-positive", - "if-negative", - "case", - "2cleave", - "cond>quot", - "case>quot", - "3cleave", - "wrong-values", - "to-fixed-point", - "alist>quot", - "cond", - "cleave", - "call-effect", - "recursive-hashcode", - "spread", - "deep-spread>quot", - "2||", - "0||", - "n||", - "0&&", - "2&&", - "3||", - "1||", - "1&&", - "n&&", - "3&&", - "smart-unless*", - "keep-inputs", - "reduce-outputs", - "smart-when*", - "cleave>array", - "smart-with", - "smart-apply", - "smart-if", - "inputs/outputs", - "output>sequence-n", - "map-outputs", - "map-reduce-outputs", - "dropping", - "output>array", - "smart-map-reduce", - "smart-2map-reduce", - "output>array-n", - "nullary", - "inputsequence", - ]; - (i.combinators.pattern = o(u)), (t.languages.factor = i); - })(e); -} -Ay.displayName = "false"; -Ay.aliases = []; -function Ay(e) { - (function (t) { - t.languages.false = { - comment: { pattern: /\{[^}]*\}/ }, - string: { pattern: /"[^"]*"/, greedy: !0 }, - "character-code": { pattern: /'(?:[^\r]|\r\n?)/, alias: "number" }, - "assembler-code": { pattern: /\d+`/, alias: "important" }, - number: /\d+/, - operator: /[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/, - punctuation: /\[|\]/, - variable: /[a-z]/, - "non-standard": { pattern: /[()!=]=?|[-+*/%]|\b(?:in|is)\b/, - })), - delete e.languages["firestore-security-rules"]["class-name"], - e.languages.insertBefore("firestore-security-rules", "keyword", { - path: { - pattern: - /(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/, - lookbehind: !0, - greedy: !0, - inside: { - variable: { - pattern: /\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/, - inside: { operator: /=/, keyword: /\*\*/, punctuation: /[.$(){}]/ }, - }, - punctuation: /\//, - }, - }, - method: { - pattern: /(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/, - lookbehind: !0, - alias: "builtin", - inside: { punctuation: /,/ }, - }, - }); -} -xy.displayName = "flow"; -xy.aliases = []; -function xy(e) { - e.register(xr), - (function (t) { - (t.languages.flow = t.languages.extend("javascript", {})), - t.languages.insertBefore("flow", "keyword", { - type: [ - { - pattern: - /\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/, - alias: "class-name", - }, - ], - }), - (t.languages.flow["function-variable"].pattern = - /(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i), - delete t.languages.flow.parameter, - t.languages.insertBefore("flow", "operator", { - "flow-punctuation": { pattern: /\{\||\|\}/, alias: "punctuation" }, - }), - Array.isArray(t.languages.flow.keyword) || - (t.languages.flow.keyword = [t.languages.flow.keyword]), - t.languages.flow.keyword.unshift( - { - pattern: /(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/, - lookbehind: !0, - }, - { - pattern: - /(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/, - lookbehind: !0, - } - ); - })(e); -} -ky.displayName = "fortran"; -ky.aliases = []; -function ky(e) { - e.languages.fortran = { - "quoted-number": { pattern: /[BOZ](['"])[A-F0-9]+\1/i, alias: "number" }, - string: { - pattern: - /(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/, - inside: { comment: { pattern: /(&(?:\r\n?|\n)\s*)!.*/, lookbehind: !0 } }, - }, - comment: { pattern: /!.*/, greedy: !0 }, - boolean: /\.(?:FALSE|TRUE)\.(?:_\w+)?/i, - number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i, - keyword: [ - /\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i, - /\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i, - /\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i, - /\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i, - ], - operator: [ - /\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i, - { pattern: /(^|(?!\().)\/(?!\))/, lookbehind: !0 }, - ], - punctuation: /\(\/|\/\)|[(),;:&]/, - }; -} -Iy.displayName = "ftl"; -Iy.aliases = []; -function Iy(e) { - e.register(kr), - (function (t) { - for ( - var n = - /[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/ - .source, - r = 0; - r < 2; - r++ - ) - n = n.replace(//g, function () { - return n; - }); - n = n.replace(//g, /[^\s\S]/.source); - var i = { - comment: /<#--[\s\S]*?-->/, - string: [ - { pattern: /\br("|')(?:(?!\1)[^\\]|\\.)*\1/, greedy: !0 }, - { - pattern: RegExp( - /("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace( - //g, - function () { - return n; - } - ) - ), - greedy: !0, - inside: { - interpolation: { - pattern: RegExp( - /((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace( - //g, - function () { - return n; - } - ) - ), - lookbehind: !0, - inside: { - "interpolation-punctuation": { - pattern: /^\$\{|\}$/, - alias: "punctuation", - }, - rest: null, - }, - }, - }, - }, - ], - keyword: /\b(?:as)\b/, - boolean: /\b(?:false|true)\b/, - "builtin-function": { - pattern: /((?:^|[^?])\?\s*)\w+/, - lookbehind: !0, - alias: "function", - }, - function: /\b\w+(?=\s*\()/, - number: /\b\d+(?:\.\d+)?\b/, - operator: - /\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/, - punctuation: /[,;.:()[\]{}]/, - }; - (i.string[1].inside.interpolation.inside.rest = i), - (t.languages.ftl = { - "ftl-comment": { pattern: /^<#--[\s\S]*/, alias: "comment" }, - "ftl-directive": { - pattern: /^<[\s\S]+>$/, - inside: { - directive: { - pattern: /(^<\/?)[#@][a-z]\w*/i, - lookbehind: !0, - alias: "keyword", - }, - punctuation: /^<\/?|\/?>$/, - content: { pattern: /\s*\S[\s\S]*/, alias: "ftl", inside: i }, - }, - }, - "ftl-interpolation": { - pattern: /^\$\{[\s\S]*\}$/, - inside: { - punctuation: /^\$\{|\}$/, - content: { pattern: /\s*\S[\s\S]*/, alias: "ftl", inside: i }, - }, - }, - }), - t.hooks.add("before-tokenize", function (a) { - var o = RegExp( - /<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace( - //g, - function () { - return n; - } - ), - "gi" - ); - t.languages["markup-templating"].buildPlaceholders(a, "ftl", o); - }), - t.hooks.add("after-tokenize", function (a) { - t.languages["markup-templating"].tokenizePlaceholders(a, "ftl"); - }); - })(e); -} -Ry.displayName = "gml"; -Ry.aliases = ["gamemakerlanguage"]; -function Ry(e) { - e.register(Mt), - (e.languages.gamemakerlanguage = e.languages.gml = - e.languages.extend("clike", { - keyword: - /\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/, - number: - /(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i, - operator: - /--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/, - constant: - /\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/, - variable: - /\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/, - })); -} -Ny.displayName = "gap"; -Ny.aliases = []; -function Ny(e) { - (e.languages.gap = { - shell: { - pattern: /^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m, - greedy: !0, - inside: { - gap: { - pattern: /^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/, - lookbehind: !0, - inside: null, - }, - punctuation: /^gap>/, - }, - }, - comment: { pattern: /#.*/, greedy: !0 }, - string: { - pattern: - /(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/, - lookbehind: !0, - greedy: !0, - inside: { - continuation: { - pattern: /([\r\n])>/, - lookbehind: !0, - alias: "punctuation", - }, - }, - }, - keyword: - /\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/, - boolean: /\b(?:false|true)\b/, - function: /\b[a-z_]\w*(?=\s*\()/i, - number: { - pattern: - /(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/, - lookbehind: !0, - }, - continuation: { - pattern: /([\r\n])>/, - lookbehind: !0, - alias: "punctuation", - }, - operator: /->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./, - punctuation: /[()[\]{},;.:]/, - }), - (e.languages.gap.shell.inside.gap.inside = e.languages.gap); -} -Oy.displayName = "gcode"; -Oy.aliases = []; -function Oy(e) { - e.languages.gcode = { - comment: /;.*|\B\(.*?\)\B/, - string: { pattern: /"(?:""|[^"])*"/, greedy: !0 }, - keyword: /\b[GM]\d+(?:\.\d+)?\b/, - property: /\b[A-Z]/, - checksum: { pattern: /(\*)\d+/, lookbehind: !0, alias: "number" }, - punctuation: /[:*]/, - }; -} -Dy.displayName = "gdscript"; -Dy.aliases = []; -function Dy(e) { - e.languages.gdscript = { - comment: /#.*/, - string: { - pattern: - /@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/, - greedy: !0, - }, - "class-name": { - pattern: - /(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m, - lookbehind: !0, - }, - keyword: - /\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/, - function: /\b[a-z_]\w*(?=[ \t]*\()/i, - variable: /\$\w+/, - number: [ - /\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/, - /\b(?:INF|NAN|PI|TAU)\b/, - ], - constant: /\b[A-Z][A-Z_\d]*\b/, - boolean: /\b(?:false|true)\b/, - operator: /->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/, - punctuation: /[.:,;()[\]{}]/, - }; -} -Ly.displayName = "gedcom"; -Ly.aliases = []; -function Ly(e) { - e.languages.gedcom = { - "line-value": { - pattern: - /(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m, - lookbehind: !0, - inside: { - pointer: { - pattern: /^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/, - alias: "variable", - }, - }, - }, - record: { - pattern: - /(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m, - lookbehind: !0, - alias: "tag", - }, - level: { pattern: /(^[\t ]*)\d+/m, lookbehind: !0, alias: "number" }, - pointer: { - pattern: /@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/, - alias: "variable", - }, - }; -} -My.displayName = "gettext"; -My.aliases = ["po"]; -function My(e) { - (e.languages.gettext = { - comment: [ - { pattern: /# .*/, greedy: !0, alias: "translator-comment" }, - { pattern: /#\..*/, greedy: !0, alias: "extracted-comment" }, - { pattern: /#:.*/, greedy: !0, alias: "reference-comment" }, - { pattern: /#,.*/, greedy: !0, alias: "flag-comment" }, - { - pattern: /#\|.*/, - greedy: !0, - alias: "previously-untranslated-comment", - }, - { pattern: /#.*/, greedy: !0 }, - ], - string: { - pattern: /(^|[^\\])"(?:[^"\\]|\\.)*"/, - lookbehind: !0, - greedy: !0, - }, - keyword: /^msg(?:ctxt|id|id_plural|str)\b/m, - number: /\b\d+\b/, - punctuation: /[\[\]]/, - }), - (e.languages.po = e.languages.gettext); -} -Fy.displayName = "gherkin"; -Fy.aliases = []; -function Fy(e) { - (function (t) { - var n = /(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source; - t.languages.gherkin = { - pystring: { pattern: /("""|''')[\s\S]+?\1/, alias: "string" }, - comment: { pattern: /(^[ \t]*)#.*/m, lookbehind: !0 }, - tag: { pattern: /(^[ \t]*)@\S*/m, lookbehind: !0 }, - feature: { - pattern: - /((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/, - lookbehind: !0, - inside: { - important: { pattern: /(:)[^\r\n]+/, lookbehind: !0 }, - keyword: /[^:\r\n]+:/, - }, - }, - scenario: { - pattern: - /(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m, - lookbehind: !0, - inside: { - important: { pattern: /(:)[^\r\n]*/, lookbehind: !0 }, - keyword: /[^:\r\n]+:/, - }, - }, - "table-body": { - pattern: RegExp("(" + n + ")(?:" + n + ")+"), - lookbehind: !0, - inside: { - outline: { pattern: /<[^>]+>/, alias: "variable" }, - td: { pattern: /\s*[^\s|][^|]*/, alias: "string" }, - punctuation: /\|/, - }, - }, - "table-head": { - pattern: RegExp(n), - inside: { - th: { pattern: /\s*[^\s|][^|]*/, alias: "variable" }, - punctuation: /\|/, - }, - }, - atrule: { - pattern: - /(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m, - lookbehind: !0, - }, - string: { - pattern: /"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/, - inside: { outline: { pattern: /<[^>]+>/, alias: "variable" } }, - }, - outline: { pattern: /<[^>]+>/, alias: "variable" }, - }; - })(e); -} -Py.displayName = "git"; -Py.aliases = []; -function Py(e) { - e.languages.git = { - comment: /^#.*/m, - deleted: /^[-–].*/m, - inserted: /^\+.*/m, - string: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, - command: { pattern: /^.*\$ git .*$/m, inside: { parameter: /\s--?\w+/ } }, - coord: /^@@.*@@$/m, - "commit-sha1": /^commit \w{40}$/m, - }; -} -By.displayName = "glsl"; -By.aliases = []; -function By(e) { - e.register(qa), - (e.languages.glsl = e.languages.extend("c", { - keyword: - /\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/, - })); -} -Uy.displayName = "gn"; -Uy.aliases = ["gni"]; -function Uy(e) { - (e.languages.gn = { - comment: { pattern: /#.*/, greedy: !0 }, - "string-literal": { - pattern: /(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/, - lookbehind: !0, - greedy: !0, - inside: { - interpolation: { - pattern: - /((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/, - lookbehind: !0, - inside: { - number: /^\$0x[\s\S]{2}$/, - variable: /^\$\w+$/, - "interpolation-punctuation": { - pattern: /^\$\{|\}$/, - alias: "punctuation", - }, - expression: { pattern: /[\s\S]+/, inside: null }, - }, - }, - string: /[\s\S]+/, - }, - }, - keyword: /\b(?:else|if)\b/, - boolean: /\b(?:false|true)\b/, - "builtin-function": { - pattern: - /\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i, - alias: "keyword", - }, - function: /\b[a-z_]\w*(?=\s*\()/i, - constant: - /\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/, - number: /-?\b\d+\b/, - operator: /[-+!=<>]=?|&&|\|\|/, - punctuation: /[(){}[\],.]/, - }), - (e.languages.gn[ - "string-literal" - ].inside.interpolation.inside.expression.inside = e.languages.gn), - (e.languages.gni = e.languages.gn); -} -$y.displayName = "linker-script"; -$y.aliases = ["ld"]; -function $y(e) { - (e.languages["linker-script"] = { - comment: { - pattern: /(^|\s)\/\*[\s\S]*?(?:$|\*\/)/, - lookbehind: !0, - greedy: !0, - }, - identifier: { pattern: /"[^"\r\n]*"/, greedy: !0 }, - "location-counter": { pattern: /\B\.\B/, alias: "important" }, - section: { pattern: /(^|[^\w*])\.\w+\b/, lookbehind: !0, alias: "keyword" }, - function: /\b[A-Z][A-Z_]*(?=\s*\()/, - number: /\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/, - operator: />>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/, - punctuation: /[(){},;]/, - }), - (e.languages.ld = e.languages["linker-script"]); -} -zy.displayName = "go-module"; -zy.aliases = ["go-mod"]; -function zy(e) { - e.languages["go-mod"] = e.languages["go-module"] = { - comment: { pattern: /\/\/.*/, greedy: !0 }, - version: { - pattern: /(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/, - lookbehind: !0, - alias: "number", - }, - "go-version": { - pattern: /((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/, - lookbehind: !0, - alias: "number", - }, - keyword: { - pattern: /^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m, - lookbehind: !0, - }, - operator: /=>/, - punctuation: /[()[\],]/, - }; -} -Hy.displayName = "gradle"; -Hy.aliases = []; -function Hy(e) { - e.register(Mt), - (function (t) { - var n = { - pattern: /((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/, - lookbehind: !0, - inside: { - "interpolation-punctuation": { - pattern: /^\$\{?|\}$/, - alias: "punctuation", - }, - expression: { pattern: /[\s\S]+/, inside: null }, - }, - }; - (t.languages.gradle = t.languages.extend("clike", { - string: { - pattern: /'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/, - greedy: !0, - }, - keyword: - /\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/, - number: - /\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i, - operator: { - pattern: - /(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/, - lookbehind: !0, - }, - punctuation: /\.+|[{}[\];(),:$]/, - })), - t.languages.insertBefore("gradle", "string", { - shebang: { pattern: /#!.+/, alias: "comment", greedy: !0 }, - "interpolation-string": { - pattern: - /"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/, - greedy: !0, - inside: { interpolation: n, string: /[\s\S]+/ }, - }, - }), - t.languages.insertBefore("gradle", "punctuation", { - "spock-block": - /\b(?:and|cleanup|expect|given|setup|then|when|where):/, - }), - t.languages.insertBefore("gradle", "function", { - annotation: { - pattern: /(^|[^.])@\w+/, - lookbehind: !0, - alias: "punctuation", - }, - }), - (n.inside.expression.inside = t.languages.gradle); - })(e); -} -jy.displayName = "graphql"; -jy.aliases = []; -function jy(e) { - (e.languages.graphql = { - comment: /#.*/, - description: { - pattern: - /(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i, - greedy: !0, - alias: "string", - inside: { - "language-markdown": { - pattern: /(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/, - lookbehind: !0, - inside: e.languages.markdown, - }, - }, - }, - string: { - pattern: /"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/, - greedy: !0, - }, - number: /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, - boolean: /\b(?:false|true)\b/, - variable: /\$[a-z_]\w*/i, - directive: { pattern: /@[a-z_]\w*/i, alias: "function" }, - "attr-name": { - pattern: /\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i, - greedy: !0, - }, - "atom-input": { pattern: /\b[A-Z]\w*Input\b/, alias: "class-name" }, - scalar: /\b(?:Boolean|Float|ID|Int|String)\b/, - constant: /\b[A-Z][A-Z_\d]*\b/, - "class-name": { - pattern: - /(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/, - lookbehind: !0, - }, - fragment: { - pattern: /(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/, - lookbehind: !0, - alias: "function", - }, - "definition-mutation": { - pattern: /(\bmutation\s+)[a-zA-Z_]\w*/, - lookbehind: !0, - alias: "function", - }, - "definition-query": { - pattern: /(\bquery\s+)[a-zA-Z_]\w*/, - lookbehind: !0, - alias: "function", - }, - keyword: - /\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/, - operator: /[!=|&]|\.{3}/, - "property-query": /\w+(?=\s*\()/, - object: /\w+(?=\s*\{)/, - punctuation: /[!(){}\[\]:=,]/, - property: /\w+/, - }), - e.hooks.add("after-tokenize", function (n) { - if (n.language !== "graphql") return; - var r = n.tokens.filter(function (T) { - return ( - typeof T != "string" && T.type !== "comment" && T.type !== "scalar" - ); - }), - i = 0; - function a(T) { - return r[i + T]; - } - function o(T, v) { - v = v || 0; - for (var y = 0; y < T.length; y++) { - var w = a(y + v); - if (!w || w.type !== T[y]) return !1; - } - return !0; - } - function s(T, v) { - for (var y = 1, w = i; w < r.length; w++) { - var A = r[w], - D = A.content; - if (A.type === "punctuation" && typeof D == "string") { - if (T.test(D)) y++; - else if (v.test(D) && (y--, y === 0)) return w; - } - } - return -1; - } - function u(T, v) { - var y = T.alias; - y ? Array.isArray(y) || (T.alias = y = [y]) : (T.alias = y = []), - y.push(v); - } - for (; i < r.length; ) { - var c = r[i++]; - if (c.type === "keyword" && c.content === "mutation") { - var p = []; - if ( - o(["definition-mutation", "punctuation"]) && - a(1).content === "(" - ) { - i += 2; - var f = s(/^\($/, /^\)$/); - if (f === -1) continue; - for (; i < f; i++) { - var m = a(0); - m.type === "variable" && - (u(m, "variable-input"), p.push(m.content)); - } - i = f + 1; - } - if ( - o(["punctuation", "property-query"]) && - a(0).content === "{" && - (i++, u(a(0), "property-mutation"), p.length > 0) - ) { - var g = s(/^\{$/, /^\}$/); - if (g === -1) continue; - for (var E = i; E < g; E++) { - var b = r[E]; - b.type === "variable" && - p.indexOf(b.content) >= 0 && - u(b, "variable-input"); - } - } - } - } - }); -} -Gy.displayName = "groovy"; -Gy.aliases = []; -function Gy(e) { - e.register(Mt), - (function (t) { - var n = { - pattern: /((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/, - lookbehind: !0, - inside: { - "interpolation-punctuation": { - pattern: /^\$\{?|\}$/, - alias: "punctuation", - }, - expression: { pattern: /[\s\S]+/, inside: null }, - }, - }; - (t.languages.groovy = t.languages.extend("clike", { - string: { - pattern: /'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/, - greedy: !0, - }, - keyword: - /\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/, - number: - /\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i, - operator: { - pattern: - /(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/, - lookbehind: !0, - }, - punctuation: /\.+|[{}[\];(),:$]/, - })), - t.languages.insertBefore("groovy", "string", { - shebang: { pattern: /#!.+/, alias: "comment", greedy: !0 }, - "interpolation-string": { - pattern: - /"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/, - greedy: !0, - inside: { interpolation: n, string: /[\s\S]+/ }, - }, - }), - t.languages.insertBefore("groovy", "punctuation", { - "spock-block": - /\b(?:and|cleanup|expect|given|setup|then|when|where):/, - }), - t.languages.insertBefore("groovy", "function", { - annotation: { - pattern: /(^|[^.])@\w+/, - lookbehind: !0, - alias: "punctuation", - }, - }), - (n.inside.expression.inside = t.languages.groovy); - })(e); -} -Vy.displayName = "textile"; -Vy.aliases = []; -function Vy(e) { - e.register(fr), - (function (t) { - var n = /\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source, - r = /\)|\((?![^|()\n]+\))/.source; - function i(f, m) { - return RegExp( - f - .replace(//g, function () { - return "(?:" + n + ")"; - }) - .replace(//g, function () { - return "(?:" + r + ")"; - }), - m || "" - ); - } - var a = { - css: { pattern: /\{[^{}]+\}/, inside: { rest: t.languages.css } }, - "class-id": { - pattern: /(\()[^()]+(?=\))/, - lookbehind: !0, - alias: "attr-value", - }, - lang: { - pattern: /(\[)[^\[\]]+(?=\])/, - lookbehind: !0, - alias: "attr-value", - }, - punctuation: /[\\\/]\d+|\S/, - }, - o = (t.languages.textile = t.languages.extend("markup", { - phrase: { - pattern: /(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/, - lookbehind: !0, - inside: { - "block-tag": { - pattern: i(/^[a-z]\w*(?:||[<>=])*\./.source), - inside: { - modifier: { - pattern: i( - /(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source - ), - lookbehind: !0, - inside: a, - }, - tag: /^[a-z]\w*/, - punctuation: /\.$/, - }, - }, - list: { - pattern: i(/^[*#]+*\s+\S.*/.source, "m"), - inside: { - modifier: { - pattern: i(/(^[*#]+)+/.source), - lookbehind: !0, - inside: a, - }, - punctuation: /^[*#]+/, - }, - }, - table: { - pattern: i( - /^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/ - .source, - "m" - ), - inside: { - modifier: { - pattern: i( - /(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/ - .source - ), - lookbehind: !0, - inside: a, - }, - punctuation: /\||^\./, - }, - }, - inline: { - pattern: i( - /(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/ - .source - ), - lookbehind: !0, - inside: { - bold: { - pattern: i(/(^(\*\*?)*).+?(?=\2)/.source), - lookbehind: !0, - }, - italic: { - pattern: i(/(^(__?)*).+?(?=\2)/.source), - lookbehind: !0, - }, - cite: { - pattern: i(/(^\?\?*).+?(?=\?\?)/.source), - lookbehind: !0, - alias: "string", - }, - code: { - pattern: i(/(^@*).+?(?=@)/.source), - lookbehind: !0, - alias: "keyword", - }, - inserted: { - pattern: i(/(^\+*).+?(?=\+)/.source), - lookbehind: !0, - }, - deleted: { - pattern: i(/(^-*).+?(?=-)/.source), - lookbehind: !0, - }, - span: { - pattern: i(/(^%*).+?(?=%)/.source), - lookbehind: !0, - }, - modifier: { - pattern: i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source), - lookbehind: !0, - inside: a, - }, - punctuation: /[*_%?@+\-^~]+/, - }, - }, - "link-ref": { - pattern: /^\[[^\]]+\]\S+$/m, - inside: { - string: { pattern: /(^\[)[^\]]+(?=\])/, lookbehind: !0 }, - url: { pattern: /(^\])\S+$/, lookbehind: !0 }, - punctuation: /[\[\]]/, - }, - }, - link: { - pattern: i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source), - inside: { - text: { - pattern: i(/(^"*)[^"]+(?=")/.source), - lookbehind: !0, - }, - modifier: { - pattern: i(/(^")+/.source), - lookbehind: !0, - inside: a, - }, - url: { pattern: /(:).+/, lookbehind: !0 }, - punctuation: /[":]/, - }, - }, - image: { - pattern: i( - /!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/ - .source - ), - inside: { - source: { - pattern: i( - /(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/ - .source - ), - lookbehind: !0, - alias: "url", - }, - modifier: { - pattern: i(/(^!)(?:||[<>=])+/.source), - lookbehind: !0, - inside: a, - }, - url: { pattern: /(:).+/, lookbehind: !0 }, - punctuation: /[!:]/, - }, - }, - footnote: { - pattern: /\b\[\d+\]/, - alias: "comment", - inside: { punctuation: /\[|\]/ }, - }, - acronym: { - pattern: /\b[A-Z\d]+\([^)]+\)/, - inside: { - comment: { pattern: /(\()[^()]+(?=\))/, lookbehind: !0 }, - punctuation: /[()]/, - }, - }, - mark: { - pattern: /\b\((?:C|R|TM)\)/, - alias: "comment", - inside: { punctuation: /[()]/ }, - }, - }, - }, - })), - s = o.phrase.inside, - u = { - inline: s.inline, - link: s.link, - image: s.image, - footnote: s.footnote, - acronym: s.acronym, - mark: s.mark, - }; - o.tag.pattern = - /<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i; - var c = s.inline.inside; - (c.bold.inside = u), - (c.italic.inside = u), - (c.inserted.inside = u), - (c.deleted.inside = u), - (c.span.inside = u); - var p = s.table.inside; - (p.inline = u.inline), - (p.link = u.link), - (p.image = u.image), - (p.footnote = u.footnote), - (p.acronym = u.acronym), - (p.mark = u.mark); - })(e); -} -Wy.displayName = "haml"; -Wy.aliases = []; -function Wy(e) { - e.register(Iu), - (function (t) { - t.languages.haml = { - "multiline-comment": { - pattern: - /((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/, - lookbehind: !0, - alias: "comment", - }, - "multiline-code": [ - { - pattern: - /((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/, - lookbehind: !0, - inside: t.languages.ruby, - }, - { - pattern: - /((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/, - lookbehind: !0, - inside: t.languages.ruby, - }, - ], - filter: { - pattern: - /((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/, - lookbehind: !0, - inside: { "filter-name": { pattern: /^:[\w-]+/, alias: "symbol" } }, - }, - markup: { - pattern: /((?:^|\r?\n|\r)[\t ]*)<.+/, - lookbehind: !0, - inside: t.languages.markup, - }, - doctype: { - pattern: /((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/, - lookbehind: !0, - }, - tag: { - pattern: - /((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/, - lookbehind: !0, - inside: { - attributes: [ - { - pattern: /(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/, - lookbehind: !0, - inside: t.languages.ruby, - }, - { - pattern: /\([^)]+\)/, - inside: { - "attr-value": { - pattern: /(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/, - lookbehind: !0, - }, - "attr-name": /[\w:-]+(?=\s*!?=|\s*[,)])/, - punctuation: /[=(),]/, - }, - }, - { pattern: /\[[^\]]+\]/, inside: t.languages.ruby }, - ], - punctuation: /[<>]/, - }, - }, - code: { - pattern: /((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/, - lookbehind: !0, - inside: t.languages.ruby, - }, - interpolation: { - pattern: /#\{[^}]+\}/, - inside: { - delimiter: { pattern: /^#\{|\}$/, alias: "punctuation" }, - ruby: { pattern: /[\s\S]+/, inside: t.languages.ruby }, - }, - }, - punctuation: { - pattern: /((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/, - lookbehind: !0, - }, - }; - for ( - var n = - "((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+", - r = [ - "css", - { filter: "coffee", language: "coffeescript" }, - "erb", - "javascript", - "less", - "markdown", - "ruby", - "scss", - "textile", - ], - i = {}, - a = 0, - o = r.length; - a < o; - a++ - ) { - var s = r[a]; - (s = typeof s == "string" ? { filter: s, language: s } : s), - t.languages[s.language] && - (i["filter-" + s.filter] = { - pattern: RegExp( - n.replace("{{filter_name}}", function () { - return s.filter; - }) - ), - lookbehind: !0, - inside: { - "filter-name": { pattern: /^:[\w-]+/, alias: "symbol" }, - text: { - pattern: /[\s\S]+/, - alias: [s.language, "language-" + s.language], - inside: t.languages[s.language], - }, - }, - }); - } - t.languages.insertBefore("haml", "filter", i); - })(e); -} -qy.displayName = "handlebars"; -qy.aliases = ["hbs", "mustache"]; -function qy(e) { - e.register(kr), - (function (t) { - (t.languages.handlebars = { - comment: /\{\{![\s\S]*?\}\}/, - delimiter: { pattern: /^\{\{\{?|\}\}\}?$/, alias: "punctuation" }, - string: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/, - number: - /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/, - boolean: /\b(?:false|true)\b/, - block: { - pattern: /^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/, - lookbehind: !0, - alias: "keyword", - }, - brackets: { - pattern: /\[[^\]]+\]/, - inside: { punctuation: /\[|\]/, variable: /[\s\S]+/ }, - }, - punctuation: /[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/, - variable: /[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/, - }), - t.hooks.add("before-tokenize", function (n) { - var r = /\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g; - t.languages["markup-templating"].buildPlaceholders( - n, - "handlebars", - r - ); - }), - t.hooks.add("after-tokenize", function (n) { - t.languages["markup-templating"].tokenizePlaceholders( - n, - "handlebars" - ); - }), - (t.languages.hbs = t.languages.handlebars), - (t.languages.mustache = t.languages.handlebars); - })(e); -} -Bp.displayName = "haskell"; -Bp.aliases = ["hs"]; -function Bp(e) { - (e.languages.haskell = { - comment: { - pattern: - /(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m, - lookbehind: !0, - }, - char: { - pattern: - /'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/, - alias: "string", - }, - string: { pattern: /"(?:[^\\"]|\\(?:\S|\s+\\))*"/, greedy: !0 }, - keyword: - /\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/, - "import-statement": { - pattern: - /(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m, - lookbehind: !0, - inside: { - keyword: /\b(?:as|hiding|import|qualified)\b/, - punctuation: /\./, - }, - }, - builtin: - /\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/, - number: /\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i, - operator: [ - { pattern: /`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/, greedy: !0 }, - { pattern: /(\s)\.(?=\s)/, lookbehind: !0 }, - /[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/, - ], - hvariable: { - pattern: /\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/, - inside: { punctuation: /\./ }, - }, - constant: { - pattern: /\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/, - inside: { punctuation: /\./ }, - }, - punctuation: /[{}[\];(),.:]/, - }), - (e.languages.hs = e.languages.haskell); -} -Ky.displayName = "haxe"; -Ky.aliases = []; -function Ky(e) { - e.register(Mt), - (e.languages.haxe = e.languages.extend("clike", { - string: { pattern: /"(?:[^"\\]|\\[\s\S])*"/, greedy: !0 }, - "class-name": [ - { - pattern: - /(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/, - lookbehind: !0, - }, - /\b[A-Z]\w*/, - ], - keyword: - /\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/, - function: { - pattern: /\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i, - greedy: !0, - }, - operator: - /\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/, - })), - e.languages.insertBefore("haxe", "string", { - "string-interpolation": { - pattern: /'(?:[^'\\]|\\[\s\S])*'/, - greedy: !0, - inside: { - interpolation: { - pattern: /(^|[^\\])\$(?:\w+|\{[^{}]+\})/, - lookbehind: !0, - inside: { - "interpolation-punctuation": { - pattern: /^\$\{?|\}$/, - alias: "punctuation", - }, - expression: { pattern: /[\s\S]+/, inside: e.languages.haxe }, - }, - }, - string: /[\s\S]+/, - }, - }, - }), - e.languages.insertBefore("haxe", "class-name", { - regex: { - pattern: /~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/, - greedy: !0, - inside: { - "regex-flags": /\b[a-z]+$/, - "regex-source": { - pattern: /^(~\/)[\s\S]+(?=\/$)/, - lookbehind: !0, - alias: "language-regex", - inside: e.languages.regex, - }, - "regex-delimiter": /^~\/|\/$/, - }, - }, - }), - e.languages.insertBefore("haxe", "keyword", { - preprocessor: { - pattern: /#(?:else|elseif|end|if)\b.*/, - alias: "property", - }, - metadata: { pattern: /@:?[\w.]+/, alias: "symbol" }, - reification: { pattern: /\$(?:\w+|(?=\{))/, alias: "important" }, - }); -} -Yy.displayName = "hcl"; -Yy.aliases = []; -function Yy(e) { - e.languages.hcl = { - comment: /(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/, - heredoc: { - pattern: /<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m, - greedy: !0, - alias: "string", - }, - keyword: [ - { - pattern: - /(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i, - inside: { - type: { - pattern: /(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i, - lookbehind: !0, - alias: "variable", - }, - }, - }, - { - pattern: - /(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i, - inside: { - type: { - pattern: - /(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i, - lookbehind: !0, - alias: "variable", - }, - }, - }, - /[\w-]+(?=\s+\{)/, - ], - property: [/[-\w\.]+(?=\s*=(?!=))/, /"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/], - string: { - pattern: - /"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/, - greedy: !0, - inside: { - interpolation: { - pattern: /(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/, - lookbehind: !0, - inside: { - type: { - pattern: - /(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i, - lookbehind: !0, - alias: "variable", - }, - keyword: /\b(?:count|data|local|module|path|self|terraform|var)\b/i, - function: /\w+(?=\()/, - string: { pattern: /"(?:\\[\s\S]|[^\\"])*"/, greedy: !0 }, - number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i, - punctuation: /[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/, - }, - }, - }, - }, - number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i, - boolean: /\b(?:false|true)\b/i, - punctuation: /[=\[\]{}]/, - }; -} -Xy.displayName = "hlsl"; -Xy.aliases = []; -function Xy(e) { - e.register(qa), - (e.languages.hlsl = e.languages.extend("c", { - "class-name": [ - e.languages.c["class-name"], - /\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/, - ], - keyword: [ - /\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/, - /\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/, - ], - number: - /(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/, - boolean: /\b(?:false|true)\b/, - })); -} -Zy.displayName = "hoon"; -Zy.aliases = []; -function Zy(e) { - e.languages.hoon = { - comment: { pattern: /::.*/, greedy: !0 }, - string: { pattern: /"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/, greedy: !0 }, - constant: /%(?:\.[ny]|[\w-]+)/, - "class-name": /@(?:[a-z0-9-]*[a-z0-9])?|\*/i, - function: /(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/, - keyword: - /\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/, - }; -} -Qy.displayName = "hpkp"; -Qy.aliases = []; -function Qy(e) { - e.languages.hpkp = { - directive: { - pattern: - /\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i, - alias: "property", - }, - operator: /=/, - punctuation: /;/, - }; -} -Jy.displayName = "hsts"; -Jy.aliases = []; -function Jy(e) { - e.languages.hsts = { - directive: { - pattern: /\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i, - alias: "property", - }, - operator: /=/, - punctuation: /;/, - }; -} -e6.displayName = "uri"; -e6.aliases = ["url"]; -function e6(e) { - (e.languages.uri = { - scheme: { - pattern: /^[a-z][a-z0-9+.-]*:/im, - greedy: !0, - inside: { "scheme-delimiter": /:$/ }, - }, - fragment: { - pattern: /#[\w\-.~!$&'()*+,;=%:@/?]*/, - inside: { "fragment-delimiter": /^#/ }, - }, - query: { - pattern: /\?[\w\-.~!$&'()*+,;=%:@/?]*/, - inside: { - "query-delimiter": { pattern: /^\?/, greedy: !0 }, - "pair-delimiter": /[&;]/, - pair: { - pattern: /^[^=][\s\S]*/, - inside: { - key: /^[^=]+/, - value: { pattern: /(^=)[\s\S]+/, lookbehind: !0 }, - }, - }, - }, - }, - authority: { - pattern: RegExp( - /^\/\//.source + - /(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source + - ("(?:" + - /\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/ - .source + - "|" + - /[\w\-.~!$&'()*+,;=%]*/.source + - ")") + - /(?::\d*)?/.source, - "m" - ), - inside: { - "authority-delimiter": /^\/\//, - "user-info-segment": { - pattern: /^[\w\-.~!$&'()*+,;=%:]*@/, - inside: { - "user-info-delimiter": /@$/, - "user-info": /^[\w\-.~!$&'()*+,;=%:]+/, - }, - }, - "port-segment": { - pattern: /:\d*$/, - inside: { "port-delimiter": /^:/, port: /^\d+/ }, - }, - host: { - pattern: /[\s\S]+/, - inside: { - "ip-literal": { - pattern: /^\[[\s\S]+\]$/, - inside: { - "ip-literal-delimiter": /^\[|\]$/, - "ipv-future": /^v[\s\S]+/, - "ipv6-address": /^[\s\S]+/, - }, - }, - "ipv4-address": - /^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/, - }, - }, - }, - }, - path: { - pattern: /^[\w\-.~!$&'()*+,;=%:@/]+/m, - inside: { "path-separator": /\// }, - }, - }), - (e.languages.url = e.languages.uri); -} -t6.displayName = "http"; -t6.aliases = []; -function t6(e) { - (function (t) { - function n(p) { - return RegExp("(^(?:" + p + "):[ ]*(?![ ]))[^]+", "i"); - } - t.languages.http = { - "request-line": { - pattern: - /^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m, - inside: { - method: { pattern: /^[A-Z]+\b/, alias: "property" }, - "request-target": { - pattern: /^(\s)(?:https?:\/\/|\/)\S*(?=\s)/, - lookbehind: !0, - alias: "url", - inside: t.languages.uri, - }, - "http-version": { - pattern: /^(\s)HTTP\/[\d.]+/, - lookbehind: !0, - alias: "property", - }, - }, - }, - "response-status": { - pattern: /^HTTP\/[\d.]+ \d+ .+/m, - inside: { - "http-version": { pattern: /^HTTP\/[\d.]+/, alias: "property" }, - "status-code": { - pattern: /^(\s)\d+(?=\s)/, - lookbehind: !0, - alias: "number", - }, - "reason-phrase": { - pattern: /^(\s).+/, - lookbehind: !0, - alias: "string", - }, - }, - }, - header: { - pattern: /^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m, - inside: { - "header-value": [ - { - pattern: n(/Content-Security-Policy/.source), - lookbehind: !0, - alias: ["csp", "languages-csp"], - inside: t.languages.csp, - }, - { - pattern: n(/Public-Key-Pins(?:-Report-Only)?/.source), - lookbehind: !0, - alias: ["hpkp", "languages-hpkp"], - inside: t.languages.hpkp, - }, - { - pattern: n(/Strict-Transport-Security/.source), - lookbehind: !0, - alias: ["hsts", "languages-hsts"], - inside: t.languages.hsts, - }, - { pattern: n(/[^:]+/.source), lookbehind: !0 }, - ], - "header-name": { pattern: /^[^:]+/, alias: "keyword" }, - punctuation: /^:/, - }, - }, - }; - var r = t.languages, - i = { - "application/javascript": r.javascript, - "application/json": r.json || r.javascript, - "application/xml": r.xml, - "text/xml": r.xml, - "text/html": r.html, - "text/css": r.css, - "text/plain": r.plain, - }, - a = { "application/json": !0, "application/xml": !0 }; - function o(p) { - var f = p.replace(/^[a-z]+\//, ""), - m = "\\w+/(?:[\\w.-]+\\+)+" + f + "(?![+\\w.-])"; - return "(?:" + p + "|" + m + ")"; - } - var s; - for (var u in i) - if (i[u]) { - s = s || {}; - var c = a[u] ? o(u) : u; - s[u.replace(/\//g, "-")] = { - pattern: RegExp( - "(" + - /content-type:\s*/.source + - c + - /(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source + - ")" + - /[^ \t\w-][\s\S]*/.source, - "i" - ), - lookbehind: !0, - inside: i[u], - }; - } - s && t.languages.insertBefore("http", "header", s); - })(e); -} -n6.displayName = "ichigojam"; -n6.aliases = []; -function n6(e) { - e.languages.ichigojam = { - comment: /(?:\B'|REM)(?:[^\n\r]*)/i, - string: { pattern: /"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/, greedy: !0 }, - number: /\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i, - keyword: - /\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i, - function: - /\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i, - label: /(?:\B@\S+)/, - operator: /<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i, - punctuation: /[\[,;:()\]]/, - }; -} -r6.displayName = "icon"; -r6.aliases = []; -function r6(e) { - e.languages.icon = { - comment: /#.*/, - string: { - pattern: /(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/, - greedy: !0, - }, - number: /\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i, - "builtin-keyword": { - pattern: - /&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/, - alias: "variable", - }, - directive: { pattern: /\$\w+/, alias: "builtin" }, - keyword: - /\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/, - function: /\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/, - operator: - /[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/, - punctuation: /[\[\](){},;]/, - }; -} -i6.displayName = "icu-message-format"; -i6.aliases = []; -function i6(e) { - (function (t) { - function n(u, c) { - return c <= 0 - ? /[]/.source - : u.replace(//g, function () { - return n(u, c - 1); - }); - } - var r = /'[{}:=,](?:[^']|'')*'(?!')/, - i = { pattern: /''/, greedy: !0, alias: "operator" }, - a = { pattern: r, greedy: !0, inside: { escape: i } }, - o = n( - /\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace( - //g, - function () { - return r.source; - } - ), - 8 - ), - s = { - pattern: RegExp(o), - inside: { - message: { - pattern: /^(\{)[\s\S]+(?=\}$)/, - lookbehind: !0, - inside: null, - }, - "message-delimiter": { pattern: /./, alias: "punctuation" }, - }, - }; - (t.languages["icu-message-format"] = { - argument: { - pattern: RegExp(o), - greedy: !0, - inside: { - content: { - pattern: /^(\{)[\s\S]+(?=\}$)/, - lookbehind: !0, - inside: { - "argument-name": { pattern: /^(\s*)[^{}:=,\s]+/, lookbehind: !0 }, - "choice-style": { - pattern: /^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/, - lookbehind: !0, - inside: { - punctuation: /\|/, - range: { - pattern: /^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/, - lookbehind: !0, - inside: { operator: /[<#\u2264]/, number: /\S+/ }, - }, - rest: null, - }, - }, - "plural-style": { - pattern: - /^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/, - lookbehind: !0, - inside: { - offset: /^offset:\s*\d+/, - "nested-message": s, - selector: { - pattern: /=\d+|[^{}:=,\s]+/, - inside: { keyword: /^(?:few|many|one|other|two|zero)$/ }, - }, - }, - }, - "select-style": { - pattern: /^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/, - lookbehind: !0, - inside: { - "nested-message": s, - selector: { - pattern: /[^{}:=,\s]+/, - inside: { keyword: /^other$/ }, - }, - }, - }, - keyword: /\b(?:choice|plural|select|selectordinal)\b/, - "arg-type": { - pattern: /\b(?:date|duration|number|ordinal|spellout|time)\b/, - alias: "keyword", - }, - "arg-skeleton": { - pattern: /(,\s*)::[^{}:=,\s]+/, - lookbehind: !0, - }, - "arg-style": { - pattern: - /(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/, - lookbehind: !0, - }, - "arg-style-text": { - pattern: RegExp( - /(^\s*,\s*(?=\S))/.source + - n(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source, 8) + - "$" - ), - lookbehind: !0, - alias: "string", - }, - punctuation: /,/, - }, - }, - "argument-delimiter": { pattern: /./, alias: "operator" }, - }, - }, - escape: i, - string: a, - }), - (s.inside.message.inside = t.languages["icu-message-format"]), - (t.languages["icu-message-format"].argument.inside.content.inside[ - "choice-style" - ].inside.rest = t.languages["icu-message-format"]); - })(e); -} -a6.displayName = "idris"; -a6.aliases = ["idr"]; -function a6(e) { - e.register(Bp), - (e.languages.idris = e.languages.extend("haskell", { - comment: { pattern: /(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m }, - keyword: - /\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/, - builtin: void 0, - })), - e.languages.insertBefore("idris", "keyword", { - "import-statement": { - pattern: /(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m, - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - }), - (e.languages.idr = e.languages.idris); -} -o6.displayName = "ignore"; -o6.aliases = ["gitignore", "hgignore", "npmignore"]; -function o6(e) { - (function (t) { - (t.languages.ignore = { - comment: /^#.*/m, - entry: { - pattern: /\S(?:.*(?:(?:\\ )|\S))?/, - alias: "string", - inside: { - operator: /^!|\*\*?|\?/, - regex: { pattern: /(^|[^\\])\[[^\[\]]*\]/, lookbehind: !0 }, - punctuation: /\//, - }, - }, - }), - (t.languages.gitignore = t.languages.ignore), - (t.languages.hgignore = t.languages.ignore), - (t.languages.npmignore = t.languages.ignore); - })(e); -} -s6.displayName = "inform7"; -s6.aliases = []; -function s6(e) { - (e.languages.inform7 = { - string: { - pattern: /"[^"]*"/, - inside: { - substitution: { - pattern: /\[[^\[\]]+\]/, - inside: { delimiter: { pattern: /\[|\]/, alias: "punctuation" } }, - }, - }, - }, - comment: { pattern: /\[[^\[\]]+\]/, greedy: !0 }, - title: { - pattern: /^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im, - alias: "important", - }, - number: { - pattern: - /(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i, - lookbehind: !0, - }, - verb: { - pattern: - /(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i, - lookbehind: !0, - alias: "operator", - }, - keyword: { - pattern: - /(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i, - lookbehind: !0, - }, - property: { - pattern: - /(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i, - lookbehind: !0, - alias: "symbol", - }, - position: { - pattern: - /(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i, - lookbehind: !0, - alias: "keyword", - }, - type: { - pattern: - /(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i, - lookbehind: !0, - alias: "variable", - }, - punctuation: /[.,:;(){}]/, - }), - (e.languages.inform7.string.inside.substitution.inside.rest = - e.languages.inform7), - (e.languages.inform7.string.inside.substitution.inside.rest.text = { - pattern: /\S(?:\s*\S)*/, - alias: "comment", - }); -} -l6.displayName = "io"; -l6.aliases = []; -function l6(e) { - e.languages.io = { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/, - lookbehind: !0, - greedy: !0, - }, - "triple-quoted-string": { - pattern: /"""(?:\\[\s\S]|(?!""")[^\\])*"""/, - greedy: !0, - alias: "string", - }, - string: { pattern: /"(?:\\.|[^\\\r\n"])*"/, greedy: !0 }, - keyword: - /\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/, - builtin: - /\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/, - boolean: /\b(?:false|nil|true)\b/, - number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i, - operator: - /[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/, - alias: "keyword", - }, - number: - /\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/, - adverb: { pattern: /[~}]|[\/\\]\.?|[bfM]\.|t[.:]/, alias: "builtin" }, - operator: /[=a][.:]|_\./, - conjunction: { - pattern: /&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/, - alias: "variable", - }, - punctuation: /[()]/, - }; -} -gc.displayName = "javadoclike"; -gc.aliases = []; -function gc(e) { - (function (t) { - var n = (t.languages.javadoclike = { - parameter: { - pattern: - /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m, - lookbehind: !0, - }, - keyword: { - pattern: /(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m, - lookbehind: !0, - }, - punctuation: /[{}]/, - }); - function r(a, o) { - var s = "doc-comment", - u = t.languages[a]; - if (u) { - var c = u[s]; - if (!c) { - var p = {}; - (p[s] = { - pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/, - lookbehind: !0, - alias: "comment", - }), - (u = t.languages.insertBefore(a, "comment", p)), - (c = u[s]); - } - if ( - (c instanceof RegExp && (c = u[s] = { pattern: c }), Array.isArray(c)) - ) - for (var f = 0, m = c.length; f < m; f++) - c[f] instanceof RegExp && (c[f] = { pattern: c[f] }), o(c[f]); - else o(c); - } - } - function i(a, o) { - typeof a == "string" && (a = [a]), - a.forEach(function (s) { - r(s, function (u) { - u.inside || (u.inside = {}), (u.inside.rest = o); - }); - }); - } - Object.defineProperty(n, "addSupport", { value: i }), - n.addSupport(["java", "javascript", "php"], n); - })(e); -} -c6.displayName = "scala"; -c6.aliases = []; -function c6(e) { - e.register(xu), - (e.languages.scala = e.languages.extend("java", { - "triple-quoted-string": { - pattern: /"""[\s\S]*?"""/, - greedy: !0, - alias: "string", - }, - string: { pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, - keyword: - /<-|=>|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/, - number: - /\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i, - builtin: - /\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/, - symbol: /'[^\d\s\\]\w*/, - })), - e.languages.insertBefore("scala", "triple-quoted-string", { - "string-interpolation": { - pattern: - /\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i, - greedy: !0, - inside: { - id: { pattern: /^\w+/, greedy: !0, alias: "function" }, - escape: { pattern: /\\\$"|\$[$"]/, greedy: !0, alias: "symbol" }, - interpolation: { - pattern: /\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/, - greedy: !0, - inside: { - punctuation: /^\$\{?|\}$/, - expression: { pattern: /[\s\S]+/, inside: e.languages.scala }, - }, - }, - string: /[\s\S]+/, - }, - }, - }), - delete e.languages.scala["class-name"], - delete e.languages.scala.function, - delete e.languages.scala.constant; -} -d6.displayName = "javadoc"; -d6.aliases = []; -function d6(e) { - e.register(xu), - e.register(gc), - e.register(fr), - (function (t) { - var n = /(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m, - r = /#\s*\w+(?:\s*\([^()]*\))?/.source, - i = - /(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace( - //g, - function () { - return r; - } - ); - (t.languages.javadoc = t.languages.extend("javadoclike", {})), - t.languages.insertBefore("javadoc", "keyword", { - reference: { - pattern: RegExp( - /(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/ - .source + - "(?:" + - i + - ")" - ), - lookbehind: !0, - inside: { - function: { pattern: /(#\s*)\w+(?=\s*\()/, lookbehind: !0 }, - field: { pattern: /(#\s*)\w+/, lookbehind: !0 }, - namespace: { - pattern: /\b(?:[a-z]\w*\s*\.\s*)+/, - inside: { punctuation: /\./ }, - }, - "class-name": /\b[A-Z]\w*/, - keyword: t.languages.java.keyword, - punctuation: /[#()[\],.]/, - }, - }, - "class-name": { - pattern: /(@param\s+)<[A-Z]\w*>/, - lookbehind: !0, - inside: { punctuation: /[.<>]/ }, - }, - "code-section": [ - { - pattern: - /(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/, - lookbehind: !0, - inside: { - code: { - pattern: n, - lookbehind: !0, - inside: t.languages.java, - alias: "language-java", - }, - }, - }, - { - pattern: - /(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/, - lookbehind: !0, - inside: { - line: { - pattern: n, - lookbehind: !0, - inside: { - tag: t.languages.markup.tag, - entity: t.languages.markup.entity, - code: { - pattern: /.+/, - inside: t.languages.java, - alias: "language-java", - }, - }, - }, - }, - }, - ], - tag: t.languages.markup.tag, - entity: t.languages.markup.entity, - }), - t.languages.javadoclike.addSupport("java", t.languages.javadoc); - })(e); -} -p6.displayName = "javastacktrace"; -p6.aliases = []; -function p6(e) { - e.languages.javastacktrace = { - summary: { - pattern: - /^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m, - lookbehind: !0, - inside: { - keyword: { - pattern: - /^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m, - lookbehind: !0, - }, - string: { pattern: /^(\s*)"[^"]*"/, lookbehind: !0 }, - exceptions: { - pattern: /^(:?\s*)[\w$.]+(?=:|$)/, - lookbehind: !0, - inside: { - "class-name": /[\w$]+$/, - namespace: /\b[a-z]\w*\b/, - punctuation: /\./, - }, - }, - message: { pattern: /(:\s*)\S.*/, lookbehind: !0, alias: "string" }, - punctuation: /:/, - }, - }, - "stack-frame": { - pattern: /^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m, - lookbehind: !0, - inside: { - keyword: { pattern: /^(\s*)at(?= )/, lookbehind: !0 }, - source: [ - { - pattern: /(\()\w+\.\w+:\d+(?=\))/, - lookbehind: !0, - inside: { - file: /^\w+\.\w+/, - punctuation: /:/, - "line-number": { pattern: /\b\d+\b/, alias: "number" }, - }, - }, - { - pattern: /(\()[^()]*(?=\))/, - lookbehind: !0, - inside: { keyword: /^(?:Native Method|Unknown Source)$/ }, - }, - ], - "class-name": /[\w$]+(?=\.(?:|[\w$]+)\()/, - function: /(?:|[\w$]+)(?=\()/, - "class-loader": { - pattern: /(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/, - lookbehind: !0, - alias: "namespace", - inside: { punctuation: /\./ }, - }, - module: { - pattern: /([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/, - lookbehind: !0, - inside: { - version: { pattern: /(@)[\s\S]+/, lookbehind: !0, alias: "number" }, - punctuation: /[@.]/, - }, - }, - namespace: { - pattern: /(?:\b[a-z]\w*\.)+/, - inside: { punctuation: /\./ }, - }, - punctuation: /[()/.]/, - }, - }, - more: { - pattern: /^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m, - lookbehind: !0, - inside: { - punctuation: /\.{3}/, - number: /\d+/, - keyword: /\b[a-z]+(?: [a-z]+)*\b/, - }, - }, - }; -} -f6.displayName = "jexl"; -f6.aliases = []; -function f6(e) { - e.languages.jexl = { - string: /(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/, - transform: { - pattern: - /(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/, - alias: "function", - lookbehind: !0, - }, - function: - /[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/, - number: /\b\d+(?:\.\d+)?\b|\B\.\d+\b/, - operator: /[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/, - boolean: /\b(?:false|true)\b/, - keyword: /\bin\b/, - punctuation: /[{}[\](),.]/, - }; -} -h6.displayName = "jolie"; -h6.aliases = []; -function h6(e) { - e.register(Mt), - (e.languages.jolie = e.languages.extend("clike", { - string: { - pattern: /(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/, - lookbehind: !0, - greedy: !0, - }, - "class-name": { - pattern: - /((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/, - lookbehind: !0, - }, - keyword: - /\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/, - function: /\b[a-z_]\w*(?=[ \t]*[@(])/i, - number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i, - operator: /-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/, - punctuation: /[()[\]{},;.:]/, - builtin: - /\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/, - })), - e.languages.insertBefore("jolie", "keyword", { - aggregates: { - pattern: - /(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/, - lookbehind: !0, - inside: { keyword: /\bwith\b/, "class-name": /\w+/, punctuation: /,/ }, - }, - redirects: { - pattern: - /(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/, - lookbehind: !0, - inside: { punctuation: /,/, "class-name": /\w+/, operator: /=>/ }, - }, - property: { - pattern: - /\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/, - }, - }); -} -g6.displayName = "jq"; -g6.aliases = []; -function g6(e) { - (function (t) { - var n = /\\\((?:[^()]|\([^()]*\))*\)/.source, - r = RegExp( - /(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace( - /__/g, - function () { - return n; - } - ) - ), - i = { - interpolation: { - pattern: RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + n), - lookbehind: !0, - inside: { - content: { - pattern: /^(\\\()[\s\S]+(?=\)$)/, - lookbehind: !0, - inside: null, - }, - punctuation: /^\\\(|\)$/, - }, - }, - }, - a = (t.languages.jq = { - comment: /#.*/, - property: { - pattern: RegExp(r.source + /(?=\s*:(?!:))/.source), - lookbehind: !0, - greedy: !0, - inside: i, - }, - string: { pattern: r, lookbehind: !0, greedy: !0, inside: i }, - function: { pattern: /(\bdef\s+)[a-z_]\w+/i, lookbehind: !0 }, - variable: /\B\$\w+/, - "property-literal": { - pattern: /\b[a-z_]\w*(?=\s*:(?!:))/i, - alias: "property", - }, - keyword: - /\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/, - boolean: /\b(?:false|true)\b/, - number: /(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/, - operator: [ - { pattern: /\|=?/, alias: "pipe" }, - /\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/, - ], - "c-style-function": { - pattern: /\b[a-z_]\w*(?=\s*\()/i, - alias: "function", - }, - punctuation: /::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/, - dot: { pattern: /\./, alias: "important" }, - }); - i.interpolation.inside.content.inside = a; - })(e); -} -m6.displayName = "js-templates"; -m6.aliases = []; -function m6(e) { - e.register(xr), - (function (t) { - var n = t.languages.javascript["template-string"], - r = n.pattern.source, - i = n.inside.interpolation, - a = i.inside["interpolation-punctuation"], - o = i.pattern.source; - function s(E, b) { - if (t.languages[E]) - return { - pattern: RegExp("((?:" + b + ")\\s*)" + r), - lookbehind: !0, - greedy: !0, - inside: { - "template-punctuation": { pattern: /^`|`$/, alias: "string" }, - "embedded-code": { pattern: /[\s\S]+/, alias: E }, - }, - }; - } - t.languages.javascript["template-string"] = [ - s( - "css", - /\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/ - .source - ), - s("html", /\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source), - s("svg", /\bsvg/.source), - s("markdown", /\b(?:markdown|md)/.source), - s("graphql", /\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source), - s("sql", /\bsql/.source), - n, - ].filter(Boolean); - function u(E, b) { - return "___" + b.toUpperCase() + "_" + E + "___"; - } - function c(E, b, T) { - var v = { code: E, grammar: b, language: T }; - return ( - t.hooks.run("before-tokenize", v), - (v.tokens = t.tokenize(v.code, v.grammar)), - t.hooks.run("after-tokenize", v), - v.tokens - ); - } - function p(E) { - var b = {}; - b["interpolation-punctuation"] = a; - var T = t.tokenize(E, b); - if (T.length === 3) { - var v = [1, 1]; - v.push.apply(v, c(T[1], t.languages.javascript, "javascript")), - T.splice.apply(T, v); - } - return new t.Token("interpolation", T, i.alias, E); - } - function f(E, b, T) { - var v = t.tokenize(E, { - interpolation: { pattern: RegExp(o), lookbehind: !0 }, - }), - y = 0, - w = {}, - A = v - .map(function (B) { - if (typeof B == "string") return B; - for (var W = B.content, P; E.indexOf((P = u(y++, T))) !== -1; ); - return (w[P] = W), P; - }) - .join(""), - D = c(A, b, T), - k = Object.keys(w); - y = 0; - function R(B) { - for (var W = 0; W < B.length; W++) { - if (y >= k.length) return; - var P = B[W]; - if (typeof P == "string" || typeof P.content == "string") { - var Q = k[y], - z = typeof P == "string" ? P : P.content, - le = z.indexOf(Q); - if (le !== -1) { - ++y; - var he = z.substring(0, le), - de = p(w[Q]), - fe = z.substring(le + Q.length), - Z = []; - if ((he && Z.push(he), Z.push(de), fe)) { - var V = [fe]; - R(V), Z.push.apply(Z, V); - } - typeof P == "string" - ? (B.splice.apply(B, [W, 1].concat(Z)), (W += Z.length - 1)) - : (P.content = Z); - } - } else { - var ce = P.content; - Array.isArray(ce) ? R(ce) : R([ce]); - } - } - } - return R(D), new t.Token(T, D, "language-" + T, E); - } - var m = { - javascript: !0, - js: !0, - typescript: !0, - ts: !0, - jsx: !0, - tsx: !0, - }; - t.hooks.add("after-tokenize", function (E) { - if (!(E.language in m)) return; - function b(T) { - for (var v = 0, y = T.length; v < y; v++) { - var w = T[v]; - if (typeof w != "string") { - var A = w.content; - if (!Array.isArray(A)) { - typeof A != "string" && b([A]); - continue; - } - if (w.type === "template-string") { - var D = A[1]; - if ( - A.length === 3 && - typeof D != "string" && - D.type === "embedded-code" - ) { - var k = g(D), - R = D.alias, - B = Array.isArray(R) ? R[0] : R, - W = t.languages[B]; - if (!W) continue; - A[1] = f(k, W, B); - } - } else b(A); - } - } - } - b(E.tokens); - }); - function g(E) { - return typeof E == "string" - ? E - : Array.isArray(E) - ? E.map(g).join("") - : g(E.content); - } - })(e); -} -b6.displayName = "jsdoc"; -b6.aliases = []; -function b6(e) { - e.register(gc), - e.register(xr), - e.register(fc), - (function (t) { - var n = t.languages.javascript, - r = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source, - i = "(@(?:arg|argument|param|property)\\s+(?:" + r + "\\s+)?)"; - (t.languages.jsdoc = t.languages.extend("javadoclike", { - parameter: { - pattern: RegExp(i + /(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source), - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - })), - t.languages.insertBefore("jsdoc", "keyword", { - "optional-parameter": { - pattern: RegExp( - i + /\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source - ), - lookbehind: !0, - inside: { - parameter: { - pattern: /(^\[)[$\w\xA0-\uFFFF\.]+/, - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - code: { - pattern: /(=)[\s\S]*(?=\]$)/, - lookbehind: !0, - inside: n, - alias: "language-javascript", - }, - punctuation: /[=[\]]/, - }, - }, - "class-name": [ - { - pattern: RegExp( - /(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace( - //g, - function () { - return r; - } - ) - ), - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - { - pattern: RegExp("(@[a-z]+\\s+)" + r), - lookbehind: !0, - inside: { - string: n.string, - number: n.number, - boolean: n.boolean, - keyword: t.languages.typescript.keyword, - operator: /=>|\.\.\.|[&|?:*]/, - punctuation: /[.,;=<>{}()[\]]/, - }, - }, - ], - example: { - pattern: - /(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/, - lookbehind: !0, - inside: { - code: { - pattern: /^([\t ]*(?:\*\s*)?)\S.*$/m, - lookbehind: !0, - inside: n, - alias: "language-javascript", - }, - }, - }, - }), - t.languages.javadoclike.addSupport("javascript", t.languages.jsdoc); - })(e); -} -E6.displayName = "n4js"; -E6.aliases = ["n4jsd"]; -function E6(e) { - e.register(xr), - (e.languages.n4js = e.languages.extend("javascript", { - keyword: - /\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/, - })), - e.languages.insertBefore("n4js", "constant", { - annotation: { pattern: /@+\w+/, alias: "operator" }, - }), - (e.languages.n4jsd = e.languages.n4js); -} -v6.displayName = "js-extras"; -v6.aliases = []; -function v6(e) { - e.register(xr), - (function (t) { - t.languages.insertBefore("javascript", "function-variable", { - "method-variable": { - pattern: RegExp( - "(\\.\\s*)" + - t.languages.javascript["function-variable"].pattern.source - ), - lookbehind: !0, - alias: ["function-variable", "method", "function", "property-access"], - }, - }), - t.languages.insertBefore("javascript", "function", { - method: { - pattern: RegExp( - "(\\.\\s*)" + t.languages.javascript.function.source - ), - lookbehind: !0, - alias: ["function", "property-access"], - }, - }), - t.languages.insertBefore("javascript", "constant", { - "known-class-name": [ - { - pattern: - /\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/, - alias: "class-name", - }, - { pattern: /\b(?:[A-Z]\w*)Error\b/, alias: "class-name" }, - ], - }); - function n(u, c) { - return RegExp( - u.replace(//g, function () { - return /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/ - .source; - }), - c - ); - } - t.languages.insertBefore("javascript", "keyword", { - imports: { - pattern: n( - /(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/ - .source - ), - lookbehind: !0, - inside: t.languages.javascript, - }, - exports: { - pattern: n( - /(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/ - .source - ), - lookbehind: !0, - inside: t.languages.javascript, - }, - }), - t.languages.javascript.keyword.unshift( - { pattern: /\b(?:as|default|export|from|import)\b/, alias: "module" }, - { - pattern: - /\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/, - alias: "control-flow", - }, - { pattern: /\bnull\b/, alias: ["null", "nil"] }, - { pattern: /\bundefined\b/, alias: "nil" } - ), - t.languages.insertBefore("javascript", "operator", { - spread: { pattern: /\.{3}/, alias: "operator" }, - arrow: { pattern: /=>/, alias: "operator" }, - }), - t.languages.insertBefore("javascript", "punctuation", { - "property-access": { - pattern: n(/(\.\s*)#?/.source), - lookbehind: !0, - }, - "maybe-class-name": { - pattern: /(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/, - lookbehind: !0, - }, - dom: { - pattern: - /\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/, - alias: "variable", - }, - console: { pattern: /\bconsole(?=\s*\.)/, alias: "class-name" }, - }); - for ( - var r = [ - "function", - "function-variable", - "method", - "method-variable", - "property-access", - ], - i = 0; - i < r.length; - i++ - ) { - var a = r[i], - o = t.languages.javascript[a]; - t.util.type(o) === "RegExp" && - (o = t.languages.javascript[a] = { pattern: o }); - var s = o.inside || {}; - (o.inside = s), (s["maybe-class-name"] = /^[A-Z][\s\S]*/); - } - })(e); -} -y6.displayName = "json5"; -y6.aliases = []; -function y6(e) { - e.register(dc), - (function (t) { - var n = /("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/; - t.languages.json5 = t.languages.extend("json", { - property: [ - { pattern: RegExp(n.source + "(?=\\s*:)"), greedy: !0 }, - { - pattern: - /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/, - alias: "unquoted", - }, - ], - string: { pattern: n, greedy: !0 }, - number: - /[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/, - }); - })(e); -} -_6.displayName = "jsonp"; -_6.aliases = []; -function _6(e) { - e.register(dc), - (e.languages.jsonp = e.languages.extend("json", { - punctuation: /[{}[\]();,.]/, - })), - e.languages.insertBefore("jsonp", "punctuation", { - function: - /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/, - }); -} -T6.displayName = "jsstacktrace"; -T6.aliases = []; -function T6(e) { - e.languages.jsstacktrace = { - "error-message": { pattern: /^\S.*/m, alias: "string" }, - "stack-frame": { - pattern: /(^[ \t]+)at[ \t].*/m, - lookbehind: !0, - inside: { - "not-my-code": { - pattern: - /^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m, - alias: "comment", - }, - filename: { - pattern: /(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/, - lookbehind: !0, - alias: "url", - }, - function: { - pattern: - /(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/, - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - punctuation: /[()]/, - keyword: /\b(?:at|new)\b/, - alias: { - pattern: /\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/, - alias: "variable", - }, - "line-number": { - pattern: /:\d+(?::\d+)?\b/, - alias: "number", - inside: { punctuation: /:/ }, - }, - }, - }, - }; -} -S6.displayName = "julia"; -S6.aliases = []; -function S6(e) { - e.languages.julia = { - comment: { - pattern: - /(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/, - lookbehind: !0, - }, - regex: { pattern: /r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/, greedy: !0 }, - string: { - pattern: - /"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/, - greedy: !0, - }, - char: { - pattern: /(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/, - lookbehind: !0, - greedy: !0, - }, - keyword: - /\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/, - boolean: /\b(?:false|true)\b/, - number: - /(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i, - operator: - /&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/, - punctuation: /::?|[{}[\]();,.?]/, - constant: /\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/, - }; -} -w6.displayName = "keepalived"; -w6.aliases = []; -function w6(e) { - e.languages.keepalived = { - comment: { pattern: /[#!].*/, greedy: !0 }, - string: { - pattern: - /(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/, - lookbehind: !0, - greedy: !0, - }, - ip: { - pattern: RegExp( - /\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace( - //g, - function () { - return /(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/ - .source; - } - ), - "i" - ), - alias: "number", - }, - path: { - pattern: - /(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/, - lookbehind: !0, - alias: "string", - }, - variable: /\$\{?\w+\}?/, - email: { pattern: /[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/, alias: "string" }, - "conditional-configuration": { pattern: /@\^?[\w-]+/, alias: "variable" }, - operator: /=/, - property: - /\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/, - constant: - /\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/, - number: { pattern: /(^|[^\w.-])-?\d+(?:\.\d+)?/, lookbehind: !0 }, - boolean: /\b(?:false|no|off|on|true|yes)\b/, - punctuation: /[\{\}]/, - }; -} -A6.displayName = "keyman"; -A6.aliases = []; -function A6(e) { - e.languages.keyman = { - comment: { pattern: /\bc .*/i, greedy: !0 }, - string: { pattern: /"[^"\r\n]*"|'[^'\r\n]*'/, greedy: !0 }, - "virtual-key": { - pattern: - /\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i, - greedy: !0, - alias: "function", - }, - "header-keyword": { pattern: /&\w+/, alias: "bold" }, - "header-statement": { - pattern: - /\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i, - alias: "bold", - }, - "rule-keyword": { - pattern: - /\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i, - alias: "keyword", - }, - "structural-keyword": { - pattern: - /\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i, - alias: "keyword", - }, - "compile-target": { - pattern: /\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i, - alias: "property", - }, - number: /\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i, - operator: /[+>\\$]|\.\./, - punctuation: /[()=,]/, - }; -} -C6.displayName = "kumir"; -C6.aliases = ["kum"]; -function C6(e) { - (function (t) { - var n = /\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source; - function r(i, a) { - return RegExp(i.replace(//g, n), a); - } - (t.languages.kumir = { - comment: { pattern: /\|.*/ }, - prolog: { pattern: /#.*/, greedy: !0 }, - string: { pattern: /"[^\n\r"]*"|'[^\n\r']*'/, greedy: !0 }, - boolean: { - pattern: r(/(^|[])(?:да|нет)(?=[]|$)/.source), - lookbehind: !0, - }, - "operator-word": { - pattern: r(/(^|[])(?:и|или|не)(?=[]|$)/.source), - lookbehind: !0, - alias: "keyword", - }, - "system-variable": { - pattern: r(/(^|[])знач(?=[]|$)/.source), - lookbehind: !0, - alias: "keyword", - }, - type: [ - { - pattern: r( - /(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/ - .source - ), - lookbehind: !0, - alias: "builtin", - }, - { - pattern: r( - /(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source - ), - lookbehind: !0, - alias: "important", - }, - ], - keyword: { - pattern: r( - /(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/ - .source - ), - lookbehind: !0, - }, - name: { - pattern: r( - /(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/ - .source - ), - lookbehind: !0, - }, - number: { - pattern: r( - /(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/ - .source, - "i" - ), - lookbehind: !0, - }, - punctuation: /:=|[(),:;\[\]]/, - "operator-char": { - pattern: /\*\*?|<[=>]?|>=?|[-+/=]/, - alias: "operator", - }, - }), - (t.languages.kum = t.languages.kumir); - })(e); -} -x6.displayName = "kusto"; -x6.aliases = []; -function x6(e) { - e.languages.kusto = { - comment: { pattern: /\/\/.*/, greedy: !0 }, - string: { - pattern: - /```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/, - greedy: !0, - }, - verb: { pattern: /(\|\s*)[a-z][\w-]*/i, lookbehind: !0, alias: "keyword" }, - command: { pattern: /\.[a-z][a-z\d-]*\b/, alias: "keyword" }, - "class-name": - /\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/, - keyword: - /\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/, - boolean: /\b(?:false|null|true)\b/, - function: /\b[a-z_]\w*(?=\s*\()/, - datetime: [ - { - pattern: - /\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/, - alias: "number", - }, - { - pattern: - /[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/, - alias: "number", - }, - ], - number: - /\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/, - operator: /=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./, - punctuation: /[()\[\]{},;.:]/, - }; -} -k6.displayName = "latex"; -k6.aliases = ["context", "tex"]; -function k6(e) { - (function (t) { - var n = /\\(?:[^a-z()[\]]|[a-z*]+)/i, - r = { "equation-command": { pattern: n, alias: "regex" } }; - (t.languages.latex = { - comment: /%.*/, - cdata: { - pattern: - /(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/, - lookbehind: !0, - }, - equation: [ - { - pattern: - /\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/, - inside: r, - alias: "string", - }, - { - pattern: - /(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/, - lookbehind: !0, - inside: r, - alias: "string", - }, - ], - keyword: { - pattern: - /(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/, - lookbehind: !0, - }, - url: { pattern: /(\\url\{)[^}]+(?=\})/, lookbehind: !0 }, - headline: { - pattern: - /(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/, - lookbehind: !0, - alias: "class-name", - }, - function: { pattern: n, alias: "selector" }, - punctuation: /[[\]{}&]/, - }), - (t.languages.tex = t.languages.latex), - (t.languages.context = t.languages.latex); - })(e); -} -I6.displayName = "latte"; -I6.aliases = []; -function I6(e) { - e.register(Mt), - e.register(kr), - e.register(ku), - (function (t) { - t.languages.latte = { - comment: /^\{\*[\s\S]*/, - "latte-tag": { - pattern: /(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i, - lookbehind: !0, - alias: "important", - }, - delimiter: { pattern: /^\{\/?|\}$/, alias: "punctuation" }, - php: { - pattern: /\S(?:[\s\S]*\S)?/, - alias: "language-php", - inside: t.languages.php, - }, - }; - var n = t.languages.extend("markup", {}); - t.languages.insertBefore( - "inside", - "attr-value", - { - "n-attr": { - pattern: /n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/, - inside: { - "attr-name": { pattern: /^[^\s=]+/, alias: "important" }, - "attr-value": { - pattern: /=[\s\S]+/, - inside: { - punctuation: [ - /^=/, - { pattern: /^(\s*)["']|["']$/, lookbehind: !0 }, - ], - php: { pattern: /\S(?:[\s\S]*\S)?/, inside: t.languages.php }, - }, - }, - }, - }, - }, - n.tag - ), - t.hooks.add("before-tokenize", function (r) { - if (r.language === "latte") { - var i = - /\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g; - t.languages["markup-templating"].buildPlaceholders(r, "latte", i), - (r.grammar = n); - } - }), - t.hooks.add("after-tokenize", function (r) { - t.languages["markup-templating"].tokenizePlaceholders(r, "latte"); - }); - })(e); -} -Up.displayName = "scheme"; -Up.aliases = []; -function Up(e) { - (function (t) { - t.languages.scheme = { - comment: - /;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/, - string: { pattern: /"(?:[^"\\]|\\.)*"/, greedy: !0 }, - symbol: { pattern: /'[^()\[\]#'\s]+/, greedy: !0 }, - char: { - pattern: - /#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/, - greedy: !0, - }, - "lambda-parameter": [ - { - pattern: - /((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/, - lookbehind: !0, - }, - { - pattern: /((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/, - lookbehind: !0, - }, - ], - keyword: { - pattern: - /((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/, - lookbehind: !0, - }, - builtin: { - pattern: - /((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/, - lookbehind: !0, - }, - operator: { - pattern: /((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/, - lookbehind: !0, - }, - number: { - pattern: RegExp( - n({ - "": - /\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source, - "": /[+-]?|[+-](?:inf|nan)\.0/.source, - "": /[+-](?:|(?:inf|nan)\.0)?i/.source, - "": - /(?:@|)?|/ - .source, - "": /(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source, - "": /[0-9a-f]+(?:\/[0-9a-f]+)?/.source, - "": /[+-]?|[+-](?:inf|nan)\.0/.source, - "": /[+-](?:|(?:inf|nan)\.0)?i/.source, - "": - /(?:@|)?|/ - .source, - "": /#[box](?:#[ei])?|(?:#[ei])?#[box]/ - .source, - "": /(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/ - .source, - }), - "i" - ), - lookbehind: !0, - }, - boolean: { - pattern: /(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/, - lookbehind: !0, - }, - function: { - pattern: - /((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/, - lookbehind: !0, - }, - identifier: { - pattern: /(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/, - lookbehind: !0, - greedy: !0, - }, - punctuation: /[()\[\]']/, - }; - function n(r) { - for (var i in r) - r[i] = r[i].replace(/<[\w\s]+>/g, function (a) { - return "(?:" + r[a].trim() + ")"; - }); - return r[i]; - } - })(e); -} -R6.displayName = "lilypond"; -R6.aliases = ["ly"]; -function R6(e) { - e.register(Up), - (function (t) { - for ( - var n = - /\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/ - .source, - r = 5, - i = 0; - i < r; - i++ - ) - n = n.replace(//g, function () { - return n; - }); - n = n.replace(//g, /[^\s\S]/.source); - var a = (t.languages.lilypond = { - comment: /%(?:(?!\{).*|\{[\s\S]*?%\})/, - "embedded-scheme": { - pattern: RegExp( - /(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace( - //g, - function () { - return n; - } - ), - "m" - ), - lookbehind: !0, - greedy: !0, - inside: { - scheme: { - pattern: /^(#)[\s\S]+$/, - lookbehind: !0, - alias: "language-scheme", - inside: { - "embedded-lilypond": { - pattern: /#\{[\s\S]*?#\}/, - greedy: !0, - inside: { - punctuation: /^#\{|#\}$/, - lilypond: { - pattern: /[\s\S]+/, - alias: "language-lilypond", - inside: null, - }, - }, - }, - rest: t.languages.scheme, - }, - }, - punctuation: /#/, - }, - }, - string: { pattern: /"(?:[^"\\]|\\.)*"/, greedy: !0 }, - "class-name": { pattern: /(\\new\s+)[\w-]+/, lookbehind: !0 }, - keyword: { pattern: /\\[a-z][-\w]*/i, inside: { punctuation: /^\\/ } }, - operator: /[=|]|<<|>>/, - punctuation: { - pattern: - /(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/, - lookbehind: !0, - }, - number: /\b\d+(?:\/\d+)?\b/, - }); - (a["embedded-scheme"].inside.scheme.inside[ - "embedded-lilypond" - ].inside.lilypond.inside = a), - (t.languages.ly = a); - })(e); -} -N6.displayName = "liquid"; -N6.aliases = []; -function N6(e) { - e.register(kr), - (e.languages.liquid = { - comment: { - pattern: /(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/, - lookbehind: !0, - }, - delimiter: { - pattern: /^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/, - alias: "punctuation", - }, - string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 }, - keyword: - /\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/, - object: - /\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/, - function: [ - { pattern: /(\|\s*)\w+/, lookbehind: !0, alias: "filter" }, - { pattern: /(\.\s*)(?:first|last|size)/, lookbehind: !0 }, - ], - boolean: /\b(?:false|nil|true)\b/, - range: { pattern: /\.\./, alias: "operator" }, - number: /\b\d+(?:\.\d+)?\b/, - operator: /[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/, - punctuation: /[.,\[\]()]/, - empty: { pattern: /\bempty\b/, alias: "keyword" }, - }), - e.hooks.add("before-tokenize", function (t) { - var n = - /\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g, - r = !1; - e.languages["markup-templating"].buildPlaceholders( - t, - "liquid", - n, - function (i) { - var a = /^\{%-?\s*(\w+)/.exec(i); - if (a) { - var o = a[1]; - if (o === "raw" && !r) return (r = !0), !0; - if (o === "endraw") return (r = !1), !0; - } - return !r; - } - ); - }), - e.hooks.add("after-tokenize", function (t) { - e.languages["markup-templating"].tokenizePlaceholders(t, "liquid"); - }); -} -O6.displayName = "lisp"; -O6.aliases = ["elisp", "emacs", "emacs-lisp"]; -function O6(e) { - (function (t) { - function n(E) { - return RegExp(/(\()/.source + "(?:" + E + ")" + /(?=[\s\)])/.source); - } - function r(E) { - return RegExp(/([\s([])/.source + "(?:" + E + ")" + /(?=[\s)])/.source); - } - var i = /(?!\d)[-+*/~!@$%^=<>{}\w]+/.source, - a = "&" + i, - o = "(\\()", - s = "(?=\\))", - u = "(?=\\s)", - c = - /(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/ - .source, - p = { - heading: { pattern: /;;;.*/, alias: ["comment", "title"] }, - comment: /;.*/, - string: { - pattern: /"(?:[^"\\]|\\.)*"/, - greedy: !0, - inside: { - argument: /[-A-Z]+(?=[.,\s])/, - symbol: RegExp("`" + i + "'"), - }, - }, - "quoted-symbol": { - pattern: RegExp("#?'" + i), - alias: ["variable", "symbol"], - }, - "lisp-property": { pattern: RegExp(":" + i), alias: "property" }, - splice: { pattern: RegExp(",@?" + i), alias: ["symbol", "variable"] }, - keyword: [ - { - pattern: RegExp( - o + - "(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)" + - u - ), - lookbehind: !0, - }, - { - pattern: RegExp( - o + "(?:append|by|collect|concat|do|finally|for|in|return)" + u - ), - lookbehind: !0, - }, - ], - declare: { - pattern: n(/declare/.source), - lookbehind: !0, - alias: "keyword", - }, - interactive: { - pattern: n(/interactive/.source), - lookbehind: !0, - alias: "keyword", - }, - boolean: { pattern: r(/nil|t/.source), lookbehind: !0 }, - number: { pattern: r(/[-+]?\d+(?:\.\d*)?/.source), lookbehind: !0 }, - defvar: { - pattern: RegExp(o + "def(?:const|custom|group|var)\\s+" + i), - lookbehind: !0, - inside: { keyword: /^def[a-z]+/, variable: RegExp(i) }, - }, - defun: { - pattern: RegExp( - o + - /(?:cl-)?(?:defmacro|defun\*?)\s+/.source + - i + - /\s+\(/.source + - c + - /\)/.source - ), - lookbehind: !0, - greedy: !0, - inside: { - keyword: /^(?:cl-)?def\S+/, - arguments: null, - function: { pattern: RegExp("(^\\s)" + i), lookbehind: !0 }, - punctuation: /[()]/, - }, - }, - lambda: { - pattern: RegExp( - o + "lambda\\s+\\(\\s*(?:&?" + i + "(?:\\s+&?" + i + ")*\\s*)?\\)" - ), - lookbehind: !0, - greedy: !0, - inside: { keyword: /^lambda/, arguments: null, punctuation: /[()]/ }, - }, - car: { pattern: RegExp(o + i), lookbehind: !0 }, - punctuation: [ - /(?:['`,]?\(|[)\[\]])/, - { pattern: /(\s)\.(?=\s)/, lookbehind: !0 }, - ], - }, - f = { - "lisp-marker": RegExp(a), - varform: { - pattern: RegExp( - /\(/.source + i + /\s+(?=\S)/.source + c + /\)/.source - ), - inside: p, - }, - argument: { - pattern: RegExp(/(^|[\s(])/.source + i), - lookbehind: !0, - alias: "variable", - }, - rest: p, - }, - m = "\\S+(?:\\s+\\S+)*", - g = { - pattern: RegExp(o + c + s), - lookbehind: !0, - inside: { - "rest-vars": { pattern: RegExp("&(?:body|rest)\\s+" + m), inside: f }, - "other-marker-vars": { - pattern: RegExp("&(?:aux|optional)\\s+" + m), - inside: f, - }, - keys: { - pattern: RegExp("&key\\s+" + m + "(?:\\s+&allow-other-keys)?"), - inside: f, - }, - argument: { pattern: RegExp(i), alias: "variable" }, - punctuation: /[()]/, - }, - }; - (p.lambda.inside.arguments = g), - (p.defun.inside.arguments = t.util.clone(g)), - (p.defun.inside.arguments.inside.sublist = g), - (t.languages.lisp = p), - (t.languages.elisp = p), - (t.languages.emacs = p), - (t.languages["emacs-lisp"] = p); - })(e); -} -D6.displayName = "livescript"; -D6.aliases = []; -function D6(e) { - (e.languages.livescript = { - comment: [ - { pattern: /(^|[^\\])\/\*[\s\S]*?\*\//, lookbehind: !0 }, - { pattern: /(^|[^\\])#.*/, lookbehind: !0 }, - ], - "interpolated-string": { - pattern: /(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/, - lookbehind: !0, - greedy: !0, - inside: { - variable: { - pattern: /(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m, - lookbehind: !0, - }, - interpolation: { - pattern: /(^|[^\\])#\{[^}]+\}/m, - lookbehind: !0, - inside: { - "interpolation-punctuation": { - pattern: /^#\{|\}$/, - alias: "variable", - }, - }, - }, - string: /[\s\S]+/, - }, - }, - string: [ - { pattern: /('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/, greedy: !0 }, - { pattern: /<\[[\s\S]*?\]>/, greedy: !0 }, - /\\[^\s,;\])}]+/, - ], - regex: [ - { - pattern: /\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/, - greedy: !0, - inside: { comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0 } }, - }, - { - pattern: /\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/, - greedy: !0, - }, - ], - keyword: { - pattern: - /(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m, - lookbehind: !0, - }, - "keyword-operator": { - pattern: - /(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m, - lookbehind: !0, - alias: "operator", - }, - boolean: { - pattern: /(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m, - lookbehind: !0, - }, - argument: { - pattern: /(^|(?!\.&\.)[^&])&(?!&)\d*/m, - lookbehind: !0, - alias: "variable", - }, - number: /\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i, - identifier: /[a-z_](?:-?[a-z]|[\d_])*/i, - operator: [ - { pattern: /( )\.(?= )/, lookbehind: !0 }, - /\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/, - ], - punctuation: /[(){}\[\]|.,:;`]/, - }), - (e.languages.livescript[ - "interpolated-string" - ].inside.interpolation.inside.rest = e.languages.livescript); -} -L6.displayName = "llvm"; -L6.aliases = []; -function L6(e) { - (function (t) { - t.languages.llvm = { - comment: /;.*/, - string: { pattern: /"[^"]*"/, greedy: !0 }, - boolean: /\b(?:false|true)\b/, - variable: /[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i, - label: /(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i, - type: { - pattern: - /\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/, - alias: "class-name", - }, - keyword: /\b[a-z_][a-z_0-9]*\b/, - number: - /[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/, - punctuation: /[{}[\];(),.!*=<>]/, - }; - })(e); -} -M6.displayName = "log"; -M6.aliases = []; -function M6(e) { - e.languages.log = { - string: { - pattern: /"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/, - greedy: !0, - }, - exception: { - pattern: - /(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/, - lookbehind: !0, - greedy: !0, - alias: ["javastacktrace", "language-javastacktrace"], - inside: e.languages.javastacktrace || { - keyword: /\bat\b/, - function: /[a-z_][\w$]*(?=\()/, - punctuation: /[.:()]/, - }, - }, - level: [ - { - pattern: - /\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/, - alias: ["error", "important"], - }, - { pattern: /\b(?:WARN|WARNING|WRN)\b/, alias: ["warning", "important"] }, - { - pattern: /\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/, - alias: ["info", "keyword"], - }, - { pattern: /\b(?:DBG|DEBUG|FINE)\b/, alias: ["debug", "keyword"] }, - { - pattern: /\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/, - alias: ["trace", "comment"], - }, - ], - property: { - pattern: - /((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im, - lookbehind: !0, - }, - separator: { - pattern: /(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m, - lookbehind: !0, - alias: "comment", - }, - url: /\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/, - email: { - pattern: /(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/, - lookbehind: !0, - alias: "url", - }, - "ip-address": { - pattern: /\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/, - alias: "constant", - }, - "mac-address": { - pattern: /\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i, - alias: "constant", - }, - domain: { - pattern: - /(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/, - lookbehind: !0, - alias: "constant", - }, - uuid: { - pattern: - /\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i, - alias: "constant", - }, - hash: { pattern: /\b(?:[a-f0-9]{32}){1,2}\b/i, alias: "constant" }, - "file-path": { - pattern: - /\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i, - lookbehind: !0, - greedy: !0, - alias: "string", - }, - date: { - pattern: RegExp( - /\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source + - "|" + - /\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/ - .source + - "|" + - /\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/ - .source, - "i" - ), - alias: "number", - }, - time: { - pattern: - /\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/, - alias: "number", - }, - boolean: /\b(?:false|null|true)\b/i, - number: { - pattern: - /(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i, - lookbehind: !0, - }, - operator: /[;:?<=>~/@!$%&+\-|^(){}*#]/, - punctuation: /[\[\].,]/, - }; -} -F6.displayName = "lolcode"; -F6.aliases = []; -function F6(e) { - e.languages.lolcode = { - comment: [/\bOBTW\s[\s\S]*?\sTLDR\b/, /\bBTW.+/], - string: { - pattern: /"(?::.|[^":])*"/, - inside: { - variable: /:\{[^}]+\}/, - symbol: [/:\([a-f\d]+\)/i, /:\[[^\]]+\]/, /:[)>o":]/], - }, - greedy: !0, - }, - number: /(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/, - symbol: { - pattern: /(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/, - lookbehind: !0, - inside: { keyword: /A(?=\s)/ }, - }, - label: { - pattern: /((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/, - lookbehind: !0, - alias: "string", - }, - function: { - pattern: /((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/, - lookbehind: !0, - }, - keyword: [ - { - pattern: - /(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/, - lookbehind: !0, - }, - /'Z(?=\s|,|$)/, - ], - boolean: { pattern: /(^|\s)(?:FAIL|WIN)(?=\s|,|$)/, lookbehind: !0 }, - variable: { pattern: /(^|\s)IT(?=\s|,|$)/, lookbehind: !0 }, - operator: { - pattern: - /(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/, - lookbehind: !0, - }, - punctuation: /\.{3}|…|,|!/, - }; -} -P6.displayName = "magma"; -P6.aliases = []; -function P6(e) { - e.languages.magma = { - output: { - pattern: - /^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m, - lookbehind: !0, - greedy: !0, - }, - comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\//, greedy: !0 }, - string: { - pattern: /(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/, - lookbehind: !0, - greedy: !0, - }, - keyword: - /\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/, - boolean: /\b(?:false|true)\b/, - generator: { pattern: /\b[a-z_]\w*(?=\s*<)/i, alias: "class-name" }, - function: /\b[a-z_]\w*(?=\s*\()/i, - number: { - pattern: - /(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/, - lookbehind: !0, - }, - operator: /->|[-+*/^~!|#=]|:=|\.\./, - punctuation: /[()[\]{}<>,;.:]/, - }; -} -J2.displayName = "mata"; -J2.aliases = []; -function J2(e) { - (function (t) { - var n = /\b(?:(?:col|row)?vector|matrix|scalar)\b/.source, - r = - /\bvoid\b||\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*)?/.source.replace( - //g, - n - ); - t.languages.mata = { - comment: { - pattern: - /\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//, - greedy: !0, - }, - string: { pattern: /"[^"\r\n]*"|[‘`']".*?"[’`']/, greedy: !0 }, - "class-name": { - pattern: /(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/, - lookbehind: !0, - }, - type: { - pattern: RegExp(r), - alias: "class-name", - inside: { - punctuation: /[()]/, - keyword: /\b(?:class|function|struct|void)\b/, - }, - }, - keyword: - /\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/, - constant: /\bNULL\b/, - number: { - pattern: - /(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i, - lookbehind: !0, - }, - missing: { - pattern: /(^|[^\w.])(?:\.[a-z]?)(?![\w.])/, - lookbehind: !0, - alias: "symbol", - }, - function: /\b[a-z_]\w*(?=\s*\()/i, - operator: /\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/, - punctuation: /[()[\]{},;.]/, - }; - })(e); -} -B6.displayName = "matlab"; -B6.aliases = []; -function B6(e) { - e.languages.matlab = { - comment: [/%\{[\s\S]*?\}%/, /%.+/], - string: { pattern: /\B'(?:''|[^'\r\n])*'/, greedy: !0 }, - number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/, - keyword: - /\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/, - function: /\b(?!\d)\w+(?=\s*\()/, - operator: /\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/, - punctuation: /\.{3}|[.,;\[\](){}!]/, - }; -} -U6.displayName = "maxscript"; -U6.aliases = []; -function U6(e) { - (function (t) { - var n = - /\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i; - t.languages.maxscript = { - comment: { pattern: /\/\*[\s\S]*?(?:\*\/|$)|--.*/, greedy: !0 }, - string: { - pattern: /(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/, - lookbehind: !0, - greedy: !0, - }, - path: { - pattern: /\$(?:[\w/\\.*?]|'[^']*')*/, - greedy: !0, - alias: "string", - }, - "function-call": { - pattern: RegExp( - "((?:" + - (/^/.source + - "|" + - /[;=<>+\-*/^({\[]/.source + - "|" + - /\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/ - .source) + - ")[ ]*)(?!" + - n.source + - ")" + - /[a-z_]\w*\b/.source + - "(?=[ ]*(?:" + - ("(?!" + - n.source + - ")" + - /[a-z_]/.source + - "|" + - /\d|-\.?\d/.source + - "|" + - /[({'"$@#?]/.source) + - "))", - "im" - ), - lookbehind: !0, - greedy: !0, - alias: "function", - }, - "function-definition": { - pattern: /(\b(?:fn|function)\s+)\w+\b/i, - lookbehind: !0, - alias: "function", - }, - argument: { pattern: /\b[a-z_]\w*(?=:)/i, alias: "attr-name" }, - keyword: n, - boolean: /\b(?:false|true)\b/, - time: { - pattern: - /(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/, - lookbehind: !0, - alias: "number", - }, - number: [ - { - pattern: - /(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/, - lookbehind: !0, - }, - /\b(?:e|pi)\b/, - ], - constant: /\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/, - color: { - pattern: /\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i, - alias: "constant", - }, - operator: /[-+*/<>=!]=?|[&^?]|#(?!\()/, - punctuation: /[()\[\]{}.:,;]|#(?=\()|\\$/m, - }; - })(e); -} -$6.displayName = "mel"; -$6.aliases = []; -function $6(e) { - (e.languages.mel = { - comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\//, greedy: !0 }, - code: { - pattern: /`(?:\\.|[^\\`])*`/, - greedy: !0, - alias: "italic", - inside: { - delimiter: { pattern: /^`|`$/, alias: "punctuation" }, - statement: { pattern: /[\s\S]+/, inside: null }, - }, - }, - string: { pattern: /"(?:\\.|[^\\"\r\n])*"/, greedy: !0 }, - variable: /\$\w+/, - number: /\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/, - flag: { pattern: /-[^\d\W]\w*/, alias: "operator" }, - keyword: - /\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/, - function: { - pattern: - /((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im, - lookbehind: !0, - greedy: !0, - }, - "tensor-punctuation": { pattern: /<<|>>/, alias: "punctuation" }, - operator: /\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/, - punctuation: /[.,:;?\[\](){}]/, - }), - (e.languages.mel.code.inside.statement.inside = e.languages.mel); -} -z6.displayName = "mermaid"; -z6.aliases = []; -function z6(e) { - e.languages.mermaid = { - comment: { pattern: /%%.*/, greedy: !0 }, - style: { - pattern: - /^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m, - lookbehind: !0, - inside: { - property: /\b\w[\w-]*(?=[ \t]*:)/, - operator: /:/, - punctuation: /,/, - }, - }, - "inter-arrow-label": { - pattern: - /([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/, - lookbehind: !0, - greedy: !0, - inside: { - arrow: { pattern: /(?:\.+->?|--+[->]|==+[=>])$/, alias: "operator" }, - label: { - pattern: /^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/, - lookbehind: !0, - alias: "property", - }, - "arrow-head": { pattern: /^\S+/, alias: ["arrow", "operator"] }, - }, - }, - arrow: [ - { - pattern: /(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/, - lookbehind: !0, - alias: "operator", - }, - { - pattern: - /(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/, - lookbehind: !0, - alias: "operator", - }, - { - pattern: - /(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/, - lookbehind: !0, - alias: "operator", - }, - { - pattern: - /(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/, - lookbehind: !0, - alias: "operator", - }, - ], - label: { - pattern: /(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/, - lookbehind: !0, - greedy: !0, - alias: "property", - }, - text: { - pattern: /(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/, - alias: "string", - }, - string: { pattern: /"[^"\r\n]*"/, greedy: !0 }, - annotation: { - pattern: - /<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i, - alias: "important", - }, - keyword: [ - { - pattern: - /(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m, - lookbehind: !0, - greedy: !0, - }, - { - pattern: - /(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im, - lookbehind: !0, - greedy: !0, - }, - ], - entity: /#[a-z0-9]+;/, - operator: { pattern: /(\w[ \t]*)&(?=[ \t]*\w)|:::|:/, lookbehind: !0 }, - punctuation: /[(){};]/, - }; -} -H6.displayName = "metafont"; -H6.aliases = []; -function H6(e) { - e.languages.metafont = { - comment: { pattern: /%.*/, greedy: !0 }, - string: { pattern: /"[^\r\n"]*"/, greedy: !0 }, - number: /\d*\.?\d+/, - boolean: /\b(?:false|true)\b/, - punctuation: [ - /[,;()]/, - { pattern: /(^|[^{}])(?:\{|\})(?![{}])/, lookbehind: !0 }, - { pattern: /(^|[^[])\[(?!\[)/, lookbehind: !0 }, - { pattern: /(^|[^\]])\](?!\])/, lookbehind: !0 }, - ], - constant: [ - { pattern: /(^|[^!?])\?\?\?(?![!?])/, lookbehind: !0 }, - { pattern: /(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/, lookbehind: !0 }, - /\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/, - ], - quantity: { - pattern: - /\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/, - alias: "keyword", - }, - command: { - pattern: - /\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/, - alias: "builtin", - }, - operator: [ - { - pattern: - /(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/, - lookbehind: !0, - }, - { pattern: /(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/, lookbehind: !0 }, - { pattern: /(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/, lookbehind: !0 }, - { pattern: /(^|[^.])(?:\.{2,3})(?!\.)/, lookbehind: !0 }, - { pattern: /(^|[^@#&$])&(?![@#&$])/, lookbehind: !0 }, - /\b(?:and|not|or)\b/, - ], - macro: { - pattern: - /\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/, - alias: "function", - }, - builtin: - /\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/, - keyword: - /\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/, - type: { - pattern: - /\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/, - alias: "property", - }, - variable: { - pattern: - /(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/, - lookbehind: !0, - }, - }; -} -j6.displayName = "mizar"; -j6.aliases = []; -function j6(e) { - e.languages.mizar = { - comment: /::.+/, - keyword: - /@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/, - parameter: { pattern: /\$(?:10|\d)/, alias: "variable" }, - variable: /\b\w+(?=:)/, - number: /(?:\b|-)\d+\b/, - operator: /\.\.\.|->|&|\.?=/, - punctuation: /\(#|#\)|[,:;\[\](){}]/, - }; -} -G6.displayName = "mongodb"; -G6.aliases = []; -function G6(e) { - e.register(xr), - (function (t) { - var n = [ - "$eq", - "$gt", - "$gte", - "$in", - "$lt", - "$lte", - "$ne", - "$nin", - "$and", - "$not", - "$nor", - "$or", - "$exists", - "$type", - "$expr", - "$jsonSchema", - "$mod", - "$regex", - "$text", - "$where", - "$geoIntersects", - "$geoWithin", - "$near", - "$nearSphere", - "$all", - "$elemMatch", - "$size", - "$bitsAllClear", - "$bitsAllSet", - "$bitsAnyClear", - "$bitsAnySet", - "$comment", - "$elemMatch", - "$meta", - "$slice", - "$currentDate", - "$inc", - "$min", - "$max", - "$mul", - "$rename", - "$set", - "$setOnInsert", - "$unset", - "$addToSet", - "$pop", - "$pull", - "$push", - "$pullAll", - "$each", - "$position", - "$slice", - "$sort", - "$bit", - "$addFields", - "$bucket", - "$bucketAuto", - "$collStats", - "$count", - "$currentOp", - "$facet", - "$geoNear", - "$graphLookup", - "$group", - "$indexStats", - "$limit", - "$listLocalSessions", - "$listSessions", - "$lookup", - "$match", - "$merge", - "$out", - "$planCacheStats", - "$project", - "$redact", - "$replaceRoot", - "$replaceWith", - "$sample", - "$set", - "$skip", - "$sort", - "$sortByCount", - "$unionWith", - "$unset", - "$unwind", - "$setWindowFields", - "$abs", - "$accumulator", - "$acos", - "$acosh", - "$add", - "$addToSet", - "$allElementsTrue", - "$and", - "$anyElementTrue", - "$arrayElemAt", - "$arrayToObject", - "$asin", - "$asinh", - "$atan", - "$atan2", - "$atanh", - "$avg", - "$binarySize", - "$bsonSize", - "$ceil", - "$cmp", - "$concat", - "$concatArrays", - "$cond", - "$convert", - "$cos", - "$dateFromParts", - "$dateToParts", - "$dateFromString", - "$dateToString", - "$dayOfMonth", - "$dayOfWeek", - "$dayOfYear", - "$degreesToRadians", - "$divide", - "$eq", - "$exp", - "$filter", - "$first", - "$floor", - "$function", - "$gt", - "$gte", - "$hour", - "$ifNull", - "$in", - "$indexOfArray", - "$indexOfBytes", - "$indexOfCP", - "$isArray", - "$isNumber", - "$isoDayOfWeek", - "$isoWeek", - "$isoWeekYear", - "$last", - "$last", - "$let", - "$literal", - "$ln", - "$log", - "$log10", - "$lt", - "$lte", - "$ltrim", - "$map", - "$max", - "$mergeObjects", - "$meta", - "$min", - "$millisecond", - "$minute", - "$mod", - "$month", - "$multiply", - "$ne", - "$not", - "$objectToArray", - "$or", - "$pow", - "$push", - "$radiansToDegrees", - "$range", - "$reduce", - "$regexFind", - "$regexFindAll", - "$regexMatch", - "$replaceOne", - "$replaceAll", - "$reverseArray", - "$round", - "$rtrim", - "$second", - "$setDifference", - "$setEquals", - "$setIntersection", - "$setIsSubset", - "$setUnion", - "$size", - "$sin", - "$slice", - "$split", - "$sqrt", - "$stdDevPop", - "$stdDevSamp", - "$strcasecmp", - "$strLenBytes", - "$strLenCP", - "$substr", - "$substrBytes", - "$substrCP", - "$subtract", - "$sum", - "$switch", - "$tan", - "$toBool", - "$toDate", - "$toDecimal", - "$toDouble", - "$toInt", - "$toLong", - "$toObjectId", - "$toString", - "$toLower", - "$toUpper", - "$trim", - "$trunc", - "$type", - "$week", - "$year", - "$zip", - "$count", - "$dateAdd", - "$dateDiff", - "$dateSubtract", - "$dateTrunc", - "$getField", - "$rand", - "$sampleRate", - "$setField", - "$unsetField", - "$comment", - "$explain", - "$hint", - "$max", - "$maxTimeMS", - "$min", - "$orderby", - "$query", - "$returnKey", - "$showDiskLoc", - "$natural", - ], - r = [ - "ObjectId", - "Code", - "BinData", - "DBRef", - "Timestamp", - "NumberLong", - "NumberDecimal", - "MaxKey", - "MinKey", - "RegExp", - "ISODate", - "UUID", - ]; - n = n.map(function (a) { - return a.replace("$", "\\$"); - }); - var i = "(?:" + n.join("|") + ")\\b"; - (t.languages.mongodb = t.languages.extend("javascript", {})), - t.languages.insertBefore("mongodb", "string", { - property: { - pattern: - /(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/, - greedy: !0, - inside: { keyword: RegExp(`^(['"])?` + i + "(?:\\1)?$") }, - }, - }), - (t.languages.mongodb.string.inside = { - url: { - pattern: - /https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i, - greedy: !0, - }, - entity: { - pattern: - /\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/, - greedy: !0, - }, - }), - t.languages.insertBefore("mongodb", "constant", { - builtin: { - pattern: RegExp("\\b(?:" + r.join("|") + ")\\b"), - alias: "keyword", - }, - }); - })(e); -} -V6.displayName = "monkey"; -V6.aliases = []; -function V6(e) { - e.languages.monkey = { - comment: { pattern: /^#Rem\s[\s\S]*?^#End|'.+/im, greedy: !0 }, - string: { pattern: /"[^"\r\n]*"/, greedy: !0 }, - preprocessor: { - pattern: /(^[ \t]*)#.+/m, - lookbehind: !0, - greedy: !0, - alias: "property", - }, - function: /\b\w+(?=\()/, - "type-char": { pattern: /\b[?%#$]/, alias: "class-name" }, - number: { - pattern: - /((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i, - lookbehind: !0, - }, - keyword: - /\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i, - operator: - /\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i, - punctuation: /[.,:;()\[\]]/, - }; -} -W6.displayName = "moonscript"; -W6.aliases = ["moon"]; -function W6(e) { - (e.languages.moonscript = { - comment: /--.*/, - string: [ - { pattern: /'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/, greedy: !0 }, - { - pattern: /"[^"]*"/, - greedy: !0, - inside: { - interpolation: { - pattern: /#\{[^{}]*\}/, - inside: { - moonscript: { - pattern: /(^#\{)[\s\S]+(?=\})/, - lookbehind: !0, - inside: null, - }, - "interpolation-punctuation": { - pattern: /#\{|\}/, - alias: "punctuation", - }, - }, - }, - }, - }, - ], - "class-name": [ - { pattern: /(\b(?:class|extends)[ \t]+)\w+/, lookbehind: !0 }, - /\b[A-Z]\w*/, - ], - keyword: - /\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/, - variable: /@@?\w*/, - property: { pattern: /\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/, lookbehind: !0 }, - function: { - pattern: - /\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/, - inside: { punctuation: /\./ }, - }, - boolean: /\b(?:false|true)\b/, - number: - /(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/, - operator: - /\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/, - punctuation: /[.,()[\]{}\\]/, - }), - (e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside = - e.languages.moonscript), - (e.languages.moon = e.languages.moonscript); -} -q6.displayName = "n1ql"; -q6.aliases = []; -function q6(e) { - e.languages.n1ql = { - comment: { pattern: /\/\*[\s\S]*?(?:$|\*\/)|--.*/, greedy: !0 }, - string: { pattern: /(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/, greedy: !0 }, - identifier: { pattern: /`(?:\\[\s\S]|[^\\`]|``)*`/, greedy: !0 }, - parameter: /\$[\w.]+/, - keyword: - /\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i, - function: /\b[a-z_]\w*(?=\s*\()/i, - boolean: /\b(?:FALSE|TRUE)\b/i, - number: /(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i, - operator: - /[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i, - punctuation: /[;[\](),.{}:]/, - }; -} -K6.displayName = "nand2tetris-hdl"; -K6.aliases = []; -function K6(e) { - e.languages["nand2tetris-hdl"] = { - comment: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, - keyword: /\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/, - boolean: /\b(?:false|true)\b/, - function: /\b[A-Za-z][A-Za-z0-9]*(?=\()/, - number: /\b\d+\b/, - operator: /=|\.\./, - punctuation: /[{}[\];(),:]/, - }; -} -Y6.displayName = "naniscript"; -Y6.aliases = ["nani"]; -function Y6(e) { - (function (t) { - var n = /\{[^\r\n\[\]{}]*\}/, - r = { - "quoted-string": { pattern: /"(?:[^"\\]|\\.)*"/, alias: "operator" }, - "command-param-id": { - pattern: /(\s)\w+:/, - lookbehind: !0, - alias: "property", - }, - "command-param-value": [ - { pattern: n, alias: "selector" }, - { - pattern: /([\t ])\S+/, - lookbehind: !0, - greedy: !0, - alias: "operator", - }, - { pattern: /\S(?:.*\S)?/, alias: "operator" }, - ], - }; - (t.languages.naniscript = { - comment: { pattern: /^([\t ]*);.*/m, lookbehind: !0 }, - define: { - pattern: /^>.+/m, - alias: "tag", - inside: { - value: { - pattern: /(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/, - lookbehind: !0, - alias: "operator", - }, - key: { pattern: /(^>)\w+/, lookbehind: !0 }, - }, - }, - label: { - pattern: /^([\t ]*)#[\t ]*\w+[\t ]*$/m, - lookbehind: !0, - alias: "regex", - }, - command: { - pattern: /^([\t ]*)@\w+(?=[\t ]|$).*/m, - lookbehind: !0, - alias: "function", - inside: { - "command-name": /^@\w+/, - expression: { pattern: n, greedy: !0, alias: "selector" }, - "command-params": { pattern: /\s*\S[\s\S]*/, inside: r }, - }, - }, - "generic-text": { - pattern: /(^[ \t]*)[^#@>;\s].*/m, - lookbehind: !0, - alias: "punctuation", - inside: { - "escaped-char": /\\[{}\[\]"]/, - expression: { pattern: n, greedy: !0, alias: "selector" }, - "inline-command": { - pattern: /\[[\t ]*\w[^\r\n\[\]]*\]/, - greedy: !0, - alias: "function", - inside: { - "command-params": { - pattern: /(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/, - lookbehind: !0, - inside: r, - }, - "command-param-name": { - pattern: /^(\[[\t ]*)\w+/, - lookbehind: !0, - alias: "name", - }, - "start-stop-char": /[\[\]]/, - }, - }, - }, - }, - }), - (t.languages.nani = t.languages.naniscript), - t.hooks.add("after-tokenize", function (o) { - var s = o.tokens; - s.forEach(function (u) { - if (typeof u != "string" && u.type === "generic-text") { - var c = a(u); - i(c) || ((u.type = "bad-line"), (u.content = c)); - } - }); - }); - function i(o) { - for (var s = "[]{}", u = [], c = 0; c < o.length; c++) { - var p = o[c], - f = s.indexOf(p); - if (f !== -1) { - if (f % 2 === 0) u.push(f + 1); - else if (u.pop() !== f) return !1; - } - } - return u.length === 0; - } - function a(o) { - return typeof o == "string" - ? o - : Array.isArray(o) - ? o.map(a).join("") - : a(o.content); - } - })(e); -} -X6.displayName = "nasm"; -X6.aliases = []; -function X6(e) { - e.languages.nasm = { - comment: /;.*$/m, - string: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/, - label: { - pattern: /(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m, - lookbehind: !0, - alias: "function", - }, - keyword: [ - /\[?BITS (?:16|32|64)\]?/, - { pattern: /(^\s*)section\s*[a-z.]+:?/im, lookbehind: !0 }, - /(?:extern|global)[^;\r\n]*/i, - /(?:CPU|DEFAULT|FLOAT).*$/m, - ], - register: { - pattern: - /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i, - alias: "variable", - }, - number: - /(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i, - operator: /[\[\]*+\-\/%<>=&|$!]/, - }; -} -Z6.displayName = "neon"; -Z6.aliases = []; -function Z6(e) { - e.languages.neon = { - comment: { pattern: /#.*/, greedy: !0 }, - datetime: { - pattern: - /(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/, - lookbehind: !0, - alias: "number", - }, - key: { - pattern: /(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/, - lookbehind: !0, - alias: "property", - }, - number: { - pattern: - /(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/, - lookbehind: !0, - }, - boolean: { - pattern: /(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i, - lookbehind: !0, - }, - null: { - pattern: /(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i, - lookbehind: !0, - alias: "keyword", - }, - string: { - pattern: - /(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/, - lookbehind: !0, - greedy: !0, - }, - literal: { - pattern: - /(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/, - lookbehind: !0, - alias: "string", - }, - punctuation: /[,:=[\]{}()-]/, - }; -} -Q6.displayName = "nevod"; -Q6.aliases = []; -function Q6(e) { - e.languages.nevod = { - comment: /\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/, - string: { - pattern: /(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/, - greedy: !0, - inside: { "string-attrs": /!$|!\*$|\*$/ }, - }, - namespace: { - pattern: /(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/, - lookbehind: !0, - }, - pattern: { - pattern: - /(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/, - lookbehind: !0, - inside: { - "pattern-name": { pattern: /^#?[a-zA-Z0-9\-.]+/, alias: "class-name" }, - fields: { - pattern: /\(.*\)/, - inside: { - "field-name": { pattern: /[a-zA-Z0-9\-.]+/, alias: "variable" }, - punctuation: /[,()]/, - operator: { pattern: /~/, alias: "field-hidden-mark" }, - }, - }, - }, - }, - search: { - pattern: /(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/, - alias: "function", - lookbehind: !0, - }, - keyword: - /@(?:having|inside|namespace|outside|pattern|require|search|where)\b/, - "standard-pattern": { - pattern: - /\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/, - inside: { - "standard-pattern-name": { - pattern: /^[a-zA-Z0-9\-.]+/, - alias: "builtin", - }, - quantifier: { - pattern: /\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/, - alias: "number", - }, - "standard-pattern-attr": { - pattern: /[a-zA-Z0-9\-.]+/, - alias: "builtin", - }, - punctuation: /[,()]/, - }, - }, - quantifier: { - pattern: /\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/, - alias: "number", - }, - operator: [ - { pattern: /=/, alias: "pattern-def" }, - { pattern: /&/, alias: "conjunction" }, - { pattern: /~/, alias: "exception" }, - { pattern: /\?/, alias: "optionality" }, - { pattern: /[[\]]/, alias: "repetition" }, - { pattern: /[{}]/, alias: "variation" }, - { pattern: /[+_]/, alias: "sequence" }, - { pattern: /\.{2,3}/, alias: "span" }, - ], - "field-capture": [ - { - pattern: - /([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/, - lookbehind: !0, - inside: { - "field-name": { pattern: /[a-zA-Z0-9\-.]+/, alias: "variable" }, - colon: /:/, - }, - }, - { - pattern: /[a-zA-Z0-9\-.]+\s*:/, - inside: { - "field-name": { pattern: /[a-zA-Z0-9\-.]+/, alias: "variable" }, - colon: /:/, - }, - }, - ], - punctuation: /[:;,()]/, - name: /[a-zA-Z0-9\-.]+/, - }; -} -J6.displayName = "nginx"; -J6.aliases = []; -function J6(e) { - (function (t) { - var n = /\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i; - t.languages.nginx = { - comment: { pattern: /(^|[\s{};])#.*/, lookbehind: !0, greedy: !0 }, - directive: { - pattern: - /(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/, - lookbehind: !0, - greedy: !0, - inside: { - string: { - pattern: - /((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/, - lookbehind: !0, - greedy: !0, - inside: { - escape: { pattern: /\\["'\\nrt]/, alias: "entity" }, - variable: n, - }, - }, - comment: { pattern: /(\s)#.*/, lookbehind: !0, greedy: !0 }, - keyword: { pattern: /^\S+/, greedy: !0 }, - boolean: { pattern: /(\s)(?:off|on)(?!\S)/, lookbehind: !0 }, - number: { pattern: /(\s)\d+[a-z]*(?!\S)/i, lookbehind: !0 }, - variable: n, - }, - }, - punctuation: /[{};]/, - }; - })(e); -} -e8.displayName = "nim"; -e8.aliases = []; -function e8(e) { - e.languages.nim = { - comment: { pattern: /#.*/, greedy: !0 }, - string: { - pattern: - /(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/, - greedy: !0, - }, - char: { pattern: /'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/, greedy: !0 }, - function: { - pattern: - /(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/, - greedy: !0, - inside: { operator: /\*$/ }, - }, - identifier: { - pattern: /`[^`\r\n]+`/, - greedy: !0, - inside: { punctuation: /`/ }, - }, - number: - /\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/, - keyword: - /\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/, - operator: { - pattern: - /(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m, - lookbehind: !0, - }, - punctuation: /[({\[]\.|\.[)}\]]|[`(){}\[\],:]/, - }; -} -t8.displayName = "nix"; -t8.aliases = []; -function t8(e) { - (e.languages.nix = { - comment: { pattern: /\/\*[\s\S]*?\*\/|#.*/, greedy: !0 }, - string: { - pattern: /"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/, - greedy: !0, - inside: { - interpolation: { - pattern: /(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/, - lookbehind: !0, - inside: null, - }, - }, - }, - url: [ - /\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/, - { - pattern: - /([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/, - lookbehind: !0, - }, - ], - antiquotation: { pattern: /\$(?=\{)/, alias: "important" }, - number: /\b\d+\b/, - keyword: /\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/, - function: - /\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/, - boolean: /\b(?:false|true)\b/, - operator: /[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/, - punctuation: /[{}()[\].,:;]/, - }), - (e.languages.nix.string.inside.interpolation.inside = e.languages.nix); -} -n8.displayName = "nsis"; -n8.aliases = []; -function n8(e) { - e.languages.nsis = { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/, - lookbehind: !0, - greedy: !0, - }, - string: { pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, - keyword: { - pattern: - /(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m, - lookbehind: !0, - }, - property: - /\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/, - constant: /\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/, - variable: /\$\w[\w\.]*/, - number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/, - operator: /--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/, - punctuation: /[{}[\];(),.:]/, - important: { - pattern: - /(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im, - lookbehind: !0, - }, - }; -} -r8.displayName = "ocaml"; -r8.aliases = []; -function r8(e) { - e.languages.ocaml = { - comment: { pattern: /\(\*[\s\S]*?\*\)/, greedy: !0 }, - char: { - pattern: /'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i, - greedy: !0, - }, - string: [ - { pattern: /"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/, greedy: !0 }, - { pattern: /\{([a-z_]*)\|[\s\S]*?\|\1\}/, greedy: !0 }, - ], - number: [ - /\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i, - /\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i, - /\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i, - ], - directive: { pattern: /\B#\w+/, alias: "property" }, - label: { pattern: /\B~\w+/, alias: "property" }, - "type-variable": { pattern: /\B'\w+/, alias: "function" }, - variant: { pattern: /`\w+/, alias: "symbol" }, - keyword: - /\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/, - boolean: /\b(?:false|true)\b/, - "operator-like-punctuation": { - pattern: /\[[<>|]|[>|]\]|\{<|>\}/, - alias: "punctuation", - }, - operator: - /\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/, - punctuation: /;;|::|[(){}\[\].,:;#]|\b_\b/, - }; -} -i8.displayName = "odin"; -i8.aliases = []; -function i8(e) { - (function (t) { - var n = - /\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/; - t.languages.odin = { - comment: [ - { - pattern: - /\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/, - greedy: !0, - }, - { pattern: /#![^\n\r]*/, greedy: !0 }, - { pattern: /\/\/[^\n\r]*/, greedy: !0 }, - ], - char: { - pattern: /'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/, - greedy: !0, - inside: { symbol: n }, - }, - string: [ - { pattern: /`[^`]*`/, greedy: !0 }, - { pattern: /"(?:\\.|[^\n\r"\\])*"/, greedy: !0, inside: { symbol: n } }, - ], - directive: { pattern: /#\w+/, alias: "property" }, - number: - /\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/, - discard: { pattern: /\b_\b/, alias: "keyword" }, - "procedure-definition": { - pattern: /\b\w+(?=[ \t]*(?::\s*){2}proc\b)/, - alias: "function", - }, - keyword: - /\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/, - "procedure-name": { pattern: /\b\w+(?=[ \t]*\()/, alias: "function" }, - boolean: /\b(?:false|nil|true)\b/, - "constant-parameter-sign": { pattern: /\$/, alias: "important" }, - undefined: { pattern: /---/, alias: "operator" }, - arrow: { pattern: /->/, alias: "punctuation" }, - operator: /\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/, - punctuation: /[(),.:;@\[\]{}]/, - }; - })(e); -} -a8.displayName = "opencl"; -a8.aliases = []; -function a8(e) { - e.register(qa), - (function (t) { - (t.languages.opencl = t.languages.extend("c", { - keyword: - /\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/, - number: - /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i, - boolean: /\b(?:false|true)\b/, - "constant-opencl-kernel": { - pattern: - /\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/, - alias: "constant", - }, - })), - t.languages.insertBefore("opencl", "class-name", { - "builtin-type": { - pattern: - /\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/, - alias: "keyword", - }, - }); - var n = { - "type-opencl-host": { - pattern: - /\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/, - alias: "keyword", - }, - "boolean-opencl-host": { - pattern: /\bCL_(?:FALSE|TRUE)\b/, - alias: "boolean", - }, - "constant-opencl-host": { - pattern: - /\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/, - alias: "constant", - }, - "function-opencl-host": { - pattern: - /\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/, - alias: "function", - }, - }; - t.languages.insertBefore("c", "keyword", n), - t.languages.cpp && - ((n["type-opencl-host-cpp"] = { - pattern: - /\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/, - alias: "keyword", - }), - t.languages.insertBefore("cpp", "keyword", n)); - })(e); -} -o8.displayName = "openqasm"; -o8.aliases = ["qasm"]; -function o8(e) { - (e.languages.openqasm = { - comment: /\/\*[\s\S]*?\*\/|\/\/.*/, - string: { pattern: /"[^"\r\n\t]*"|'[^'\r\n\t]*'/, greedy: !0 }, - keyword: - /\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/, - "class-name": - /\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/, - function: /\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/, - constant: /\b(?:euler|pi|tau)\b|π|𝜏|ℇ/, - number: { - pattern: - /(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i, - lookbehind: !0, - }, - operator: /->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/, - punctuation: /[(){}\[\];,:.]/, - }), - (e.languages.qasm = e.languages.openqasm); -} -s8.displayName = "oz"; -s8.aliases = []; -function s8(e) { - e.languages.oz = { - comment: { pattern: /\/\*[\s\S]*?\*\/|%.*/, greedy: !0 }, - string: { pattern: /"(?:[^"\\]|\\[\s\S])*"/, greedy: !0 }, - atom: { pattern: /'(?:[^'\\]|\\[\s\S])*'/, greedy: !0, alias: "builtin" }, - keyword: - /\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/, - function: [ - /\b[a-z][A-Za-z\d]*(?=\()/, - { pattern: /(\{)[A-Z][A-Za-z\d]*\b/, lookbehind: !0 }, - ], - number: - /\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i, - variable: /`(?:[^`\\]|\\.)+`/, - "attr-name": /\b\w+(?=[ \t]*:(?![:=]))/, - operator: - /:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/, - punctuation: /[\[\](){}.:;?]/, - }; -} -l8.displayName = "parigp"; -l8.aliases = []; -function l8(e) { - e.languages.parigp = { - comment: /\/\*[\s\S]*?\*\/|\\\\.*/, - string: { pattern: /"(?:[^"\\\r\n]|\\.)*"/, greedy: !0 }, - keyword: (function () { - var t = [ - "breakpoint", - "break", - "dbg_down", - "dbg_err", - "dbg_up", - "dbg_x", - "forcomposite", - "fordiv", - "forell", - "forpart", - "forprime", - "forstep", - "forsubgroup", - "forvec", - "for", - "iferr", - "if", - "local", - "my", - "next", - "return", - "until", - "while", - ]; - return ( - (t = t - .map(function (n) { - return n.split("").join(" *"); - }) - .join("|")), - RegExp("\\b(?:" + t + ")\\b") - ); - })(), - function: /\b\w(?:[\w ]*\w)?(?= *\()/, - number: { - pattern: - /((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i, - lookbehind: !0, - }, - operator: - /\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/, - punctuation: /[\[\]{}().,:;|]/, - }; -} -u8.displayName = "parser"; -u8.aliases = []; -function u8(e) { - e.register(fr), - (function (t) { - var n = (t.languages.parser = t.languages.extend("markup", { - keyword: { - pattern: - /(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/, - lookbehind: !0, - }, - variable: { - pattern: /(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/, - lookbehind: !0, - inside: { punctuation: /\.|:+/ }, - }, - function: { - pattern: /(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/, - lookbehind: !0, - inside: { - keyword: { pattern: /(^@)(?:GET_|SET_)/, lookbehind: !0 }, - punctuation: /\.|:+/, - }, - }, - escape: { - pattern: /\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i, - alias: "builtin", - }, - punctuation: /[\[\](){};]/, - })); - (n = t.languages.insertBefore("parser", "keyword", { - "parser-comment": { - pattern: /(\s)#.*/, - lookbehind: !0, - alias: "comment", - }, - expression: { - pattern: /(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/, - greedy: !0, - lookbehind: !0, - inside: { - string: { - pattern: /(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/, - lookbehind: !0, - }, - keyword: n.keyword, - variable: n.variable, - function: n.function, - boolean: /\b(?:false|true)\b/, - number: /\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i, - escape: n.escape, - operator: - /[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/, - punctuation: n.punctuation, - }, - }, - })), - t.languages.insertBefore( - "inside", - "punctuation", - { - expression: n.expression, - keyword: n.keyword, - variable: n.variable, - function: n.function, - escape: n.escape, - "parser-punctuation": { - pattern: n.punctuation, - alias: "punctuation", - }, - }, - n.tag.inside["attr-value"] - ); - })(e); -} -c8.displayName = "pascal"; -c8.aliases = ["objectpascal"]; -function c8(e) { - (e.languages.pascal = { - directive: { - pattern: /\{\$[\s\S]*?\}/, - greedy: !0, - alias: ["marco", "property"], - }, - comment: { pattern: /\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/, greedy: !0 }, - string: { - pattern: /(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i, - greedy: !0, - }, - asm: { - pattern: /(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i, - lookbehind: !0, - greedy: !0, - inside: null, - }, - keyword: [ - { - pattern: - /(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i, - lookbehind: !0, - }, - { - pattern: /(^|[^&])\b(?:dispose|exit|false|new|true)\b/i, - lookbehind: !0, - }, - { - pattern: - /(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i, - lookbehind: !0, - }, - { - pattern: - /(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i, - lookbehind: !0, - }, - ], - number: [/(?:[&%]\d+|\$[a-f\d]+)/i, /\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i], - operator: [ - /\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/, - { - pattern: - /(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/, - lookbehind: !0, - }, - ], - punctuation: /\(\.|\.\)|[()\[\]:;,.]/, - }), - (e.languages.pascal.asm.inside = e.languages.extend("pascal", { - asm: void 0, - keyword: void 0, - operator: void 0, - })), - (e.languages.objectpascal = e.languages.pascal); -} -d8.displayName = "pascaligo"; -d8.aliases = []; -function d8(e) { - (function (t) { - var n = /\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source, - r = /(?:\b\w+(?:)?|)/.source.replace( - //g, - function () { - return n; - } - ), - i = (t.languages.pascaligo = { - comment: /\(\*[\s\S]+?\*\)|\/\/.*/, - string: { - pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i, - greedy: !0, - }, - "class-name": [ - { - pattern: RegExp( - /(\btype\s+\w+\s+is\s+)/.source.replace( - //g, - function () { - return r; - } - ), - "i" - ), - lookbehind: !0, - inside: null, - }, - { - pattern: RegExp( - /(?=\s+is\b)/.source.replace(//g, function () { - return r; - }), - "i" - ), - inside: null, - }, - { - pattern: RegExp( - /(:\s*)/.source.replace(//g, function () { - return r; - }) - ), - lookbehind: !0, - inside: null, - }, - ], - keyword: { - pattern: - /(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i, - lookbehind: !0, - }, - boolean: { pattern: /(^|[^&])\b(?:False|True)\b/i, lookbehind: !0 }, - builtin: { - pattern: /(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i, - lookbehind: !0, - }, - function: /\b\w+(?=\s*\()/, - number: [ - /%[01]+|&[0-7]+|\$[a-f\d]+/i, - /\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i, - ], - operator: - /->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/, - punctuation: /\(\.|\.\)|[()\[\]:;,.{}]/, - }), - a = ["comment", "keyword", "builtin", "operator", "punctuation"].reduce( - function (o, s) { - return (o[s] = i[s]), o; - }, - {} - ); - i["class-name"].forEach(function (o) { - o.inside = a; - }); - })(e); -} -p8.displayName = "psl"; -p8.aliases = []; -function p8(e) { - e.languages.psl = { - comment: { pattern: /#.*/, greedy: !0 }, - string: { - pattern: /"(?:\\.|[^\\"])*"/, - greedy: !0, - inside: { symbol: /\\[ntrbA-Z"\\]/ }, - }, - "heredoc-string": { - pattern: /<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/, - alias: "string", - greedy: !0, - }, - keyword: - /\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/, - constant: - /\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/, - boolean: /\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/, - variable: /\b(?:PslDebug|errno|exit_status)\b/, - builtin: { - pattern: - /\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/, - alias: "builtin-function", - }, - "foreach-variable": { - pattern: - /(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/, - lookbehind: !0, - greedy: !0, - }, - function: /\b[_a-z]\w*\b(?=\s*\()/i, - number: /\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i, - operator: /--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/, - punctuation: /[(){}\[\];,]/, - }; -} -f8.displayName = "pcaxis"; -f8.aliases = ["px"]; -function f8(e) { - (e.languages.pcaxis = { - string: /"[^"]*"/, - keyword: { - pattern: - /((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/, - lookbehind: !0, - greedy: !0, - inside: { - keyword: /^[-A-Z\d]+/, - language: { - pattern: /^(\s*)\[[-\w]+\]/, - lookbehind: !0, - inside: { punctuation: /^\[|\]$/, property: /[-\w]+/ }, - }, - "sub-key": { - pattern: /^(\s*)\S[\s\S]*/, - lookbehind: !0, - inside: { - parameter: { pattern: /"[^"]*"/, alias: "property" }, - punctuation: /^\(|\)$|,/, - }, - }, - }, - }, - operator: /=/, - tlist: { - pattern: - /TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/, - greedy: !0, - inside: { - function: /^TLIST/, - property: { pattern: /^(\s*\(\s*)\w+/, lookbehind: !0 }, - string: /"[^"]*"/, - punctuation: /[(),]/, - operator: /-/, - }, - }, - punctuation: /[;,]/, - number: { pattern: /(^|\s)\d+(?:\.\d+)?(?!\S)/, lookbehind: !0 }, - boolean: /NO|YES/, - }), - (e.languages.px = e.languages.pcaxis); -} -h8.displayName = "peoplecode"; -h8.aliases = ["pcode"]; -function h8(e) { - (e.languages.peoplecode = { - comment: RegExp( - [ - /\/\*[\s\S]*?\*\//.source, - /\bREM[^;]*;/.source, - /<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source, - /\/\+[\s\S]*?\+\//.source, - ].join("|") - ), - string: { - pattern: /'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/, - greedy: !0, - }, - variable: /%\w+/, - "function-definition": { - pattern: /((?:^|[^\w-])(?:function|method)\s+)\w+/i, - lookbehind: !0, - alias: "function", - }, - "class-name": { - pattern: - /((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i, - lookbehind: !0, - inside: { punctuation: /:/ }, - }, - keyword: - /\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i, - "operator-keyword": { pattern: /\b(?:and|not|or)\b/i, alias: "operator" }, - function: /[_a-z]\w*(?=\s*\()/i, - boolean: /\b(?:false|true)\b/i, - number: /\b\d+(?:\.\d+)?\b/, - operator: /<>|[<>]=?|!=|\*\*|[-+*/|=@]/, - punctuation: /[:.;,()[\]]/, - }), - (e.languages.pcode = e.languages.peoplecode); -} -g8.displayName = "phpdoc"; -g8.aliases = []; -function g8(e) { - e.register(gc), - e.register(ku), - (function (t) { - var n = /(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source; - (t.languages.phpdoc = t.languages.extend("javadoclike", { - parameter: { - pattern: RegExp( - "(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:" + - n + - "\\s+)?)\\$\\w+" - ), - lookbehind: !0, - }, - })), - t.languages.insertBefore("phpdoc", "keyword", { - "class-name": [ - { - pattern: RegExp( - "(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)" + - n - ), - lookbehind: !0, - inside: { - keyword: - /\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/, - punctuation: /[|\\[\]()]/, - }, - }, - ], - }), - t.languages.javadoclike.addSupport("php", t.languages.phpdoc); - })(e); -} -m8.displayName = "php-extras"; -m8.aliases = []; -function m8(e) { - e.register(ku), - e.languages.insertBefore("php", "variable", { - this: { pattern: /\$this\b/, alias: "keyword" }, - global: - /\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/, - scope: { - pattern: /\b[\w\\]+::/, - inside: { keyword: /\b(?:parent|self|static)\b/, punctuation: /::|\\/ }, - }, - }); -} -b8.displayName = "plant-uml"; -b8.aliases = ["plantuml"]; -function b8(e) { - (function (t) { - var n = /\$\w+|%[a-z]+%/, - r = /\[[^[\]]*\]/.source, - i = /(?:[drlu]|do|down|le|left|ri|right|up)/.source, - a = - "(?:-+" + - i + - "-+|\\.+" + - i + - "\\.+|-+(?:" + - r + - "-*)?|" + - r + - "-+|\\.+(?:" + - r + - "\\.*)?|" + - r + - "\\.+)", - o = /(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source, - s = /(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source, - u = /[[?]?[ox]?/.source, - c = /[ox]?[\]?]?/.source, - p = u + "(?:" + a + s + "|" + o + a + "(?:" + s + ")?)" + c; - (t.languages["plant-uml"] = { - comment: { - pattern: /(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m, - lookbehind: !0, - greedy: !0, - }, - preprocessor: { - pattern: /(^[ \t]*)!.*/m, - lookbehind: !0, - greedy: !0, - alias: "property", - inside: { variable: n }, - }, - delimiter: { - pattern: /(^[ \t]*)@(?:end|start)uml\b/m, - lookbehind: !0, - greedy: !0, - alias: "punctuation", - }, - arrow: { - pattern: RegExp( - /(^|[^-.<>?|\\[\]ox])/.source + p + /(?![-.<>?|\\\]ox])/.source - ), - lookbehind: !0, - greedy: !0, - alias: "operator", - inside: { - expression: { - pattern: /(\[)[^[\]]+(?=\])/, - lookbehind: !0, - inside: null, - }, - punctuation: /\[(?=$|\])|^\]/, - }, - }, - string: { pattern: /"[^"]*"/, greedy: !0 }, - text: { - pattern: /(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/, - lookbehind: !0, - greedy: !0, - alias: "string", - }, - keyword: [ - { - pattern: - /^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m, - lookbehind: !0, - greedy: !0, - }, - /\b(?:elseif|equals|not|while)(?=\s*\()/, - /\b(?:as|is|then)\b/, - ], - divider: { pattern: /^==.+==$/m, greedy: !0, alias: "important" }, - time: { - pattern: /@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i, - greedy: !0, - alias: "number", - }, - color: { pattern: /#(?:[a-z_]+|[a-fA-F0-9]+)\b/, alias: "symbol" }, - variable: n, - punctuation: /[:,;()[\]{}]|\.{3}/, - }), - (t.languages["plant-uml"].arrow.inside.expression.inside = - t.languages["plant-uml"]), - (t.languages.plantuml = t.languages["plant-uml"]); - })(e); -} -E8.displayName = "plsql"; -E8.aliases = []; -function E8(e) { - e.register(pc), - (e.languages.plsql = e.languages.extend("sql", { - comment: { pattern: /\/\*[\s\S]*?\*\/|--.*/, greedy: !0 }, - keyword: - /\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i, - operator: /:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/, - })), - e.languages.insertBefore("plsql", "operator", { - label: { pattern: /<<\s*\w+\s*>>/, alias: "symbol" }, - }); -} -v8.displayName = "powerquery"; -v8.aliases = ["mscript", "pq"]; -function v8(e) { - (e.languages.powerquery = { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/, - lookbehind: !0, - greedy: !0, - }, - "quoted-identifier": { pattern: /#"(?:[^"\r\n]|"")*"(?!")/, greedy: !0 }, - string: { pattern: /(?:#!)?"(?:[^"\r\n]|"")*"(?!")/, greedy: !0 }, - constant: [ - /\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/, - /\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/, - /\bOccurrence\.(?:All|First|Last)\b/, - /\bOrder\.(?:Ascending|Descending)\b/, - /\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/, - /\bMissingField\.(?:Error|Ignore|UseNull)\b/, - /\bQuoteStyle\.(?:Csv|None)\b/, - /\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/, - /\bGroupKind\.(?:Global|Local)\b/, - /\bExtraValues\.(?:Error|Ignore|List)\b/, - /\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/, - /\bJoinSide\.(?:Left|Right)\b/, - /\bPrecision\.(?:Decimal|Double)\b/, - /\bRelativePosition\.From(?:End|Start)\b/, - /\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/, - /\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/, - /\bnull\b/, - ], - boolean: /\b(?:false|true)\b/, - keyword: - /\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/, - function: { pattern: /(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i, lookbehind: !0 }, - "data-type": { - pattern: - /\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/, - alias: "class-name", - }, - number: { - pattern: - /\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i, - lookbehind: !0, - }, - operator: /[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/, - punctuation: /[,;\[\](){}]/, - }), - (e.languages.pq = e.languages.powerquery), - (e.languages.mscript = e.languages.powerquery); -} -y8.displayName = "powershell"; -y8.aliases = []; -function y8(e) { - (function (t) { - var n = (t.languages.powershell = { - comment: [ - { pattern: /(^|[^`])<#[\s\S]*?#>/, lookbehind: !0 }, - { pattern: /(^|[^`])#.*/, lookbehind: !0 }, - ], - string: [ - { pattern: /"(?:`[\s\S]|[^`"])*"/, greedy: !0, inside: null }, - { pattern: /'(?:[^']|'')*'/, greedy: !0 }, - ], - namespace: /\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i, - boolean: /\$(?:false|true)\b/i, - variable: /\$\w+\b/, - function: [ - /\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i, - /\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i, - ], - keyword: - /\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i, - operator: { - pattern: - /(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i, - lookbehind: !0, - }, - punctuation: /[|{}[\];(),.]/, - }); - n.string[0].inside = { - function: { - pattern: /(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/, - lookbehind: !0, - inside: n, - }, - boolean: n.boolean, - variable: n.variable, - }; - })(e); -} -_8.displayName = "processing"; -_8.aliases = []; -function _8(e) { - e.register(Mt), - (e.languages.processing = e.languages.extend("clike", { - keyword: - /\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/, - function: /\b\w+(?=\s*\()/, - operator: /<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/, - })), - e.languages.insertBefore("processing", "number", { - constant: /\b(?!XML\b)[A-Z][A-Z\d_]+\b/, - type: { - pattern: /\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/, - alias: "class-name", - }, - }); -} -T8.displayName = "prolog"; -T8.aliases = []; -function T8(e) { - e.languages.prolog = { - comment: { pattern: /\/\*[\s\S]*?\*\/|%.*/, greedy: !0 }, - string: { - pattern: /(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/, - greedy: !0, - }, - builtin: /\b(?:fx|fy|xf[xy]?|yfx?)\b/, - function: /\b[a-z]\w*(?:(?=\()|\/\d+)/, - number: /\b\d+(?:\.\d*)?/, - operator: /[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/, - punctuation: /[(){}\[\],]/, - }; -} -S8.displayName = "promql"; -S8.aliases = []; -function S8(e) { - (function (t) { - var n = [ - "sum", - "min", - "max", - "avg", - "group", - "stddev", - "stdvar", - "count", - "count_values", - "bottomk", - "topk", - "quantile", - ], - r = ["on", "ignoring", "group_right", "group_left", "by", "without"], - i = ["offset"], - a = n.concat(r, i); - t.languages.promql = { - comment: { pattern: /(^[ \t]*)#.*/m, lookbehind: !0 }, - "vector-match": { - pattern: new RegExp("((?:" + r.join("|") + ")\\s*)\\([^)]*\\)"), - lookbehind: !0, - inside: { - "label-key": { pattern: /\b[^,]+\b/, alias: "attr-name" }, - punctuation: /[(),]/, - }, - }, - "context-labels": { - pattern: /\{[^{}]*\}/, - inside: { - "label-key": { - pattern: /\b[a-z_]\w*(?=\s*(?:=|![=~]))/, - alias: "attr-name", - }, - "label-value": { - pattern: /(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/, - greedy: !0, - alias: "attr-value", - }, - punctuation: /\{|\}|=~?|![=~]|,/, - }, - }, - "context-range": [ - { - pattern: /\[[\w\s:]+\]/, - inside: { - punctuation: /\[|\]|:/, - "range-duration": { - pattern: /\b(?:\d+(?:[smhdwy]|ms))+\b/i, - alias: "number", - }, - }, - }, - { - pattern: /(\boffset\s+)\w+/, - lookbehind: !0, - inside: { - "range-duration": { - pattern: /\b(?:\d+(?:[smhdwy]|ms))+\b/i, - alias: "number", - }, - }, - }, - ], - keyword: new RegExp("\\b(?:" + a.join("|") + ")\\b", "i"), - function: /\b[a-z_]\w*(?=\s*\()/i, - number: - /[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i, - operator: /[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i, - punctuation: /[{};()`,.[\]]/, - }; - })(e); -} -w8.displayName = "properties"; -w8.aliases = []; -function w8(e) { - e.languages.properties = { - comment: /^[ \t]*[#!].*$/m, - value: { - pattern: - /(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m, - lookbehind: !0, - alias: "attr-value", - }, - key: { - pattern: /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m, - alias: "attr-name", - }, - punctuation: /[=:]/, - }; -} -A8.displayName = "protobuf"; -A8.aliases = []; -function A8(e) { - e.register(Mt), - (function (t) { - var n = - /\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/; - (t.languages.protobuf = t.languages.extend("clike", { - "class-name": [ - { - pattern: - /(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/, - lookbehind: !0, - }, - { - pattern: - /(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/, - lookbehind: !0, - }, - ], - keyword: - /\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/, - function: /\b[a-z_]\w*(?=\s*\()/i, - })), - t.languages.insertBefore("protobuf", "operator", { - map: { - pattern: /\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i, - alias: "class-name", - inside: { punctuation: /[<>.,]/, builtin: n }, - }, - builtin: n, - "positional-class-name": { - pattern: - /(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i, - alias: "class-name", - inside: { punctuation: /\./ }, - }, - annotation: { pattern: /(\[\s*)[a-z_]\w*(?=\s*=)/i, lookbehind: !0 }, - }); - })(e); -} -C8.displayName = "stylus"; -C8.aliases = []; -function C8(e) { - (function (t) { - var n = { pattern: /(\b\d+)(?:%|[a-z]+)/, lookbehind: !0 }, - r = { pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/, lookbehind: !0 }, - i = { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/, - lookbehind: !0, - }, - url: { pattern: /\burl\((["']?).*?\1\)/i, greedy: !0 }, - string: { - pattern: /("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/, - greedy: !0, - }, - interpolation: null, - func: null, - important: /\B!(?:important|optional)\b/i, - keyword: { - pattern: /(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/, - lookbehind: !0, - }, - hexcode: /#[\da-f]{3,6}/i, - color: [ - /\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i, - { - pattern: - /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i, - inside: { - unit: n, - number: r, - function: /[\w-]+(?=\()/, - punctuation: /[(),]/, - }, - }, - ], - entity: /\\[\da-f]{1,8}/i, - unit: n, - boolean: /\b(?:false|true)\b/, - operator: [ - /~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/, - ], - number: r, - punctuation: /[{}()\[\];:,]/, - }; - (i.interpolation = { - pattern: /\{[^\r\n}:]+\}/, - alias: "variable", - inside: { - delimiter: { pattern: /^\{|\}$/, alias: "punctuation" }, - rest: i, - }, - }), - (i.func = { - pattern: /[\w-]+\([^)]*\).*/, - inside: { function: /^[^(]+/, rest: i }, - }), - (t.languages.stylus = { - "atrule-declaration": { - pattern: /(^[ \t]*)@.+/m, - lookbehind: !0, - inside: { atrule: /^@[\w-]+/, rest: i }, - }, - "variable-declaration": { - pattern: /(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m, - lookbehind: !0, - inside: { variable: /^\S+/, rest: i }, - }, - statement: { - pattern: /(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m, - lookbehind: !0, - inside: { keyword: /^\S+/, rest: i }, - }, - "property-declaration": { - pattern: - /((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m, - lookbehind: !0, - inside: { - property: { - pattern: /^[^\s:]+/, - inside: { interpolation: i.interpolation }, - }, - rest: i, - }, - }, - selector: { - pattern: - /(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m, - lookbehind: !0, - inside: { - interpolation: i.interpolation, - comment: i.comment, - punctuation: /[{},]/, - }, - }, - func: i.func, - string: i.string, - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/, - lookbehind: !0, - greedy: !0, - }, - interpolation: i.interpolation, - punctuation: /[{}()\[\];:.]/, - }); - })(e); -} -x8.displayName = "twig"; -x8.aliases = []; -function x8(e) { - e.register(kr), - (e.languages.twig = { - comment: /^\{#[\s\S]*?#\}$/, - "tag-name": { - pattern: /(^\{%-?\s*)\w+/, - lookbehind: !0, - alias: "keyword", - }, - delimiter: { pattern: /^\{[{%]-?|-?[%}]\}$/, alias: "punctuation" }, - string: { - pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, - inside: { punctuation: /^['"]|['"]$/ }, - }, - keyword: /\b(?:even|if|odd)\b/, - boolean: /\b(?:false|null|true)\b/, - number: /\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/, - operator: [ - { - pattern: - /(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/, - lookbehind: !0, - }, - /[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/, - ], - punctuation: /[()\[\]{}:.,]/, - }), - e.hooks.add("before-tokenize", function (t) { - if (t.language === "twig") { - var n = /\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g; - e.languages["markup-templating"].buildPlaceholders(t, "twig", n); - } - }), - e.hooks.add("after-tokenize", function (t) { - e.languages["markup-templating"].tokenizePlaceholders(t, "twig"); - }); -} -k8.displayName = "pug"; -k8.aliases = []; -function k8(e) { - e.register(xr), - e.register(fr), - (function (t) { - t.languages.pug = { - comment: { - pattern: /(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m, - lookbehind: !0, - }, - "multiline-script": { - pattern: - /(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m, - lookbehind: !0, - inside: t.languages.javascript, - }, - filter: { - pattern: - /(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m, - lookbehind: !0, - inside: { - "filter-name": { pattern: /^:[\w-]+/, alias: "variable" }, - text: /\S[\s\S]*/, - }, - }, - "multiline-plain-text": { - pattern: - /(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m, - lookbehind: !0, - }, - markup: { - pattern: /(^[\t ]*)<.+/m, - lookbehind: !0, - inside: t.languages.markup, - }, - doctype: { pattern: /((?:^|\n)[\t ]*)doctype(?: .+)?/, lookbehind: !0 }, - "flow-control": { - pattern: - /(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m, - lookbehind: !0, - inside: { - each: { - pattern: /^each .+? in\b/, - inside: { keyword: /\b(?:each|in)\b/, punctuation: /,/ }, - }, - branch: { - pattern: /^(?:case|default|else|if|unless|when|while)\b/, - alias: "keyword", - }, - rest: t.languages.javascript, - }, - }, - keyword: { - pattern: /(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m, - lookbehind: !0, - }, - mixin: [ - { - pattern: /(^[\t ]*)mixin .+/m, - lookbehind: !0, - inside: { - keyword: /^mixin/, - function: /\w+(?=\s*\(|\s*$)/, - punctuation: /[(),.]/, - }, - }, - { - pattern: /(^[\t ]*)\+.+/m, - lookbehind: !0, - inside: { - name: { pattern: /^\+\w+/, alias: "function" }, - rest: t.languages.javascript, - }, - }, - ], - script: { - pattern: /(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m, - lookbehind: !0, - inside: t.languages.javascript, - }, - "plain-text": { - pattern: - /(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m, - lookbehind: !0, - }, - tag: { - pattern: - /(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m, - lookbehind: !0, - inside: { - attributes: [ - { pattern: /&[^(]+\([^)]+\)/, inside: t.languages.javascript }, - { - pattern: /\([^)]+\)/, - inside: { - "attr-value": { - pattern: /(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/, - lookbehind: !0, - inside: t.languages.javascript, - }, - "attr-name": /[\w-]+(?=\s*!?=|\s*[,)])/, - punctuation: /[!=(),]+/, - }, - }, - ], - punctuation: /:/, - "attr-id": /#[\w\-]+/, - "attr-class": /\.[\w\-]+/, - }, - }, - code: [ - { - pattern: /(^[\t ]*(?:-|!?=)).+/m, - lookbehind: !0, - inside: t.languages.javascript, - }, - ], - punctuation: /[.\-!=|]+/, - }; - for ( - var n = - /(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/ - .source, - r = [ - { filter: "atpl", language: "twig" }, - { filter: "coffee", language: "coffeescript" }, - "ejs", - "handlebars", - "less", - "livescript", - "markdown", - { filter: "sass", language: "scss" }, - "stylus", - ], - i = {}, - a = 0, - o = r.length; - a < o; - a++ - ) { - var s = r[a]; - (s = typeof s == "string" ? { filter: s, language: s } : s), - t.languages[s.language] && - (i["filter-" + s.filter] = { - pattern: RegExp( - n.replace("", function () { - return s.filter; - }), - "m" - ), - lookbehind: !0, - inside: { - "filter-name": { pattern: /^:[\w-]+/, alias: "variable" }, - text: { - pattern: /\S[\s\S]*/, - alias: [s.language, "language-" + s.language], - inside: t.languages[s.language], - }, - }, - }); - } - t.languages.insertBefore("pug", "filter", i); - })(e); -} -I8.displayName = "puppet"; -I8.aliases = []; -function I8(e) { - (function (t) { - t.languages.puppet = { - heredoc: [ - { - pattern: - /(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/, - lookbehind: !0, - alias: "string", - inside: { punctuation: /(?=\S).*\S(?= *$)/ }, - }, - { - pattern: - /(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/, - lookbehind: !0, - greedy: !0, - alias: "string", - inside: { punctuation: /(?=\S).*\S(?= *$)/ }, - }, - { - pattern: /@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/, - alias: "string", - inside: { punctuation: { pattern: /(\().+?(?=\))/, lookbehind: !0 } }, - }, - ], - "multiline-comment": { - pattern: /(^|[^\\])\/\*[\s\S]*?\*\//, - lookbehind: !0, - greedy: !0, - alias: "comment", - }, - regex: { - pattern: - /((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/, - lookbehind: !0, - greedy: !0, - inside: { - "extended-regex": { - pattern: /^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/, - inside: { comment: /#.*/ }, - }, - }, - }, - comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0, greedy: !0 }, - string: { - pattern: - /(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/, - greedy: !0, - inside: { "double-quoted": { pattern: /^"[\s\S]*"$/, inside: {} } }, - }, - variable: { - pattern: /\$(?:::)?\w+(?:::\w+)*/, - inside: { punctuation: /::/ }, - }, - "attr-name": /(?:\b\w+|\*)(?=\s*=>)/, - function: [ - { pattern: /(\.)(?!\d)\w+/, lookbehind: !0 }, - /\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/, - ], - number: /\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i, - boolean: /\b(?:false|true)\b/, - keyword: - /\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/, - datatype: { - pattern: - /\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/, - alias: "symbol", - }, - operator: - /=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/, - punctuation: /[\[\]{}().,;]|:+/, - }; - var n = [ - { - pattern: - /(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/, - lookbehind: !0, - inside: { - "short-variable": { - pattern: /(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/, - lookbehind: !0, - alias: "variable", - inside: { punctuation: /::/ }, - }, - delimiter: { pattern: /^\$/, alias: "variable" }, - rest: t.languages.puppet, - }, - }, - { - pattern: /(^|[^\\])\$(?:::)?\w+(?:::\w+)*/, - lookbehind: !0, - alias: "variable", - inside: { punctuation: /::/ }, - }, - ]; - (t.languages.puppet.heredoc[0].inside.interpolation = n), - (t.languages.puppet.string.inside["double-quoted"].inside.interpolation = - n); - })(e); -} -R8.displayName = "pure"; -R8.aliases = []; -function R8(e) { - (function (t) { - t.languages.pure = { - comment: [ - { pattern: /(^|[^\\])\/\*[\s\S]*?\*\//, lookbehind: !0 }, - { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0 }, - /#!.+/, - ], - "inline-lang": { - pattern: /%<[\s\S]+?%>/, - greedy: !0, - inside: { - lang: { - pattern: /(^%< *)-\*-.+?-\*-/, - lookbehind: !0, - alias: "comment", - }, - delimiter: { pattern: /^%<.*|%>$/, alias: "punctuation" }, - }, - }, - string: { pattern: /"(?:\\.|[^"\\\r\n])*"/, greedy: !0 }, - number: { - pattern: - /((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i, - lookbehind: !0, - }, - keyword: - /\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/, - function: - /\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/, - special: { pattern: /\b__[a-z]+__\b/i, alias: "builtin" }, - operator: - /(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/, - punctuation: /[(){}\[\];,|]/, - }; - var n = ["c", { lang: "c++", alias: "cpp" }, "fortran"], - r = /%< *-\*- *\d* *-\*-[\s\S]+?%>/.source; - n.forEach(function (i) { - var a = i; - if ( - (typeof i != "string" && ((a = i.alias), (i = i.lang)), t.languages[a]) - ) { - var o = {}; - (o["inline-lang-" + a] = { - pattern: RegExp( - r.replace("", i.replace(/([.+*?\/\\(){}\[\]])/g, "\\$1")), - "i" - ), - inside: t.util.clone(t.languages.pure["inline-lang"].inside), - }), - (o["inline-lang-" + a].inside.rest = t.util.clone(t.languages[a])), - t.languages.insertBefore("pure", "inline-lang", o); - } - }), - t.languages.c && - (t.languages.pure["inline-lang"].inside.rest = t.util.clone( - t.languages.c - )); - })(e); -} -N8.displayName = "purebasic"; -N8.aliases = ["pbfasm"]; -function N8(e) { - e.register(Mt), - (e.languages.purebasic = e.languages.extend("clike", { - comment: /;.*/, - keyword: - /\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i, - function: /\b\w+(?:\.\w+)?\s*(?=\()/, - number: /(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i, - operator: - /(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/, - })), - e.languages.insertBefore("purebasic", "keyword", { - tag: /#\w+\$?/, - asm: { - pattern: /(^[\t ]*)!.*/m, - lookbehind: !0, - alias: "tag", - inside: { - comment: /;.*/, - string: { pattern: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, - "label-reference-anonymous": { - pattern: /(!\s*j[a-z]+\s+)@[fb]/i, - lookbehind: !0, - alias: "fasm-label", - }, - "label-reference-addressed": { - pattern: /(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i, - lookbehind: !0, - alias: "fasm-label", - }, - keyword: [ - /\b(?:extern|global)\b[^;\r\n]*/i, - /\b(?:CPU|DEFAULT|FLOAT)\b.*/, - ], - function: { - pattern: /^([\t ]*!\s*)[\da-z]+(?=\s|$)/im, - lookbehind: !0, - }, - "function-inline": { - pattern: /(:\s*)[\da-z]+(?=\s)/i, - lookbehind: !0, - alias: "function", - }, - label: { - pattern: /^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m, - lookbehind: !0, - alias: "fasm-label", - }, - register: - /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i, - number: - /(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i, - operator: /[\[\]*+\-/%<>=&|$!,.:]/, - }, - }, - }), - delete e.languages.purebasic["class-name"], - delete e.languages.purebasic.boolean, - (e.languages.pbfasm = e.languages.purebasic); -} -O8.displayName = "purescript"; -O8.aliases = ["purs"]; -function O8(e) { - e.register(Bp), - (e.languages.purescript = e.languages.extend("haskell", { - keyword: - /\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/, - "import-statement": { - pattern: - /(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m, - lookbehind: !0, - inside: { keyword: /\b(?:as|hiding|import)\b/, punctuation: /\./ }, - }, - builtin: - /\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/, - operator: [ - e.languages.haskell.operator[0], - e.languages.haskell.operator[2], - /[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/, - ], - })), - (e.languages.purs = e.languages.purescript); -} -D8.displayName = "qsharp"; -D8.aliases = ["qs"]; -function D8(e) { - e.register(Mt), - (function (t) { - function n(g, E) { - return g.replace(/<<(\d+)>>/g, function (b, T) { - return "(?:" + E[+T] + ")"; - }); - } - function r(g, E, b) { - return RegExp(n(g, E), b || ""); - } - function i(g, E) { - for (var b = 0; b < E; b++) - g = g.replace(/<>/g, function () { - return "(?:" + g + ")"; - }); - return g.replace(/<>/g, "[^\\s\\S]"); - } - var a = { - type: "Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero", - other: - "Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within", - }; - function o(g) { - return "\\b(?:" + g.trim().replace(/ /g, "|") + ")\\b"; - } - var s = RegExp(o(a.type + " " + a.other)), - u = /\b[A-Za-z_]\w*\b/.source, - c = n(/<<0>>(?:\s*\.\s*<<0>>)*/.source, [u]), - p = { keyword: s, punctuation: /[<>()?,.:[\]]/ }, - f = /"(?:\\.|[^\\"])*"/.source; - (t.languages.qsharp = t.languages.extend("clike", { - comment: /\/\/.*/, - string: [ - { - pattern: r(/(^|[^$\\])<<0>>/.source, [f]), - lookbehind: !0, - greedy: !0, - }, - ], - "class-name": [ - { - pattern: r(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source, [c]), - lookbehind: !0, - inside: p, - }, - { - pattern: r(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source, [c]), - lookbehind: !0, - inside: p, - }, - ], - keyword: s, - number: - /(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i, - operator: - /\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/, - punctuation: /::|[{}[\];(),.:]/, - })), - t.languages.insertBefore("qsharp", "number", { - range: { pattern: /\.\./, alias: "operator" }, - }); - var m = i(n(/\{(?:[^"{}]|<<0>>|<>)*\}/.source, [f]), 2); - t.languages.insertBefore("qsharp", "string", { - "interpolation-string": { - pattern: r(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source, [m]), - greedy: !0, - inside: { - interpolation: { - pattern: r(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source, [m]), - lookbehind: !0, - inside: { - punctuation: /^\{|\}$/, - expression: { - pattern: /[\s\S]+/, - alias: "language-qsharp", - inside: t.languages.qsharp, - }, - }, - }, - string: /[\s\S]+/, - }, - }, - }); - })(e), - (e.languages.qs = e.languages.qsharp); -} -L8.displayName = "q"; -L8.aliases = []; -function L8(e) { - e.languages.q = { - string: /"(?:\\.|[^"\\\r\n])*"/, - comment: [ - { pattern: /([\t )\]}])\/.*/, lookbehind: !0, greedy: !0 }, - { - pattern: - /(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/, - lookbehind: !0, - greedy: !0, - }, - { pattern: /^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m, greedy: !0 }, - { pattern: /^#!.+/m, greedy: !0 }, - ], - symbol: /`(?::\S+|[\w.]*)/, - datetime: { - pattern: - /0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/, - alias: "number", - }, - number: - /\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/, - keyword: - /\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/, - adverb: { pattern: /['\/\\]:?|\beach\b/, alias: "function" }, - verb: { - pattern: /(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/, - alias: "operator", - }, - punctuation: /[(){}\[\];.]/, - }; -} -M8.displayName = "qml"; -M8.aliases = []; -function M8(e) { - e.register(xr), - (function (t) { - for ( - var n = /"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source, - r = /\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source, - i = - /(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source - .replace(//g, function () { - return n; - }) - .replace(//g, function () { - return r; - }), - a = 0; - a < 2; - a++ - ) - i = i.replace(//g, function () { - return i; - }); - (i = i.replace(//g, "[^\\s\\S]")), - (t.languages.qml = { - comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\//, greedy: !0 }, - "javascript-function": { - pattern: RegExp( - /((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace( - //g, - function () { - return i; - } - ), - "m" - ), - lookbehind: !0, - greedy: !0, - alias: "language-javascript", - inside: t.languages.javascript, - }, - "class-name": { - pattern: /((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m, - lookbehind: !0, - }, - property: [ - { - pattern: /((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m, - lookbehind: !0, - }, - { - pattern: - /((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m, - lookbehind: !0, - inside: { keyword: /^property/, property: /\w+(?:\.\w+)*/ }, - }, - ], - "javascript-expression": { - pattern: RegExp( - /(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace( - //g, - function () { - return i; - } - ), - "m" - ), - lookbehind: !0, - greedy: !0, - alias: "language-javascript", - inside: t.languages.javascript, - }, - string: { pattern: /"(?:\\.|[^\\"\r\n])*"/, greedy: !0 }, - keyword: /\b(?:as|import|on)\b/, - punctuation: /[{}[\]:;,]/, - }); - })(e); -} -F8.displayName = "qore"; -F8.aliases = []; -function F8(e) { - e.register(Mt), - (e.languages.qore = e.languages.extend("clike", { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/, - lookbehind: !0, - }, - string: { pattern: /("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/, greedy: !0 }, - keyword: - /\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/, - boolean: /\b(?:false|true)\b/i, - function: /\$?\b(?!\d)\w+(?=\()/, - number: - /\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i, - operator: { - pattern: - /(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/, - lookbehind: !0, - }, - variable: /\$(?!\d)\w+\b/, - })); -} -P8.displayName = "racket"; -P8.aliases = ["rkt"]; -function P8(e) { - e.register(Up), - (e.languages.racket = e.languages.extend("scheme", { - "lambda-parameter": { - pattern: /([(\[]lambda\s+[(\[])[^()\[\]'\s]+/, - lookbehind: !0, - }, - })), - e.languages.insertBefore("racket", "string", { - lang: { pattern: /^#lang.+/m, greedy: !0, alias: "keyword" }, - }), - (e.languages.rkt = e.languages.racket); -} -B8.displayName = "cshtml"; -B8.aliases = ["razor"]; -function B8(e) { - e.register(Cu), - e.register(fr), - (function (t) { - var n = /\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source, - r = - /@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/ - .source + - "|" + - /'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/ - .source; - function i(y, w) { - for (var A = 0; A < w; A++) - y = y.replace(//g, function () { - return "(?:" + y + ")"; - }); - return y - .replace(//g, "[^\\s\\S]") - .replace(//g, "(?:" + r + ")") - .replace(//g, "(?:" + n + ")"); - } - var a = i(/\((?:[^()'"@/]|||)*\)/.source, 2), - o = i(/\[(?:[^\[\]'"@/]|||)*\]/.source, 1), - s = i(/\{(?:[^{}'"@/]|||)*\}/.source, 2), - u = i(/<(?:[^<>'"@/]||)*>/.source, 1), - c = - /@/.source + - /(?:await\b\s*)?/.source + - "(?:" + - /(?!await\b)\w+\b/.source + - "|" + - a + - ")(?:" + - /[?!]?\.\w+\b/.source + - "|(?:" + - u + - ")?" + - a + - "|" + - o + - ")*" + - /(?![?!\.(\[]|<(?!\/))/.source, - p = /@(?![\w()])/.source + "|" + c, - f = - "(?:" + - /"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source + - `|["'][^"'@]*(?:(?:` + - p + - `)[^"'@]*)+["'])`, - m = - /(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*|(?=[\s/>])))+)?/.source.replace( - //, - f - ), - g = /(?!\d)[^\s>\/=$<%]+/.source + m + /\s*\/?>/.source, - E = - /\B@?/.source + - "(?:" + - /<([a-zA-Z][\w:]*)/.source + - m + - /\s*>/.source + - "(?:" + - (/[^<]/.source + - "|" + - /<\/?(?!\1\b)/.source + - g + - "|" + - i( - /<\1/.source + - m + - /\s*>/.source + - "(?:" + - (/[^<]/.source + "|" + /<\/?(?!\1\b)/.source + g + "|") + - ")*" + - /<\/\1\s*>/.source, - 2 - )) + - ")*" + - /<\/\1\s*>/.source + - "|" + - /*\.{3}(?:[^{}]|)*\})/.source; - function o(c, p) { - return ( - (c = c - .replace(//g, function () { - return r; - }) - .replace(//g, function () { - return i; - }) - .replace(//g, function () { - return a; - })), - RegExp(c, p) - ); - } - (a = o(a).source), - (t.languages.jsx = t.languages.extend("markup", n)), - (t.languages.jsx.tag.pattern = o( - /<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/ - .source - )), - (t.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/), - (t.languages.jsx.tag.inside["attr-value"].pattern = - /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/), - (t.languages.jsx.tag.inside.tag.inside["class-name"] = - /^[A-Z]\w*(?:\.[A-Z]\w*)*$/), - (t.languages.jsx.tag.inside.comment = n.comment), - t.languages.insertBefore( - "inside", - "attr-name", - { - spread: { pattern: o(//.source), inside: t.languages.jsx }, - }, - t.languages.jsx.tag - ), - t.languages.insertBefore( - "inside", - "special-attr", - { - script: { - pattern: o(/=/.source), - alias: "language-javascript", - inside: { - "script-punctuation": { - pattern: /^=(?=\{)/, - alias: "punctuation", - }, - rest: t.languages.jsx, - }, - }, - }, - t.languages.jsx.tag - ); - var s = function (c) { - return c - ? typeof c == "string" - ? c - : typeof c.content == "string" - ? c.content - : c.content.map(s).join("") - : ""; - }, - u = function (c) { - for (var p = [], f = 0; f < c.length; f++) { - var m = c[f], - g = !1; - if ( - (typeof m != "string" && - (m.type === "tag" && m.content[0] && m.content[0].type === "tag" - ? m.content[0].content[0].content === " 0 && - p[p.length - 1].tagName === s(m.content[0].content[1]) && - p.pop() - : m.content[m.content.length - 1].content === "/>" || - p.push({ - tagName: s(m.content[0].content[1]), - openedBraces: 0, - }) - : p.length > 0 && - m.type === "punctuation" && - m.content === "{" - ? p[p.length - 1].openedBraces++ - : p.length > 0 && - p[p.length - 1].openedBraces > 0 && - m.type === "punctuation" && - m.content === "}" - ? p[p.length - 1].openedBraces-- - : (g = !0)), - (g || typeof m == "string") && - p.length > 0 && - p[p.length - 1].openedBraces === 0) - ) { - var E = s(m); - f < c.length - 1 && - (typeof c[f + 1] == "string" || - c[f + 1].type === "plain-text") && - ((E += s(c[f + 1])), c.splice(f + 1, 1)), - f > 0 && - (typeof c[f - 1] == "string" || - c[f - 1].type === "plain-text") && - ((E = s(c[f - 1]) + E), c.splice(f - 1, 1), f--), - (c[f] = new t.Token("plain-text", E, null, E)); - } - m.content && typeof m.content != "string" && u(m.content); - } - }; - t.hooks.add("after-tokenize", function (c) { - (c.language !== "jsx" && c.language !== "tsx") || u(c.tokens); - }); - })(e); -} -U8.displayName = "tsx"; -U8.aliases = []; -function U8(e) { - e.register(em), - e.register(fc), - (function (t) { - var n = t.util.clone(t.languages.typescript); - (t.languages.tsx = t.languages.extend("jsx", n)), - delete t.languages.tsx.parameter, - delete t.languages.tsx["literal-property"]; - var r = t.languages.tsx.tag; - (r.pattern = RegExp( - /(^|[^\w$]|(?=<\/))/.source + "(?:" + r.pattern.source + ")", - r.pattern.flags - )), - (r.lookbehind = !0); - })(e); -} -$8.displayName = "reason"; -$8.aliases = []; -function $8(e) { - e.register(Mt), - (e.languages.reason = e.languages.extend("clike", { - string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/, greedy: !0 }, - "class-name": /\b[A-Z]\w*/, - keyword: - /\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/, - operator: - /\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/, - })), - e.languages.insertBefore("reason", "class-name", { - char: { - pattern: - /'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/, - greedy: !0, - }, - constructor: /\b[A-Z]\w*\b(?!\s*\.)/, - label: { pattern: /\b[a-z]\w*(?=::)/, alias: "symbol" }, - }), - delete e.languages.reason.function; -} -z8.displayName = "rego"; -z8.aliases = []; -function z8(e) { - e.languages.rego = { - comment: /#.*/, - property: { - pattern: - /(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i, - lookbehind: !0, - greedy: !0, - }, - string: { - pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/, - lookbehind: !0, - greedy: !0, - }, - keyword: - /\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/, - boolean: /\b(?:false|true)\b/, - function: { - pattern: /\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i, - inside: { namespace: /\b\w+\b(?=\s*\.)/, punctuation: /\./ }, - }, - number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i, - operator: /[-+*/%|&]|[<>:=]=?|!=|\b_\b/, - punctuation: /[,;.\[\]{}()]/, - }; -} -H8.displayName = "renpy"; -H8.aliases = ["rpy"]; -function H8(e) { - (e.languages.renpy = { - comment: { pattern: /(^|[^\\])#.+/, lookbehind: !0 }, - string: { - pattern: - /("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m, - greedy: !0, - }, - function: /\b[a-z_]\w*(?=\()/i, - property: - /\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/, - tag: /\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/, - keyword: - /\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/, - boolean: /\b(?:[Ff]alse|[Tt]rue)\b/, - number: - /(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i, - operator: - /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/, - punctuation: /[{}[\];(),.:]/, - }), - (e.languages.rpy = e.languages.renpy); -} -j8.displayName = "rescript"; -j8.aliases = ["res"]; -function j8(e) { - (e.languages.rescript = { - comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 }, - char: { pattern: /'(?:[^\r\n\\]|\\(?:.|\w+))'/, greedy: !0 }, - string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/, greedy: !0 }, - "class-name": /\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/, - function: { pattern: /[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/, lookbehind: !0 }, - number: - /(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i, - boolean: /\b(?:false|true)\b/, - "attr-value": /[A-Za-z]\w*(?==)/, - constant: { pattern: /(\btype\s+)[a-z]\w*/, lookbehind: !0 }, - tag: { - pattern: /(<)[a-z]\w*|(?:<\/)[a-z]\w*/, - lookbehind: !0, - inside: { operator: /<|>|\// }, - }, - keyword: - /\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/, - operator: - /\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/, - punctuation: /[(){}[\],;.]/, - }), - e.languages.insertBefore("rescript", "string", { - "template-string": { - pattern: - /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/, - greedy: !0, - inside: { - "template-punctuation": { pattern: /^`|`$/, alias: "string" }, - interpolation: { - pattern: - /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/, - lookbehind: !0, - inside: { - "interpolation-punctuation": { - pattern: /^\$\{|\}$/, - alias: "tag", - }, - rest: e.languages.rescript, - }, - }, - string: /[\s\S]+/, - }, - }, - }), - (e.languages.res = e.languages.rescript); -} -G8.displayName = "rest"; -G8.aliases = []; -function G8(e) { - e.languages.rest = { - table: [ - { - pattern: - /(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m, - lookbehind: !0, - inside: { punctuation: /\||(?:\+[=-]+)+\+/ }, - }, - { - pattern: - /(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m, - lookbehind: !0, - inside: { punctuation: /[=-]+/ }, - }, - ], - "substitution-def": { - pattern: /(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m, - lookbehind: !0, - inside: { - substitution: { - pattern: /^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/, - alias: "attr-value", - inside: { punctuation: /^\||\|$/ }, - }, - directive: { - pattern: /( )(?! )[^:]+::/, - lookbehind: !0, - alias: "function", - inside: { punctuation: /::$/ }, - }, - }, - }, - "link-target": [ - { - pattern: /(^[\t ]*\.\. )\[[^\]]+\]/m, - lookbehind: !0, - alias: "string", - inside: { punctuation: /^\[|\]$/ }, - }, - { - pattern: /(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m, - lookbehind: !0, - alias: "string", - inside: { punctuation: /^_|:$/ }, - }, - ], - directive: { - pattern: /(^[\t ]*\.\. )[^:]+::/m, - lookbehind: !0, - alias: "function", - inside: { punctuation: /::$/ }, - }, - comment: { - pattern: - /(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m, - lookbehind: !0, - }, - title: [ - { - pattern: - /^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m, - inside: { - punctuation: - /^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/, - important: /.+/, - }, - }, - { - pattern: - /(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/, - lookbehind: !0, - inside: { - punctuation: /[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/, - important: /.+/, - }, - }, - ], - hr: { - pattern: - /((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/, - lookbehind: !0, - alias: "punctuation", - }, - field: { - pattern: /(^[\t ]*):[^:\r\n]+:(?= )/m, - lookbehind: !0, - alias: "attr-name", - }, - "command-line-option": { - pattern: - /(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im, - lookbehind: !0, - alias: "symbol", - }, - "literal-block": { - pattern: /::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/, - inside: { - "literal-block-punctuation": { pattern: /^::/, alias: "punctuation" }, - }, - }, - "quoted-literal-block": { - pattern: - /::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/, - inside: { - "literal-block-punctuation": { - pattern: /^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m, - alias: "punctuation", - }, - }, - }, - "list-bullet": { - pattern: - /(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im, - lookbehind: !0, - alias: "punctuation", - }, - "doctest-block": { - pattern: /(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m, - lookbehind: !0, - inside: { punctuation: /^>>>/ }, - }, - inline: [ - { - pattern: - /(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m, - lookbehind: !0, - inside: { - bold: { pattern: /(^\*\*).+(?=\*\*$)/, lookbehind: !0 }, - italic: { pattern: /(^\*).+(?=\*$)/, lookbehind: !0 }, - "inline-literal": { - pattern: /(^``).+(?=``$)/, - lookbehind: !0, - alias: "symbol", - }, - role: { - pattern: /^:[^:]+:|:[^:]+:$/, - alias: "function", - inside: { punctuation: /^:|:$/ }, - }, - "interpreted-text": { - pattern: /(^`).+(?=`$)/, - lookbehind: !0, - alias: "attr-value", - }, - substitution: { - pattern: /(^\|).+(?=\|$)/, - lookbehind: !0, - alias: "attr-value", - }, - punctuation: /\*\*?|``?|\|/, - }, - }, - ], - link: [ - { - pattern: /\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/, - alias: "string", - inside: { punctuation: /^\[|\]_$/ }, - }, - { - pattern: - /(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i, - alias: "string", - inside: { punctuation: /^_?`|`$|`?_?_$/ }, - }, - ], - punctuation: { - pattern: /(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m, - lookbehind: !0, - }, - }; -} -V8.displayName = "rip"; -V8.aliases = []; -function V8(e) { - e.languages.rip = { - comment: { pattern: /#.*/, greedy: !0 }, - char: { pattern: /\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/, greedy: !0 }, - string: { pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, - regex: { - pattern: - /(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/, - lookbehind: !0, - greedy: !0, - }, - keyword: - /(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/, - builtin: /@|\bSystem\b/, - boolean: /\b(?:false|true)\b/, - date: /\b\d{4}-\d{2}-\d{2}\b/, - time: /\b\d{2}:\d{2}:\d{2}\b/, - datetime: /\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/, - symbol: /:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/, - number: /[+-]?\b(?:\d+\.\d+|\d+)\b/, - punctuation: /(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/, - reference: /[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/, - }; -} -W8.displayName = "roboconf"; -W8.aliases = []; -function W8(e) { - e.languages.roboconf = { - comment: /#.*/, - keyword: { - pattern: - /(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/, - lookbehind: !0, - }, - component: { pattern: /[\w-]+(?=[ \t]*\{)/, alias: "variable" }, - property: /[\w.-]+(?=[ \t]*:)/, - value: { - pattern: /(=[ \t]*(?![ \t]))[^,;]+/, - lookbehind: !0, - alias: "attr-value", - }, - optional: { pattern: /\(optional\)/, alias: "builtin" }, - wildcard: { pattern: /(\.)\*/, lookbehind: !0, alias: "operator" }, - punctuation: /[{},.;:=]/, - }; -} -q8.displayName = "robotframework"; -q8.aliases = ["robot"]; -function q8(e) { - (function (t) { - var n = { pattern: /(^[ \t]*| {2}|\t)#.*/m, lookbehind: !0, greedy: !0 }, - r = { - pattern: - /((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/, - lookbehind: !0, - inside: { punctuation: /^[$@&%]\{|\}$/ }, - }; - function i(u, c) { - var p = {}; - p["section-header"] = { pattern: /^ ?\*{3}.+?\*{3}/, alias: "keyword" }; - for (var f in c) p[f] = c[f]; - return ( - (p.tag = { - pattern: /([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/, - lookbehind: !0, - inside: { punctuation: /\[|\]/ }, - }), - (p.variable = r), - (p.comment = n), - { - pattern: RegExp( - /^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace( - //g, - function () { - return u; - } - ), - "im" - ), - alias: "section", - inside: p, - } - ); - } - var a = { - pattern: - /(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/, - lookbehind: !0, - alias: "string", - }, - o = { - pattern: /([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/, - lookbehind: !0, - alias: "function", - inside: { variable: r }, - }, - s = { - pattern: /([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/, - lookbehind: !0, - inside: { variable: r }, - }; - (t.languages.robotframework = { - settings: i("Settings", { - documentation: { - pattern: - /([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/, - lookbehind: !0, - alias: "string", - }, - property: { - pattern: /([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/, - lookbehind: !0, - }, - }), - variables: i("Variables"), - "test-cases": i("Test Cases", { - "test-name": o, - documentation: a, - property: s, - }), - keywords: i("Keywords", { - "keyword-name": o, - documentation: a, - property: s, - }), - tasks: i("Tasks", { "task-name": o, documentation: a, property: s }), - comment: n, - }), - (t.languages.robot = t.languages.robotframework); - })(e); -} -K8.displayName = "sas"; -K8.aliases = []; -function K8(e) { - (function (t) { - var n = /(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source, - r = /\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i, - i = { pattern: RegExp(n + "[bx]"), alias: "number" }, - a = { pattern: /&[a-z_]\w*/i }, - o = { - pattern: - /((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i, - lookbehind: !0, - alias: "keyword", - }, - s = { - pattern: /(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i, - alias: "keyword", - lookbehind: !0, - }, - u = [ - /\/\*[\s\S]*?\*\//, - { pattern: /(^[ \t]*|;\s*)\*[^;]*;/m, lookbehind: !0 }, - ], - c = { pattern: RegExp(n), greedy: !0 }, - p = /[$%@.(){}\[\];,\\]/, - f = { pattern: /%?\b\w+(?=\()/, alias: "keyword" }, - m = { - function: f, - "arg-value": { pattern: /(=\s*)[A-Z\.]+/i, lookbehind: !0 }, - operator: /=/, - "macro-variable": a, - arg: { pattern: /[A-Z]+/i, alias: "keyword" }, - number: r, - "numeric-constant": i, - punctuation: p, - string: c, - }, - g = { - pattern: /\b(?:format|put)\b=?[\w'$.]+/i, - inside: { - keyword: /^(?:format|put)(?==)/i, - equals: /=/, - format: { pattern: /(?:\w|\$\d)+\.\d?/, alias: "number" }, - }, - }, - E = { - pattern: /\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i, - inside: { - keyword: /^(?:format|put)/i, - format: { pattern: /[\w$]+\.\d?/, alias: "number" }, - }, - }, - b = { - pattern: - /((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i, - lookbehind: !0, - alias: "keyword", - }, - T = { - pattern: - /(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i, - lookbehind: !0, - alias: "keyword", - }, - v = - /aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/ - .source, - y = { - pattern: RegExp( - /(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace( - //g, - function () { - return v; - } - ), - "i" - ), - lookbehind: !0, - inside: { - keyword: RegExp( - /(?:)\.[a-z]+\b/.source.replace(//g, function () { - return v; - }), - "i" - ), - action: { pattern: /(?:action)/i, alias: "keyword" }, - comment: u, - function: f, - "arg-value": m["arg-value"], - operator: m.operator, - argument: m.arg, - number: r, - "numeric-constant": i, - punctuation: p, - string: c, - }, - }, - w = { - pattern: - /((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i, - lookbehind: !0, - }; - t.languages.sas = { - datalines: { - pattern: /^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im, - lookbehind: !0, - alias: "string", - inside: { - keyword: { pattern: /^(?:cards|(?:data)?lines)/i }, - punctuation: /;/, - }, - }, - "proc-sql": { - pattern: - /(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im, - lookbehind: !0, - inside: { - sql: { - pattern: RegExp( - /^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace( - //g, - function () { - return n; - } - ), - "im" - ), - alias: "language-sql", - inside: t.languages.sql, - }, - "global-statements": b, - "sql-statements": { - pattern: - /(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i, - lookbehind: !0, - alias: "keyword", - }, - number: r, - "numeric-constant": i, - punctuation: p, - string: c, - }, - }, - "proc-groovy": { - pattern: - /(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im, - lookbehind: !0, - inside: { - comment: u, - groovy: { - pattern: RegExp( - /(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace( - //g, - function () { - return n; - } - ), - "im" - ), - lookbehind: !0, - alias: "language-groovy", - inside: t.languages.groovy, - }, - keyword: w, - "submit-statement": T, - "global-statements": b, - number: r, - "numeric-constant": i, - punctuation: p, - string: c, - }, - }, - "proc-lua": { - pattern: - /(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im, - lookbehind: !0, - inside: { - comment: u, - lua: { - pattern: RegExp( - /(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace( - //g, - function () { - return n; - } - ), - "im" - ), - lookbehind: !0, - alias: "language-lua", - inside: t.languages.lua, - }, - keyword: w, - "submit-statement": T, - "global-statements": b, - number: r, - "numeric-constant": i, - punctuation: p, - string: c, - }, - }, - "proc-cas": { - pattern: - /(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im, - lookbehind: !0, - inside: { - comment: u, - "statement-var": { - pattern: /((?:^|\s)=?)saveresult\s[^;]+/im, - lookbehind: !0, - inside: { - statement: { - pattern: /^saveresult\s+\S+/i, - inside: { keyword: /^(?:saveresult)/i }, - }, - rest: m, - }, - }, - "cas-actions": y, - statement: { - pattern: - /((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im, - lookbehind: !0, - inside: m, - }, - step: s, - keyword: w, - function: f, - format: g, - altformat: E, - "global-statements": b, - number: r, - "numeric-constant": i, - punctuation: p, - string: c, - }, - }, - "proc-args": { - pattern: RegExp( - /(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace( - //g, - function () { - return n; - } - ), - "im" - ), - lookbehind: !0, - inside: m, - }, - "macro-keyword": o, - "macro-variable": a, - "macro-string-functions": { - pattern: - /((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i, - lookbehind: !0, - inside: { - function: { - pattern: /%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i, - alias: "keyword", - }, - "macro-keyword": o, - "macro-variable": a, - "escaped-char": { pattern: /%['"()<>=¬^~;,#]/ }, - punctuation: p, - }, - }, - "macro-declaration": { - pattern: /^%macro[^;]+(?=;)/im, - inside: { keyword: /%macro/i }, - }, - "macro-end": { - pattern: /^%mend[^;]+(?=;)/im, - inside: { keyword: /%mend/i }, - }, - macro: { pattern: /%_\w+(?=\()/, alias: "keyword" }, - input: { - pattern: /\binput\s[-\w\s/*.$&]+;/i, - inside: { - input: { alias: "keyword", pattern: /^input/i }, - comment: u, - number: r, - "numeric-constant": i, - }, - }, - "options-args": { - pattern: /(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im, - lookbehind: !0, - inside: m, - }, - "cas-actions": y, - comment: u, - function: f, - format: g, - altformat: E, - "numeric-constant": i, - datetime: { pattern: RegExp(n + "(?:dt?|t)"), alias: "number" }, - string: c, - step: s, - keyword: w, - "operator-keyword": { - pattern: /\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i, - alias: "operator", - }, - number: r, - operator: /\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/, - punctuation: p, - }; - })(e); -} -Y8.displayName = "shell-session"; -Y8.aliases = ["sh-session", "shellsession"]; -function Y8(e) { - e.register(Op), - (function (t) { - var n = [ - /"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source, - /'[^']*'/.source, - /\$'(?:[^'\\]|\\[\s\S])*'/.source, - /<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source, - ].join("|"); - (t.languages["shell-session"] = { - command: { - pattern: RegExp( - /^/.source + - "(?:" + - (/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/ - .source + - "|" + - /[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source) + - ")?" + - /[$#%](?=\s)/.source + - /(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace( - /<>/g, - function () { - return n; - } - ), - "m" - ), - greedy: !0, - inside: { - info: { - pattern: /^[^#$%]+/, - alias: "punctuation", - inside: { - user: /^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/, - punctuation: /:/, - path: /[\s\S]+/, - }, - }, - bash: { - pattern: /(^[$#%]\s*)\S[\s\S]*/, - lookbehind: !0, - alias: "language-bash", - inside: t.languages.bash, - }, - "shell-symbol": { pattern: /^[$#%]/, alias: "important" }, - }, - }, - output: /.(?:.*(?:[\r\n]|.$))*/, - }), - (t.languages["sh-session"] = t.languages.shellsession = - t.languages["shell-session"]); - })(e); -} -X8.displayName = "smali"; -X8.aliases = []; -function X8(e) { - e.languages.smali = { - comment: /#.*/, - string: { - pattern: /"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/, - greedy: !0, - }, - "class-name": { - pattern: - /(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/, - lookbehind: !0, - inside: { - "class-name": { - pattern: /(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/, - lookbehind: !0, - }, - namespace: { - pattern: /^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/, - lookbehind: !0, - inside: { punctuation: /\// }, - }, - builtin: /^L/, - }, - }, - builtin: [ - { pattern: /([();\[])[BCDFIJSVZ]+/, lookbehind: !0 }, - { pattern: /([\w$>]:)[BCDFIJSVZ]/, lookbehind: !0 }, - ], - keyword: [ - { pattern: /(\.end\s+)[\w-]+/, lookbehind: !0 }, - { pattern: /(^|[^\w.-])\.(?!\d)[\w-]+/, lookbehind: !0 }, - { - pattern: - /(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/, - lookbehind: !0, - }, - ], - function: { pattern: /(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/, lookbehind: !0 }, - field: { pattern: /[\w$]+(?=:)/, alias: "variable" }, - register: { - pattern: /(^|[^\w.-])[vp]\d(?![\w.-])/, - lookbehind: !0, - alias: "variable", - }, - boolean: { pattern: /(^|[^\w.-])(?:false|true)(?![\w.-])/, lookbehind: !0 }, - number: { - pattern: - /(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i, - lookbehind: !0, - }, - label: { pattern: /(:)\w+/, lookbehind: !0, alias: "property" }, - operator: /->|\.\.|[\[=]/, - punctuation: /[{}(),;:]/, - }; -} -Z8.displayName = "smalltalk"; -Z8.aliases = []; -function Z8(e) { - e.languages.smalltalk = { - comment: { pattern: /"(?:""|[^"])*"/, greedy: !0 }, - char: { pattern: /\$./, greedy: !0 }, - string: { pattern: /'(?:''|[^'])*'/, greedy: !0 }, - symbol: /#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i, - "block-arguments": { - pattern: /(\[\s*):[^\[|]*\|/, - lookbehind: !0, - inside: { variable: /:[\da-z]+/i, punctuation: /\|/ }, - }, - "temporary-variables": { - pattern: /\|[^|]+\|/, - inside: { variable: /[\da-z]+/i, punctuation: /\|/ }, - }, - keyword: /\b(?:new|nil|self|super)\b/, - boolean: /\b(?:false|true)\b/, - number: [ - /\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/, - /\b\d+(?:\.\d+)?(?:e-?\d+)?/, - ], - operator: /[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/, - punctuation: /[.;:?\[\](){}]/, - }; -} -Q8.displayName = "smarty"; -Q8.aliases = []; -function Q8(e) { - e.register(kr), - (function (t) { - (t.languages.smarty = { - comment: { pattern: /^\{\*[\s\S]*?\*\}/, greedy: !0 }, - "embedded-php": { - pattern: /^\{php\}[\s\S]*?\{\/php\}/, - greedy: !0, - inside: { - smarty: { pattern: /^\{php\}|\{\/php\}$/, inside: null }, - php: { - pattern: /[\s\S]+/, - alias: "language-php", - inside: t.languages.php, - }, - }, - }, - string: [ - { - pattern: /"(?:\\.|[^"\\\r\n])*"/, - greedy: !0, - inside: { - interpolation: { - pattern: /\{[^{}]*\}|`[^`]*`/, - inside: { - "interpolation-punctuation": { - pattern: /^[{`]|[`}]$/, - alias: "punctuation", - }, - expression: { pattern: /[\s\S]+/, inside: null }, - }, - }, - variable: /\$\w+/, - }, - }, - { pattern: /'(?:\\.|[^'\\\r\n])*'/, greedy: !0 }, - ], - keyword: { - pattern: /(^\{\/?)[a-z_]\w*\b(?!\()/i, - lookbehind: !0, - greedy: !0, - }, - delimiter: { pattern: /^\{\/?|\}$/, greedy: !0, alias: "punctuation" }, - number: /\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/, - variable: [ - /\$(?!\d)\w+/, - /#(?!\d)\w+#/, - { pattern: /(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/, lookbehind: !0 }, - { pattern: /(\[)(?!\d)\w+(?=\])/, lookbehind: !0 }, - ], - function: { - pattern: /(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i, - lookbehind: !0, - }, - "attr-name": /\b[a-z_]\w*(?=\s*=)/i, - boolean: /\b(?:false|no|off|on|true|yes)\b/, - punctuation: /[\[\](){}.,:`]|->/, - operator: [ - /[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/, - /\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/, - /\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/, - ], - }), - (t.languages.smarty["embedded-php"].inside.smarty.inside = - t.languages.smarty), - (t.languages.smarty.string[0].inside.interpolation.inside.expression.inside = - t.languages.smarty); - var n = /"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/, - r = RegExp( - /\{\*[\s\S]*?\*\}/.source + - "|" + - /\{php\}[\s\S]*?\{\/php\}/.source + - "|" + - /\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace( - //g, - function () { - return n.source; - } - ), - "g" - ); - t.hooks.add("before-tokenize", function (i) { - var a = "{literal}", - o = "{/literal}", - s = !1; - t.languages["markup-templating"].buildPlaceholders( - i, - "smarty", - r, - function (u) { - return u === o && (s = !1), s ? !1 : (u === a && (s = !0), !0); - } - ); - }), - t.hooks.add("after-tokenize", function (i) { - t.languages["markup-templating"].tokenizePlaceholders(i, "smarty"); - }); - })(e); -} -J8.displayName = "sml"; -J8.aliases = ["smlnj"]; -function J8(e) { - (function (t) { - var n = - /\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i; - (t.languages.sml = { - comment: - /\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/, - string: { pattern: /#?"(?:[^"\\]|\\.)*"/, greedy: !0 }, - "class-name": [ - { - pattern: RegExp( - /((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source - .replace(//g, function () { - return /\s*(?:[*,]|->)/.source; - }) - .replace(//g, function () { - return /(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/ - .source; - }) - .replace(//g, function () { - return /(?!)[a-z\d_][\w'.]*/.source; - }) - .replace(//g, function () { - return n.source; - }), - "i" - ), - lookbehind: !0, - greedy: !0, - inside: null, - }, - { - pattern: - /((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i, - lookbehind: !0, - }, - ], - function: { - pattern: /((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i, - lookbehind: !0, - }, - keyword: n, - variable: { pattern: /(^|[^\w'])'[\w']*/, lookbehind: !0 }, - number: /~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i, - word: { pattern: /\b0w(?:\d+|x[\da-f]+)\b/i, alias: "constant" }, - boolean: /\b(?:false|true)\b/i, - operator: /\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/, - punctuation: /[(){}\[\].:,;]/, - }), - (t.languages.sml["class-name"][0].inside = t.languages.sml), - (t.languages.smlnj = t.languages.sml); - })(e); -} -e_.displayName = "solidity"; -e_.aliases = ["sol"]; -function e_(e) { - e.register(Mt), - (e.languages.solidity = e.languages.extend("clike", { - "class-name": { - pattern: - /(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/, - lookbehind: !0, - }, - keyword: - /\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/, - operator: - /=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/, - })), - e.languages.insertBefore("solidity", "keyword", { - builtin: - /\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/, - }), - e.languages.insertBefore("solidity", "number", { - version: { - pattern: /([<>]=?|\^)\d+\.\d+\.\d+\b/, - lookbehind: !0, - alias: "number", - }, - }), - (e.languages.sol = e.languages.solidity); -} -t_.displayName = "solution-file"; -t_.aliases = ["sln"]; -function t_(e) { - (function (t) { - var n = { - pattern: /\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i, - alias: "constant", - inside: { punctuation: /[{}]/ }, - }; - (t.languages["solution-file"] = { - comment: { pattern: /#.*/, greedy: !0 }, - string: { - pattern: /"[^"\r\n]*"|'[^'\r\n]*'/, - greedy: !0, - inside: { guid: n }, - }, - object: { - pattern: - /^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m, - lookbehind: !0, - greedy: !0, - alias: "keyword", - }, - property: { - pattern: /^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m, - lookbehind: !0, - inside: { guid: n }, - }, - guid: n, - number: /\b\d+(?:\.\d+)*\b/, - boolean: /\b(?:FALSE|TRUE)\b/, - operator: /=/, - punctuation: /[(),]/, - }), - (t.languages.sln = t.languages["solution-file"]); - })(e); -} -n_.displayName = "soy"; -n_.aliases = []; -function n_(e) { - e.register(kr), - (function (t) { - var n = /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - r = /\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/; - (t.languages.soy = { - comment: [ - /\/\*[\s\S]*?\*\//, - { pattern: /(\s)\/\/.*/, lookbehind: !0, greedy: !0 }, - ], - "command-arg": { - pattern: - /(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/, - lookbehind: !0, - alias: "string", - inside: { punctuation: /\./ }, - }, - parameter: { - pattern: /(\{+\/?\s*@?param\??\s+)\.?[\w.]+/, - lookbehind: !0, - alias: "variable", - }, - keyword: [ - { - pattern: - /(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/, - lookbehind: !0, - }, - /\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/, - ], - delimiter: { pattern: /^\{+\/?|\/?\}+$/, alias: "punctuation" }, - property: /\w+(?==)/, - variable: { - pattern: /\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/, - inside: { - string: { pattern: n, greedy: !0 }, - number: r, - punctuation: /[\[\].?]/, - }, - }, - string: { pattern: n, greedy: !0 }, - function: [ - /\w+(?=\()/, - { pattern: /(\|[^\S\r\n]*)\w+/, lookbehind: !0 }, - ], - boolean: /\b(?:false|true)\b/, - number: r, - operator: /\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/, - punctuation: /[{}()\[\]|.,:]/, - }), - t.hooks.add("before-tokenize", function (i) { - var a = /\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g, - o = "{literal}", - s = "{/literal}", - u = !1; - t.languages["markup-templating"].buildPlaceholders( - i, - "soy", - a, - function (c) { - return c === s && (u = !1), u ? !1 : (c === o && (u = !0), !0); - } - ); - }), - t.hooks.add("after-tokenize", function (i) { - t.languages["markup-templating"].tokenizePlaceholders(i, "soy"); - }); - })(e); -} -tm.displayName = "turtle"; -tm.aliases = ["trig"]; -function tm(e) { - (e.languages.turtle = { - comment: { pattern: /#.*/, greedy: !0 }, - "multiline-string": { - pattern: - /"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/, - greedy: !0, - alias: "string", - inside: { comment: /#.*/ }, - }, - string: { - pattern: /"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/, - greedy: !0, - }, - url: { - pattern: - /<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/, - greedy: !0, - inside: { punctuation: /[<>]/ }, - }, - function: { - pattern: - /(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i, - inside: { - "local-name": { pattern: /([^:]*:)[\s\S]+/, lookbehind: !0 }, - prefix: { pattern: /[\s\S]+/, inside: { punctuation: /:/ } }, - }, - }, - number: /[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i, - punctuation: /[{}.,;()[\]]|\^\^/, - boolean: /\b(?:false|true)\b/, - keyword: [/(?:\ba|@prefix|@base)\b|=/, /\b(?:base|graph|prefix)\b/i], - tag: { pattern: /@[a-z]+(?:-[a-z\d]+)*/i, inside: { punctuation: /@/ } }, - }), - (e.languages.trig = e.languages.turtle); -} -r_.displayName = "sparql"; -r_.aliases = ["rq"]; -function r_(e) { - e.register(tm), - (e.languages.sparql = e.languages.extend("turtle", { - boolean: /\b(?:false|true)\b/i, - variable: { pattern: /[?$]\w+/, greedy: !0 }, - })), - e.languages.insertBefore("sparql", "punctuation", { - keyword: [ - /\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i, - /\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i, - /\b(?:BASE|GRAPH|PREFIX)\b/i, - ], - }), - (e.languages.rq = e.languages.sparql); -} -i_.displayName = "splunk-spl"; -i_.aliases = []; -function i_(e) { - e.languages["splunk-spl"] = { - comment: /`comment\("(?:\\.|[^\\"])*"\)`/, - string: { pattern: /"(?:\\.|[^\\"])*"/, greedy: !0 }, - keyword: - /\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i, - "operator-word": { - pattern: /\b(?:and|as|by|not|or|xor)\b/i, - alias: "operator", - }, - function: /\b\w+(?=\s*\()/, - property: /\b\w+(?=\s*=(?!=))/, - date: { - pattern: /\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/, - alias: "number", - }, - number: /\b\d+(?:\.\d+)?\b/, - boolean: /\b(?:f|false|t|true)\b/i, - operator: /[<>=]=?|[-+*/%|]/, - punctuation: /[()[\],]/, - }; -} -a_.displayName = "sqf"; -a_.aliases = []; -function a_(e) { - e.register(Mt), - (e.languages.sqf = e.languages.extend("clike", { - string: { pattern: /"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/, greedy: !0 }, - keyword: - /\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i, - boolean: /\b(?:false|true)\b/i, - function: - /\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i, - number: - /(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i, - operator: /##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i, - "magic-variable": { - pattern: - /\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i, - alias: "keyword", - }, - constant: /\bDIK(?:_[a-z\d]+)+\b/i, - })), - e.languages.insertBefore("sqf", "string", { - macro: { - pattern: /(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im, - lookbehind: !0, - greedy: !0, - alias: "property", - inside: { - directive: { pattern: /#[a-z]+\b/i, alias: "keyword" }, - comment: e.languages.sqf.comment, - }, - }, - }), - delete e.languages.sqf["class-name"]; -} -o_.displayName = "squirrel"; -o_.aliases = []; -function o_(e) { - e.register(Mt), - (e.languages.squirrel = e.languages.extend("clike", { - comment: [ - e.languages.clike.comment[0], - { pattern: /(^|[^\\:])(?:\/\/|#).*/, lookbehind: !0, greedy: !0 }, - ], - string: { - pattern: /(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/, - lookbehind: !0, - greedy: !0, - }, - "class-name": { - pattern: /(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/, - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - keyword: - /\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/, - number: /\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/, - operator: /\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/, - punctuation: /[(){}\[\],;.]/, - })), - e.languages.insertBefore("squirrel", "string", { - char: { - pattern: /(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/, - lookbehind: !0, - greedy: !0, - }, - }), - e.languages.insertBefore("squirrel", "operator", { - "attribute-punctuation": { pattern: /<\/|\/>/, alias: "important" }, - lambda: { pattern: /@(?=\()/, alias: "operator" }, - }); -} -s_.displayName = "stan"; -s_.aliases = []; -function s_(e) { - (function (t) { - var n = - /\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/; - (t.languages.stan = { - comment: /\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/, - string: { pattern: /"[\x20\x21\x23-\x5B\x5D-\x7E]*"/, greedy: !0 }, - directive: { - pattern: /^([ \t]*)#include\b.*/m, - lookbehind: !0, - alias: "property", - }, - "function-arg": { - pattern: RegExp( - "(" + n.source + /\s*\(\s*/.source + ")" + /[a-zA-Z]\w*/.source - ), - lookbehind: !0, - alias: "function", - }, - constraint: { - pattern: /(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/, - lookbehind: !0, - inside: { - expression: { - pattern: /(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/, - lookbehind: !0, - inside: null, - }, - property: /\b[a-z]\w*(?=\s*=)/i, - operator: /=/, - punctuation: /^<|>$|,/, - }, - }, - keyword: [ - { - pattern: - /\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/, - alias: "program-block", - }, - /\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/, - n, - ], - function: /\b[a-z]\w*(?=\s*\()/i, - number: - /(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i, - boolean: /\b(?:false|true)\b/, - operator: /<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/, - punctuation: /[()\[\]{},;]/, - }), - (t.languages.stan.constraint.inside.expression.inside = t.languages.stan); - })(e); -} -l_.displayName = "stata"; -l_.aliases = []; -function l_(e) { - e.register(xu), - e.register(J2), - e.register(Mp), - (e.languages.stata = { - comment: [ - { pattern: /(^[ \t]*)\*.*/m, lookbehind: !0, greedy: !0 }, - { - pattern: /(^|\s)\/\/.*|\/\*[\s\S]*?\*\//, - lookbehind: !0, - greedy: !0, - }, - ], - "string-literal": { - pattern: /"[^"\r\n]*"|[‘`']".*?"[’`']/, - greedy: !0, - inside: { - interpolation: { - pattern: /\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/, - inside: { - punctuation: /^\$\{|\}$/, - expression: { pattern: /[\s\S]+/, inside: null }, - }, - }, - string: /[\s\S]+/, - }, - }, - mata: { - pattern: /(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m, - lookbehind: !0, - greedy: !0, - alias: "language-mata", - inside: e.languages.mata, - }, - java: { - pattern: /(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m, - lookbehind: !0, - greedy: !0, - alias: "language-java", - inside: e.languages.java, - }, - python: { - pattern: /(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m, - lookbehind: !0, - greedy: !0, - alias: "language-python", - inside: e.languages.python, - }, - command: { - pattern: - /(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m, - lookbehind: !0, - greedy: !0, - alias: "keyword", - }, - variable: /\$\w+|[‘`']\w[^’`'\r\n]*[’`']/, - keyword: - /\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/, - boolean: /\b(?:off|on)\b/, - number: /\b\d+(?:\.\d+)?\b|\B\.\d+/, - function: /\b[a-z_]\w*(?=\()/i, - operator: /\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/, - punctuation: /[(){}[\],:]/, - }), - (e.languages.stata[ - "string-literal" - ].inside.interpolation.inside.expression.inside = e.languages.stata); -} -u_.displayName = "iecst"; -u_.aliases = []; -function u_(e) { - e.languages.iecst = { - comment: [ - { - pattern: - /(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/, - lookbehind: !0, - greedy: !0, - }, - { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }, - ], - string: { - pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - greedy: !0, - }, - keyword: [ - /\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i, - /\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/, - ], - "class-name": - /\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/, - address: { pattern: /%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/, alias: "symbol" }, - number: - /\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, - boolean: /\b(?:FALSE|NULL|TRUE)\b/, - operator: - /S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/, - function: /\b[a-z_]\w*(?=\s*\()/i, - punctuation: /[()[\].,;]/, - }; -} -c_.displayName = "supercollider"; -c_.aliases = ["sclang"]; -function c_(e) { - (e.languages.supercollider = { - comment: { - pattern: - /\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//, - greedy: !0, - }, - string: { - pattern: /(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/, - lookbehind: !0, - greedy: !0, - }, - char: { pattern: /\$(?:[^\\\r\n]|\\.)/, greedy: !0 }, - symbol: { - pattern: /(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/, - lookbehind: !0, - greedy: !0, - }, - keyword: /\b(?:_|arg|classvar|const|nil|var|while)\b/, - boolean: /\b(?:false|true)\b/, - label: { pattern: /\b[a-z_]\w*(?=\s*:)/, alias: "property" }, - number: - /\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/, - "class-name": /\b[A-Z]\w*\b/, - operator: - /\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/, - punctuation: /[{}()[\].:,;]|#[[{]/, - }), - (e.languages.sclang = e.languages.supercollider); -} -d_.displayName = "systemd"; -d_.aliases = []; -function d_(e) { - (function (t) { - var n = { pattern: /^[;#].*/m, greedy: !0 }, - r = /"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source; - t.languages.systemd = { - comment: n, - section: { - pattern: /^\[[^\n\r\[\]]*\](?=[ \t]*$)/m, - greedy: !0, - inside: { - punctuation: /^\[|\]$/, - "section-name": { pattern: /[\s\S]+/, alias: "selector" }, - }, - }, - key: { pattern: /^[^\s=]+(?=[ \t]*=)/m, greedy: !0, alias: "attr-name" }, - value: { - pattern: RegExp( - /(=[ \t]*(?!\s))/.source + - "(?:" + - r + - `|(?=[^"\r -]))(?:` + - (/[^\s\\]/.source + - '|[ ]+(?:(?![ "])|' + - r + - ")|" + - /\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source) + - ")*" - ), - lookbehind: !0, - greedy: !0, - alias: "attr-value", - inside: { - comment: n, - quoted: { - pattern: RegExp(/(^|\s)/.source + r), - lookbehind: !0, - greedy: !0, - }, - punctuation: /\\$/m, - boolean: { pattern: /^(?:false|no|off|on|true|yes)$/, greedy: !0 }, - }, - }, - punctuation: /=/, - }; - })(e); -} -$p.displayName = "t4-templating"; -$p.aliases = []; -function $p(e) { - (function (t) { - function n(i, a, o) { - return { - pattern: RegExp("<#" + i + "[\\s\\S]*?#>"), - alias: "block", - inside: { - delimiter: { - pattern: RegExp("^<#" + i + "|#>$"), - alias: "important", - }, - content: { pattern: /[\s\S]+/, inside: a, alias: o }, - }, - }; - } - function r(i) { - var a = t.languages[i], - o = "language-" + i; - return { - block: { - pattern: /<#[\s\S]+?#>/, - inside: { - directive: n("@", { - "attr-value": { - pattern: /=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/, - inside: { punctuation: /^=|^["']|["']$/ }, - }, - keyword: /\b\w+(?=\s)/, - "attr-name": /\b\w+/, - }), - expression: n("=", a, o), - "class-feature": n("\\+", a, o), - standard: n("", a, o), - }, - }, - }; - } - t.languages["t4-templating"] = Object.defineProperty({}, "createT4", { - value: r, - }); - })(e); -} -p_.displayName = "t4-cs"; -p_.aliases = ["t4"]; -function p_(e) { - e.register(Cu), - e.register($p), - (e.languages.t4 = e.languages["t4-cs"] = - e.languages["t4-templating"].createT4("csharp")); -} -f_.displayName = "t4-vb"; -f_.aliases = []; -function f_(e) { - e.register($p), - e.register(Pp), - (e.languages["t4-vb"] = e.languages["t4-templating"].createT4("vbnet")); -} -h_.displayName = "tap"; -h_.aliases = []; -function h_(e) { - e.register(Lp), - (e.languages.tap = { - fail: /not ok[^#{\n\r]*/, - pass: /ok[^#{\n\r]*/, - pragma: /pragma [+-][a-z]+/, - bailout: /bail out!.*/i, - version: /TAP version \d+/i, - plan: /\b\d+\.\.\d+(?: +#.*)?/, - subtest: { pattern: /# Subtest(?:: .*)?/, greedy: !0 }, - punctuation: /[{}]/, - directive: /#.*/, - yamlish: { - pattern: /(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m, - lookbehind: !0, - inside: e.languages.yaml, - alias: "language-yaml", - }, - }); -} -g_.displayName = "tcl"; -g_.aliases = []; -function g_(e) { - e.languages.tcl = { - comment: { pattern: /(^|[^\\])#.*/, lookbehind: !0 }, - string: { pattern: /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/, greedy: !0 }, - variable: [ - { pattern: /(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/, lookbehind: !0 }, - { pattern: /(\$)\{[^}]+\}/, lookbehind: !0 }, - { - pattern: /(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m, - lookbehind: !0, - }, - ], - function: { pattern: /(^[\t ]*proc[ \t]+)\S+/m, lookbehind: !0 }, - builtin: [ - { - pattern: - /(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m, - lookbehind: !0, - }, - /\b(?:else|elseif)\b/, - ], - scope: { - pattern: /(^[\t ]*)(?:global|upvar|variable)\b/m, - lookbehind: !0, - alias: "constant", - }, - keyword: { - pattern: - /(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m, - lookbehind: !0, - }, - operator: - /!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/, - punctuation: /[{}()\[\]]/, - }; -} -m_.displayName = "tt2"; -m_.aliases = []; -function m_(e) { - e.register(Mt), - e.register(kr), - (function (t) { - (t.languages.tt2 = t.languages.extend("clike", { - comment: /#.*|\[%#[\s\S]*?%\]/, - keyword: - /\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/, - punctuation: /[[\]{},()]/, - })), - t.languages.insertBefore("tt2", "number", { - operator: /=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/, - variable: { - pattern: /\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i, - }, - }), - t.languages.insertBefore("tt2", "keyword", { - delimiter: { pattern: /^(?:\[%|%%)-?|-?%\]$/, alias: "punctuation" }, - }), - t.languages.insertBefore("tt2", "string", { - "single-quoted-string": { - pattern: /'[^\\']*(?:\\[\s\S][^\\']*)*'/, - greedy: !0, - alias: "string", - }, - "double-quoted-string": { - pattern: /"[^\\"]*(?:\\[\s\S][^\\"]*)*"/, - greedy: !0, - alias: "string", - inside: { - variable: { - pattern: /\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i, - }, - }, - }, - }), - delete t.languages.tt2.string, - t.hooks.add("before-tokenize", function (n) { - var r = /\[%[\s\S]+?%\]/g; - t.languages["markup-templating"].buildPlaceholders(n, "tt2", r); - }), - t.hooks.add("after-tokenize", function (n) { - t.languages["markup-templating"].tokenizePlaceholders(n, "tt2"); - }); - })(e); -} -b_.displayName = "toml"; -b_.aliases = []; -function b_(e) { - (function (t) { - var n = /(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source; - function r(i) { - return i.replace(/__/g, function () { - return n; - }); - } - t.languages.toml = { - comment: { pattern: /#.*/, greedy: !0 }, - table: { - pattern: RegExp( - r(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source), - "m" - ), - lookbehind: !0, - greedy: !0, - alias: "class-name", - }, - key: { - pattern: RegExp( - r(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source), - "m" - ), - lookbehind: !0, - greedy: !0, - alias: "property", - }, - string: { - pattern: - /"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/, - greedy: !0, - }, - date: [ - { - pattern: - /\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i, - alias: "number", - }, - { pattern: /\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/, alias: "number" }, - ], - number: - /(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/, - boolean: /\b(?:false|true)\b/, - punctuation: /[.,=[\]{}]/, - }; - })(e); -} -E_.displayName = "tremor"; -E_.aliases = ["trickle", "troy"]; -function E_(e) { - (function (t) { - t.languages.tremor = { - comment: { - pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/, - lookbehind: !0, - }, - "interpolated-string": null, - extractor: { - pattern: /\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i, - greedy: !0, - inside: { - regex: { pattern: /(^re)\|[\s\S]+/, lookbehind: !0 }, - function: /^\w+/, - value: /\|[\s\S]+/, - }, - }, - identifier: { pattern: /`[^`]*`/, greedy: !0 }, - function: /\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/, - keyword: - /\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/, - boolean: /\b(?:false|null|true)\b/i, - number: - /\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/, - "pattern-punctuation": { pattern: /%(?=[({[])/, alias: "punctuation" }, - operator: - /[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/, - punctuation: /::|[;\[\]()\{\},.:]/, - }; - var n = /#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/ - .source; - (t.languages.tremor["interpolated-string"] = { - pattern: RegExp( - /(^|[^\\])/.source + - '(?:"""(?:' + - /[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source + - "|" + - n + - ')*"""|"(?:' + - /[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source + - "|" + - n + - ')*")' - ), - lookbehind: !0, - greedy: !0, - inside: { - interpolation: { - pattern: RegExp(n), - inside: { - punctuation: /^#\{|\}$/, - expression: { pattern: /[\s\S]+/, inside: t.languages.tremor }, - }, - }, - string: /[\s\S]+/, - }, - }), - (t.languages.troy = t.languages.tremor), - (t.languages.trickle = t.languages.tremor); - })(e); -} -v_.displayName = "typoscript"; -v_.aliases = ["tsconfig"]; -function v_(e) { - (function (t) { - var n = - /\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/; - (t.languages.typoscript = { - comment: [ - { pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/, lookbehind: !0 }, - { - pattern: /(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/, - lookbehind: !0, - greedy: !0, - }, - { pattern: /(^|[^"'])#.*/, lookbehind: !0, greedy: !0 }, - ], - function: [ - { - pattern: - //, - inside: { - string: { - pattern: /"[^"\r\n]*"|'[^'\r\n]*'/, - inside: { keyword: n }, - }, - keyword: { pattern: /INCLUDE_TYPOSCRIPT/ }, - }, - }, - { - pattern: /@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/, - inside: { string: /"[^"\r\n]*"|'[^'\r\n]*'/ }, - }, - ], - string: { - pattern: /^([^=]*=[< ]?)(?:(?!\]\n).)*/, - lookbehind: !0, - inside: { - function: /\{\$.*\}/, - keyword: n, - number: /^\d+$/, - punctuation: /[,|:]/, - }, - }, - keyword: n, - number: { pattern: /\b\d+\s*[.{=]/, inside: { operator: /[.{=]/ } }, - tag: { pattern: /\.?[-\w\\]+\.?/, inside: { punctuation: /\./ } }, - punctuation: /[{}[\];(),.:|]/, - operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/, - }), - (t.languages.tsconfig = t.languages.typoscript); - })(e); -} -y_.displayName = "unrealscript"; -y_.aliases = ["uc", "uscript"]; -function y_(e) { - (e.languages.unrealscript = { - comment: /\/\/.*|\/\*[\s\S]*?\*\//, - string: { - pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - greedy: !0, - }, - category: { - pattern: - /(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/, - lookbehind: !0, - greedy: !0, - alias: "property", - }, - metadata: { - pattern: /(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/, - lookbehind: !0, - greedy: !0, - inside: { - property: /\b\w+(?=\s*=)/, - operator: /=/, - punctuation: /[<>|]/, - }, - }, - macro: { pattern: /`\w+/, alias: "property" }, - "class-name": { - pattern: - /(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/, - lookbehind: !0, - }, - keyword: - /\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/, - function: /\b[a-z_]\w*(?=\s*\()/i, - boolean: /\b(?:false|true)\b/, - number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i, - operator: - />>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/, - punctuation: /[()[\]{};,.]/, - }), - (e.languages.uc = e.languages.uscript = e.languages.unrealscript); -} -__.displayName = "uorazor"; -__.aliases = []; -function __(e) { - e.languages.uorazor = { - "comment-hash": { pattern: /#.*/, alias: "comment", greedy: !0 }, - "comment-slash": { pattern: /\/\/.*/, alias: "comment", greedy: !0 }, - string: { - pattern: /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/, - inside: { punctuation: /^['"]|['"]$/ }, - greedy: !0, - }, - "source-layers": { - pattern: - /\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i, - alias: "function", - }, - "source-commands": { - pattern: - /\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/, - alias: "function", - }, - "tag-name": { pattern: /(^\{%-?\s*)\w+/, lookbehind: !0, alias: "keyword" }, - delimiter: { pattern: /^\{[{%]-?|-?[%}]\}$/, alias: "punctuation" }, - function: - /\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/, - keyword: - /\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/, - boolean: /\b(?:false|null|true)\b/, - number: /\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/, - operator: [ - { - pattern: - /(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/, - lookbehind: !0, - }, - /[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/, - ], - punctuation: /[()\[\]{}:.,]/, - }; -} -T_.displayName = "v"; -T_.aliases = []; -function T_(e) { - e.register(Mt), - (function (t) { - var n = { pattern: /[\s\S]+/, inside: null }; - (t.languages.v = t.languages.extend("clike", { - string: { - pattern: /r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/, - alias: "quoted-string", - greedy: !0, - inside: { - interpolation: { - pattern: - /((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/, - lookbehind: !0, - inside: { - "interpolation-variable": { - pattern: /^\$\w[\s\S]*$/, - alias: "variable", - }, - "interpolation-punctuation": { - pattern: /^\$\{|\}$/, - alias: "punctuation", - }, - "interpolation-expression": n, - }, - }, - }, - }, - "class-name": { - pattern: /(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/, - lookbehind: !0, - }, - keyword: - /(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/, - number: - /\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i, - operator: - /~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/, - builtin: - /\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/, - })), - (n.inside = t.languages.v), - t.languages.insertBefore("v", "string", { - char: { pattern: /`(?:\\`|\\?[^`]{1,2})`/, alias: "rune" }, - }), - t.languages.insertBefore("v", "operator", { - attribute: { - pattern: - /(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m, - lookbehind: !0, - alias: "annotation", - inside: { punctuation: /[\[\]]/, keyword: /\w+/ }, - }, - generic: { - pattern: /<\w+>(?=\s*[\)\{])/, - inside: { punctuation: /[<>]/, "class-name": /\w+/ }, - }, - }), - t.languages.insertBefore("v", "function", { - "generic-function": { - pattern: /\b\w+\s*<\w+>(?=\()/, - inside: { - function: /^\w+/, - generic: { - pattern: /<\w+>/, - inside: t.languages.v.generic.inside, - }, - }, - }, - }); - })(e); -} -S_.displayName = "vala"; -S_.aliases = []; -function S_(e) { - e.register(Mt), - (e.languages.vala = e.languages.extend("clike", { - "class-name": [ - { - pattern: /\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/, - inside: { punctuation: /\./ }, - }, - { - pattern: /(\[)[A-Z]\w*(?:\.\w+)*\b/, - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - { - pattern: - /(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/, - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - { - pattern: - /((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/, - lookbehind: !0, - inside: { punctuation: /\./ }, - }, - ], - keyword: - /\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i, - function: /\b\w+(?=\s*\()/, - number: - /(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i, - operator: - /\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./, - punctuation: /[{}[\];(),.:]/, - constant: /\b[A-Z0-9_]+\b/, - })), - e.languages.insertBefore("vala", "string", { - "raw-string": { pattern: /"""[\s\S]*?"""/, greedy: !0, alias: "string" }, - "template-string": { - pattern: /@"[\s\S]*?"/, - greedy: !0, - inside: { - interpolation: { - pattern: /\$(?:\([^)]*\)|[a-zA-Z]\w*)/, - inside: { - delimiter: { pattern: /^\$\(?|\)$/, alias: "punctuation" }, - rest: e.languages.vala, - }, - }, - string: /[\s\S]+/, - }, - }, - }), - e.languages.insertBefore("vala", "keyword", { - regex: { - pattern: - /\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/, - greedy: !0, - inside: { - "regex-source": { - pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/, - lookbehind: !0, - alias: "language-regex", - inside: e.languages.regex, - }, - "regex-delimiter": /^\//, - "regex-flags": /^[a-z]+$/, - }, - }, - }); -} -w_.displayName = "velocity"; -w_.aliases = []; -function w_(e) { - e.register(fr), - (function (t) { - t.languages.velocity = t.languages.extend("markup", {}); - var n = { - variable: { - pattern: - /(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i, - lookbehind: !0, - inside: {}, - }, - string: { pattern: /"[^"]*"|'[^']*'/, greedy: !0 }, - number: /\b\d+\b/, - boolean: /\b(?:false|true)\b/, - operator: - /[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/, - punctuation: /[(){}[\]:,.]/, - }; - (n.variable.inside = { - string: n.string, - function: { pattern: /([^\w-])[a-z][\w-]*(?=\()/, lookbehind: !0 }, - number: n.number, - boolean: n.boolean, - punctuation: n.punctuation, - }), - t.languages.insertBefore("velocity", "comment", { - unparsed: { - pattern: /(^|[^\\])#\[\[[\s\S]*?\]\]#/, - lookbehind: !0, - greedy: !0, - inside: { punctuation: /^#\[\[|\]\]#$/ }, - }, - "velocity-comment": [ - { - pattern: /(^|[^\\])#\*[\s\S]*?\*#/, - lookbehind: !0, - greedy: !0, - alias: "comment", - }, - { - pattern: /(^|[^\\])##.*/, - lookbehind: !0, - greedy: !0, - alias: "comment", - }, - ], - directive: { - pattern: - /(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i, - lookbehind: !0, - inside: { - keyword: { - pattern: /^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/, - inside: { punctuation: /[{}]/ }, - }, - rest: n, - }, - }, - variable: n.variable, - }), - (t.languages.velocity.tag.inside["attr-value"].inside.rest = - t.languages.velocity); - })(e); -} -A_.displayName = "verilog"; -A_.aliases = []; -function A_(e) { - e.languages.verilog = { - comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\//, greedy: !0 }, - string: { pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/, greedy: !0 }, - "kernel-function": { pattern: /\B\$\w+\b/, alias: "property" }, - constant: /\B`\w+\b/, - function: /\b\w+(?=\()/, - keyword: - /\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/, - important: /\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/, - number: - /\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i, - operator: /[-+{}^~%*\/?=!<>&|]+/, - punctuation: /[[\];(),.:]/, - }; -} -C_.displayName = "vhdl"; -C_.aliases = []; -function C_(e) { - e.languages.vhdl = { - comment: /--.+/, - "vhdl-vectors": { - pattern: /\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i, - alias: "number", - }, - "quoted-function": { pattern: /"\S+?"(?=\()/, alias: "function" }, - string: /"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/, - attribute: { pattern: /\b'\w+/, alias: "attr-name" }, - keyword: - /\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i, - boolean: /\b(?:false|true)\b/i, - function: /\w+(?=\()/, - number: /'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i, - operator: - /[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i, - punctuation: /[{}[\];(),.:]/, - }; -} -x_.displayName = "vim"; -x_.aliases = []; -function x_(e) { - e.languages.vim = { - string: /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/, - comment: /".*/, - function: /\b\w+(?=\()/, - keyword: - /\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/, - builtin: - /\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/, - number: /\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i, - operator: - /\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/, - punctuation: /[{}[\](),;:]/, - }; -} -k_.displayName = "visual-basic"; -k_.aliases = ["vb", "vba"]; -function k_(e) { - (e.languages["visual-basic"] = { - comment: { - pattern: /(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i, - inside: { keyword: /^REM/i }, - }, - directive: { - pattern: - /#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i, - alias: "property", - greedy: !0, - }, - string: { pattern: /\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i, greedy: !0 }, - date: { - pattern: - /#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i, - alias: "number", - }, - number: - /(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i, - boolean: /\b(?:False|Nothing|True)\b/i, - keyword: - /\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i, - operator: /[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/, - punctuation: /[{}().,:?]/, - }), - (e.languages.vb = e.languages["visual-basic"]), - (e.languages.vba = e.languages["visual-basic"]); -} -I_.displayName = "warpscript"; -I_.aliases = []; -function I_(e) { - e.languages.warpscript = { - comment: /#.*|\/\/.*|\/\*[\s\S]*?\*\//, - string: { - pattern: - /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/, - greedy: !0, - }, - variable: /\$\S+/, - macro: { pattern: /@\S+/, alias: "property" }, - keyword: - /\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/, - number: - /[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/, - boolean: /\b(?:F|T|false|true)\b/, - punctuation: /<%|%>|[{}[\]()]/, - operator: - /==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/, - }; -} -R_.displayName = "wasm"; -R_.aliases = []; -function R_(e) { - e.languages.wasm = { - comment: [/\(;[\s\S]*?;\)/, { pattern: /;;.*/, greedy: !0 }], - string: { pattern: /"(?:\\[\s\S]|[^"\\])*"/, greedy: !0 }, - keyword: [ - { pattern: /\b(?:align|offset)=/, inside: { operator: /=/ } }, - { - pattern: - /\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/, - inside: { punctuation: /\./ }, - }, - /\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/, - ], - variable: /\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/, - number: - /[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/, - punctuation: /[()]/, - }; -} -N_.displayName = "web-idl"; -N_.aliases = ["webidl"]; -function N_(e) { - (function (t) { - var n = /(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source, - r = - "(?:" + - /\b(?:unsigned\s+)?long\s+long(?![\w-])/.source + - "|" + - /\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source + - "|" + - /(?!(?:unrestricted|unsigned)\b)/.source + - n + - /(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source + - ")" + - /(?:\s*\?)?/.source, - i = {}; - t.languages["web-idl"] = { - comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\//, greedy: !0 }, - string: { pattern: /"[^"]*"/, greedy: !0 }, - namespace: { - pattern: RegExp(/(\bnamespace\s+)/.source + n), - lookbehind: !0, - }, - "class-name": [ - { - pattern: - /(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/, - lookbehind: !0, - inside: i, - }, - { - pattern: RegExp( - /(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source + - r - ), - lookbehind: !0, - inside: i, - }, - { - pattern: RegExp( - "(" + /\bcallback\s+/.source + n + /\s*=\s*/.source + ")" + r - ), - lookbehind: !0, - inside: i, - }, - { - pattern: RegExp(/(\btypedef\b\s*)/.source + r), - lookbehind: !0, - inside: i, - }, - { - pattern: RegExp( - /(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/ - .source + n - ), - lookbehind: !0, - }, - { pattern: RegExp(/(:\s*)/.source + n), lookbehind: !0 }, - RegExp(n + /(?=\s+(?:implements|includes)\b)/.source), - { - pattern: RegExp(/(\b(?:implements|includes)\s+)/.source + n), - lookbehind: !0, - }, - { - pattern: RegExp( - r + - "(?=" + - /\s*(?:\.{3}\s*)?/.source + - n + - /\s*[(),;=]/.source + - ")" - ), - inside: i, - }, - ], - builtin: - /\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/, - keyword: [ - /\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/, - /\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/, - ], - boolean: /\b(?:false|true)\b/, - number: { - pattern: - /(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i, - lookbehind: !0, - }, - operator: /\.{3}|[=:?<>-]/, - punctuation: /[(){}[\].,;]/, - }; - for (var a in t.languages["web-idl"]) - a !== "class-name" && (i[a] = t.languages["web-idl"][a]); - t.languages.webidl = t.languages["web-idl"]; - })(e); -} -O_.displayName = "wgsl"; -O_.aliases = []; -function O_(e) { - e.languages.wgsl = { - comment: { pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/, greedy: !0 }, - "builtin-attribute": { - pattern: /(@)builtin\(.*?\)/, - lookbehind: !0, - inside: { - attribute: { pattern: /^builtin/, alias: "attr-name" }, - punctuation: /[(),]/, - "built-in-values": { - pattern: - /\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/, - alias: "attr-value", - }, - }, - }, - attributes: { - pattern: - /(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i, - lookbehind: !0, - alias: "attr-name", - }, - functions: { - pattern: /\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/, - lookbehind: !0, - alias: "function", - }, - keyword: - /\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/, - builtin: - /\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/, - "function-calls": { pattern: /\b[_a-z]\w*(?=\()/i, alias: "function" }, - "class-name": /\b(?:[A-Z][A-Za-z0-9]*)\b/, - "bool-literal": { pattern: /\b(?:false|true)\b/, alias: "boolean" }, - "hex-int-literal": { - pattern: /\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/, - alias: "number", - }, - "hex-float-literal": { - pattern: /\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/, - alias: "number", - }, - "decimal-float-literal": [ - { pattern: /\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/, alias: "number" }, - { pattern: /\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/, alias: "number" }, - { pattern: /\d+[eE](?:\+|-)?\d+[fh]?/, alias: "number" }, - { pattern: /\b\d+[fh]\b/, alias: "number" }, - ], - "int-literal": { pattern: /\b\d+[iu]?\b/, alias: "number" }, - operator: [ - { pattern: /(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/ }, - { pattern: /&(?![&=])/ }, - { pattern: /(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/ }, - { pattern: /(^|[^<>=!])=(?![=>])/, lookbehind: !0 }, - { pattern: /(?:==|!=|<=|\+\+|--|(^|[^=])>=)/, lookbehind: !0 }, - { pattern: /(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/ }, - { pattern: /->/ }, - ], - punctuation: /[@(){}[\],;<>:.]/, - }; -} -D_.displayName = "wiki"; -D_.aliases = []; -function D_(e) { - e.register(fr), - (e.languages.wiki = e.languages.extend("markup", { - "block-comment": { - pattern: /(^|[^\\])\/\*[\s\S]*?\*\//, - lookbehind: !0, - alias: "comment", - }, - heading: { - pattern: /^(=+)[^=\r\n].*?\1/m, - inside: { punctuation: /^=+|=+$/, important: /.+/ }, - }, - emphasis: { - pattern: /('{2,5}).+?\1/, - inside: { - "bold-italic": { - pattern: /(''''').+?(?=\1)/, - lookbehind: !0, - alias: ["bold", "italic"], - }, - bold: { pattern: /(''')[^'](?:.*?[^'])?(?=\1)/, lookbehind: !0 }, - italic: { pattern: /('')[^'](?:.*?[^'])?(?=\1)/, lookbehind: !0 }, - punctuation: /^''+|''+$/, - }, - }, - hr: { pattern: /^-{4,}/m, alias: "punctuation" }, - url: [ - /ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i, - /\[\[.+?\]\]|\[.+?\]/, - ], - variable: [/__[A-Z]+__/, /\{{3}.+?\}{3}/, /\{\{.+?\}\}/], - symbol: [/^#redirect/im, /~{3,5}/], - "table-tag": { - pattern: /((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m, - lookbehind: !0, - inside: { - "table-bar": { pattern: /\|$/, alias: "punctuation" }, - rest: e.languages.markup.tag.inside, - }, - }, - punctuation: /^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m, - })), - e.languages.insertBefore("wiki", "tag", { - nowiki: { - pattern: /<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i, - inside: { - tag: { - pattern: - /<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i, - inside: e.languages.markup.tag.inside, - }, - }, - }, - }); -} -L_.displayName = "wolfram"; -L_.aliases = ["mathematica", "nb", "wl"]; -function L_(e) { - (e.languages.wolfram = { - comment: /\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/, - string: { pattern: /"(?:\\.|[^"\\\r\n])*"/, greedy: !0 }, - keyword: - /\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/, - context: { pattern: /\b\w+`+\w*/, alias: "class-name" }, - blank: { pattern: /\b\w+_\b/, alias: "regex" }, - "global-variable": { pattern: /\$\w+/, alias: "variable" }, - boolean: /\b(?:False|True)\b/, - number: - /(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i, - operator: - /\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/, - punctuation: /[{}[\];(),.:]/, - }), - (e.languages.mathematica = e.languages.wolfram), - (e.languages.wl = e.languages.wolfram), - (e.languages.nb = e.languages.wolfram); -} -M_.displayName = "wren"; -M_.aliases = []; -function M_(e) { - (e.languages.wren = { - comment: [ - { - pattern: - /\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//, - greedy: !0, - }, - { pattern: /(^|[^\\:])\/\/.*/, lookbehind: !0, greedy: !0 }, - ], - "triple-quoted-string": { - pattern: /"""[\s\S]*?"""/, - greedy: !0, - alias: "string", - }, - "string-literal": null, - hashbang: { pattern: /^#!\/.+/, greedy: !0, alias: "comment" }, - attribute: { pattern: /#!?[ \t\u3000]*\w+/, alias: "keyword" }, - "class-name": [ - { pattern: /(\bclass\s+)\w+/, lookbehind: !0 }, - /\b[A-Z][a-z\d_]*\b/, - ], - constant: /\b[A-Z][A-Z\d_]*\b/, - null: { pattern: /\bnull\b/, alias: "keyword" }, - keyword: - /\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/, - boolean: /\b(?:false|true)\b/, - number: /\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i, - function: /\b[a-z_]\w*(?=\s*[({])/i, - operator: /<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/, - punctuation: /[\[\](){}.,;]/, - }), - (e.languages.wren["string-literal"] = { - pattern: - /(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/, - lookbehind: !0, - greedy: !0, - inside: { - interpolation: { - pattern: - /((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/, - lookbehind: !0, - inside: { - expression: { - pattern: /^(%\()[\s\S]+(?=\)$)/, - lookbehind: !0, - inside: e.languages.wren, - }, - "interpolation-punctuation": { - pattern: /^%\(|\)$/, - alias: "punctuation", - }, - }, - }, - string: /[\s\S]+/, - }, - }); -} -F_.displayName = "xeora"; -F_.aliases = ["xeoracube"]; -function F_(e) { - e.register(fr), - (function (t) { - (t.languages.xeora = t.languages.extend("markup", { - constant: { - pattern: /\$(?:DomainContents|PageRenderDuration)\$/, - inside: { punctuation: { pattern: /\$/ } }, - }, - variable: { - pattern: /\$@?(?:#+|[-+*~=^])?[\w.]+\$/, - inside: { - punctuation: { pattern: /[$.]/ }, - operator: { pattern: /#+|[-+*~=^@]/ }, - }, - }, - "function-inline": { - pattern: - /\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/, - inside: { - variable: { - pattern: /(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/, - inside: { - punctuation: { pattern: /[,.|]/ }, - operator: { pattern: /#+|[-+*~=^@]/ }, - }, - }, - punctuation: { pattern: /\$\w:|[$:?.,|]/ }, - }, - alias: "function", - }, - "function-block": { - pattern: - /\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/, - inside: { punctuation: { pattern: /[$:{}?.,|]/ } }, - alias: "function", - }, - "directive-inline": { - pattern: /\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/, - inside: { - punctuation: { - pattern: /\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/, - inside: { tag: { pattern: /#\d/ } }, - }, - }, - alias: "function", - }, - "directive-block-open": { - pattern: - /\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/, - inside: { - punctuation: { - pattern: /\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/, - inside: { tag: { pattern: /#\d/ } }, - }, - attribute: { - pattern: /![A-Z]+$/, - inside: { punctuation: { pattern: /!/ } }, - alias: "keyword", - }, - }, - alias: "function", - }, - "directive-block-separator": { - pattern: /\}:[-\w.]+:\{/, - inside: { punctuation: { pattern: /[:{}]/ } }, - alias: "function", - }, - "directive-block-close": { - pattern: /\}:[-\w.]+\$/, - inside: { punctuation: { pattern: /[:{}$]/ } }, - alias: "function", - }, - })), - t.languages.insertBefore( - "inside", - "punctuation", - { variable: t.languages.xeora["function-inline"].inside.variable }, - t.languages.xeora["function-block"] - ), - (t.languages.xeoracube = t.languages.xeora); - })(e); -} -P_.displayName = "xml-doc"; -P_.aliases = []; -function P_(e) { - e.register(fr), - (function (t) { - function n(o, s) { - t.languages[o] && - t.languages.insertBefore(o, "comment", { "doc-comment": s }); - } - var r = t.languages.markup.tag, - i = { - pattern: /\/\/\/.*/, - greedy: !0, - alias: "comment", - inside: { tag: r }, - }, - a = { - pattern: /'''.*/, - greedy: !0, - alias: "comment", - inside: { tag: r }, - }; - n("csharp", i), n("fsharp", i), n("vbnet", a); - })(e); -} -B_.displayName = "xojo"; -B_.aliases = []; -function B_(e) { - e.languages.xojo = { - comment: { pattern: /(?:'|\/\/|Rem\b).+/i, greedy: !0 }, - string: { pattern: /"(?:""|[^"])*"/, greedy: !0 }, - number: [/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i, /&[bchou][a-z\d]+/i], - directive: { - pattern: /#(?:Else|ElseIf|Endif|If|Pragma)\b/i, - alias: "property", - }, - keyword: - /\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i, - operator: - /<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i, - punctuation: /[.,;:()]/, - }; -} -U_.displayName = "xquery"; -U_.aliases = []; -function U_(e) { - e.register(fr), - (function (t) { - (t.languages.xquery = t.languages.extend("markup", { - "xquery-comment": { - pattern: /\(:[\s\S]*?:\)/, - greedy: !0, - alias: "comment", - }, - string: { pattern: /(["'])(?:\1\1|(?!\1)[\s\S])*\1/, greedy: !0 }, - extension: { pattern: /\(#.+?#\)/, alias: "symbol" }, - variable: /\$[-\w:]+/, - axis: { - pattern: - /(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/, - lookbehind: !0, - alias: "operator", - }, - "keyword-operator": { - pattern: - /(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/, - lookbehind: !0, - alias: "operator", - }, - keyword: { - pattern: - /(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/, - lookbehind: !0, - }, - function: /[\w-]+(?::[\w-]+)*(?=\s*\()/, - "xquery-element": { - pattern: /(element\s+)[\w-]+(?::[\w-]+)*/, - lookbehind: !0, - alias: "tag", - }, - "xquery-attribute": { - pattern: /(attribute\s+)[\w-]+(?::[\w-]+)*/, - lookbehind: !0, - alias: "attr-name", - }, - builtin: { - pattern: - /(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/, - lookbehind: !0, - }, - number: /\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/, - operator: [ - /[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/, - { pattern: /(\s)-(?=\s)/, lookbehind: !0 }, - ], - punctuation: /[[\](){},;:/]/, - })), - (t.languages.xquery.tag.pattern = - /<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/), - (t.languages.xquery.tag.inside["attr-value"].pattern = - /=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/), - (t.languages.xquery.tag.inside["attr-value"].inside.punctuation = - /^="|"$/), - (t.languages.xquery.tag.inside["attr-value"].inside.expression = { - pattern: /\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/, - inside: t.languages.xquery, - alias: "language-xquery", - }); - var n = function (i) { - return typeof i == "string" - ? i - : typeof i.content == "string" - ? i.content - : i.content.map(n).join(""); - }, - r = function (i) { - for (var a = [], o = 0; o < i.length; o++) { - var s = i[o], - u = !1; - if ( - (typeof s != "string" && - (s.type === "tag" && s.content[0] && s.content[0].type === "tag" - ? s.content[0].content[0].content === " 0 && - a[a.length - 1].tagName === n(s.content[0].content[1]) && - a.pop() - : s.content[s.content.length - 1].content === "/>" || - a.push({ - tagName: n(s.content[0].content[1]), - openedBraces: 0, - }) - : a.length > 0 && - s.type === "punctuation" && - s.content === "{" && - (!i[o + 1] || - i[o + 1].type !== "punctuation" || - i[o + 1].content !== "{") && - (!i[o - 1] || - i[o - 1].type !== "plain-text" || - i[o - 1].content !== "{") - ? a[a.length - 1].openedBraces++ - : a.length > 0 && - a[a.length - 1].openedBraces > 0 && - s.type === "punctuation" && - s.content === "}" - ? a[a.length - 1].openedBraces-- - : s.type !== "comment" && (u = !0)), - (u || typeof s == "string") && - a.length > 0 && - a[a.length - 1].openedBraces === 0) - ) { - var c = n(s); - o < i.length - 1 && - (typeof i[o + 1] == "string" || - i[o + 1].type === "plain-text") && - ((c += n(i[o + 1])), i.splice(o + 1, 1)), - o > 0 && - (typeof i[o - 1] == "string" || - i[o - 1].type === "plain-text") && - ((c = n(i[o - 1]) + c), i.splice(o - 1, 1), o--), - /^\s+$/.test(c) - ? (i[o] = c) - : (i[o] = new t.Token("plain-text", c, null, c)); - } - s.content && typeof s.content != "string" && r(s.content); - } - }; - t.hooks.add("after-tokenize", function (i) { - i.language === "xquery" && r(i.tokens); - }); - })(e); -} -$_.displayName = "yang"; -$_.aliases = []; -function $_(e) { - e.languages.yang = { - comment: /\/\*[\s\S]*?\*\/|\/\/.*/, - string: { pattern: /"(?:[^\\"]|\\.)*"|'[^']*'/, greedy: !0 }, - keyword: { pattern: /(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i, lookbehind: !0 }, - namespace: { pattern: /(\s)[a-z_][\w.-]*(?=:)/i, lookbehind: !0 }, - boolean: /\b(?:false|true)\b/, - operator: /\+/, - punctuation: /[{};:]/, - }; -} -z_.displayName = "zig"; -z_.aliases = []; -function z_(e) { - (function (t) { - function n(c) { - return function () { - return c; - }; - } - var r = - /\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/, - i = "\\b(?!" + r.source + ")(?!\\d)\\w+\\b", - a = /align\s*\((?:[^()]|\([^()]*\))*\)/.source, - o = - /(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace( - //g, - n(a) - ), - s = - /(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace( - //g, - n(i) - ), - u = "(?!\\s)(?:!?\\s*(?:" + o + "\\s*)*" + s + ")+"; - (t.languages.zig = { - comment: [{ pattern: /\/\/[/!].*/, alias: "doc-comment" }, /\/{2}.*/], - string: [ - { - pattern: /(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/, - lookbehind: !0, - greedy: !0, - }, - { - pattern: /([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/, - lookbehind: !0, - greedy: !0, - }, - ], - char: { - pattern: - /(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/, - lookbehind: !0, - greedy: !0, - }, - builtin: /\B@(?!\d)\w+(?=\s*\()/, - label: { - pattern: - /(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/, - lookbehind: !0, - }, - "class-name": [ - /\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/, - { - pattern: RegExp( - /(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source - .replace(//g, n(u)) - .replace(//g, n(a)) - ), - lookbehind: !0, - inside: null, - }, - { - pattern: RegExp( - /(\)\s*)(?=\s*(?:\s*)?;)/.source - .replace(//g, n(u)) - .replace(//g, n(a)) - ), - lookbehind: !0, - inside: null, - }, - ], - "builtin-type": { - pattern: - /\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/, - alias: "keyword", - }, - keyword: r, - function: /\b(?!\d)\w+(?=\s*\()/, - number: - /\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/, - boolean: /\b(?:false|true)\b/, - operator: - /\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/, - punctuation: /[.:,;(){}[\]]/, - }), - t.languages.zig["class-name"].forEach(function (c) { - c.inside === null && (c.inside = t.languages.zig); - }); - })(e); -} -L.register(fr); -L.register(Tl); -L.register(Mt); -L.register(z2); -L.register(xr); -L.register(iv); -L.register(av); -L.register(ov); -L.register(sv); -L.register(lv); -L.register(uv); -L.register(cv); -L.register(dv); -L.register(pc); -L.register(pv); -L.register(fv); -L.register(hv); -L.register(gv); -L.register(qa); -L.register(Au); -L.register(P2); -L.register(mv); -L.register(bv); -L.register(Op); -L.register(Lp); -L.register(V2); -L.register(Ev); -L.register(vv); -L.register(Cu); -L.register(yv); -L.register(_v); -L.register(Tv); -L.register(Sv); -L.register(wv); -L.register(Av); -L.register(Cv); -L.register(xv); -L.register(Fp); -L.register(kv); -L.register(Iv); -L.register(Rv); -L.register(Nv); -L.register(Ov); -L.register(Dv); -L.register(Lv); -L.register(Mv); -L.register(Fv); -L.register(Pv); -L.register(Bv); -L.register(Uv); -L.register($v); -L.register(zv); -L.register(Hv); -L.register(jv); -L.register(Gv); -L.register(Vv); -L.register(Wv); -L.register(qv); -L.register(Kv); -L.register(Yv); -L.register(Xv); -L.register(Zv); -L.register(Qv); -L.register(Iu); -L.register(Jv); -L.register(ey); -L.register(ty); -L.register(ny); -L.register(ry); -L.register(iy); -L.register(ay); -L.register(oy); -L.register(sy); -L.register(ly); -L.register(B2); -L.register(kr); -L.register(uy); -L.register(cy); -L.register(dy); -L.register(py); -L.register(fy); -L.register(hy); -L.register(gy); -L.register(my); -L.register(by); -L.register(Ey); -L.register(Dp); -L.register(vy); -L.register(yy); -L.register(_y); -L.register(Ty); -L.register(Sy); -L.register(wy); -L.register(Ay); -L.register(Cy); -L.register(xy); -L.register(ky); -L.register(Iy); -L.register(Ry); -L.register(Ny); -L.register(Oy); -L.register(Dy); -L.register(Ly); -L.register(My); -L.register(Fy); -L.register(Py); -L.register(By); -L.register(Uy); -L.register($y); -L.register(U2); -L.register(zy); -L.register(Hy); -L.register(jy); -L.register(Gy); -L.register(j2); -L.register(Z2); -L.register(Vy); -L.register(Wy); -L.register(qy); -L.register(Bp); -L.register(Ky); -L.register(Yy); -L.register(Xy); -L.register(Zy); -L.register(Qy); -L.register(Jy); -L.register(dc); -L.register(e6); -L.register(t6); -L.register(n6); -L.register(r6); -L.register(i6); -L.register(a6); -L.register(o6); -L.register(s6); -L.register($2); -L.register(l6); -L.register(u6); -L.register(xu); -L.register(ku); -L.register(gc); -L.register(c6); -L.register(d6); -L.register(p6); -L.register(f6); -L.register(h6); -L.register(g6); -L.register(m6); -L.register(fc); -L.register(b6); -L.register(E6); -L.register(v6); -L.register(y6); -L.register(_6); -L.register(T6); -L.register(S6); -L.register(w6); -L.register(A6); -L.register(H2); -L.register(C6); -L.register(x6); -L.register(k6); -L.register(I6); -L.register(Up); -L.register(R6); -L.register(N6); -L.register(O6); -L.register(D6); -L.register(L6); -L.register(M6); -L.register(F6); -L.register(P6); -L.register(G2); -L.register(J2); -L.register(B6); -L.register(U6); -L.register($6); -L.register(z6); -L.register(H6); -L.register(j6); -L.register(G6); -L.register(V6); -L.register(W6); -L.register(q6); -L.register(K6); -L.register(Y6); -L.register(X6); -L.register(Z6); -L.register(Q6); -L.register(J6); -L.register(e8); -L.register(t8); -L.register(n8); -L.register(W2); -L.register(r8); -L.register(i8); -L.register(a8); -L.register(o8); -L.register(s8); -L.register(l8); -L.register(u8); -L.register(c8); -L.register(d8); -L.register(p8); -L.register(f8); -L.register(h8); -L.register(q2); -L.register(g8); -L.register(m8); -L.register(b8); -L.register(E8); -L.register(v8); -L.register(y8); -L.register(_8); -L.register(T8); -L.register(S8); -L.register(w8); -L.register(A8); -L.register(C8); -L.register(x8); -L.register(k8); -L.register(I8); -L.register(R8); -L.register(N8); -L.register(O8); -L.register(Mp); -L.register(D8); -L.register(L8); -L.register(M8); -L.register(F8); -L.register(K2); -L.register(P8); -L.register(B8); -L.register(em); -L.register(U8); -L.register($8); -L.register(z8); -L.register(H8); -L.register(j8); -L.register(G8); -L.register(V8); -L.register(W8); -L.register(q8); -L.register(Y2); -L.register(K8); -L.register(X2); -L.register(Y8); -L.register(X8); -L.register(Z8); -L.register(Q8); -L.register(J8); -L.register(e_); -L.register(t_); -L.register(n_); -L.register(tm); -L.register(r_); -L.register(i_); -L.register(a_); -L.register(o_); -L.register(s_); -L.register(l_); -L.register(u_); -L.register(c_); -L.register(Q2); -L.register(d_); -L.register($p); -L.register(p_); -L.register(Pp); -L.register(f_); -L.register(h_); -L.register(g_); -L.register(m_); -L.register(b_); -L.register(E_); -L.register(v_); -L.register(y_); -L.register(__); -L.register(T_); -L.register(S_); -L.register(w_); -L.register(A_); -L.register(C_); -L.register(x_); -L.register(k_); -L.register(I_); -L.register(R_); -L.register(N_); -L.register(O_); -L.register(D_); -L.register(L_); -L.register(M_); -L.register(F_); -L.register(P_); -L.register(B_); -L.register(U_); -L.register($_); -L.register(z_); -function Mb() { - Mb = function (i, a) { - return new n(i, void 0, a); - }; - var e = RegExp.prototype, - t = new WeakMap(); - function n(i, a, o) { - var s = new RegExp(i, a); - return t.set(s, o || t.get(i)), dg(s, n.prototype); - } - function r(i, a) { - var o = t.get(a); - return Object.keys(o).reduce(function (s, u) { - return (s[u] = i[o[u]]), s; - }, Object.create(null)); - } - return ( - Soe(n, RegExp), - (n.prototype.exec = function (i) { - var a = e.exec.call(this, i); - return a && (a.groups = r(a, this)), a; - }), - (n.prototype[Symbol.replace] = function (i, a) { - if (typeof a == "string") { - var o = t.get(this); - return e[Symbol.replace].call( - this, - i, - a.replace(/\$<([^>]+)>/g, function (u, c) { - return "$" + o[c]; - }) - ); - } - if (typeof a == "function") { - var s = this; - return e[Symbol.replace].call(this, i, function () { - var u = arguments; - return ( - typeof u[u.length - 1] != "object" && - (u = [].slice.call(u)).push(r(u, s)), - a.apply(this, u) - ); - }); - } - return e[Symbol.replace].call(this, i, a); - }), - Mb.apply(this, arguments) - ); -} -function Soe(e, t) { - if (typeof t != "function" && t !== null) - throw new TypeError("Super expression must either be null or a function"); - (e.prototype = Object.create(t && t.prototype, { - constructor: { value: e, writable: !0, configurable: !0 }, - })), - Object.defineProperty(e, "prototype", { writable: !1 }), - t && dg(e, t); -} -function dg(e, t) { - return ( - (dg = - Object.setPrototypeOf || - function (n, r) { - return (n.__proto__ = r), n; - }), - dg(e, t) - ); -} -function ck(e, t) { - (t == null || t > e.length) && (t = e.length); - for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; - return r; -} -function D3(e, t) { - var n = (typeof Symbol < "u" && e[Symbol.iterator]) || e["@@iterator"]; - if (n) return (n = n.call(e)).next.bind(n); - if ( - Array.isArray(e) || - (n = (function (i, a) { - if (i) { - if (typeof i == "string") return ck(i, a); - var o = Object.prototype.toString.call(i).slice(8, -1); - return ( - o === "Object" && i.constructor && (o = i.constructor.name), - o === "Map" || o === "Set" - ? Array.from(i) - : o === "Arguments" || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o) - ? ck(i, a) - : void 0 - ); - } - })(e)) || - (t && e && typeof e.length == "number") - ) { - n && (e = n); - var r = 0; - return function () { - return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] }; - }; - } - throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); -} -var woe = function (e) { - return function (t) { - return ( - t === void 0 && (t = {}), - function (r) { - Ui(r, "element", n); - } - ); - function n(r, i, a) { - var o, s; - if (a && a.tagName === "pre" && r.tagName === "code") { - var u = - (r == null || (o = r.data) == null ? void 0 : o.meta) || - (r == null || (s = r.properties) == null ? void 0 : s.metastring) || - ""; - r.properties.className - ? typeof r.properties.className == "boolean" - ? (r.properties.className = []) - : Array.isArray(r.properties.className) || - (r.properties.className = [r.properties.className]) - : (r.properties.className = []), - r.properties.className.push("code-highlight"); - var c, - p, - f = (function (A) { - for (var D, k = D3(A.properties.className); !(D = k()).done; ) { - var R = D.value; - if (R.slice(0, 9) === "language-") - return R.slice(9).toLowerCase(); - } - return null; - })(r); - if (f) - try { - var m; - (m = f != null && f.includes("diff-") ? f.split("-")[1] : f), - (c = e.highlight(T1(r), m)), - (a.properties.className = (a.properties.className || []).concat( - "language-" + m - )); - } catch (A) { - if (!t.ignoreMissing || !/Unknown language/.test(A.message)) - throw A; - c = r; - } - else c = r; - (c.children = ((p = 1), - function A(D) { - return D.reduce(function (k, R) { - if (R.type === "text") { - var B = R.value, - W = (B.match(/\n/g) || "").length; - if (W === 0) - (R.position = { - start: { line: p, column: 1 }, - end: { line: p, column: 1 }, - }), - k.push(R); - else - for ( - var P, - Q = B.split(` -`), - z = D3(Q.entries()); - !(P = z()).done; - - ) { - var le = P.value, - he = le[0], - de = le[1]; - k.push({ - type: "text", - value: - he === Q.length - 1 - ? de - : de + - ` -`, - position: { - start: { line: p + he, column: 1 }, - end: { line: p + he, column: 1 }, - }, - }); - } - return (p += W), k; - } - if (Object.prototype.hasOwnProperty.call(R, "children")) { - var fe = p; - return ( - (R.children = A(R.children)), - k.push(R), - (R.position = { - start: { line: fe, column: 1 }, - end: { line: p, column: 1 }, - }), - k - ); - } - return k.push(R), k; - }, []); - })(c.children)), - (c.position = - c.children.length > 0 - ? { - start: { - line: c.children[0].position.start.line, - column: 0, - }, - end: { - line: c.children[c.children.length - 1].position.end.line, - column: 0, - }, - } - : { - start: { line: 0, column: 0 }, - end: { line: 0, column: 0 }, - }); - for ( - var g, - E = (function (A) { - var D = /{([\d,-]+)}/, - k = A.split(",") - .map(function (W) { - return W.trim(); - }) - .join(); - if (D.test(k)) { - var R = D.exec(k)[1], - B = Xae(R); - return function (W) { - return B.includes(W + 1); - }; - } - return function () { - return !1; - }; - })(u), - b = (function (A) { - var D = Mb(/showLineNumbers=([0-9]+)/i, { lines: 1 }); - if (D.test(A)) { - var k = D.exec(A); - return Number(k.groups.lines); - } - return 1; - })(u), - T = (function (A) { - for (var D = new Array(A), k = 0; k < A; k++) - D[k] = { - type: "element", - tagName: "span", - properties: { className: [] }, - children: [], - }; - return D; - })(c.position.end.line), - v = [ - "showlinenumbers=false", - 'showlinenumbers="false"', - "showlinenumbers={false}", - ], - y = function () { - var A = g.value, - D = A[0], - k = A[1]; - k.properties.className = ["code-line"]; - var R = Kae(c, function (B) { - return ( - B.position.start.line <= D + 1 && - B.position.end.line >= D + 1 - ); - }); - (k.children = R.children), - (!u.toLowerCase().includes("showLineNumbers".toLowerCase()) && - !t.showLineNumbers) || - v.some(function (B) { - return u.toLowerCase().includes(B); - }) || - ((k.properties.line = [(D + b).toString()]), - k.properties.className.push("line-number")), - E(D) && k.properties.className.push("highlight-line"), - (f === "diff" || (f != null && f.includes("diff-"))) && - T1(k).substring(0, 1) === "-" - ? k.properties.className.push("deleted") - : (f === "diff" || (f != null && f.includes("diff-"))) && - T1(k).substring(0, 1) === "+" && - k.properties.className.push("inserted"); - }, - w = D3(T.entries()); - !(g = w()).done; - - ) - y(); - T.length > 0 && T1(T[T.length - 1]).trim() === "" && T.pop(), - (r.children = T); - } - } - }; - }, - Aoe = woe(L); -const nM = "֑-߿יִ-﷽ﹰ-ﻼ", - rM = "A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿", - Coe = new RegExp("^[^" + rM + "]*[" + nM + "]"), - xoe = new RegExp("^[^" + nM + "]*[" + rM + "]"); -function koe(e) { - const t = String(e || ""); - return Coe.test(t) ? "rtl" : xoe.test(t) ? "ltr" : "neutral"; -} -function Ioe(e, t) { - const n = e.schema, - r = e.language, - i = e.direction, - a = e.editableOrEditingHost; - let o; - if (t.type === "element" && t.properties) { - const c = t.properties.xmlLang || t.properties.lang, - p = t.properties.type || "text", - f = dk(t); - c != null && (e.language = String(c)), - n && n.space === "html" - ? (t.properties.contentEditable === "true" && - (e.editableOrEditingHost = !0), - t.tagName === "svg" && (e.schema = yl), - f === "rtl" - ? (o = f) - : f === "ltr" || - (f !== "auto" && t.tagName === "html") || - (f !== "auto" && t.tagName === "input" && p === "tel") - ? (o = "ltr") - : (f === "auto" || t.tagName === "bdi") && - (t.tagName === "textarea" - ? (o = L3(T1(t))) - : t.tagName === "input" && - (p === "email" || - p === "search" || - p === "tel" || - p === "text") - ? (o = t.properties.value ? L3(t.properties.value) : "ltr") - : Ui(t, u)), - o && (e.direction = o)) - : e.editableOrEditingHost && (e.editableOrEditingHost = !1); - } - return s; - function s() { - (e.schema = n), - (e.language = r), - (e.direction = i), - (e.editableOrEditingHost = a); - } - function u(c) { - if (c.type === "text") return (o = L3(c.value)), o ? Ab : void 0; - if ( - c !== t && - c.type === "element" && - (c.tagName === "bdi" || - c.tagName === "script" || - c.tagName === "style" || - c.tagName === "textare" || - dk(c)) - ) - return Cd; - } -} -function L3(e) { - const t = koe(e); - return t === "neutral" ? void 0 : t; -} -function dk(e) { - const t = - e.type === "element" && e.properties && typeof e.properties.dir == "string" - ? e.properties.dir.toLowerCase() - : void 0; - return t === "auto" || t === "ltr" || t === "rtl" ? t : void 0; -} -const Roe = F2("operator", { - unknown: Uoe, - invalid: Ooe, - handlers: { "=": Doe, "~=": Loe, "|=": Moe, "^=": Foe, "$=": Poe, "*=": Boe }, -}); -function Noe(e, t, n) { - const r = e.attrs; - let i = -1; - for (; ++i < r.length; ) if (!Roe(r[i], t, lc(n, r[i].name))) return !1; - return !0; -} -function Ooe(e, t, n) { - return Hr(t, n.property); -} -function Doe(e, t, n) { - return !!( - Hr(t, n.property) && - t.properties && - mc(t.properties[n.property], n) === e.value - ); -} -function Loe(e, t, n) { - const r = t.properties && t.properties[n.property]; - return ( - (!n.commaSeparated && - r && - typeof r == "object" && - e.value && - r.includes(e.value)) || - (Hr(t, n.property) && mc(r, n) === e.value) - ); -} -function Moe(e, t, n) { - const r = mc(t.properties && t.properties[n.property], n); - return !!( - Hr(t, n.property) && - e.value && - (r === e.value || - (r.slice(0, e.value.length) === e.value && - r.charAt(e.value.length) === "-")) - ); -} -function Foe(e, t, n) { - return !!( - Hr(t, n.property) && - t.properties && - e.value && - mc(t.properties[n.property], n).slice(0, e.value.length) === e.value - ); -} -function Poe(e, t, n) { - return !!( - Hr(t, n.property) && - t.properties && - e.value && - mc(t.properties[n.property], n).slice(-e.value.length) === e.value - ); -} -function Boe(e, t, n) { - return !!( - Hr(t, n.property) && - t.properties && - e.value && - mc(t.properties[n.property], n).includes(e.value) - ); -} -function Uoe(e) { - throw new Error("Unknown operator `" + e.operator + "`"); -} -function mc(e, t) { - return typeof e == "boolean" - ? t.attribute - : Array.isArray(e) - ? (t.commaSeparated ? $E : UE)(e) - : String(e); -} -function $oe(e, t) { - const n = t.properties.className || []; - let r = -1; - if (e.classNames) { - for (; ++r < e.classNames.length; ) - if (!n.includes(e.classNames[r])) return !1; - } - return !0; -} -function zoe(e, t) { - return !!(t.properties && t.properties.id === e.id); -} -function Hoe(e, t) { - return e.tagName === "*" || e.tagName === t.tagName; -} -function joe(e, t) { - return function (n, r) { - let i = pk(n, "tag"); - const a = pk(r ?? "*", "range"), - o = []; - let s = -1; - for (; ++s < a.length; ) { - const u = a[s].toLowerCase(); - if (!t && u === "*") continue; - let c = -1; - const p = []; - for (; ++c < i.length; ) - if (e(i[c].toLowerCase(), u)) { - if (!t) return i[c]; - o.push(i[c]); - } else p.push(i[c]); - i = p; - } - return t ? o : void 0; - }; -} -const Goe = joe(function (e, t) { - const n = e.split("-"), - r = t.split("-"); - let i = 0, - a = 0; - if (r[a] !== "*" && n[i] !== r[a]) return !1; - for (i++, a++; a < r.length; ) { - if (r[a] === "*") { - a++; - continue; - } - if (!n[i]) return !1; - if (n[i] === r[a]) { - i++, a++; - continue; - } - if (n[i].length === 1) return !1; - i++; - } - return !0; -}, !0); -function pk(e, t) { - const n = e && typeof e == "string" ? [e] : e; - if (!n || typeof n != "object" || !("length" in n)) - throw new Error("Invalid " + t + " `" + n + "`, expected non-empty string"); - return n; -} -const Voe = new Set([9, 10, 12, 13, 32]), - fk = "0".charCodeAt(0), - Woe = "9".charCodeAt(0); -function qoe(e) { - if (((e = e.trim().toLowerCase()), e === "even")) return [2, 0]; - if (e === "odd") return [2, 1]; - let t = 0, - n = 0, - r = a(), - i = o(); - if ( - (t < e.length && - e.charAt(t) === "n" && - (t++, - (n = r * (i ?? 1)), - s(), - t < e.length ? ((r = a()), s(), (i = o())) : (r = i = 0)), - i === null || t < e.length) - ) - throw new Error(`n-th rule couldn't be parsed ('${e}')`); - return [n, r * i]; - function a() { - return e.charAt(t) === "-" ? (t++, -1) : (e.charAt(t) === "+" && t++, 1); - } - function o() { - const u = t; - let c = 0; - for (; t < e.length && e.charCodeAt(t) >= fk && e.charCodeAt(t) <= Woe; ) - (c = c * 10 + (e.charCodeAt(t) - fk)), t++; - return t === u ? null : c; - } - function s() { - for (; t < e.length && Voe.has(e.charCodeAt(t)); ) t++; - } -} -var Koe = { - trueFunc: function () { - return !0; - }, - falseFunc: function () { - return !1; - }, -}; -const hk = Hi(Koe); -function Yoe(e) { - const t = e[0], - n = e[1] - 1; - if (n < 0 && t <= 0) return hk.falseFunc; - if (t === -1) return (a) => a <= n; - if (t === 0) return (a) => a === n; - if (t === 1) return n < 0 ? hk.trueFunc : (a) => a >= n; - const r = Math.abs(t), - i = ((n % r) + r) % r; - return t > 1 ? (a) => a >= n && a % r === i : (a) => a <= n && a % r === i; -} -function gk(e) { - return Yoe(qoe(e)); -} -const Xoe = gk.default || gk, - Zoe = F2("name", { - unknown: Tse, - invalid: _se, - handlers: { - any: Fb, - "any-link": Qoe, - blank: Joe, - checked: ese, - dir: tse, - disabled: aM, - empty: nse, - enabled: rse, - "first-child": ise, - "first-of-type": ase, - has: ose, - lang: sse, - "last-child": lse, - "last-of-type": use, - matches: Fb, - not: cse, - "nth-child": dse, - "nth-last-child": pse, - "nth-of-type": hse, - "nth-last-of-type": fse, - "only-child": gse, - "only-of-type": mse, - optional: bse, - "read-only": Ese, - "read-write": oM, - required: sM, - root: vse, - scope: yse, - }, - }); -iM.needsIndex = [ - "any", - "first-child", - "first-of-type", - "last-child", - "last-of-type", - "matches", - "not", - "nth-child", - "nth-last-child", - "nth-of-type", - "nth-last-of-type", - "only-child", - "only-of-type", -]; -function iM(e, t, n, r, i) { - const a = e.pseudos; - let o = -1; - for (; ++o < a.length; ) if (!Zoe(a[o], t, n, r, i)) return !1; - return !0; -} -function Qoe(e, t) { - return ( - (t.tagName === "a" || t.tagName === "area" || t.tagName === "link") && - Hr(t, "href") - ); -} -function Joe(e, t) { - return !lM(t, n); - function n(r) { - return r.type === "element" || (r.type === "text" && !ZD(r)); - } -} -function ese(e, t) { - return t.tagName === "input" || t.tagName === "menuitem" - ? !!( - t.properties && - (t.properties.type === "checkbox" || t.properties.type === "radio") && - Hr(t, "checked") - ) - : t.tagName === "option" - ? Hr(t, "selected") - : !1; -} -function tse(e, t, n, r, i) { - return i.direction === e.value; -} -function aM(e, t) { - return ( - (t.tagName === "button" || - t.tagName === "input" || - t.tagName === "select" || - t.tagName === "textarea" || - t.tagName === "optgroup" || - t.tagName === "option" || - t.tagName === "menuitem" || - t.tagName === "fieldset") && - Hr(t, "disabled") - ); -} -function nse(e, t) { - return !lM(t, n); - function n(r) { - return r.type === "element" || r.type === "text"; - } -} -function rse(e, t) { - return !aM(e, t); -} -function ise(e, t, n, r, i) { - return To(i, e), i.elementIndex === 0; -} -function ase(e, t, n, r, i) { - return To(i, e), i.typeIndex === 0; -} -function ose(e, t, n, r, i) { - const a = { - ...i, - found: !1, - shallow: !1, - one: !0, - scopeElements: [t], - results: [], - rootQuery: H_(e.value), - }; - return j_(a, { type: "root", children: t.children }), a.results.length > 0; -} -function sse(e, t, n, r, i) { - return ( - i.language !== "" && - i.language !== void 0 && - Goe(i.language, lp(e.value)).length > 0 - ); -} -function lse(e, t, n, r, i) { - return To(i, e), !!(i.elementCount && i.elementIndex === i.elementCount - 1); -} -function use(e, t, n, r, i) { - return ( - To(i, e), - typeof i.typeIndex == "number" && - typeof i.typeCount == "number" && - i.typeIndex === i.typeCount - 1 - ); -} -function Fb(e, t, n, r, i) { - const a = { - ...i, - found: !1, - shallow: !1, - one: !0, - scopeElements: [t], - results: [], - rootQuery: H_(e.value), - }; - return j_(a, t), a.results[0] === t; -} -function cse(e, t, n, r, i) { - return !Fb(e, t, n, r, i); -} -function dse(e, t, n, r, i) { - const a = nm(e); - return To(i, e), typeof i.elementIndex == "number" && a(i.elementIndex); -} -function pse(e, t, n, r, i) { - const a = nm(e); - return ( - To(i, e), - !!( - typeof i.elementCount == "number" && - typeof i.elementIndex == "number" && - a(i.elementCount - i.elementIndex - 1) - ) - ); -} -function fse(e, t, n, r, i) { - const a = nm(e); - return ( - To(i, e), - typeof i.typeCount == "number" && - typeof i.typeIndex == "number" && - a(i.typeCount - 1 - i.typeIndex) - ); -} -function hse(e, t, n, r, i) { - const a = nm(e); - return To(i, e), typeof i.typeIndex == "number" && a(i.typeIndex); -} -function gse(e, t, n, r, i) { - return To(i, e), i.elementCount === 1; -} -function mse(e, t, n, r, i) { - return To(i, e), i.typeCount === 1; -} -function bse(e, t) { - return !sM(e, t); -} -function Ese(e, t, n, r, i) { - return !oM(e, t, n, r, i); -} -function oM(e, t, n, r, i) { - return t.tagName === "input" || t.tagName === "textarea" - ? !Hr(t, "readOnly") && !Hr(t, "disabled") - : !!i.editableOrEditingHost; -} -function sM(e, t) { - return ( - (t.tagName === "input" || - t.tagName === "textarea" || - t.tagName === "select") && - Hr(t, "required") - ); -} -function vse(e, t, n, r, i) { - return !!( - (!r || r.type === "root") && - i.schema && - (i.schema.space === "html" || i.schema.space === "svg") && - (t.tagName === "html" || t.tagName === "svg") - ); -} -function yse(e, t, n, r, i) { - return i.scopeElements.includes(t); -} -function _se() { - throw new Error("Invalid pseudo-selector"); -} -function Tse(e) { - throw e.name - ? new Error("Unknown pseudo-selector `" + e.name + "`") - : new Error("Unexpected pseudo-element or empty pseudo-class"); -} -function lM(e, t) { - const n = e.children; - let r = -1; - for (; ++r < n.length; ) if (t(n[r])) return !0; - return !1; -} -function To(e, t) { - if (e.shallow) throw new Error("Cannot use `:" + t.name + "` without parent"); -} -function nm(e) { - let t = e._cachedFn; - return t || ((t = Xoe(e.value)), (e._cachedFn = t)), t; -} -function Sse(e, t, n, r, i) { - return !!( - (!e.tagName || Hoe(e, t)) && - (!e.classNames || $oe(e, t)) && - (!e.id || zoe(e, t)) && - (!e.attrs || Noe(e, t, i.schema)) && - (!e.pseudos || iM(e, t, n, r, i)) - ); -} -const wse = []; -function H_(e) { - return e === null - ? { type: "selectors", selectors: [] } - : e.type === "ruleSet" - ? { type: "selectors", selectors: [e] } - : e; -} -function j_(e, t) { - t && uM(e, [], t, void 0, void 0); -} -function uM(e, t, n, r, i) { - let a = { - directChild: void 0, - descendant: void 0, - adjacentSibling: void 0, - generalSibling: void 0, - }; - const o = Ioe(e, n); - return ( - n.type === "element" && (a = Cse(e, gh(t, e.rootQuery.selectors), n, r, i)), - "children" in n && !e.shallow && !(e.one && e.found) && Ase(e, a, n), - o(), - a - ); -} -function Ase(e, t, n) { - const r = gh(t.descendant, t.directChild); - let i, - a = -1; - const o = { count: 0, types: new Map() }, - s = { count: 0, types: new Map() }; - for (; ++a < n.children.length; ) mk(o, n.children[a]); - for (a = -1; ++a < n.children.length; ) { - const u = n.children[a], - c = u.type === "element" ? u.tagName.toUpperCase() : void 0; - if ( - ((e.elementIndex = s.count), - (e.typeIndex = (c && s.types.get(c)) || 0), - (e.elementCount = o.count), - (e.typeCount = c ? o.types.get(c) : 0), - "children" in u) - ) { - const p = gh(r, i), - f = uM(e, p, n.children[a], a, n); - i = gh(f.generalSibling, f.adjacentSibling); - } - if (e.one && e.found) break; - mk(s, n.children[a]); - } -} -function Cse(e, t, n, r, i) { - const a = { - directChild: void 0, - descendant: void 0, - adjacentSibling: void 0, - generalSibling: void 0, - }; - let o = -1; - for (; ++o < t.length; ) { - const s = t[o]; - if (e.one && e.found) break; - if (e.shallow && s.rule.rule) - throw new Error("Expected selector without nesting"); - if (Sse(s.rule, n, r, i, e)) { - const u = s.rule.rule; - if (u) { - const c = { type: "ruleSet", rule: u }, - p = - u.nestingOperator === "+" - ? "adjacentSibling" - : u.nestingOperator === "~" - ? "generalSibling" - : u.nestingOperator === ">" - ? "directChild" - : "descendant"; - M3(a, p, c); - } else (e.found = !0), e.results.includes(n) || e.results.push(n); - } - s.rule.nestingOperator === null - ? M3(a, "descendant", s) - : s.rule.nestingOperator === "~" && M3(a, "generalSibling", s); - } - return a; -} -function gh(e, t) { - return e && t && e.length > 0 && t.length > 0 - ? [...e, ...t] - : e && e.length > 0 - ? e - : t && t.length > 0 - ? t - : wse; -} -function M3(e, t, n) { - const r = e[t]; - r ? r.push(n) : (e[t] = [n]); -} -function mk(e, t) { - if (t.type === "element") { - const n = t.tagName.toUpperCase(), - r = (e.types.get(n) || 0) + 1; - e.count++, e.types.set(n, r); - } -} -var cM = {}, - G_ = {}, - V_ = {}; -(function (e) { - Object.defineProperty(e, "__esModule", { value: !0 }); - function t(o) { - return ( - (o >= "a" && o <= "z") || (o >= "A" && o <= "Z") || o === "-" || o === "_" - ); - } - e.isIdentStart = t; - function n(o) { - return ( - (o >= "a" && o <= "z") || - (o >= "A" && o <= "Z") || - (o >= "0" && o <= "9") || - o === "-" || - o === "_" - ); - } - e.isIdent = n; - function r(o) { - return ( - (o >= "a" && o <= "f") || (o >= "A" && o <= "F") || (o >= "0" && o <= "9") - ); - } - e.isHex = r; - function i(o) { - for (var s = o.length, u = "", c = 0; c < s; ) { - var p = o.charAt(c); - if (e.identSpecialChars[p]) u += "\\" + p; - else if ( - p === "_" || - p === "-" || - (p >= "A" && p <= "Z") || - (p >= "a" && p <= "z") || - (c !== 0 && p >= "0" && p <= "9") - ) - u += p; - else { - var f = p.charCodeAt(0); - if ((f & 63488) === 55296) { - var m = o.charCodeAt(c++); - if ((f & 64512) !== 55296 || (m & 64512) !== 56320) - throw Error("UCS-2(decode): illegal sequence"); - f = ((f & 1023) << 10) + (m & 1023) + 65536; - } - u += "\\" + f.toString(16) + " "; - } - c++; - } - return u; - } - e.escapeIdentifier = i; - function a(o) { - for (var s = o.length, u = "", c = 0, p; c < s; ) { - var f = o.charAt(c); - f === '"' - ? (f = '\\"') - : f === "\\" - ? (f = "\\\\") - : (p = e.strReplacementsRev[f]) !== void 0 && (f = p), - (u += f), - c++; - } - return '"' + u + '"'; - } - (e.escapeStr = a), - (e.identSpecialChars = { - "!": !0, - '"': !0, - "#": !0, - $: !0, - "%": !0, - "&": !0, - "'": !0, - "(": !0, - ")": !0, - "*": !0, - "+": !0, - ",": !0, - ".": !0, - "/": !0, - ";": !0, - "<": !0, - "=": !0, - ">": !0, - "?": !0, - "@": !0, - "[": !0, - "\\": !0, - "]": !0, - "^": !0, - "`": !0, - "{": !0, - "|": !0, - "}": !0, - "~": !0, - }), - (e.strReplacementsRev = { - "\n": "\\n", - "\r": "\\r", - " ": "\\t", - "\f": "\\f", - "\v": "\\v", - }), - (e.singleQuoteEscapeChars = { - n: ` -`, - r: "\r", - t: " ", - f: "\f", - "\\": "\\", - "'": "'", - }), - (e.doubleQuotesEscapeChars = { - n: ` -`, - r: "\r", - t: " ", - f: "\f", - "\\": "\\", - '"': '"', - }); -})(V_); -Object.defineProperty(G_, "__esModule", { value: !0 }); -var Ia = V_; -function xse(e, t, n, r, i, a) { - var o = e.length, - s = ""; - function u(b, T) { - var v = ""; - for (t++, s = e.charAt(t); t < o; ) { - if (s === b) return t++, v; - if (s === "\\") { - t++, (s = e.charAt(t)); - var y = void 0; - if (s === b) v += b; - else if ((y = T[s]) !== void 0) v += y; - else if (Ia.isHex(s)) { - var w = s; - for (t++, s = e.charAt(t); Ia.isHex(s); ) - (w += s), t++, (s = e.charAt(t)); - s === " " && (t++, (s = e.charAt(t))), - (v += String.fromCharCode(parseInt(w, 16))); - continue; - } else v += s; - } else v += s; - t++, (s = e.charAt(t)); - } - return v; - } - function c() { - var b = ""; - for (s = e.charAt(t); t < o; ) { - if (Ia.isIdent(s)) b += s; - else if (s === "\\") { - if ((t++, t >= o)) - throw Error("Expected symbol but end of file reached."); - if (((s = e.charAt(t)), Ia.identSpecialChars[s])) b += s; - else if (Ia.isHex(s)) { - var T = s; - for (t++, s = e.charAt(t); Ia.isHex(s); ) - (T += s), t++, (s = e.charAt(t)); - s === " " && (t++, (s = e.charAt(t))), - (b += String.fromCharCode(parseInt(T, 16))); - continue; - } else b += s; - } else return b; - t++, (s = e.charAt(t)); - } - return b; - } - function p() { - s = e.charAt(t); - for ( - var b = !1; - s === " " || - s === " " || - s === - ` -` || - s === "\r" || - s === "\f"; - - ) - (b = !0), t++, (s = e.charAt(t)); - return b; - } - function f() { - var b = m(); - if (t < o) throw Error('Rule expected but "' + e.charAt(t) + '" found.'); - return b; - } - function m() { - var b = g(); - if (!b) return null; - var T = b; - for (s = e.charAt(t); s === ","; ) { - if ( - (t++, - p(), - T.type !== "selectors" && (T = { type: "selectors", selectors: [b] }), - (b = g()), - !b) - ) - throw Error('Rule expected after ",".'); - T.selectors.push(b); - } - return T; - } - function g() { - p(); - var b = { type: "ruleSet" }, - T = E(); - if (!T) return null; - for ( - var v = b; - T && - ((T.type = "rule"), - (v.rule = T), - (v = T), - p(), - (s = e.charAt(t)), - !(t >= o || s === "," || s === ")")); - - ) - if (i[s]) { - var y = s; - if ((t++, p(), (T = E()), !T)) - throw Error('Rule expected after "' + y + '".'); - T.nestingOperator = y; - } else (T = E()), T && (T.nestingOperator = null); - return b; - } - function E() { - for (var b = null; t < o; ) - if (((s = e.charAt(t)), s === "*")) t++, ((b = b || {}).tagName = "*"); - else if (Ia.isIdentStart(s) || s === "\\") (b = b || {}).tagName = c(); - else if (s === ".") - t++, (b = b || {}), (b.classNames = b.classNames || []).push(c()); - else if (s === "#") t++, ((b = b || {}).id = c()); - else if (s === "[") { - t++, p(); - var T = { name: c() }; - if ((p(), s === "]")) t++; - else { - var v = ""; - if ((r[s] && ((v = s), t++, (s = e.charAt(t))), t >= o)) - throw Error('Expected "=" but end of file reached.'); - if (s !== "=") throw Error('Expected "=" but "' + s + '" found.'); - (T.operator = v + "="), t++, p(); - var y = ""; - if (((T.valueType = "string"), s === '"')) - y = u('"', Ia.doubleQuotesEscapeChars); - else if (s === "'") y = u("'", Ia.singleQuoteEscapeChars); - else if (a && s === "$") t++, (y = c()), (T.valueType = "substitute"); - else { - for (; t < o && s !== "]"; ) (y += s), t++, (s = e.charAt(t)); - y = y.trim(); - } - if ((p(), t >= o)) - throw Error('Expected "]" but end of file reached.'); - if (s !== "]") throw Error('Expected "]" but "' + s + '" found.'); - t++, (T.value = y); - } - (b = b || {}), (b.attrs = b.attrs || []).push(T); - } else if (s === ":") { - t++; - var w = c(), - A = { name: w }; - if (s === "(") { - t++; - var D = ""; - if ((p(), n[w] === "selector")) (A.valueType = "selector"), (D = m()); - else { - if (((A.valueType = n[w] || "string"), s === '"')) - D = u('"', Ia.doubleQuotesEscapeChars); - else if (s === "'") D = u("'", Ia.singleQuoteEscapeChars); - else if (a && s === "$") - t++, (D = c()), (A.valueType = "substitute"); - else { - for (; t < o && s !== ")"; ) (D += s), t++, (s = e.charAt(t)); - D = D.trim(); - } - p(); - } - if (t >= o) throw Error('Expected ")" but end of file reached.'); - if (s !== ")") throw Error('Expected ")" but "' + s + '" found.'); - t++, (A.value = D); - } - (b = b || {}), (b.pseudos = b.pseudos || []).push(A); - } else break; - return b; - } - return f(); -} -G_.parseCssSelector = xse; -var W_ = {}; -Object.defineProperty(W_, "__esModule", { value: !0 }); -var ki = V_; -function mh(e) { - var t = ""; - switch (e.type) { - case "ruleSet": - for (var n = e.rule, r = []; n; ) - n.nestingOperator && r.push(n.nestingOperator), - r.push(mh(n)), - (n = n.rule); - t = r.join(" "); - break; - case "selectors": - t = e.selectors.map(mh).join(", "); - break; - case "rule": - e.tagName && - (e.tagName === "*" ? (t = "*") : (t = ki.escapeIdentifier(e.tagName))), - e.id && (t += "#" + ki.escapeIdentifier(e.id)), - e.classNames && - (t += e.classNames - .map(function (i) { - return "." + ki.escapeIdentifier(i); - }) - .join("")), - e.attrs && - (t += e.attrs - .map(function (i) { - return "operator" in i - ? i.valueType === "substitute" - ? "[" + - ki.escapeIdentifier(i.name) + - i.operator + - "$" + - i.value + - "]" - : "[" + - ki.escapeIdentifier(i.name) + - i.operator + - ki.escapeStr(i.value) + - "]" - : "[" + ki.escapeIdentifier(i.name) + "]"; - }) - .join("")), - e.pseudos && - (t += e.pseudos - .map(function (i) { - return i.valueType - ? i.valueType === "selector" - ? ":" + ki.escapeIdentifier(i.name) + "(" + mh(i.value) + ")" - : i.valueType === "substitute" - ? ":" + ki.escapeIdentifier(i.name) + "($" + i.value + ")" - : i.valueType === "numeric" - ? ":" + ki.escapeIdentifier(i.name) + "(" + i.value + ")" - : ":" + - ki.escapeIdentifier(i.name) + - "(" + - ki.escapeIdentifier(i.value) + - ")" - : ":" + ki.escapeIdentifier(i.name); - }) - .join("")); - break; - default: - throw Error('Unknown entity type: "' + e.type + '".'); - } - return t; -} -W_.renderEntity = mh; -Object.defineProperty(cM, "__esModule", { value: !0 }); -var kse = G_, - Ise = W_, - Rse = (function () { - function e() { - (this.pseudos = {}), - (this.attrEqualityMods = {}), - (this.ruleNestingOperators = {}), - (this.substitutesEnabled = !1); - } - return ( - (e.prototype.registerSelectorPseudos = function () { - for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - for (var r = 0, i = t; r < i.length; r++) { - var a = i[r]; - this.pseudos[a] = "selector"; - } - return this; - }), - (e.prototype.unregisterSelectorPseudos = function () { - for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - for (var r = 0, i = t; r < i.length; r++) { - var a = i[r]; - delete this.pseudos[a]; - } - return this; - }), - (e.prototype.registerNumericPseudos = function () { - for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - for (var r = 0, i = t; r < i.length; r++) { - var a = i[r]; - this.pseudos[a] = "numeric"; - } - return this; - }), - (e.prototype.unregisterNumericPseudos = function () { - for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - for (var r = 0, i = t; r < i.length; r++) { - var a = i[r]; - delete this.pseudos[a]; - } - return this; - }), - (e.prototype.registerNestingOperators = function () { - for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - for (var r = 0, i = t; r < i.length; r++) { - var a = i[r]; - this.ruleNestingOperators[a] = !0; - } - return this; - }), - (e.prototype.unregisterNestingOperators = function () { - for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - for (var r = 0, i = t; r < i.length; r++) { - var a = i[r]; - delete this.ruleNestingOperators[a]; - } - return this; - }), - (e.prototype.registerAttrEqualityMods = function () { - for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - for (var r = 0, i = t; r < i.length; r++) { - var a = i[r]; - this.attrEqualityMods[a] = !0; - } - return this; - }), - (e.prototype.unregisterAttrEqualityMods = function () { - for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; - for (var r = 0, i = t; r < i.length; r++) { - var a = i[r]; - delete this.attrEqualityMods[a]; - } - return this; - }), - (e.prototype.enableSubstitutes = function () { - return (this.substitutesEnabled = !0), this; - }), - (e.prototype.disableSubstitutes = function () { - return (this.substitutesEnabled = !1), this; - }), - (e.prototype.parse = function (t) { - return kse.parseCssSelector( - t, - 0, - this.pseudos, - this.attrEqualityMods, - this.ruleNestingOperators, - this.substitutesEnabled - ); - }), - (e.prototype.render = function (t) { - return Ise.renderEntity(t).trim(); - }), - e - ); - })(), - Nse = (cM.CssSelectorParser = Rse); -const rm = new Nse(); -rm.registerAttrEqualityMods("~", "|", "^", "$", "*"); -rm.registerSelectorPseudos("any", "matches", "not", "has"); -rm.registerNestingOperators(">", "+", "~"); -function Ose(e) { - if (typeof e != "string") - throw new TypeError("Expected `string` as selector, not `" + e + "`"); - return rm.parse(e); -} -function Dse(e, t, n) { - const r = Lse(e, t, n); - return j_(r, t || void 0), r.results; -} -function Lse(e, t, n) { - return { - rootQuery: H_(Ose(e)), - results: [], - scopeElements: t ? (t.type === "root" ? t.children : [t]) : [], - one: !1, - shallow: !1, - found: !1, - schema: n === "svg" ? yl : Tu, - language: void 0, - direction: "ltr", - editableOrEditingHost: !1, - typeIndex: void 0, - elementIndex: void 0, - typeCount: void 0, - elementCount: void 0, - }; -} -const dM = (e = [], t = "") => ( - e.forEach((n) => { - n.type === "text" - ? (t += n.value) - : n.type === "element" && - n.children && - Array.isArray(n.children) && - (t += dM(n.children)); - }), - t - ), - Mse = (e) => { - const { selector: t, rewrite: n } = e || {}; - return (r) => { - if (!(!n || typeof n != "function")) { - if (t && typeof t == "string") { - const i = Dse(t, r); - i && - i.length > 0 && - Ui(r, i, (a, o, s) => { - n(a, o, s); - }); - return; - } - Ui(r, (i, a, o) => { - n(i, a, o); - }); - } - }; - }, - Fse = Mse; -var Pse = { - type: "element", - tagName: "svg", - properties: { - className: "octicon octicon-link", - viewBox: "0 0 16 16", - version: "1.1", - width: "16", - height: "16", - ariaHidden: "true", - }, - children: [ - { - type: "element", - tagName: "path", - children: [], - properties: { - fillRule: "evenodd", - d: "M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z", - }, - }, - ], -}; -function Bse(e) { - return ( - e === void 0 && (e = ""), - { - type: "element", - tagName: "div", - properties: { class: "copied", "data-code": e }, - children: [ - { - type: "element", - tagName: "svg", - properties: { - className: "octicon-copy", - ariaHidden: "true", - viewBox: "0 0 16 16", - fill: "currentColor", - height: 12, - width: 12, - }, - children: [ - { - type: "element", - tagName: "path", - properties: { - fillRule: "evenodd", - d: "M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z", - }, - children: [], - }, - { - type: "element", - tagName: "path", - properties: { - fillRule: "evenodd", - d: "M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z", - }, - children: [], - }, - ], - }, - { - type: "element", - tagName: "svg", - properties: { - className: "octicon-check", - ariaHidden: "true", - viewBox: "0 0 16 16", - fill: "currentColor", - height: 12, - width: 12, - }, - children: [ - { - type: "element", - tagName: "path", - properties: { - fillRule: "evenodd", - d: "M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z", - }, - children: [], - }, - ], - }, - ], - } - ); -} -function Use(e, t) { - if (typeof document > "u") return; - const n = document.createElement("textarea"); - (n.value = e), - n.setAttribute("readonly", ""), - (n.style = { position: "absolute", left: "-9999px" }), - document.body.appendChild(n); - const r = - document.getSelection().rangeCount > 0 - ? document.getSelection().getRangeAt(0) - : !1; - n.select(); - let i = !1; - try { - i = !!document.execCommand("copy"); - } catch { - i = !1; - } - document.body.removeChild(n), - r && - document.getSelection && - (document.getSelection().removeAllRanges(), - document.getSelection().addRange(r)), - t && t(i); -} -function pM(e) { - if (!e) return null; - var t = e; - return t.dataset.code && t.classList.contains("copied") - ? t - : t.parentElement - ? pM(t.parentElement) - : null; -} -function $se(e) { - var t = (n) => { - var r = pM(n.target); - r && - (r.classList.add("active"), - Use(r.dataset.code, function () { - setTimeout(() => { - r.classList.remove("active"); - }, 2e3); - })); - }; - C.useEffect(() => { - var n, r; - return ( - (n = e.current) == null || n.removeEventListener("click", t, !1), - (r = e.current) == null || r.addEventListener("click", t, !1), - () => { - var i; - (i = e.current) == null || i.removeEventListener("click", t, !1); - } - ); - }, [e]); -} -var zse = function (t) { - return (n) => { - Ui(n, (r) => { - r.type === "element" && - r.tagName === "code" && - r.data && - r.data.meta && - (r.properties = tn({}, r.properties, { - "data-meta": String(r.data.meta), - })); - }); - }; - }, - Hse = [ - "prefixCls", - "className", - "source", - "style", - "disableCopy", - "skipHtml", - "onScroll", - "onMouseOver", - "pluginsFilter", - "rehypeRewrite", - "wrapperElement", - "warpperElement", - ]; -const jse = ut.forwardRef((e, t) => { - var { - prefixCls: n = "wmde-markdown wmde-markdown-color", - className: r, - source: i, - style: a, - disableCopy: o = !1, - skipHtml: s = !0, - onScroll: u, - onMouseOver: c, - pluginsFilter: p, - rehypeRewrite: f, - wrapperElement: m = {}, - warpperElement: g = {}, - } = e, - E = E1(e, Hse), - b = ut.useRef(null); - C.useImperativeHandle(t, () => tn({}, e, { mdp: b }), [b, e]); - var T = (n || "") + " " + (r || ""); - $se(b); - var v = (k, R, B) => { - if ( - k.type === "element" && - B && - B.type === "root" && - /h(1|2|3|4|5|6)/.test(k.tagName) - ) { - var W = k.children && k.children[0]; - W && - W.properties && - W.properties.ariaHidden === "true" && - ((W.properties = tn({ class: "anchor" }, W.properties)), - (W.children = [Pse])); - } - if (k.type === "element" && k.tagName === "pre" && !o) { - var P = dM(k.children); - k.children.push(Bse(P)); - } - f && f(k, R, B); - }, - y = [ - zse, - [Aoe, { ignoreMissing: !0 }], - Fae, - $ae, - Wae, - [Fse, { rewrite: v }], - [Gae, { properties: "attr" }], - ...(E.rehypePlugins || []), - ], - w = { - allowElement: (k, R, B) => - E.allowElement - ? E.allowElement(k, R, B) - : /^[A-Za-z0-9]+$/.test(k.tagName), - }; - s && y.push(kae); - var A = [...(E.remarkPlugins || []), Kte], - D = tn({}, g, m); - return I.jsx( - "div", - tn({ ref: b, onScroll: u, onMouseOver: c }, D, { - className: T, - style: a, - children: I.jsx( - HE, - tn({}, w, E, { - skipHtml: s, - rehypePlugins: p ? p("rehype", y) : y, - remarkPlugins: p ? p("remark", A) : A, - children: i || "", - }) - ), - }) - ); - }), - Gse = He(jse)` +|(?![\\s\\S])))+`,"m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(r)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:n})})(e)}U2.displayName="go";U2.aliases=[];function U2(e){e.register(Mt),e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}$2.displayName="ini";$2.aliases=[];function $2(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}xu.displayName="java";xu.aliases=[];function xu(e){e.register(Mt),function(t){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:i.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:i.inside}],keyword:n,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:i.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:i.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}z2.displayName="regex";z2.aliases=[];function z2(e){(function(t){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},a={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o="(?:[^\\\\-]|"+r.source+")",s=RegExp(o+"-"+o),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};t.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":a,escape:r}},"special-escape":n,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]||&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}dc.displayName="json";dc.aliases=["webmanifest"];function dc(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}H2.displayName="kotlin";H2.aliases=["kt","kts"];function H2(e){e.register(Mt),function(t){t.languages.kotlin=t.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete t.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.kotlin}};t.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete t.languages.kotlin.string,t.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),t.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),t.languages.kt=t.languages.kotlin,t.languages.kts=t.languages.kotlin}(e)}j2.displayName="less";j2.aliases=[];function j2(e){e.register(Tl),e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}Dp.displayName="lua";Dp.aliases=[];function Dp(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}G2.displayName="makefile";G2.aliases=[];function G2(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}Lp.displayName="yaml";Lp.aliases=["yml"];function Lp(e){(function(t){var n=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+r.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function s(u,c){c=(c||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return u});return RegExp(p,c)}t.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:s(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:s(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:s(o),lookbehind:!0,greedy:!0},number:{pattern:s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml})(e)}V2.displayName="markdown";V2.aliases=["md"];function V2(e){e.register(fr),function(t){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(s){return s=s.replace(//g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+s+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(s){["url","bold","italic","strike","code-snippet"].forEach(function(u){s!==u&&(t.languages.markdown[s].inside.content.inside[u]=t.languages.markdown[u])})}),t.hooks.add("after-tokenize",function(s){if(s.language!=="markdown"&&s.language!=="md")return;function u(c){if(!(!c||typeof c=="string"))for(var p=0,f=c.length;p]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}q2.displayName="perl";q2.aliases=[];function q2(e){(function(t){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;t.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,n+/\s*/.source+n].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(e)}kr.displayName="markup-templating";kr.aliases=[];function kr(e){e.register(fr),function(t){function n(r,i){return"___"+r.toUpperCase()+i+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,i,a,o){if(r.language===i){var s=r.tokenStack=[];r.code=r.code.replace(a,function(u){if(typeof o=="function"&&!o(u))return u;for(var c=s.length,p;r.code.indexOf(p=n(i,c))!==-1;)++c;return s[c]=u,p}),r.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(r,i){if(r.language!==i||!r.tokenStack)return;r.grammar=t.languages[i];var a=0,o=Object.keys(r.tokenStack);function s(u){for(var c=0;c=o.length);c++){var p=u[c];if(typeof p=="string"||p.content&&typeof p.content=="string"){var f=o[a],m=r.tokenStack[f],g=typeof p=="string"?p:p.content,E=n(i,f),b=g.indexOf(E);if(b>-1){++a;var T=g.substring(0,b),v=new t.Token(i,t.tokenize(m,r.grammar),"language-"+i,m),y=g.substring(b+E.length),w=[];T&&w.push.apply(w,s([T])),w.push(v),y&&w.push.apply(w,s([y])),typeof p=="string"?u.splice.apply(u,[c,1].concat(w)):p.content=w}}else p.content&&s(p.content)}return u}s(r.tokens)}}})}(e)}ku.displayName="php";ku.aliases=[];function ku(e){e.register(kr),function(t){var n=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,a=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:n,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:a,punctuation:o};var s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},u=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}];t.languages.insertBefore("php","variable",{string:u,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:n,string:u,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:i,operator:a,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(c){if(/<\?/.test(c.code)){var p=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;t.languages["markup-templating"].buildPlaceholders(c,"php",p)}}),t.hooks.add("after-tokenize",function(c){t.languages["markup-templating"].tokenizePlaceholders(c,"php")})}(e)}Mp.displayName="python";Mp.aliases=["py"];function Mp(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}K2.displayName="r";K2.aliases=[];function K2(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}Iu.displayName="ruby";Iu.aliases=["rb"];function Iu(e){e.register(Mt),function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),t.languages.rb=t.languages.ruby}(e)}Y2.displayName="rust";Y2.aliases=[];function Y2(e){(function(t){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,r=0;r<2;r++)n=n.replace(//g,function(){return n});n=n.replace(//g,function(){return/[^\s\S]/.source}),t.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},t.languages.rust["closure-params"].inside.rest=t.languages.rust,t.languages.rust.attribute.inside.string=t.languages.rust.string})(e)}X2.displayName="sass";X2.aliases=[];function X2(e){e.register(Tl),function(t){t.languages.sass=t.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete t.languages.sass.atrule;var n=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];t.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:n,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:n,operator:r,important:t.languages.sass.important}}}),delete t.languages.sass.property,delete t.languages.sass.important,t.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(e)}Z2.displayName="scss";Z2.aliases=[];function Z2(e){e.register(Tl),e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}pc.displayName="sql";pc.aliases=[];function pc(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}Q2.displayName="swift";Q2.aliases=[];function Q2(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}fc.displayName="typescript";fc.aliases=["ts"];function fc(e){e.register(xr),function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var n=t.languages.extend("typescript",{});delete n["class-name"],t.languages.typescript["class-name"].inside=n,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),t.languages.ts=t.languages.typescript}(e)}Fp.displayName="basic";Fp.aliases=[];function Fp(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}Pp.displayName="vbnet";Pp.aliases=[];function Pp(e){e.register(Fp),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}const ak=/[#.]/g;function Zae(e,t){const n=e||"",r={};let i=0,a,o;for(;i=48&&t<=57}function ooe(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function soe(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function lk(e){return soe(e)||QL(e)}const Yu=String.fromCharCode,loe=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function uoe(e,t={}){const n=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,r=[];let i=0,a=-1,o="",s,u;t.position&&("start"in t.position||"indent"in t.position?(u=t.position.indent,s=t.position.start):s=t.position);let c=(s?s.line:0)||1,p=(s?s.column:0)||1,f=g(),m;for(i--;++i<=e.length;)if(m===10&&(p=(u?u[a]:0)||1),m=e.charCodeAt(i),m===38){const T=e.charCodeAt(i+1);if(T===9||T===10||T===12||T===32||T===38||T===60||Number.isNaN(T)||n&&T===n){o+=Yu(m),p++;continue}const v=i+1;let y=v,w=v,A;if(T===35){w=++y;const z=e.charCodeAt(w);z===88||z===120?(A="hexadecimal",w=++y):A="decimal"}else A="named";let D="",k="",R="";const B=A==="named"?lk:A==="decimal"?QL:ooe;for(w--;++w<=e.length;){const z=e.charCodeAt(w);if(!B(z))break;R+=Yu(z),A==="named"&&aoe.includes(R)&&(D=R,k=sp(R))}let W=e.charCodeAt(w)===59;if(W){w++;const z=A==="named"?sp(R):!1;z&&(D=R,k=z)}let P=1+w-v,Q="";if(!(!W&&t.nonTerminated===!1))if(!R)A!=="named"&&E(4,P);else if(A==="named"){if(W&&!k)E(5,1);else if(D!==R&&(w=y+D.length,P=1+w-y,W=!1),!W){const z=D?1:3;if(t.attribute){const le=e.charCodeAt(w);le===61?(E(z,P),k=""):lk(le)?k="":E(z,P)}else E(z,P)}Q=k}else{W||E(2,P);let z=Number.parseInt(R,A==="hexadecimal"?16:10);if(coe(z))E(7,P),Q=Yu(65533);else if(z in sk)E(6,P),Q=sk[z];else{let le="";doe(z)&&E(6,P),z>65535&&(z-=65536,le+=Yu(z>>>10|55296),z=56320|z&1023),Q=le+Yu(z)}}if(Q){b(),f=g(),i=w-1,p+=w-v+1,r.push(Q);const z=g();z.offset++,t.reference&&t.reference.call(t.referenceContext,Q,{start:f,end:z},e.slice(v-1,w)),f=z}else R=e.slice(v-1,w),o+=R,p+=R.length,i=w-1}else m===10&&(c++,a++,p=0),Number.isNaN(m)?b():(o+=Yu(m),p++);return r.join("");function g(){return{line:c,column:p,offset:i+((s?s.offset:0)||0)}}function E(T,v){let y;t.warning&&(y=g(),y.column+=v,y.offset+=v,t.warning.call(t.warningContext,loe[T],y,T))}function b(){o&&(r.push(o),t.text&&t.text.call(t.textContext,o,{start:f,end:g()}),o="")}}function coe(e){return e>=55296&&e<=57343||e>1114111}function doe(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var poe=0,I0={},sr={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++poe}),e.__id},clone:function e(t,n){n=n||{};var r,i;switch(sr.util.type(t)){case"Object":if(i=sr.util.objId(t),n[i])return n[i];r={},n[i]=r;for(var a in t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return i=sr.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach(function(o,s){r[s]=e(o,n)}),r);default:return t}}},languages:{plain:I0,plaintext:I0,text:I0,txt:I0,extend:function(e,t){var n=sr.util.clone(sr.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){r=r||sr.languages;var i=r[e],a={};for(var o in i)if(i.hasOwnProperty(o)){if(o==t)for(var s in n)n.hasOwnProperty(s)&&(a[s]=n[s]);n.hasOwnProperty(o)||(a[o]=i[o])}var u=r[e];return r[e]=a,sr.languages.DFS(sr.languages,function(c,p){p===u&&c!=e&&(this[c]=a)}),a},DFS:function e(t,n,r,i){i=i||{};var a=sr.util.objId;for(var o in t)if(t.hasOwnProperty(o)){n.call(t,o,t[o],r||o);var s=t[o],u=sr.util.type(s);u==="Object"&&!i[a(s)]?(i[a(s)]=!0,e(s,n,null,i)):u==="Array"&&!i[a(s)]&&(i[a(s)]=!0,e(s,n,o,i))}}},plugins:{},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(sr.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=sr.tokenize(r.code,r.grammar),sr.hooks.run("after-tokenize",r),Dd.stringify(sr.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new foe;return hh(i,i.head,e),JL(e,i,t,i.head,0),goe(i)},hooks:{all:{},add:function(e,t){var n=sr.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=sr.hooks.all[e];if(!(!n||!n.length))for(var r=0,i;i=n[r++];)i(t)}},Token:Dd};function Dd(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=(r||"").length|0}function uk(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var a=i[1].length;i.index+=a,i[0]=i[0].slice(a)}return i}function JL(e,t,n,r,i,a){for(var o in n)if(!(!n.hasOwnProperty(o)||!n[o])){var s=n[o];s=Array.isArray(s)?s:[s];for(var u=0;u=a.reach);v+=T.value.length,T=T.next){var y=T.value;if(t.length>e.length)return;if(!(y instanceof Dd)){var w=1,A;if(m){if(A=uk(b,v,e,f),!A||A.index>=e.length)break;var B=A.index,D=A.index+A[0].length,k=v;for(k+=T.value.length;B>=k;)T=T.next,k+=T.value.length;if(k-=T.value.length,v=k,T.value instanceof Dd)continue;for(var R=T;R!==t.tail&&(ka.reach&&(a.reach=z);var le=T.prev;P&&(le=hh(t,le,P),v+=P.length),hoe(t,le,w);var he=new Dd(o,p?sr.tokenize(W,p):W,g,W);if(T=hh(t,le,he),Q&&hh(t,T,Q),w>1){var de={cause:o+","+u,reach:z};JL(e,t,n,T.prev,v,de),a&&de.reach>a.reach&&(a.reach=de.reach)}}}}}}function foe(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function hh(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function hoe(e,t,n){for(var r=t.next,i=0;i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}av.displayName="abnf";av.aliases=[];function av(e){(function(t){var n="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";t.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+n+"|<"+n+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(e)}ov.displayName="actionscript";ov.aliases=[];function ov(e){e.register(xr),e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}sv.displayName="ada";sv.aliases=[];function sv(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}lv.displayName="agda";lv.aliases=[];function lv(e){(function(t){t.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(e)}uv.displayName="al";uv.aliases=[];function uv(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}cv.displayName="antlr4";cv.aliases=["g4"];function cv(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}dv.displayName="apacheconf";dv.aliases=[];function dv(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}pv.displayName="apex";pv.aliases=[];function pv(e){e.register(Mt),e.register(pc),function(t){var n=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,r=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return n.source});function i(o){return RegExp(o.replace(//g,function(){return r}),"i")}var a={keyword:n,punctuation:/[()\[\]{};,:.<>]/};t.languages.apex={comment:t.languages.clike.comment,string:t.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:t.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:i(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:i(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:i(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:n,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}fv.displayName="apl";fv.aliases=[];function fv(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}hv.displayName="applescript";hv.aliases=[];function hv(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}gv.displayName="aql";gv.aliases=[];function gv(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}mv.displayName="arff";mv.aliases=[];function mv(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}bv.displayName="armasm";bv.aliases=["arm-asm"];function bv(e){e.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},e.languages["arm-asm"]=e.languages.armasm}Ev.displayName="arturo";Ev.aliases=["art"];function Ev(e){(function(t){var n=function(r,i){return{pattern:RegExp(/\{!/.source+"(?:"+(i||r)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+r,inside:t.languages[r]},string:/[\s\S]+/}}};t.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":n("html"),"css-string":n("css"),"js-string":n("js"),"md-string":n("md"),"sql-string":n("sql"),"sh-string":n("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},t.languages.art=t.languages.arturo})(e)}vv.displayName="asciidoc";vv.aliases=["adoc"];function vv(e){(function(t){var n={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},r=t.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:n,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:n.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:n,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function i(a){a=a.split(" ");for(var o={},s=0,u=a.length;s/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}_v.displayName="asm6502";_v.aliases=[];function _v(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}Tv.displayName="asmatmel";Tv.aliases=[];function Tv(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/}}Sv.displayName="autohotkey";Sv.aliases=[];function Sv(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}wv.displayName="autoit";wv.aliases=[];function wv(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}Av.displayName="avisynth";Av.aliases=["avs"];function Av(e){(function(t){function n(c,p){return c.replace(/<<(\d+)>>/g,function(f,m){return p[+m]})}function r(c,p,f){return RegExp(n(c,p),f||"")}var i=/bool|clip|float|int|string|val/.source,a=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),o=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),s=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),u=[a,o,s].join("|");t.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:r(/\b(?:<<0>>)\s+("?)\w+\1/.source,[i],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:r(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:r(/\b(?:<<0>>)(?=\s*\()/.source,[i],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},t.languages.avs=t.languages.avisynth})(e)}Cv.displayName="avro-idl";Cv.aliases=["avdl"];function Cv(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}xv.displayName="awk";xv.aliases=["gawk"];function xv(e){e.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},e.languages.gawk=e.languages.awk}kv.displayName="batch";kv.aliases=[];function kv(e){(function(t){var n=/%%?[~:\w]+%?|!\S+!/,r={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/;t.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:i,parameter:r,variable:n,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:i,parameter:r,variable:n,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:i,parameter:r,variable:[n,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:r,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:n,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(e)}Iv.displayName="bbcode";Iv.aliases=["shortcode"];function Iv(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}Rv.displayName="bbj";Rv.aliases=[];function Rv(e){(function(t){t.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}})(e)}Nv.displayName="bicep";Nv.aliases=[];function Nv(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}Ov.displayName="birb";Ov.aliases=[];function Ov(e){e.register(Mt),e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}Dv.displayName="bison";Dv.aliases=[];function Dv(e){e.register(qa),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}Lv.displayName="bnf";Lv.aliases=["rbnf"];function Lv(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}Mv.displayName="bqn";Mv.aliases=[];function Mv(e){e.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}Fv.displayName="brainfuck";Fv.aliases=[];function Fv(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}Pv.displayName="brightscript";Pv.aliases=[];function Pv(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}Bv.displayName="bro";Bv.aliases=[];function Bv(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}Uv.displayName="bsl";Uv.aliases=["oscript"];function Uv(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}$v.displayName="cfscript";$v.aliases=["cfc"];function $v(e){e.register(Mt),e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}zv.displayName="chaiscript";zv.aliases=[];function zv(e){e.register(Mt),e.register(Au),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}Hv.displayName="cil";Hv.aliases=[];function Hv(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}jv.displayName="cilkc";jv.aliases=["cilk-c"];function jv(e){e.register(qa),e.languages.cilkc=e.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-c"]=e.languages.cilkc}Gv.displayName="cilkcpp";Gv.aliases=["cilk","cilk-cpp"];function Gv(e){e.register(Au),e.languages.cilkcpp=e.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-cpp"]=e.languages.cilkcpp,e.languages.cilk=e.languages.cilkcpp}Vv.displayName="clojure";Vv.aliases=[];function Vv(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}Wv.displayName="cmake";Wv.aliases=[];function Wv(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}qv.displayName="cobol";qv.aliases=[];function qv(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}Kv.displayName="coffeescript";Kv.aliases=["coffee"];function Kv(e){e.register(xr),function(t){var n=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};t.languages.coffeescript=t.languages.extend("javascript",{comment:n,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),t.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:r}}}),t.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:t.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),t.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete t.languages.coffeescript["template-string"],t.languages.coffee=t.languages.coffeescript}(e)}Yv.displayName="concurnas";Yv.aliases=["conc"];function Yv(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}Xv.displayName="csp";Xv.aliases=[];function Xv(e){(function(t){function n(r){return RegExp(/([ \t])/.source+"(?:"+r+")"+/(?=[\s;]|$)/.source,"i")}t.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:n(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:n(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:n(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:n(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:n(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:n(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:n(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(e)}Zv.displayName="cooklang";Zv.aliases=[];function Zv(e){(function(t){var n=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,r=/[^{}@#]+/.source,i=/\{[^}#@]*\}/.source,a=r+i,o=/(?:h|hours|hrs|m|min|minutes)/.source,s={pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}};t.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+a+"|"+n+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+r+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+r),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+a+"|"+n+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+r+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":s}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+o+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(e)}Qv.displayName="coq";Qv.aliases=[];function Qv(e){(function(t){for(var n=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,r=0;r<2;r++)n=n.replace(//g,function(){return n});n=n.replace(//g,"[]"),t.languages.coq={comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return n})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(e)}Jv.displayName="crystal";Jv.aliases=[];function Jv(e){e.register(Iu),function(t){t.languages.crystal=t.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,t.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),t.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:t.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:t.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(e)}ey.displayName="css-extras";ey.aliases=[];function ey(e){e.register(Tl),function(t){var n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r;t.languages.css.selector={pattern:t.languages.css.selector.pattern,lookbehind:!0,inside:r={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},t.languages.css.atrule.inside["selector-function-argument"].inside=r,t.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};t.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:a})}(e)}ty.displayName="csv";ty.aliases=[];function ty(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}ny.displayName="cue";ny.aliases=[];function ny(e){(function(t){var n=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,r=/"""(?:[^\\"]|"(?!""\2)|)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|)*'/.source,i="(?:"+r.replace(//g,n)+")";t.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+i+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},t.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=t.languages.cue})(e)}ry.displayName="cypher";ry.aliases=[];function ry(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}iy.displayName="d";iy.aliases=[];function iy(e){e.register(Mt),e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}ay.displayName="dart";ay.aliases=[];function ay(e){e.register(Mt),function(t){var n=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};t.languages.dart=t.languages.extend("clike",{"class-name":[i,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:n,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),t.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.dart}}},string:/[\s\S]+/}},string:void 0}),t.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),t.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}oy.displayName="dataweave";oy.aliases=[];function oy(e){(function(t){t.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(e)}sy.displayName="dax";sy.aliases=[];function sy(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}ly.displayName="dhall";ly.aliases=[];function ly(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}uy.displayName="django";uy.aliases=["jinja2"];function uy(e){e.register(kr),function(t){t.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var n=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,r=t.languages["markup-templating"];t.hooks.add("before-tokenize",function(i){r.buildPlaceholders(i,"django",n)}),t.hooks.add("after-tokenize",function(i){r.tokenizePlaceholders(i,"django")}),t.languages.jinja2=t.languages.django,t.hooks.add("before-tokenize",function(i){r.buildPlaceholders(i,"jinja2",n)}),t.hooks.add("after-tokenize",function(i){r.tokenizePlaceholders(i,"jinja2")})}(e)}cy.displayName="dns-zone-file";cy.aliases=["dns-zone"];function cy(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}dy.displayName="docker";dy.aliases=["dockerfile"];function dy(e){(function(t){var n=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return n}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),o={pattern:RegExp(i),greedy:!0},s={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(c,p){return c=c.replace(//g,function(){return a}).replace(//g,function(){return r}),RegExp(c,p)}t.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:u(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[o,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:s,string:o,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:s},t.languages.dockerfile=t.languages.docker})(e)}py.displayName="dot";py.aliases=["gv"];function py(e){(function(t){var n="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",r={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:t.languages.markup}};function i(a,o){return RegExp(a.replace(//g,function(){return n}),o)}t.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:r},"attr-value":{pattern:i(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:r},"attr-name":{pattern:i(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:r},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:i(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:r},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},t.languages.gv=t.languages.dot})(e)}fy.displayName="ebnf";fy.aliases=[];function fy(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}hy.displayName="editorconfig";hy.aliases=[];function hy(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}gy.displayName="eiffel";gy.aliases=[];function gy(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}my.displayName="ejs";my.aliases=["eta"];function my(e){e.register(xr),e.register(kr),function(t){t.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:t.languages.javascript}},t.hooks.add("before-tokenize",function(n){var r=/<%(?!%)[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"ejs",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"ejs")}),t.languages.eta=t.languages.ejs}(e)}by.displayName="elixir";by.aliases=[];function by(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}Ey.displayName="elm";Ey.aliases=[];function Ey(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}vy.displayName="etlua";vy.aliases=[];function vy(e){e.register(Dp),e.register(kr),function(t){t.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:t.languages.lua}},t.hooks.add("before-tokenize",function(n){var r=/<%[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"etlua",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"etlua")})}(e)}yy.displayName="erb";yy.aliases=[];function yy(e){e.register(kr),e.register(Iu),function(t){t.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:t.languages.ruby}},t.hooks.add("before-tokenize",function(n){var r=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"erb",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"erb")})}(e)}_y.displayName="erlang";_y.aliases=[];function _y(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}Ty.displayName="excel-formula";Ty.aliases=["xls","xlsx"];function Ty(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}Sy.displayName="fsharp";Sy.aliases=[];function Sy(e){e.register(Mt),e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}wy.displayName="factor";wy.aliases=[];function wy(e){(function(t){var n={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},r={number:/\\[^\s']|%\w/},i={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:n},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:n}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:r.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:r}},a=function(c){return(c+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},o=function(c){return new RegExp("(^|\\s)(?:"+c.map(a).join("|")+")(?=\\s|$)")},s={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(s).forEach(function(c){i[c].pattern=o(s[c])});var u=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];i.combinators.pattern=o(u),t.languages.factor=i})(e)}Ay.displayName="false";Ay.aliases=[];function Ay(e){(function(t){t.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}xy.displayName="flow";xy.aliases=[];function xy(e){e.register(xr),function(t){t.languages.flow=t.languages.extend("javascript",{}),t.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),t.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete t.languages.flow.parameter,t.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(t.languages.flow.keyword)||(t.languages.flow.keyword=[t.languages.flow.keyword]),t.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(e)}ky.displayName="fortran";ky.aliases=[];function ky(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}Iy.displayName="ftl";Iy.aliases=[];function Iy(e){e.register(kr),function(t){for(var n=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,r=0;r<2;r++)n=n.replace(//g,function(){return n});n=n.replace(//g,/[^\s\S]/.source);var i={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return n})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};i.string[1].inside.interpolation.inside.rest=i,t.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}}},t.hooks.add("before-tokenize",function(a){var o=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return n}),"gi");t.languages["markup-templating"].buildPlaceholders(a,"ftl",o)}),t.hooks.add("after-tokenize",function(a){t.languages["markup-templating"].tokenizePlaceholders(a,"ftl")})}(e)}Ry.displayName="gml";Ry.aliases=["gamemakerlanguage"];function Ry(e){e.register(Mt),e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}Ny.displayName="gap";Ny.aliases=[];function Ny(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}Oy.displayName="gcode";Oy.aliases=[];function Oy(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}Dy.displayName="gdscript";Dy.aliases=[];function Dy(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}Ly.displayName="gedcom";Ly.aliases=[];function Ly(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}My.displayName="gettext";My.aliases=["po"];function My(e){e.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},e.languages.po=e.languages.gettext}Fy.displayName="gherkin";Fy.aliases=[];function Fy(e){(function(t){var n=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;t.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+n+")(?:"+n+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(n),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(e)}Py.displayName="git";Py.aliases=[];function Py(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}By.displayName="glsl";By.aliases=[];function By(e){e.register(qa),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}Uy.displayName="gn";Uy.aliases=["gni"];function Uy(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}$y.displayName="linker-script";$y.aliases=["ld"];function $y(e){e.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},e.languages.ld=e.languages["linker-script"]}zy.displayName="go-module";zy.aliases=["go-mod"];function zy(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}Hy.displayName="gradle";Hy.aliases=[];function Hy(e){e.register(Mt),function(t){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.gradle=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),t.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=t.languages.gradle}(e)}jy.displayName="graphql";jy.aliases=[];function jy(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(n){if(n.language!=="graphql")return;var r=n.tokens.filter(function(T){return typeof T!="string"&&T.type!=="comment"&&T.type!=="scalar"}),i=0;function a(T){return r[i+T]}function o(T,v){v=v||0;for(var y=0;y0)){var g=s(/^\{$/,/^\}$/);if(g===-1)continue;for(var E=i;E=0&&u(b,"variable-input")}}}}})}Gy.displayName="groovy";Gy.aliases=[];function Gy(e){e.register(Mt),function(t){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.groovy=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=t.languages.groovy}(e)}Vy.displayName="textile";Vy.aliases=[];function Vy(e){e.register(fr),function(t){var n=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,r=/\)|\((?![^|()\n]+\))/.source;function i(f,m){return RegExp(f.replace(//g,function(){return"(?:"+n+")"}).replace(//g,function(){return"(?:"+r+")"}),m||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:t.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},o=t.languages.textile=t.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:i(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),s=o.phrase.inside,u={inline:s.inline,link:s.link,image:s.image,footnote:s.footnote,acronym:s.acronym,mark:s.mark};o.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var c=s.inline.inside;c.bold.inside=u,c.italic.inside=u,c.inserted.inside=u,c.deleted.inside=u,c.span.inside=u;var p=s.table.inside;p.inline=u.inline,p.link=u.link,p.image=u.image,p.footnote=u.footnote,p.acronym=u.acronym,p.mark=u.mark}(e)}Wy.displayName="haml";Wy.aliases=[];function Wy(e){e.register(Iu),function(t){t.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:t.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:t.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:t.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:t.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:t.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:t.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var n="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",r=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],i={},a=0,o=r.length;a@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},t.hooks.add("before-tokenize",function(n){var r=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;t.languages["markup-templating"].buildPlaceholders(n,"handlebars",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"handlebars")}),t.languages.hbs=t.languages.handlebars,t.languages.mustache=t.languages.handlebars}(e)}Bp.displayName="haskell";Bp.aliases=["hs"];function Bp(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}Ky.displayName="haxe";Ky.aliases=[];function Ky(e){e.register(Mt),e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}Yy.displayName="hcl";Yy.aliases=[];function Yy(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}Xy.displayName="hlsl";Xy.aliases=[];function Xy(e){e.register(qa),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}Zy.displayName="hoon";Zy.aliases=[];function Zy(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}Qy.displayName="hpkp";Qy.aliases=[];function Qy(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}Jy.displayName="hsts";Jy.aliases=[];function Jy(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e6.displayName="uri";e6.aliases=["url"];function e6(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}t6.displayName="http";t6.aliases=[];function t6(e){(function(t){function n(p){return RegExp("(^(?:"+p+"):[ ]*(?![ ]))[^]+","i")}t.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:t.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:n(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:t.languages.csp},{pattern:n(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:t.languages.hpkp},{pattern:n(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:t.languages.hsts},{pattern:n(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var r=t.languages,i={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},a={"application/json":!0,"application/xml":!0};function o(p){var f=p.replace(/^[a-z]+\//,""),m="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+p+"|"+m+")"}var s;for(var u in i)if(i[u]){s=s||{};var c=a[u]?o(u):u;s[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+c+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[u]}}s&&t.languages.insertBefore("http","header",s)})(e)}n6.displayName="ichigojam";n6.aliases=[];function n6(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}r6.displayName="icon";r6.aliases=[];function r6(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}i6.displayName="icu-message-format";i6.aliases=[];function i6(e){(function(t){function n(u,c){return c<=0?/[]/.source:u.replace(//g,function(){return n(u,c-1)})}var r=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},a={pattern:r,greedy:!0,inside:{escape:i}},o=n(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return r.source}),8),s={pattern:RegExp(o),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};t.languages["icu-message-format"]={argument:{pattern:RegExp(o),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":s,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":s,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+n(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:a},s.inside.message.inside=t.languages["icu-message-format"],t.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=t.languages["icu-message-format"]})(e)}a6.displayName="idris";a6.aliases=["idr"];function a6(e){e.register(Bp),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}o6.displayName="ignore";o6.aliases=["gitignore","hgignore","npmignore"];function o6(e){(function(t){t.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},t.languages.gitignore=t.languages.ignore,t.languages.hgignore=t.languages.ignore,t.languages.npmignore=t.languages.ignore})(e)}s6.displayName="inform7";s6.aliases=[];function s6(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}l6.displayName="io";l6.aliases=[];function l6(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}gc.displayName="javadoclike";gc.aliases=[];function gc(e){(function(t){var n=t.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function r(a,o){var s="doc-comment",u=t.languages[a];if(u){var c=u[s];if(!c){var p={};p[s]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=t.languages.insertBefore(a,"comment",p),c=u[s]}if(c instanceof RegExp&&(c=u[s]={pattern:c}),Array.isArray(c))for(var f=0,m=c.length;f|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function,delete e.languages.scala.constant}d6.displayName="javadoc";d6.aliases=[];function d6(e){e.register(xu),e.register(gc),e.register(fr),function(t){var n=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,r=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return r});t.languages.javadoc=t.languages.extend("javadoclike",{}),t.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:t.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:n,lookbehind:!0,inside:t.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:n,lookbehind:!0,inside:{tag:t.languages.markup.tag,entity:t.languages.markup.entity,code:{pattern:/.+/,inside:t.languages.java,alias:"language-java"}}}}}],tag:t.languages.markup.tag,entity:t.languages.markup.entity}),t.languages.javadoclike.addSupport("java",t.languages.javadoc)}(e)}p6.displayName="javastacktrace";p6.aliases=[];function p6(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}f6.displayName="jexl";f6.aliases=[];function f6(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}h6.displayName="jolie";h6.aliases=[];function h6(e){e.register(Mt),e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}g6.displayName="jq";g6.aliases=[];function g6(e){(function(t){var n=/\\\((?:[^()]|\([^()]*\))*\)/.source,r=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return n})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+n),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=t.languages.jq={comment:/#.*/,property:{pattern:RegExp(r.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:r,lookbehind:!0,greedy:!0,inside:i},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};i.interpolation.inside.content.inside=a})(e)}m6.displayName="js-templates";m6.aliases=[];function m6(e){e.register(xr),function(t){var n=t.languages.javascript["template-string"],r=n.pattern.source,i=n.inside.interpolation,a=i.inside["interpolation-punctuation"],o=i.pattern.source;function s(E,b){if(t.languages[E])return{pattern:RegExp("((?:"+b+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:E}}}}t.languages.javascript["template-string"]=[s("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),s("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),s("svg",/\bsvg/.source),s("markdown",/\b(?:markdown|md)/.source),s("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),s("sql",/\bsql/.source),n].filter(Boolean);function u(E,b){return"___"+b.toUpperCase()+"_"+E+"___"}function c(E,b,T){var v={code:E,grammar:b,language:T};return t.hooks.run("before-tokenize",v),v.tokens=t.tokenize(v.code,v.grammar),t.hooks.run("after-tokenize",v),v.tokens}function p(E){var b={};b["interpolation-punctuation"]=a;var T=t.tokenize(E,b);if(T.length===3){var v=[1,1];v.push.apply(v,c(T[1],t.languages.javascript,"javascript")),T.splice.apply(T,v)}return new t.Token("interpolation",T,i.alias,E)}function f(E,b,T){var v=t.tokenize(E,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),y=0,w={},A=v.map(function(B){if(typeof B=="string")return B;for(var W=B.content,P;E.indexOf(P=u(y++,T))!==-1;);return w[P]=W,P}).join(""),D=c(A,b,T),k=Object.keys(w);y=0;function R(B){for(var W=0;W=k.length)return;var P=B[W];if(typeof P=="string"||typeof P.content=="string"){var Q=k[y],z=typeof P=="string"?P:P.content,le=z.indexOf(Q);if(le!==-1){++y;var he=z.substring(0,le),de=p(w[Q]),fe=z.substring(le+Q.length),Z=[];if(he&&Z.push(he),Z.push(de),fe){var V=[fe];R(V),Z.push.apply(Z,V)}typeof P=="string"?(B.splice.apply(B,[W,1].concat(Z)),W+=Z.length-1):P.content=Z}}else{var ce=P.content;Array.isArray(ce)?R(ce):R([ce])}}}return R(D),new t.Token(T,D,"language-"+T,E)}var m={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};t.hooks.add("after-tokenize",function(E){if(!(E.language in m))return;function b(T){for(var v=0,y=T.length;v\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return r})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+r),lookbehind:!0,inside:{string:n.string,number:n.number,boolean:n.boolean,keyword:t.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:n,alias:"language-javascript"}}}}),t.languages.javadoclike.addSupport("javascript",t.languages.jsdoc)}(e)}E6.displayName="n4js";E6.aliases=["n4jsd"];function E6(e){e.register(xr),e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}v6.displayName="js-extras";v6.aliases=[];function v6(e){e.register(xr),function(t){t.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+t.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),t.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+t.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),t.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function n(u,c){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),c)}t.languages.insertBefore("javascript","keyword",{imports:{pattern:n(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:t.languages.javascript},exports:{pattern:n(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:t.languages.javascript}}),t.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),t.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),t.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:n(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],i=0;i|.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}S6.displayName="julia";S6.aliases=[];function S6(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}w6.displayName="keepalived";w6.aliases=[];function w6(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}A6.displayName="keyman";A6.aliases=[];function A6(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}C6.displayName="kumir";C6.aliases=["kum"];function C6(e){(function(t){var n=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function r(i,a){return RegExp(i.replace(//g,n),a)}t.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:r(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:r(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:r(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:r(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:r(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:r(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:r(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:r(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},t.languages.kum=t.languages.kumir})(e)}x6.displayName="kusto";x6.aliases=[];function x6(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}k6.displayName="latex";k6.aliases=["context","tex"];function k6(e){(function(t){var n=/\\(?:[^a-z()[\]]|[a-z*]+)/i,r={"equation-command":{pattern:n,alias:"regex"}};t.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:r,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:r,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:n,alias:"selector"},punctuation:/[[\]{}&]/},t.languages.tex=t.languages.latex,t.languages.context=t.languages.latex})(e)}I6.displayName="latte";I6.aliases=[];function I6(e){e.register(Mt),e.register(kr),e.register(ku),function(t){t.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:t.languages.php}};var n=t.languages.extend("markup",{});t.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:t.languages.php}}}}}},n.tag),t.hooks.add("before-tokenize",function(r){if(r.language==="latte"){var i=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;t.languages["markup-templating"].buildPlaceholders(r,"latte",i),r.grammar=n}}),t.hooks.add("after-tokenize",function(r){t.languages["markup-templating"].tokenizePlaceholders(r,"latte")})}(e)}Up.displayName="scheme";Up.aliases=[];function Up(e){(function(t){t.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(n({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function n(r){for(var i in r)r[i]=r[i].replace(/<[\w\s]+>/g,function(a){return"(?:"+r[a].trim()+")"});return r[i]}})(e)}R6.displayName="lilypond";R6.aliases=["ly"];function R6(e){e.register(Up),function(t){for(var n=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,r=5,i=0;i/g,function(){return n});n=n.replace(//g,/[^\s\S]/.source);var a=t.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return n}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:t.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};a["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=a,t.languages.ly=a}(e)}N6.displayName="liquid";N6.aliases=[];function N6(e){e.register(kr),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,r=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",n,function(i){var a=/^\{%-?\s*(\w+)/.exec(i);if(a){var o=a[1];if(o==="raw"&&!r)return r=!0,!0;if(o==="endraw")return r=!1,!0}return!r})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}O6.displayName="lisp";O6.aliases=["elisp","emacs","emacs-lisp"];function O6(e){(function(t){function n(E){return RegExp(/(\()/.source+"(?:"+E+")"+/(?=[\s\)])/.source)}function r(E){return RegExp(/([\s([])/.source+"(?:"+E+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+i,o="(\\()",s="(?=\\))",u="(?=\\s)",c=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,p={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),alias:["symbol","variable"]},keyword:[{pattern:RegExp(o+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+u),lookbehind:!0},{pattern:RegExp(o+"(?:append|by|collect|concat|do|finally|for|in|return)"+u),lookbehind:!0}],declare:{pattern:n(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:n(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:r(/nil|t/.source),lookbehind:!0},number:{pattern:r(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(o+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(o+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+c+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(o+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(o+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+c+/\)/.source),inside:p},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:p},m="\\S+(?:\\s+\\S+)*",g={pattern:RegExp(o+c+s),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+m),inside:f},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+m),inside:f},keys:{pattern:RegExp("&key\\s+"+m+"(?:\\s+&allow-other-keys)?"),inside:f},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};p.lambda.inside.arguments=g,p.defun.inside.arguments=t.util.clone(g),p.defun.inside.arguments.inside.sublist=g,t.languages.lisp=p,t.languages.elisp=p,t.languages.emacs=p,t.languages["emacs-lisp"]=p})(e)}D6.displayName="livescript";D6.aliases=[];function D6(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}L6.displayName="llvm";L6.aliases=[];function L6(e){(function(t){t.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(e)}M6.displayName="log";M6.aliases=[];function M6(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}F6.displayName="lolcode";F6.aliases=[];function F6(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}P6.displayName="magma";P6.aliases=[];function P6(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}J2.displayName="mata";J2.aliases=[];function J2(e){(function(t){var n=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,r=/\bvoid\b||\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*)?/.source.replace(//g,n);t.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(r),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}})(e)}B6.displayName="matlab";B6.aliases=[];function B6(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}U6.displayName="maxscript";U6.aliases=[];function U6(e){(function(t){var n=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;t.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+n.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+n.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:n,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(e)}$6.displayName="mel";$6.aliases=[];function $6(e){e.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},e.languages.mel.code.inside.statement.inside=e.languages.mel}z6.displayName="mermaid";z6.aliases=[];function z6(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}H6.displayName="metafont";H6.aliases=[];function H6(e){e.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}j6.displayName="mizar";j6.aliases=[];function j6(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}G6.displayName="mongodb";G6.aliases=[];function G6(e){e.register(xr),function(t){var n=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],r=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];n=n.map(function(a){return a.replace("$","\\$")});var i="(?:"+n.join("|")+")\\b";t.languages.mongodb=t.languages.extend("javascript",{}),t.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),t.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},t.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+r.join("|")+")\\b"),alias:"keyword"}})}(e)}V6.displayName="monkey";V6.aliases=[];function V6(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}W6.displayName="moonscript";W6.aliases=["moon"];function W6(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}q6.displayName="n1ql";q6.aliases=[];function q6(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}K6.displayName="nand2tetris-hdl";K6.aliases=[];function K6(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}Y6.displayName="naniscript";Y6.aliases=["nani"];function Y6(e){(function(t){var n=/\{[^\r\n\[\]{}]*\}/,r={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:n,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};t.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:n,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:r}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:n,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:r},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},t.languages.nani=t.languages.naniscript,t.hooks.add("after-tokenize",function(o){var s=o.tokens;s.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var c=a(u);i(c)||(u.type="bad-line",u.content=c)}})});function i(o){for(var s="[]{}",u=[],c=0;c=&|$!]/}}Z6.displayName="neon";Z6.aliases=[];function Z6(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}Q6.displayName="nevod";Q6.aliases=[];function Q6(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}J6.displayName="nginx";J6.aliases=[];function J6(e){(function(t){var n=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;t.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:n}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:n}},punctuation:/[{};]/}})(e)}e8.displayName="nim";e8.aliases=[];function e8(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}t8.displayName="nix";t8.aliases=[];function t8(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}n8.displayName="nsis";n8.aliases=[];function n8(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}r8.displayName="ocaml";r8.aliases=[];function r8(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}i8.displayName="odin";i8.aliases=[];function i8(e){(function(t){var n=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;t.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:n}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:n}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(e)}a8.displayName="opencl";a8.aliases=[];function a8(e){e.register(qa),function(t){t.languages.opencl=t.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),t.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var n={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};t.languages.insertBefore("c","keyword",n),t.languages.cpp&&(n["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},t.languages.insertBefore("cpp","keyword",n))}(e)}o8.displayName="openqasm";o8.aliases=["qasm"];function o8(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}s8.displayName="oz";s8.aliases=[];function s8(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}l8.displayName="parigp";l8.aliases=[];function l8(e){e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return t=t.map(function(n){return n.split("").join(" *")}).join("|"),RegExp("\\b(?:"+t+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}u8.displayName="parser";u8.aliases=[];function u8(e){e.register(fr),function(t){var n=t.languages.parser=t.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});n=t.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:n.keyword,variable:n.variable,function:n.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:n.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:n.punctuation}}}),t.languages.insertBefore("inside","punctuation",{expression:n.expression,keyword:n.keyword,variable:n.variable,function:n.function,escape:n.escape,"parser-punctuation":{pattern:n.punctuation,alias:"punctuation"}},n.tag.inside["attr-value"])}(e)}c8.displayName="pascal";c8.aliases=["objectpascal"];function c8(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}d8.displayName="pascaligo";d8.aliases=[];function d8(e){(function(t){var n=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,r=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return n}),i=t.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return r}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return r}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return r})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(o,s){return o[s]=i[s],o},{});i["class-name"].forEach(function(o){o.inside=a})})(e)}p8.displayName="psl";p8.aliases=[];function p8(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}f8.displayName="pcaxis";f8.aliases=["px"];function f8(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}h8.displayName="peoplecode";h8.aliases=["pcode"];function h8(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}g8.displayName="phpdoc";g8.aliases=[];function g8(e){e.register(gc),e.register(ku),function(t){var n=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;t.languages.phpdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+n+"\\s+)?)\\$\\w+"),lookbehind:!0}}),t.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+n),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),t.languages.javadoclike.addSupport("php",t.languages.phpdoc)}(e)}m8.displayName="php-extras";m8.aliases=[];function m8(e){e.register(ku),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}b8.displayName="plant-uml";b8.aliases=["plantuml"];function b8(e){(function(t){var n=/\$\w+|%[a-z]+%/,r=/\[[^[\]]*\]/.source,i=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,a="(?:-+"+i+"-+|\\.+"+i+"\\.+|-+(?:"+r+"-*)?|"+r+"-+|\\.+(?:"+r+"\\.*)?|"+r+"\\.+)",o=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,s=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,u=/[[?]?[ox]?/.source,c=/[ox]?[\]?]?/.source,p=u+"(?:"+a+s+"|"+o+a+"(?:"+s+")?)"+c;t.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:n}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+p+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:n,punctuation:/[:,;()[\]{}]|\.{3}/},t.languages["plant-uml"].arrow.inside.expression.inside=t.languages["plant-uml"],t.languages.plantuml=t.languages["plant-uml"]})(e)}E8.displayName="plsql";E8.aliases=[];function E8(e){e.register(pc),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}v8.displayName="powerquery";v8.aliases=["mscript","pq"];function v8(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}y8.displayName="powershell";y8.aliases=[];function y8(e){(function(t){var n=t.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};n.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:n},boolean:n.boolean,variable:n.variable}})(e)}_8.displayName="processing";_8.aliases=[];function _8(e){e.register(Mt),e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}T8.displayName="prolog";T8.aliases=[];function T8(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}S8.displayName="promql";S8.aliases=[];function S8(e){(function(t){var n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],r=["on","ignoring","group_right","group_left","by","without"],i=["offset"],a=n.concat(r,i);t.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+r.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+a.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(e)}w8.displayName="properties";w8.aliases=[];function w8(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}A8.displayName="protobuf";A8.aliases=[];function A8(e){e.register(Mt),function(t){var n=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;t.languages.protobuf=t.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),t.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:n}},builtin:n,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(e)}C8.displayName="stylus";C8.aliases=[];function C8(e){(function(t){var n={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:r,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},t.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:i.interpolation}},rest:i}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(e)}x8.displayName="twig";x8.aliases=[];function x8(e){e.register(kr),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){if(t.language==="twig"){var n=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;e.languages["markup-templating"].buildPlaceholders(t,"twig",n)}}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}k8.displayName="pug";k8.aliases=[];function k8(e){e.register(xr),e.register(fr),function(t){t.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:t.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:t.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:t.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:t.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:t.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:t.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:t.languages.javascript}],punctuation:/[.\-!=|]+/};for(var n=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,r=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},a=0,o=r.length;a",function(){return s.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[s.language,"language-"+s.language],inside:t.languages[s.language]}}})}t.languages.insertBefore("pug","filter",i)}(e)}I8.displayName="puppet";I8.aliases=[];function I8(e){(function(t){t.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var n=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:t.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];t.languages.puppet.heredoc[0].inside.interpolation=n,t.languages.puppet.string.inside["double-quoted"].inside.interpolation=n})(e)}R8.displayName="pure";R8.aliases=[];function R8(e){(function(t){t.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var n=["c",{lang:"c++",alias:"cpp"},"fortran"],r=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;n.forEach(function(i){var a=i;if(typeof i!="string"&&(a=i.alias,i=i.lang),t.languages[a]){var o={};o["inline-lang-"+a]={pattern:RegExp(r.replace("",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:t.util.clone(t.languages.pure["inline-lang"].inside)},o["inline-lang-"+a].inside.rest=t.util.clone(t.languages[a]),t.languages.insertBefore("pure","inline-lang",o)}}),t.languages.c&&(t.languages.pure["inline-lang"].inside.rest=t.util.clone(t.languages.c))})(e)}N8.displayName="purebasic";N8.aliases=["pbfasm"];function N8(e){e.register(Mt),e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}O8.displayName="purescript";O8.aliases=["purs"];function O8(e){e.register(Bp),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}D8.displayName="qsharp";D8.aliases=["qs"];function D8(e){e.register(Mt),function(t){function n(g,E){return g.replace(/<<(\d+)>>/g,function(b,T){return"(?:"+E[+T]+")"})}function r(g,E,b){return RegExp(n(g,E),b||"")}function i(g,E){for(var b=0;b>/g,function(){return"(?:"+g+")"});return g.replace(/<>/g,"[^\\s\\S]")}var a={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function o(g){return"\\b(?:"+g.trim().replace(/ /g,"|")+")\\b"}var s=RegExp(o(a.type+" "+a.other)),u=/\b[A-Za-z_]\w*\b/.source,c=n(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),p={keyword:s,punctuation:/[<>()?,.:[\]]/},f=/"(?:\\.|[^\\"])*"/.source;t.languages.qsharp=t.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[f]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[c]),lookbehind:!0,inside:p},{pattern:r(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[c]),lookbehind:!0,inside:p}],keyword:s,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),t.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var m=i(n(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[f]),2);t.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:r(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[m]),greedy:!0,inside:{interpolation:{pattern:r(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[m]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:t.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}L8.displayName="q";L8.aliases=[];function L8(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}M8.displayName="qml";M8.aliases=[];function M8(e){e.register(xr),function(t){for(var n=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,r=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return n}).replace(//g,function(){return r}),a=0;a<2;a++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[^\\s\\S]"),t.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:t.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:t.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}F8.displayName="qore";F8.aliases=[];function F8(e){e.register(Mt),e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}P8.displayName="racket";P8.aliases=["rkt"];function P8(e){e.register(Up),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}B8.displayName="cshtml";B8.aliases=["razor"];function B8(e){e.register(Cu),e.register(fr),function(t){var n=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,r=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function i(y,w){for(var A=0;A/g,function(){return"(?:"+y+")"});return y.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+r+")").replace(//g,"(?:"+n+")")}var a=i(/\((?:[^()'"@/]|||)*\)/.source,2),o=i(/\[(?:[^\[\]'"@/]|||)*\]/.source,1),s=i(/\{(?:[^{}'"@/]|||)*\}/.source,2),u=i(/<(?:[^<>'"@/]||)*>/.source,1),c=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+a+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+u+")?"+a+"|"+o+")*"+/(?![?!\.(\[]|<(?!\/))/.source,p=/@(?![\w()])/.source+"|"+c,f="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+p+`)[^"'@]*)+["'])`,m=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*|(?=[\s/>])))+)?/.source.replace(//,f),g=/(?!\d)[^\s>\/=$<%]+/.source+m+/\s*\/?>/.source,E=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+m+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|"+i(/<\1/.source+m+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/*\.{3}(?:[^{}]|)*\})/.source;function o(c,p){return c=c.replace(//g,function(){return r}).replace(//g,function(){return i}).replace(//g,function(){return a}),RegExp(c,p)}a=o(a).source,t.languages.jsx=t.languages.extend("markup",n),t.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=n.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var s=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(s).join(""):""},u=function(c){for(var p=[],f=0;f0&&p[p.length-1].tagName===s(m.content[0].content[1])&&p.pop():m.content[m.content.length-1].content==="/>"||p.push({tagName:s(m.content[0].content[1]),openedBraces:0}):p.length>0&&m.type==="punctuation"&&m.content==="{"?p[p.length-1].openedBraces++:p.length>0&&p[p.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?p[p.length-1].openedBraces--:g=!0),(g||typeof m=="string")&&p.length>0&&p[p.length-1].openedBraces===0){var E=s(m);f0&&(typeof c[f-1]=="string"||c[f-1].type==="plain-text")&&(E=s(c[f-1])+E,c.splice(f-1,1),f--),c[f]=new t.Token("plain-text",E,null,E)}m.content&&typeof m.content!="string"&&u(m.content)}};t.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||u(c.tokens)})}(e)}U8.displayName="tsx";U8.aliases=[];function U8(e){e.register(em),e.register(fc),function(t){var n=t.util.clone(t.languages.typescript);t.languages.tsx=t.languages.extend("jsx",n),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"];var r=t.languages.tsx.tag;r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0}(e)}$8.displayName="reason";$8.aliases=[];function $8(e){e.register(Mt),e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}z8.displayName="rego";z8.aliases=[];function z8(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}H8.displayName="renpy";H8.aliases=["rpy"];function H8(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}j8.displayName="rescript";j8.aliases=["res"];function j8(e){e.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},e.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:e.languages.rescript}},string:/[\s\S]+/}}}),e.languages.res=e.languages.rescript}G8.displayName="rest";G8.aliases=[];function G8(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}V8.displayName="rip";V8.aliases=[];function V8(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}W8.displayName="roboconf";W8.aliases=[];function W8(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}q8.displayName="robotframework";q8.aliases=["robot"];function q8(e){(function(t){var n={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},r={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(u,c){var p={};p["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var f in c)p[f]=c[f];return p.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},p.variable=r,p.comment=n,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:p}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},o={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:r}},s={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:r}};t.languages.robotframework={settings:i("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:i("Variables"),"test-cases":i("Test Cases",{"test-name":o,documentation:a,property:s}),keywords:i("Keywords",{"keyword-name":o,documentation:a,property:s}),tasks:i("Tasks",{"task-name":o,documentation:a,property:s}),comment:n},t.languages.robot=t.languages.robotframework})(e)}K8.displayName="sas";K8.aliases=[];function K8(e){(function(t){var n=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,r=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(n+"[bx]"),alias:"number"},a={pattern:/&[a-z_]\w*/i},o={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},s={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],c={pattern:RegExp(n),greedy:!0},p=/[$%@.(){}\[\];,\\]/,f={pattern:/%?\b\w+(?=\()/,alias:"keyword"},m={function:f,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:r,"numeric-constant":i,punctuation:p,string:c},g={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},E={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},b={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},T={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},v=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,y={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return v}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return v}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:f,"arg-value":m["arg-value"],operator:m.operator,argument:m.arg,number:r,"numeric-constant":i,punctuation:p,string:c}},w={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};t.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return n}),"im"),alias:"language-sql",inside:t.languages.sql},"global-statements":b,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:r,"numeric-constant":i,punctuation:p,string:c}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return n}),"im"),lookbehind:!0,alias:"language-groovy",inside:t.languages.groovy},keyword:w,"submit-statement":T,"global-statements":b,number:r,"numeric-constant":i,punctuation:p,string:c}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return n}),"im"),lookbehind:!0,alias:"language-lua",inside:t.languages.lua},keyword:w,"submit-statement":T,"global-statements":b,number:r,"numeric-constant":i,punctuation:p,string:c}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:m}},"cas-actions":y,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:m},step:s,keyword:w,function:f,format:g,altformat:E,"global-statements":b,number:r,"numeric-constant":i,punctuation:p,string:c}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return n}),"im"),lookbehind:!0,inside:m},"macro-keyword":o,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":o,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:p}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:u,number:r,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:m},"cas-actions":y,comment:u,function:f,format:g,altformat:E,"numeric-constant":i,datetime:{pattern:RegExp(n+"(?:dt?|t)"),alias:"number"},string:c,step:s,keyword:w,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:r,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:p}})(e)}Y8.displayName="shell-session";Y8.aliases=["sh-session","shellsession"];function Y8(e){e.register(Op),function(t){var n=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");t.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return n}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:t.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},t.languages["sh-session"]=t.languages.shellsession=t.languages["shell-session"]}(e)}X8.displayName="smali";X8.aliases=[];function X8(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}Z8.displayName="smalltalk";Z8.aliases=[];function Z8(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}Q8.displayName="smarty";Q8.aliases=[];function Q8(e){e.register(kr),function(t){t.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:t.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},t.languages.smarty["embedded-php"].inside.smarty.inside=t.languages.smarty,t.languages.smarty.string[0].inside.interpolation.inside.expression.inside=t.languages.smarty;var n=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,r=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return n.source}),"g");t.hooks.add("before-tokenize",function(i){var a="{literal}",o="{/literal}",s=!1;t.languages["markup-templating"].buildPlaceholders(i,"smarty",r,function(u){return u===o&&(s=!1),s?!1:(u===a&&(s=!0),!0)})}),t.hooks.add("after-tokenize",function(i){t.languages["markup-templating"].tokenizePlaceholders(i,"smarty")})}(e)}J8.displayName="sml";J8.aliases=["smlnj"];function J8(e){(function(t){var n=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;t.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return n.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:n,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},t.languages.sml["class-name"][0].inside=t.languages.sml,t.languages.smlnj=t.languages.sml})(e)}e_.displayName="solidity";e_.aliases=["sol"];function e_(e){e.register(Mt),e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}t_.displayName="solution-file";t_.aliases=["sln"];function t_(e){(function(t){var n={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};t.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:n}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:n}},guid:n,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},t.languages.sln=t.languages["solution-file"]})(e)}n_.displayName="soy";n_.aliases=[];function n_(e){e.register(kr),function(t){var n=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;t.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:n,greedy:!0},number:r,punctuation:/[\[\].?]/}},string:{pattern:n,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:r,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},t.hooks.add("before-tokenize",function(i){var a=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,o="{literal}",s="{/literal}",u=!1;t.languages["markup-templating"].buildPlaceholders(i,"soy",a,function(c){return c===s&&(u=!1),u?!1:(c===o&&(u=!0),!0)})}),t.hooks.add("after-tokenize",function(i){t.languages["markup-templating"].tokenizePlaceholders(i,"soy")})}(e)}tm.displayName="turtle";tm.aliases=["trig"];function tm(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}r_.displayName="sparql";r_.aliases=["rq"];function r_(e){e.register(tm),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}i_.displayName="splunk-spl";i_.aliases=[];function i_(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}a_.displayName="sqf";a_.aliases=[];function a_(e){e.register(Mt),e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}o_.displayName="squirrel";o_.aliases=[];function o_(e){e.register(Mt),e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}s_.displayName="stan";s_.aliases=[];function s_(e){(function(t){var n=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;t.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+n.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,n],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},t.languages.stan.constraint.inside.expression.inside=t.languages.stan})(e)}l_.displayName="stata";l_.aliases=[];function l_(e){e.register(xu),e.register(J2),e.register(Mp),e.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:e.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:e.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:e.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},e.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=e.languages.stata}u_.displayName="iecst";u_.aliases=[];function u_(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}c_.displayName="supercollider";c_.aliases=["sclang"];function c_(e){e.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},e.languages.sclang=e.languages.supercollider}d_.displayName="systemd";d_.aliases=[];function d_(e){(function(t){var n={pattern:/^[;#].*/m,greedy:!0},r=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;t.languages.systemd={comment:n,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+r+`|(?=[^"\r +]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+r+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:n,quoted:{pattern:RegExp(/(^|\s)/.source+r),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(e)}$p.displayName="t4-templating";$p.aliases=[];function $p(e){(function(t){function n(i,a,o){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:a,alias:o}}}}function r(i){var a=t.languages[i],o="language-"+i;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:n("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:n("=",a,o),"class-feature":n("\\+",a,o),standard:n("",a,o)}}}}t.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:r})})(e)}p_.displayName="t4-cs";p_.aliases=["t4"];function p_(e){e.register(Cu),e.register($p),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}f_.displayName="t4-vb";f_.aliases=[];function f_(e){e.register($p),e.register(Pp),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}h_.displayName="tap";h_.aliases=[];function h_(e){e.register(Lp),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}g_.displayName="tcl";g_.aliases=[];function g_(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}m_.displayName="tt2";m_.aliases=[];function m_(e){e.register(Mt),e.register(kr),function(t){t.languages.tt2=t.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),t.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),t.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),t.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete t.languages.tt2.string,t.hooks.add("before-tokenize",function(n){var r=/\[%[\s\S]+?%\]/g;t.languages["markup-templating"].buildPlaceholders(n,"tt2",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"tt2")})}(e)}b_.displayName="toml";b_.aliases=[];function b_(e){(function(t){var n=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function r(i){return i.replace(/__/g,function(){return n})}t.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(r(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(r(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(e)}E_.displayName="tremor";E_.aliases=["trickle","troy"];function E_(e){(function(t){t.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var n=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;t.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+n+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+n+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(n),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.tremor}}},string:/[\s\S]+/}},t.languages.troy=t.languages.tremor,t.languages.trickle=t.languages.tremor})(e)}v_.displayName="typoscript";v_.aliases=["tsconfig"];function v_(e){(function(t){var n=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;t.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:n}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:n,number:/^\d+$/,punctuation:/[,|:]/}},keyword:n,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},t.languages.tsconfig=t.languages.typoscript})(e)}y_.displayName="unrealscript";y_.aliases=["uc","uscript"];function y_(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}__.displayName="uorazor";__.aliases=[];function __(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}T_.displayName="v";T_.aliases=[];function T_(e){e.register(Mt),function(t){var n={pattern:/[\s\S]+/,inside:null};t.languages.v=t.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":n}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),n.inside=t.languages.v,t.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),t.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),t.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:t.languages.v.generic.inside}}}})}(e)}S_.displayName="vala";S_.aliases=[];function S_(e){e.register(Mt),e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}w_.displayName="velocity";w_.aliases=[];function w_(e){e.register(fr),function(t){t.languages.velocity=t.languages.extend("markup",{});var n={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};n.variable.inside={string:n.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:n.number,boolean:n.boolean,punctuation:n.punctuation},t.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:n}},variable:n.variable}),t.languages.velocity.tag.inside["attr-value"].inside.rest=t.languages.velocity}(e)}A_.displayName="verilog";A_.aliases=[];function A_(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}C_.displayName="vhdl";C_.aliases=[];function C_(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}x_.displayName="vim";x_.aliases=[];function x_(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}k_.displayName="visual-basic";k_.aliases=["vb","vba"];function k_(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}I_.displayName="warpscript";I_.aliases=[];function I_(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}R_.displayName="wasm";R_.aliases=[];function R_(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}N_.displayName="web-idl";N_.aliases=["webidl"];function N_(e){(function(t){var n=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,r="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+n+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,i={};t.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+n),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+r),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+n+/\s*=\s*/.source+")"+r),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+r),lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+n),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+n),lookbehind:!0},RegExp(n+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+n),lookbehind:!0},{pattern:RegExp(r+"(?="+/\s*(?:\.{3}\s*)?/.source+n+/\s*[(),;=]/.source+")"),inside:i}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var a in t.languages["web-idl"])a!=="class-name"&&(i[a]=t.languages["web-idl"][a]);t.languages.webidl=t.languages["web-idl"]})(e)}O_.displayName="wgsl";O_.aliases=[];function O_(e){e.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/}}D_.displayName="wiki";D_.aliases=[];function D_(e){e.register(fr),e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}L_.displayName="wolfram";L_.aliases=["mathematica","nb","wl"];function L_(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}M_.displayName="wren";M_.aliases=[];function M_(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}F_.displayName="xeora";F_.aliases=["xeoracube"];function F_(e){e.register(fr),function(t){t.languages.xeora=t.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),t.languages.insertBefore("inside","punctuation",{variable:t.languages.xeora["function-inline"].inside.variable},t.languages.xeora["function-block"]),t.languages.xeoracube=t.languages.xeora}(e)}P_.displayName="xml-doc";P_.aliases=[];function P_(e){e.register(fr),function(t){function n(o,s){t.languages[o]&&t.languages.insertBefore(o,"comment",{"doc-comment":s})}var r=t.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:r}},a={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:r}};n("csharp",i),n("fsharp",i),n("vbnet",a)}(e)}B_.displayName="xojo";B_.aliases=[];function B_(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}U_.displayName="xquery";U_.aliases=[];function U_(e){e.register(fr),function(t){t.languages.xquery=t.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),t.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,t.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,t.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,t.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:t.languages.xquery,alias:"language-xquery"};var n=function(i){return typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(n).join("")},r=function(i){for(var a=[],o=0;o0&&a[a.length-1].tagName===n(s.content[0].content[1])&&a.pop():s.content[s.content.length-1].content==="/>"||a.push({tagName:n(s.content[0].content[1]),openedBraces:0}):a.length>0&&s.type==="punctuation"&&s.content==="{"&&(!i[o+1]||i[o+1].type!=="punctuation"||i[o+1].content!=="{")&&(!i[o-1]||i[o-1].type!=="plain-text"||i[o-1].content!=="{")?a[a.length-1].openedBraces++:a.length>0&&a[a.length-1].openedBraces>0&&s.type==="punctuation"&&s.content==="}"?a[a.length-1].openedBraces--:s.type!=="comment"&&(u=!0)),(u||typeof s=="string")&&a.length>0&&a[a.length-1].openedBraces===0){var c=n(s);o0&&(typeof i[o-1]=="string"||i[o-1].type==="plain-text")&&(c=n(i[o-1])+c,i.splice(o-1,1),o--),/^\s+$/.test(c)?i[o]=c:i[o]=new t.Token("plain-text",c,null,c)}s.content&&typeof s.content!="string"&&r(s.content)}};t.hooks.add("after-tokenize",function(i){i.language==="xquery"&&r(i.tokens)})}(e)}$_.displayName="yang";$_.aliases=[];function $_(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}z_.displayName="zig";z_.aliases=[];function z_(e){(function(t){function n(c){return function(){return c}}var r=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,i="\\b(?!"+r.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,o=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,n(a)),s=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,n(i)),u="(?!\\s)(?:!?\\s*(?:"+o+"\\s*)*"+s+")+";t.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,n(u)).replace(//g,n(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,n(u)).replace(//g,n(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:r,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},t.languages.zig["class-name"].forEach(function(c){c.inside===null&&(c.inside=t.languages.zig)})})(e)}L.register(fr);L.register(Tl);L.register(Mt);L.register(z2);L.register(xr);L.register(iv);L.register(av);L.register(ov);L.register(sv);L.register(lv);L.register(uv);L.register(cv);L.register(dv);L.register(pc);L.register(pv);L.register(fv);L.register(hv);L.register(gv);L.register(qa);L.register(Au);L.register(P2);L.register(mv);L.register(bv);L.register(Op);L.register(Lp);L.register(V2);L.register(Ev);L.register(vv);L.register(Cu);L.register(yv);L.register(_v);L.register(Tv);L.register(Sv);L.register(wv);L.register(Av);L.register(Cv);L.register(xv);L.register(Fp);L.register(kv);L.register(Iv);L.register(Rv);L.register(Nv);L.register(Ov);L.register(Dv);L.register(Lv);L.register(Mv);L.register(Fv);L.register(Pv);L.register(Bv);L.register(Uv);L.register($v);L.register(zv);L.register(Hv);L.register(jv);L.register(Gv);L.register(Vv);L.register(Wv);L.register(qv);L.register(Kv);L.register(Yv);L.register(Xv);L.register(Zv);L.register(Qv);L.register(Iu);L.register(Jv);L.register(ey);L.register(ty);L.register(ny);L.register(ry);L.register(iy);L.register(ay);L.register(oy);L.register(sy);L.register(ly);L.register(B2);L.register(kr);L.register(uy);L.register(cy);L.register(dy);L.register(py);L.register(fy);L.register(hy);L.register(gy);L.register(my);L.register(by);L.register(Ey);L.register(Dp);L.register(vy);L.register(yy);L.register(_y);L.register(Ty);L.register(Sy);L.register(wy);L.register(Ay);L.register(Cy);L.register(xy);L.register(ky);L.register(Iy);L.register(Ry);L.register(Ny);L.register(Oy);L.register(Dy);L.register(Ly);L.register(My);L.register(Fy);L.register(Py);L.register(By);L.register(Uy);L.register($y);L.register(U2);L.register(zy);L.register(Hy);L.register(jy);L.register(Gy);L.register(j2);L.register(Z2);L.register(Vy);L.register(Wy);L.register(qy);L.register(Bp);L.register(Ky);L.register(Yy);L.register(Xy);L.register(Zy);L.register(Qy);L.register(Jy);L.register(dc);L.register(e6);L.register(t6);L.register(n6);L.register(r6);L.register(i6);L.register(a6);L.register(o6);L.register(s6);L.register($2);L.register(l6);L.register(u6);L.register(xu);L.register(ku);L.register(gc);L.register(c6);L.register(d6);L.register(p6);L.register(f6);L.register(h6);L.register(g6);L.register(m6);L.register(fc);L.register(b6);L.register(E6);L.register(v6);L.register(y6);L.register(_6);L.register(T6);L.register(S6);L.register(w6);L.register(A6);L.register(H2);L.register(C6);L.register(x6);L.register(k6);L.register(I6);L.register(Up);L.register(R6);L.register(N6);L.register(O6);L.register(D6);L.register(L6);L.register(M6);L.register(F6);L.register(P6);L.register(G2);L.register(J2);L.register(B6);L.register(U6);L.register($6);L.register(z6);L.register(H6);L.register(j6);L.register(G6);L.register(V6);L.register(W6);L.register(q6);L.register(K6);L.register(Y6);L.register(X6);L.register(Z6);L.register(Q6);L.register(J6);L.register(e8);L.register(t8);L.register(n8);L.register(W2);L.register(r8);L.register(i8);L.register(a8);L.register(o8);L.register(s8);L.register(l8);L.register(u8);L.register(c8);L.register(d8);L.register(p8);L.register(f8);L.register(h8);L.register(q2);L.register(g8);L.register(m8);L.register(b8);L.register(E8);L.register(v8);L.register(y8);L.register(_8);L.register(T8);L.register(S8);L.register(w8);L.register(A8);L.register(C8);L.register(x8);L.register(k8);L.register(I8);L.register(R8);L.register(N8);L.register(O8);L.register(Mp);L.register(D8);L.register(L8);L.register(M8);L.register(F8);L.register(K2);L.register(P8);L.register(B8);L.register(em);L.register(U8);L.register($8);L.register(z8);L.register(H8);L.register(j8);L.register(G8);L.register(V8);L.register(W8);L.register(q8);L.register(Y2);L.register(K8);L.register(X2);L.register(Y8);L.register(X8);L.register(Z8);L.register(Q8);L.register(J8);L.register(e_);L.register(t_);L.register(n_);L.register(tm);L.register(r_);L.register(i_);L.register(a_);L.register(o_);L.register(s_);L.register(l_);L.register(u_);L.register(c_);L.register(Q2);L.register(d_);L.register($p);L.register(p_);L.register(Pp);L.register(f_);L.register(h_);L.register(g_);L.register(m_);L.register(b_);L.register(E_);L.register(v_);L.register(y_);L.register(__);L.register(T_);L.register(S_);L.register(w_);L.register(A_);L.register(C_);L.register(x_);L.register(k_);L.register(I_);L.register(R_);L.register(N_);L.register(O_);L.register(D_);L.register(L_);L.register(M_);L.register(F_);L.register(P_);L.register(B_);L.register(U_);L.register($_);L.register(z_);function Mb(){Mb=function(i,a){return new n(i,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function n(i,a,o){var s=new RegExp(i,a);return t.set(s,o||t.get(i)),dg(s,n.prototype)}function r(i,a){var o=t.get(a);return Object.keys(o).reduce(function(s,u){return s[u]=i[o[u]],s},Object.create(null))}return Soe(n,RegExp),n.prototype.exec=function(i){var a=e.exec.call(this,i);return a&&(a.groups=r(a,this)),a},n.prototype[Symbol.replace]=function(i,a){if(typeof a=="string"){var o=t.get(this);return e[Symbol.replace].call(this,i,a.replace(/\$<([^>]+)>/g,function(u,c){return"$"+o[c]}))}if(typeof a=="function"){var s=this;return e[Symbol.replace].call(this,i,function(){var u=arguments;return typeof u[u.length-1]!="object"&&(u=[].slice.call(u)).push(r(u,s)),a.apply(this,u)})}return e[Symbol.replace].call(this,i,a)},Mb.apply(this,arguments)}function Soe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dg(e,t)}function dg(e,t){return dg=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},dg(e,t)}function ck(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var woe=function(e){return function(t){return t===void 0&&(t={}),function(r){Ui(r,"element",n)};function n(r,i,a){var o,s;if(a&&a.tagName==="pre"&&r.tagName==="code"){var u=(r==null||(o=r.data)==null?void 0:o.meta)||(r==null||(s=r.properties)==null?void 0:s.metastring)||"";r.properties.className?typeof r.properties.className=="boolean"?r.properties.className=[]:Array.isArray(r.properties.className)||(r.properties.className=[r.properties.className]):r.properties.className=[],r.properties.className.push("code-highlight");var c,p,f=function(A){for(var D,k=D3(A.properties.className);!(D=k()).done;){var R=D.value;if(R.slice(0,9)==="language-")return R.slice(9).toLowerCase()}return null}(r);if(f)try{var m;m=f!=null&&f.includes("diff-")?f.split("-")[1]:f,c=e.highlight(T1(r),m),a.properties.className=(a.properties.className||[]).concat("language-"+m)}catch(A){if(!t.ignoreMissing||!/Unknown language/.test(A.message))throw A;c=r}else c=r;c.children=(p=1,function A(D){return D.reduce(function(k,R){if(R.type==="text"){var B=R.value,W=(B.match(/\n/g)||"").length;if(W===0)R.position={start:{line:p,column:1},end:{line:p,column:1}},k.push(R);else for(var P,Q=B.split(` +`),z=D3(Q.entries());!(P=z()).done;){var le=P.value,he=le[0],de=le[1];k.push({type:"text",value:he===Q.length-1?de:de+` +`,position:{start:{line:p+he,column:1},end:{line:p+he,column:1}}})}return p+=W,k}if(Object.prototype.hasOwnProperty.call(R,"children")){var fe=p;return R.children=A(R.children),k.push(R),R.position={start:{line:fe,column:1},end:{line:p,column:1}},k}return k.push(R),k},[])})(c.children),c.position=c.children.length>0?{start:{line:c.children[0].position.start.line,column:0},end:{line:c.children[c.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var g,E=function(A){var D=/{([\d,-]+)}/,k=A.split(",").map(function(W){return W.trim()}).join();if(D.test(k)){var R=D.exec(k)[1],B=Xae(R);return function(W){return B.includes(W+1)}}return function(){return!1}}(u),b=function(A){var D=Mb(/showLineNumbers=([0-9]+)/i,{lines:1});if(D.test(A)){var k=D.exec(A);return Number(k.groups.lines)}return 1}(u),T=function(A){for(var D=new Array(A),k=0;k=D+1});k.children=R.children,!u.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||v.some(function(B){return u.toLowerCase().includes(B)})||(k.properties.line=[(D+b).toString()],k.properties.className.push("line-number")),E(D)&&k.properties.className.push("highlight-line"),(f==="diff"||f!=null&&f.includes("diff-"))&&T1(k).substring(0,1)==="-"?k.properties.className.push("deleted"):(f==="diff"||f!=null&&f.includes("diff-"))&&T1(k).substring(0,1)==="+"&&k.properties.className.push("inserted")},w=D3(T.entries());!(g=w()).done;)y();T.length>0&&T1(T[T.length-1]).trim()===""&&T.pop(),r.children=T}}}},Aoe=woe(L);const nM="֑-߿יִ-﷽ﹰ-ﻼ",rM="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",Coe=new RegExp("^[^"+rM+"]*["+nM+"]"),xoe=new RegExp("^[^"+nM+"]*["+rM+"]");function koe(e){const t=String(e||"");return Coe.test(t)?"rtl":xoe.test(t)?"ltr":"neutral"}function Ioe(e,t){const n=e.schema,r=e.language,i=e.direction,a=e.editableOrEditingHost;let o;if(t.type==="element"&&t.properties){const c=t.properties.xmlLang||t.properties.lang,p=t.properties.type||"text",f=dk(t);c!=null&&(e.language=String(c)),n&&n.space==="html"?(t.properties.contentEditable==="true"&&(e.editableOrEditingHost=!0),t.tagName==="svg"&&(e.schema=yl),f==="rtl"?o=f:f==="ltr"||f!=="auto"&&t.tagName==="html"||f!=="auto"&&t.tagName==="input"&&p==="tel"?o="ltr":(f==="auto"||t.tagName==="bdi")&&(t.tagName==="textarea"?o=L3(T1(t)):t.tagName==="input"&&(p==="email"||p==="search"||p==="tel"||p==="text")?o=t.properties.value?L3(t.properties.value):"ltr":Ui(t,u)),o&&(e.direction=o)):e.editableOrEditingHost&&(e.editableOrEditingHost=!1)}return s;function s(){e.schema=n,e.language=r,e.direction=i,e.editableOrEditingHost=a}function u(c){if(c.type==="text")return o=L3(c.value),o?Ab:void 0;if(c!==t&&c.type==="element"&&(c.tagName==="bdi"||c.tagName==="script"||c.tagName==="style"||c.tagName==="textare"||dk(c)))return Cd}}function L3(e){const t=koe(e);return t==="neutral"?void 0:t}function dk(e){const t=e.type==="element"&&e.properties&&typeof e.properties.dir=="string"?e.properties.dir.toLowerCase():void 0;return t==="auto"||t==="ltr"||t==="rtl"?t:void 0}const Roe=F2("operator",{unknown:Uoe,invalid:Ooe,handlers:{"=":Doe,"~=":Loe,"|=":Moe,"^=":Foe,"$=":Poe,"*=":Boe}});function Noe(e,t,n){const r=e.attrs;let i=-1;for(;++i=fk&&e.charCodeAt(t)<=Woe;)c=c*10+(e.charCodeAt(t)-fk),t++;return t===u?null:c}function s(){for(;ta<=n;if(t===0)return a=>a===n;if(t===1)return n<0?hk.trueFunc:a=>a>=n;const r=Math.abs(t),i=(n%r+r)%r;return t>1?a=>a>=n&&a%r===i:a=>a<=n&&a%r===i}function gk(e){return Yoe(qoe(e))}const Xoe=gk.default||gk,Zoe=F2("name",{unknown:Tse,invalid:_se,handlers:{any:Fb,"any-link":Qoe,blank:Joe,checked:ese,dir:tse,disabled:aM,empty:nse,enabled:rse,"first-child":ise,"first-of-type":ase,has:ose,lang:sse,"last-child":lse,"last-of-type":use,matches:Fb,not:cse,"nth-child":dse,"nth-last-child":pse,"nth-of-type":hse,"nth-last-of-type":fse,"only-child":gse,"only-of-type":mse,optional:bse,"read-only":Ese,"read-write":oM,required:sM,root:vse,scope:yse}});iM.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","matches","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];function iM(e,t,n,r,i){const a=e.pseudos;let o=-1;for(;++o0}function sse(e,t,n,r,i){return i.language!==""&&i.language!==void 0&&Goe(i.language,lp(e.value)).length>0}function lse(e,t,n,r,i){return To(i,e),!!(i.elementCount&&i.elementIndex===i.elementCount-1)}function use(e,t,n,r,i){return To(i,e),typeof i.typeIndex=="number"&&typeof i.typeCount=="number"&&i.typeIndex===i.typeCount-1}function Fb(e,t,n,r,i){const a={...i,found:!1,shallow:!1,one:!0,scopeElements:[t],results:[],rootQuery:H_(e.value)};return j_(a,t),a.results[0]===t}function cse(e,t,n,r,i){return!Fb(e,t,n,r,i)}function dse(e,t,n,r,i){const a=nm(e);return To(i,e),typeof i.elementIndex=="number"&&a(i.elementIndex)}function pse(e,t,n,r,i){const a=nm(e);return To(i,e),!!(typeof i.elementCount=="number"&&typeof i.elementIndex=="number"&&a(i.elementCount-i.elementIndex-1))}function fse(e,t,n,r,i){const a=nm(e);return To(i,e),typeof i.typeCount=="number"&&typeof i.typeIndex=="number"&&a(i.typeCount-1-i.typeIndex)}function hse(e,t,n,r,i){const a=nm(e);return To(i,e),typeof i.typeIndex=="number"&&a(i.typeIndex)}function gse(e,t,n,r,i){return To(i,e),i.elementCount===1}function mse(e,t,n,r,i){return To(i,e),i.typeCount===1}function bse(e,t){return!sM(e,t)}function Ese(e,t,n,r,i){return!oM(e,t,n,r,i)}function oM(e,t,n,r,i){return t.tagName==="input"||t.tagName==="textarea"?!Hr(t,"readOnly")&&!Hr(t,"disabled"):!!i.editableOrEditingHost}function sM(e,t){return(t.tagName==="input"||t.tagName==="textarea"||t.tagName==="select")&&Hr(t,"required")}function vse(e,t,n,r,i){return!!((!r||r.type==="root")&&i.schema&&(i.schema.space==="html"||i.schema.space==="svg")&&(t.tagName==="html"||t.tagName==="svg"))}function yse(e,t,n,r,i){return i.scopeElements.includes(t)}function _se(){throw new Error("Invalid pseudo-selector")}function Tse(e){throw e.name?new Error("Unknown pseudo-selector `"+e.name+"`"):new Error("Unexpected pseudo-element or empty pseudo-class")}function lM(e,t){const n=e.children;let r=-1;for(;++r"?"directChild":"descendant";M3(a,p,c)}else e.found=!0,e.results.includes(n)||e.results.push(n)}s.rule.nestingOperator===null?M3(a,"descendant",s):s.rule.nestingOperator==="~"&&M3(a,"generalSibling",s)}return a}function gh(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:wse}function M3(e,t,n){const r=e[t];r?r.push(n):e[t]=[n]}function mk(e,t){if(t.type==="element"){const n=t.tagName.toUpperCase(),r=(e.types.get(n)||0)+1;e.count++,e.types.set(n,r)}}var cM={},G_={},V_={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function n(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=n;function r(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=r;function i(o){for(var s=o.length,u="",c=0;c="A"&&p<="Z"||p>="a"&&p<="z"||c!==0&&p>="0"&&p<="9")u+=p;else{var f=p.charCodeAt(0);if((f&63488)===55296){var m=o.charCodeAt(c++);if((f&64512)!==55296||(m&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");f=((f&1023)<<10)+(m&1023)+65536}u+="\\"+f.toString(16)+" "}c++}return u}e.escapeIdentifier=i;function a(o){for(var s=o.length,u="",c=0,p;c":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:` +`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:` +`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'}})(V_);Object.defineProperty(G_,"__esModule",{value:!0});var Ia=V_;function xse(e,t,n,r,i,a){var o=e.length,s="";function u(b,T){var v="";for(t++,s=e.charAt(t);t=o)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(t),Ia.identSpecialChars[s])b+=s;else if(Ia.isHex(s)){var T=s;for(t++,s=e.charAt(t);Ia.isHex(s);)T+=s,t++,s=e.charAt(t);s===" "&&(t++,s=e.charAt(t)),b+=String.fromCharCode(parseInt(T,16));continue}else b+=s}else return b;t++,s=e.charAt(t)}return b}function p(){s=e.charAt(t);for(var b=!1;s===" "||s===" "||s===` +`||s==="\r"||s==="\f";)b=!0,t++,s=e.charAt(t);return b}function f(){var b=m();if(t=o||s===","||s===")"));)if(i[s]){var y=s;if(t++,p(),T=E(),!T)throw Error('Rule expected after "'+y+'".');T.nestingOperator=y}else T=E(),T&&(T.nestingOperator=null);return b}function E(){for(var b=null;t=o)throw Error('Expected "=" but end of file reached.');if(s!=="=")throw Error('Expected "=" but "'+s+'" found.');T.operator=v+"=",t++,p();var y="";if(T.valueType="string",s==='"')y=u('"',Ia.doubleQuotesEscapeChars);else if(s==="'")y=u("'",Ia.singleQuoteEscapeChars);else if(a&&s==="$")t++,y=c(),T.valueType="substitute";else{for(;t=o)throw Error('Expected "]" but end of file reached.');if(s!=="]")throw Error('Expected "]" but "'+s+'" found.');t++,T.value=y}b=b||{},(b.attrs=b.attrs||[]).push(T)}else if(s===":"){t++;var w=c(),A={name:w};if(s==="("){t++;var D="";if(p(),n[w]==="selector")A.valueType="selector",D=m();else{if(A.valueType=n[w]||"string",s==='"')D=u('"',Ia.doubleQuotesEscapeChars);else if(s==="'")D=u("'",Ia.singleQuoteEscapeChars);else if(a&&s==="$")t++,D=c(),A.valueType="substitute";else{for(;t=o)throw Error('Expected ")" but end of file reached.');if(s!==")")throw Error('Expected ")" but "'+s+'" found.');t++,A.value=D}b=b||{},(b.pseudos=b.pseudos||[]).push(A)}else break;return b}return f()}G_.parseCssSelector=xse;var W_={};Object.defineProperty(W_,"__esModule",{value:!0});var ki=V_;function mh(e){var t="";switch(e.type){case"ruleSet":for(var n=e.rule,r=[];n;)n.nestingOperator&&r.push(n.nestingOperator),r.push(mh(n)),n=n.rule;t=r.join(" ");break;case"selectors":t=e.selectors.map(mh).join(", ");break;case"rule":e.tagName&&(e.tagName==="*"?t="*":t=ki.escapeIdentifier(e.tagName)),e.id&&(t+="#"+ki.escapeIdentifier(e.id)),e.classNames&&(t+=e.classNames.map(function(i){return"."+ki.escapeIdentifier(i)}).join("")),e.attrs&&(t+=e.attrs.map(function(i){return"operator"in i?i.valueType==="substitute"?"["+ki.escapeIdentifier(i.name)+i.operator+"$"+i.value+"]":"["+ki.escapeIdentifier(i.name)+i.operator+ki.escapeStr(i.value)+"]":"["+ki.escapeIdentifier(i.name)+"]"}).join("")),e.pseudos&&(t+=e.pseudos.map(function(i){return i.valueType?i.valueType==="selector"?":"+ki.escapeIdentifier(i.name)+"("+mh(i.value)+")":i.valueType==="substitute"?":"+ki.escapeIdentifier(i.name)+"($"+i.value+")":i.valueType==="numeric"?":"+ki.escapeIdentifier(i.name)+"("+i.value+")":":"+ki.escapeIdentifier(i.name)+"("+ki.escapeIdentifier(i.value)+")":":"+ki.escapeIdentifier(i.name)}).join(""));break;default:throw Error('Unknown entity type: "'+e.type+'".')}return t}W_.renderEntity=mh;Object.defineProperty(cM,"__esModule",{value:!0});var kse=G_,Ise=W_,Rse=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var t=[],n=0;n","+","~");function Ose(e){if(typeof e!="string")throw new TypeError("Expected `string` as selector, not `"+e+"`");return rm.parse(e)}function Dse(e,t,n){const r=Lse(e,t,n);return j_(r,t||void 0),r.results}function Lse(e,t,n){return{rootQuery:H_(Ose(e)),results:[],scopeElements:t?t.type==="root"?t.children:[t]:[],one:!1,shallow:!1,found:!1,schema:n==="svg"?yl:Tu,language:void 0,direction:"ltr",editableOrEditingHost:!1,typeIndex:void 0,elementIndex:void 0,typeCount:void 0,elementCount:void 0}}const dM=(e=[],t="")=>(e.forEach(n=>{n.type==="text"?t+=n.value:n.type==="element"&&n.children&&Array.isArray(n.children)&&(t+=dM(n.children))}),t),Mse=e=>{const{selector:t,rewrite:n}=e||{};return r=>{if(!(!n||typeof n!="function")){if(t&&typeof t=="string"){const i=Dse(t,r);i&&i.length>0&&Ui(r,i,(a,o,s)=>{n(a,o,s)});return}Ui(r,(i,a,o)=>{n(i,a,o)})}}},Fse=Mse;var Pse={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]};function Bse(e){return e===void 0&&(e=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":e},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}}function Use(e,t){if(typeof document>"u")return;const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style={position:"absolute",left:"-9999px"},document.body.appendChild(n);const r=document.getSelection().rangeCount>0?document.getSelection().getRangeAt(0):!1;n.select();let i=!1;try{i=!!document.execCommand("copy")}catch{i=!1}document.body.removeChild(n),r&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r)),t&&t(i)}function pM(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?pM(t.parentElement):null}function $se(e){var t=n=>{var r=pM(n.target);r&&(r.classList.add("active"),Use(r.dataset.code,function(){setTimeout(()=>{r.classList.remove("active")},2e3)}))};C.useEffect(()=>{var n,r;return(n=e.current)==null||n.removeEventListener("click",t,!1),(r=e.current)==null||r.addEventListener("click",t,!1),()=>{var i;(i=e.current)==null||i.removeEventListener("click",t,!1)}},[e])}var zse=function(t){return n=>{Ui(n,r=>{r.type==="element"&&r.tagName==="code"&&r.data&&r.data.meta&&(r.properties=tn({},r.properties,{"data-meta":String(r.data.meta)}))})}},Hse=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement"];const jse=ut.forwardRef((e,t)=>{var{prefixCls:n="wmde-markdown wmde-markdown-color",className:r,source:i,style:a,disableCopy:o=!1,skipHtml:s=!0,onScroll:u,onMouseOver:c,pluginsFilter:p,rehypeRewrite:f,wrapperElement:m={},warpperElement:g={}}=e,E=E1(e,Hse),b=ut.useRef(null);C.useImperativeHandle(t,()=>tn({},e,{mdp:b}),[b,e]);var T=(n||"")+" "+(r||"");$se(b);var v=(k,R,B)=>{if(k.type==="element"&&B&&B.type==="root"&&/h(1|2|3|4|5|6)/.test(k.tagName)){var W=k.children&&k.children[0];W&&W.properties&&W.properties.ariaHidden==="true"&&(W.properties=tn({class:"anchor"},W.properties),W.children=[Pse])}if(k.type==="element"&&k.tagName==="pre"&&!o){var P=dM(k.children);k.children.push(Bse(P))}f&&f(k,R,B)},y=[zse,[Aoe,{ignoreMissing:!0}],Fae,$ae,Wae,[Fse,{rewrite:v}],[Gae,{properties:"attr"}],...E.rehypePlugins||[]],w={allowElement:(k,R,B)=>E.allowElement?E.allowElement(k,R,B):/^[A-Za-z0-9]+$/.test(k.tagName)};s&&y.push(kae);var A=[...E.remarkPlugins||[],Kte],D=tn({},g,m);return I.jsx("div",tn({ref:b,onScroll:u,onMouseOver:c},D,{className:T,style:a,children:I.jsx(HE,tn({},w,E,{skipHtml:s,rehypePlugins:p?p("rehype",y):y,remarkPlugins:p?p("remark",A):A,children:i||""}))}))}),Gse=He(jse)` pre { - background-color: ${(e) => (e.light ? Kt : Lt)}; + background-color: ${e=>e.light?Kt:Lt}; border-radius: ${wt}; /* border: 0.5px solid ${vt}; */ @@ -49799,41 +295,23 @@ const jse = ut.forwardRef((e, t) => { } pre > code { - background-color: ${(e) => (e.light ? Kt : Lt)}; + background-color: ${e=>e.light?Kt:Lt}; color: ${Ht}; padding: 12px; - ${(e) => { - if (e.maxHeight) - return ` + ${e=>{if(e.maxHeight)return` max-height: ${e.maxHeight}px; overflow-y: auto; - `; - }} + `}} } - background-color: ${(e) => (e.light ? "transparent" : Kt)}; + background-color: ${e=>e.light?"transparent":Kt}; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; - font-size: ${(e) => e.fontSize || nr()}px; + font-size: ${e=>e.fontSize||nr()}px; padding: 8px; color: ${Ht}; -`; -function pg(e) { - return I.jsx(Gse, { - components: { - a: ({ node: t, ...n }) => - I.jsx("a", { ...n, target: "_blank", children: n.children }), - }, - className: e.className, - maxHeight: e.maxHeight, - fontSize: nr(), - source: e.source || "", - wrapperElement: { "data-color-mode": "dark" }, - }); -} -const Vse = He.div``, - Wse = He.div` +`;function pg(e){return I.jsx(Gse,{components:{a:({node:t,...n})=>I.jsx("a",{...n,target:"_blank",children:n.children})},className:e.className,maxHeight:e.maxHeight,fontSize:nr(),source:e.source||"",wrapperElement:{"data-color-mode":"dark"}})}const Vse=He.div``,Wse=He.div` display: flex; gap: 2px; align-items: center; @@ -49845,3971 +323,22 @@ const Vse = He.div``, right: 8px; top: 16px; height: 0; -`, - qse = He.div` +`,qse=He.div` padding: 2px; padding-right: 0px; - background-color: ${(e) => (e.isUserInput ? Lt : Kt)}; - font-size: ${(e) => e.fontSize || nr()}px; + background-color: ${e=>e.isUserInput?Lt:Kt}; + font-size: ${e=>e.fontSize||nr()}px; border-radius: ${wt}; overflow: hidden; -`; -function Kse(e) { - var o, s; - const [t, n] = C.useState(!1), - r = C.useRef(null), - i = C.useRef(null), - a = e.historyNode.step.name === "UserInputStep"; - return ( - C.useEffect(() => { - i != null && i.current && i.current.focus(); - }, [i]), - C.useEffect(() => { - var u; - t && ((u = r.current) == null || u.focus()); - }, [t]), - I.jsx(Vse, { - stepDepth: e.historyNode.depth || 0, - inFuture: e.inFuture, - onMouseEnter: () => { - n(!0); - }, - onMouseLeave: () => { - n(!1); - }, - hidden: e.historyNode.step.hide, - children: I.jsxs("div", { - children: [ - t && - (((o = e.historyNode.observation) == null ? void 0 : o.error) || - e.noUserInputParent) && - I.jsxs(Wse, { - children: [ - ((s = e.historyNode.observation) == null ? void 0 : s.error) && - I.jsx(vi, { - text: "Retry", - onClick: (u) => { - u.stopPropagation(), e.onRetry(); - }, - children: I.jsx(aY, { - width: "1.4em", - height: "1.4em", - onClick: e.onRetry, - }), - }), - e.noUserInputParent && - I.jsx(vi, { - text: "Delete", - onClick: (u) => { - u.stopPropagation(), e.onDelete(); - }, - children: I.jsx(T2, { - width: "1.4em", - height: "1.4em", - onClick: e.onRetry, - }), - }), - ], - }), - I.jsx(qse, { - hidden: !e.open, - isUserInput: a, - fontSize: nr(), - children: I.jsx(pg, { source: e.historyNode.step.description }), - }), - ], - }), - }) - ); -} -var bn = {}; -/** @license React v17.0.2 +`;function Kse(e){var o,s;const[t,n]=C.useState(!1),r=C.useRef(null),i=C.useRef(null),a=e.historyNode.step.name==="UserInputStep";return C.useEffect(()=>{i!=null&&i.current&&i.current.focus()},[i]),C.useEffect(()=>{var u;t&&((u=r.current)==null||u.focus())},[t]),I.jsx(Vse,{stepDepth:e.historyNode.depth||0,inFuture:e.inFuture,onMouseEnter:()=>{n(!0)},onMouseLeave:()=>{n(!1)},hidden:e.historyNode.step.hide,children:I.jsxs("div",{children:[t&&(((o=e.historyNode.observation)==null?void 0:o.error)||e.noUserInputParent)&&I.jsxs(Wse,{children:[((s=e.historyNode.observation)==null?void 0:s.error)&&I.jsx(vi,{text:"Retry",onClick:u=>{u.stopPropagation(),e.onRetry()},children:I.jsx(aY,{width:"1.4em",height:"1.4em",onClick:e.onRetry})}),e.noUserInputParent&&I.jsx(vi,{text:"Delete",onClick:u=>{u.stopPropagation(),e.onDelete()},children:I.jsx(T2,{width:"1.4em",height:"1.4em",onClick:e.onRetry})})]}),I.jsx(qse,{hidden:!e.open,isUserInput:a,fontSize:nr(),children:I.jsx(pg,{source:e.historyNode.step.description})})]})})}var bn={};/** @license React v17.0.2 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ var im = 60103, - am = 60106, - zp = 60107, - Hp = 60108, - jp = 60114, - Gp = 60109, - Vp = 60110, - Wp = 60112, - qp = 60113, - q_ = 60120, - Kp = 60115, - Yp = 60116, - fM = 60121, - hM = 60122, - gM = 60117, - mM = 60129, - bM = 60131; -if (typeof Symbol == "function" && Symbol.for) { - var mr = Symbol.for; - (im = mr("react.element")), - (am = mr("react.portal")), - (zp = mr("react.fragment")), - (Hp = mr("react.strict_mode")), - (jp = mr("react.profiler")), - (Gp = mr("react.provider")), - (Vp = mr("react.context")), - (Wp = mr("react.forward_ref")), - (qp = mr("react.suspense")), - (q_ = mr("react.suspense_list")), - (Kp = mr("react.memo")), - (Yp = mr("react.lazy")), - (fM = mr("react.block")), - (hM = mr("react.server.block")), - (gM = mr("react.fundamental")), - (mM = mr("react.debug_trace_mode")), - (bM = mr("react.legacy_hidden")); -} -function Ka(e) { - if (typeof e == "object" && e !== null) { - var t = e.$$typeof; - switch (t) { - case im: - switch (((e = e.type), e)) { - case zp: - case jp: - case Hp: - case qp: - case q_: - return e; - default: - switch (((e = e && e.$$typeof), e)) { - case Vp: - case Wp: - case Yp: - case Kp: - case Gp: - return e; - default: - return t; - } - } - case am: - return t; - } - } -} -var Yse = Gp, - Xse = im, - Zse = Wp, - Qse = zp, - Jse = Yp, - ele = Kp, - tle = am, - nle = jp, - rle = Hp, - ile = qp; -bn.ContextConsumer = Vp; -bn.ContextProvider = Yse; -bn.Element = Xse; -bn.ForwardRef = Zse; -bn.Fragment = Qse; -bn.Lazy = Jse; -bn.Memo = ele; -bn.Portal = tle; -bn.Profiler = nle; -bn.StrictMode = rle; -bn.Suspense = ile; -bn.isAsyncMode = function () { - return !1; -}; -bn.isConcurrentMode = function () { - return !1; -}; -bn.isContextConsumer = function (e) { - return Ka(e) === Vp; -}; -bn.isContextProvider = function (e) { - return Ka(e) === Gp; -}; -bn.isElement = function (e) { - return typeof e == "object" && e !== null && e.$$typeof === im; -}; -bn.isForwardRef = function (e) { - return Ka(e) === Wp; -}; -bn.isFragment = function (e) { - return Ka(e) === zp; -}; -bn.isLazy = function (e) { - return Ka(e) === Yp; -}; -bn.isMemo = function (e) { - return Ka(e) === Kp; -}; -bn.isPortal = function (e) { - return Ka(e) === am; -}; -bn.isProfiler = function (e) { - return Ka(e) === jp; -}; -bn.isStrictMode = function (e) { - return Ka(e) === Hp; -}; -bn.isSuspense = function (e) { - return Ka(e) === qp; -}; -bn.isValidElementType = function (e) { - return ( - typeof e == "string" || - typeof e == "function" || - e === zp || - e === jp || - e === mM || - e === Hp || - e === qp || - e === q_ || - e === bM || - (typeof e == "object" && - e !== null && - (e.$$typeof === Yp || - e.$$typeof === Kp || - e.$$typeof === Gp || - e.$$typeof === Vp || - e.$$typeof === Wp || - e.$$typeof === gM || - e.$$typeof === fM || - e[0] === hM)) - ); -}; -bn.typeOf = Ka; -let bk = (e) => typeof e == "object" && e != null && e.nodeType === 1, - Ek = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", - F3 = (e, t) => { - if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) { - let n = getComputedStyle(e, null); - return ( - Ek(n.overflowY, t) || - Ek(n.overflowX, t) || - ((r) => { - let i = ((a) => { - if (!a.ownerDocument || !a.ownerDocument.defaultView) return null; - try { - return a.ownerDocument.defaultView.frameElement; - } catch { - return null; - } - })(r); - return ( - !!i && - (i.clientHeight < r.scrollHeight || i.clientWidth < r.scrollWidth) - ); - })(e) - ); - } - return !1; - }, - R0 = (e, t, n, r, i, a, o, s) => - (a < e && o > t) || (a > e && o < t) - ? 0 - : (a <= e && s <= n) || (o >= t && s >= n) - ? a - e - r - : (o > t && s < n) || (a < e && s > n) - ? o - t + i - : 0, - ale = (e) => { - let t = e.parentElement; - return t ?? (e.getRootNode().host || null); - }; -var ole = (e, t) => { - var n, r, i, a, o, s; - if (typeof document > "u") return []; - let { - scrollMode: u, - block: c, - inline: p, - boundary: f, - skipOverflowHiddenElements: m, - } = t, - g = typeof f == "function" ? f : (he) => he !== f; - if (!bk(e)) throw new TypeError("Invalid target"); - let E = document.scrollingElement || document.documentElement, - b = [], - T = e; - for (; bk(T) && g(T); ) { - if (((T = ale(T)), T === E)) { - b.push(T); - break; - } - (T != null && - T === document.body && - F3(T) && - !F3(document.documentElement)) || - (T != null && F3(T, m) && b.push(T)); - } - let v = - (r = (n = window.visualViewport) == null ? void 0 : n.width) != null - ? r - : innerWidth, - y = - (a = (i = window.visualViewport) == null ? void 0 : i.height) != null - ? a - : innerHeight, - w = (o = window.scrollX) != null ? o : pageXOffset, - A = (s = window.scrollY) != null ? s : pageYOffset, - { - height: D, - width: k, - top: R, - right: B, - bottom: W, - left: P, - } = e.getBoundingClientRect(), - Q = c === "start" || c === "nearest" ? R : c === "end" ? W : R + D / 2, - z = p === "center" ? P + k / 2 : p === "end" ? B : P, - le = []; - for (let he = 0; he < b.length; he++) { - let de = b[he], - { - height: fe, - width: Z, - top: V, - right: ce, - bottom: N, - left: me, - } = de.getBoundingClientRect(); - if ( - u === "if-needed" && - R >= 0 && - P >= 0 && - W <= y && - B <= v && - R >= V && - W <= N && - P >= me && - B <= ce - ) - return le; - let oe = getComputedStyle(de), - O = parseInt(oe.borderLeftWidth, 10), - re = parseInt(oe.borderTopWidth, 10), - Te = parseInt(oe.borderRightWidth, 10), - K = parseInt(oe.borderBottomWidth, 10), - xe = 0, - ne = 0, - Le = "offsetWidth" in de ? de.offsetWidth - de.clientWidth - O - Te : 0, - Re = - "offsetHeight" in de ? de.offsetHeight - de.clientHeight - re - K : 0, - Xe = - "offsetWidth" in de - ? de.offsetWidth === 0 - ? 0 - : Z / de.offsetWidth - : 0, - Ve = - "offsetHeight" in de - ? de.offsetHeight === 0 - ? 0 - : fe / de.offsetHeight - : 0; - if (E === de) - (xe = - c === "start" - ? Q - : c === "end" - ? Q - y - : c === "nearest" - ? R0(A, A + y, y, re, K, A + Q, A + Q + D, D) - : Q - y / 2), - (ne = - p === "start" - ? z - : p === "center" - ? z - v / 2 - : p === "end" - ? z - v - : R0(w, w + v, v, O, Te, w + z, w + z + k, k)), - (xe = Math.max(0, xe + A)), - (ne = Math.max(0, ne + w)); - else { - (xe = - c === "start" - ? Q - V - re - : c === "end" - ? Q - N + K + Re - : c === "nearest" - ? R0(V, N, fe, re, K + Re, Q, Q + D, D) - : Q - (V + fe / 2) + Re / 2), - (ne = - p === "start" - ? z - me - O - : p === "center" - ? z - (me + Z / 2) + Le / 2 - : p === "end" - ? z - ce + Te + Le - : R0(me, ce, Z, O, Te + Le, z, z + k, k)); - let { scrollLeft: dt, scrollTop: ot } = de; - (xe = Math.max( - 0, - Math.min(ot + xe / Ve, de.scrollHeight - fe / Ve + Re) - )), - (ne = Math.max( - 0, - Math.min(dt + ne / Xe, de.scrollWidth - Z / Xe + Le) - )), - (Q += ot - xe), - (z += dt - ne); - } - le.push({ el: de, top: xe, left: ne }); - } - return le; - }, - fg = function () { - return ( - (fg = - Object.assign || - function (t) { - for (var n, r = 1, i = arguments.length; r < i; r++) { - n = arguments[r]; - for (var a in n) - Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]); - } - return t; - }), - fg.apply(this, arguments) - ); - }; -var sle = 0; -function EM() {} -function lle(e, t) { - if (e) { - var n = ole(e, { boundary: t, block: "nearest", scrollMode: "if-needed" }); - n.forEach(function (r) { - var i = r.el, - a = r.top, - o = r.left; - (i.scrollTop = a), (i.scrollLeft = o); - }); - } -} -function vk(e, t, n) { - var r = e === t || (t instanceof n.Node && e.contains && e.contains(t)); - return r; -} -function vM(e, t) { - var n; - function r() { - n && clearTimeout(n); - } - function i() { - for (var a = arguments.length, o = new Array(a), s = 0; s < a; s++) - o[s] = arguments[s]; - r(), - (n = setTimeout(function () { - (n = null), e.apply(void 0, o); - }, t)); - } - return (i.cancel = r), i; -} -function Uo() { - for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) - t[n] = arguments[n]; - return function (r) { - for ( - var i = arguments.length, a = new Array(i > 1 ? i - 1 : 0), o = 1; - o < i; - o++ - ) - a[o - 1] = arguments[o]; - return t.some(function (s) { - return ( - s && s.apply(void 0, [r].concat(a)), - r.preventDownshiftDefault || - (r.hasOwnProperty("nativeEvent") && - r.nativeEvent.preventDownshiftDefault) - ); - }); - }; -} -function N0() { - for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) - t[n] = arguments[n]; - return function (r) { - t.forEach(function (i) { - typeof i == "function" ? i(r) : i && (i.current = r); - }); - }; -} -function ule() { - return String(sle++); -} -function cle(e) { - var t = e.isOpen, - n = e.resultCount, - r = e.previousResultCount; - return t - ? n - ? n !== r - ? n + - " result" + - (n === 1 ? " is" : "s are") + - " available, use up and down arrow keys to navigate. Press Enter key to select." - : "" - : "No results are available." - : ""; -} -function Pb(e, t) { - return Object.keys(e).reduce(function (n, r) { - return (n[r] = yM(t, r) ? t[r] : e[r]), n; - }, {}); -} -function yM(e, t) { - return e[t] !== void 0; -} -function dle(e) { - var t = e.key, - n = e.keyCode; - return n >= 37 && n <= 40 && t.indexOf("Arrow") !== 0 ? "Arrow" + t : t; -} -function O0(e, t, n, r, i) { - if ((i === void 0 && (i = !0), n === 0)) return -1; - var a = n - 1; - (typeof t != "number" || t < 0 || t >= n) && (t = e > 0 ? -1 : a + 1); - var o = t + e; - o < 0 ? (o = i ? a : 0) : o > a && (o = i ? 0 : a); - var s = cp(e, o, n, r, i); - return s === -1 ? (t >= n ? -1 : t) : s; -} -function cp(e, t, n, r, i) { - var a = r(t); - if (!a || !a.hasAttribute("disabled")) return t; - if (e > 0) { - for (var o = t + 1; o < n; o++) - if (!r(o).hasAttribute("disabled")) return o; - } else - for (var s = t - 1; s >= 0; s--) - if (!r(s).hasAttribute("disabled")) return s; - return i ? (e > 0 ? cp(1, 0, n, r, !1) : cp(-1, n - 1, n, r, !1)) : -1; -} -function yk(e, t, n, r) { - return ( - r === void 0 && (r = !0), - t.some(function (i) { - return i && (vk(i, e, n) || (r && vk(i, n.document.activeElement, n))); - }) - ); -} -var ple = vM(function (e) { - _M(e).textContent = ""; -}, 500); -function fle(e, t) { - var n = _M(t); - e && ((n.textContent = e), ple(t)); -} -function _M(e) { - e === void 0 && (e = document); - var t = e.getElementById("a11y-status-message"); - return ( - t || - ((t = e.createElement("div")), - t.setAttribute("id", "a11y-status-message"), - t.setAttribute("role", "status"), - t.setAttribute("aria-live", "polite"), - t.setAttribute("aria-relevant", "additions text"), - Object.assign(t.style, { - border: "0", - clip: "rect(0 0 0 0)", - height: "1px", - margin: "-1px", - overflow: "hidden", - padding: "0", - position: "absolute", - width: "1px", - }), - e.body.appendChild(t), - t) - ); -} -var hle = ["isInitialMount", "highlightedIndex", "items", "environment"], - TM = { highlightedIndex: -1, isOpen: !1, selectedItem: null, inputValue: "" }; -function gle(e, t, n) { - var r = e.props, - i = e.type, - a = {}; - Object.keys(t).forEach(function (o) { - mle(o, e, t, n), n[o] !== t[o] && (a[o] = n[o]); - }), - r.onStateChange && - Object.keys(a).length && - r.onStateChange(tn({ type: i }, a)); -} -function mle(e, t, n, r) { - var i = t.props, - a = t.type, - o = "on" + K_(e) + "Change"; - i[o] && r[e] !== void 0 && r[e] !== n[e] && i[o](tn({ type: a }, r)); -} -function ble(e, t) { - return t.changes; -} -function Ele(e) { - var t = e.selectedItem, - n = e.itemToString; - return t ? n(t) + " has been selected." : ""; -} -var vle = vM(function (e, t) { - fle(e(), t); - }, 200), - yle = - typeof window < "u" && - typeof window.document < "u" && - typeof window.document.createElement < "u" - ? C.useLayoutEffect - : C.useEffect; -function _le(e) { - var t = e.id, - n = t === void 0 ? "downshift-" + ule() : t, - r = e.labelId, - i = e.menuId, - a = e.getItemId, - o = e.toggleButtonId, - s = e.inputId, - u = C.useRef({ - labelId: r || n + "-label", - menuId: i || n + "-menu", - getItemId: - a || - function (c) { - return n + "-item-" + c; - }, - toggleButtonId: o || n + "-toggle-button", - inputId: s || n + "-input", - }); - return u.current; -} -function Tle(e, t, n, r) { - var i, a; - if (e === void 0) { - if (t === void 0) throw new Error(r); - (i = n[t]), (a = t); - } else (a = t === void 0 ? n.indexOf(e) : t), (i = e); - return [i, a]; -} -function Sle(e) { - return e ? String(e) : ""; -} -function K_(e) { - return "" + e.slice(0, 1).toUpperCase() + e.slice(1); -} -function SM(e) { - var t = C.useRef(e); - return (t.current = e), t; -} -function wle(e, t, n) { - var r = C.useRef(), - i = C.useRef(), - a = C.useCallback( - function (m, g) { - (i.current = g), (m = Pb(m, g.props)); - var E = e(m, g), - b = g.props.stateReducer(m, tn({}, g, { changes: E })); - return b; - }, - [e] - ), - o = C.useReducer(a, t), - s = o[0], - u = o[1], - c = SM(n), - p = C.useCallback( - function (m) { - return u(tn({ props: c.current }, m)); - }, - [c] - ), - f = i.current; - return ( - C.useEffect( - function () { - f && r.current && r.current !== s && gle(f, Pb(r.current, f.props), s), - (r.current = s); - }, - [s, n, f] - ), - [s, p] - ); -} -var Ld = { - itemToString: Sle, - stateReducer: ble, - getA11ySelectionMessage: Ele, - scrollIntoView: lle, - environment: typeof window > "u" ? {} : window, -}; -function co(e, t, n) { - n === void 0 && (n = TM); - var r = e["default" + K_(t)]; - return r !== void 0 ? r : n[t]; -} -function D0(e, t, n) { - n === void 0 && (n = TM); - var r = e[t]; - if (r !== void 0) return r; - var i = e["initial" + K_(t)]; - return i !== void 0 ? i : co(e, t, n); -} -function Ale(e) { - var t = D0(e, "selectedItem"), - n = D0(e, "isOpen"), - r = D0(e, "highlightedIndex"), - i = D0(e, "inputValue"); - return { - highlightedIndex: r < 0 && t && n ? e.items.indexOf(t) : r, - isOpen: n, - selectedItem: t, - inputValue: i, - }; -} -function Md(e, t, n) { - var r = e.items, - i = e.initialHighlightedIndex, - a = e.defaultHighlightedIndex, - o = t.selectedItem, - s = t.highlightedIndex; - return r.length === 0 - ? -1 - : i !== void 0 && s === i - ? i - : a !== void 0 - ? a - : o - ? r.indexOf(o) - : n === 0 - ? -1 - : n < 0 - ? r.length - 1 - : 0; -} -function Cle(e, t, n, r) { - var i = C.useRef({ isMouseDown: !1, isTouchMove: !1 }); - return ( - C.useEffect( - function () { - if ((n == null ? void 0 : n.addEventListener) != null) { - var a = function () { - i.current.isMouseDown = !0; - }, - o = function (f) { - (i.current.isMouseDown = !1), - e && - !yk( - f.target, - t.map(function (m) { - return m.current; - }), - n - ) && - r(); - }, - s = function () { - i.current.isTouchMove = !1; - }, - u = function () { - i.current.isTouchMove = !0; - }, - c = function (f) { - e && - !i.current.isTouchMove && - !yk( - f.target, - t.map(function (m) { - return m.current; - }), - n, - !1 - ) && - r(); - }; - return ( - n.addEventListener("mousedown", a), - n.addEventListener("mouseup", o), - n.addEventListener("touchstart", s), - n.addEventListener("touchmove", u), - n.addEventListener("touchend", c), - function () { - n.removeEventListener("mousedown", a), - n.removeEventListener("mouseup", o), - n.removeEventListener("touchstart", s), - n.removeEventListener("touchmove", u), - n.removeEventListener("touchend", c); - } - ); - } - }, - [e, n] - ), - i - ); -} -var xle = function () { - return EM; -}; -function _k(e, t, n) { - var r = n.isInitialMount, - i = n.highlightedIndex, - a = n.items, - o = n.environment, - s = E1(n, hle); - C.useEffect(function () { - r || - vle(function () { - return e( - tn( - { - highlightedIndex: i, - highlightedItem: a[i], - resultCount: a.length, - }, - s - ) - ); - }, o.document); - }, t); -} -function kle(e) { - var t = e.highlightedIndex, - n = e.isOpen, - r = e.itemRefs, - i = e.getItemNodeFromIndex, - a = e.menuElement, - o = e.scrollIntoView, - s = C.useRef(!0); - return ( - yle( - function () { - t < 0 || - !n || - !Object.keys(r.current).length || - (s.current === !1 ? (s.current = !0) : o(i(t), a)); - }, - [t] - ), - s - ); -} -var Ile = EM; -function Tk(e, t, n) { - var r; - n === void 0 && (n = !0); - var i = ((r = e.items) == null ? void 0 : r.length) && t >= 0; - return tn( - { isOpen: !1, highlightedIndex: -1 }, - i && - tn( - { - selectedItem: e.items[t], - isOpen: co(e, "isOpen"), - highlightedIndex: co(e, "highlightedIndex"), - }, - n && { inputValue: e.itemToString(e.items[t]) } - ) - ); -} -function Rle(e, t, n) { - var r = t.type, - i = t.props, - a; - switch (r) { - case n.ItemMouseMove: - a = { highlightedIndex: t.disabled ? -1 : t.index }; - break; - case n.MenuMouseLeave: - a = { highlightedIndex: -1 }; - break; - case n.ToggleButtonClick: - case n.FunctionToggleMenu: - a = { isOpen: !e.isOpen, highlightedIndex: e.isOpen ? -1 : Md(i, e, 0) }; - break; - case n.FunctionOpenMenu: - a = { isOpen: !0, highlightedIndex: Md(i, e, 0) }; - break; - case n.FunctionCloseMenu: - a = { isOpen: !1 }; - break; - case n.FunctionSetHighlightedIndex: - a = { highlightedIndex: t.highlightedIndex }; - break; - case n.FunctionSetInputValue: - a = { inputValue: t.inputValue }; - break; - case n.FunctionReset: - a = { - highlightedIndex: co(i, "highlightedIndex"), - isOpen: co(i, "isOpen"), - selectedItem: co(i, "selectedItem"), - inputValue: co(i, "inputValue"), - }; - break; - default: - throw new Error("Reducer called without proper action type."); - } - return tn({}, e, a); -} -Ee.array.isRequired, - Ee.func, - Ee.func, - Ee.func, - Ee.number, - Ee.number, - Ee.number, - Ee.bool, - Ee.bool, - Ee.bool, - Ee.any, - Ee.any, - Ee.any, - Ee.string, - Ee.string, - Ee.string, - Ee.func, - Ee.string, - Ee.func, - Ee.func, - Ee.func, - Ee.func, - Ee.func, - Ee.shape({ - addEventListener: Ee.func, - removeEventListener: Ee.func, - document: Ee.shape({ - getElementById: Ee.func, - activeElement: Ee.any, - body: Ee.any, - }), - }); -function Nle(e) { - var t = e.isOpen, - n = e.resultCount, - r = e.previousResultCount; - return t - ? n - ? n !== r - ? "" - .concat(n, " result") - .concat( - n === 1 ? " is" : "s are", - " available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select." - ) - : "" - : "No results are available." - : ""; -} -fg(fg({}, Ld), { getA11yStatusMessage: Nle }); -var Y_ = 0, - X_ = 1, - Z_ = 2, - Q_ = 3, - J_ = 4, - e7 = 5, - t7 = 6, - n7 = 7, - r7 = 8, - hg = 9, - i7 = 10, - wM = 11, - AM = 12, - a7 = 13, - CM = 14, - xM = 15, - kM = 16, - IM = 17, - RM = 18, - o7 = 19, - NM = 20, - OM = 21, - s7 = 22, - DM = Object.freeze({ - __proto__: null, - InputKeyDownArrowDown: Y_, - InputKeyDownArrowUp: X_, - InputKeyDownEscape: Z_, - InputKeyDownHome: Q_, - InputKeyDownEnd: J_, - InputKeyDownPageUp: e7, - InputKeyDownPageDown: t7, - InputKeyDownEnter: n7, - InputChange: r7, - InputBlur: hg, - InputFocus: i7, - MenuMouseLeave: wM, - ItemMouseMove: AM, - ItemClick: a7, - ToggleButtonClick: CM, - FunctionToggleMenu: xM, - FunctionOpenMenu: kM, - FunctionCloseMenu: IM, - FunctionSetHighlightedIndex: RM, - FunctionSelectItem: o7, - FunctionSetInputValue: NM, - FunctionReset: OM, - ControlledPropUpdatedSelectedItem: s7, - }); -function Ole(e) { - var t = Ale(e), - n = t.selectedItem, - r = t.inputValue; - return ( - r === "" && - n && - e.defaultInputValue === void 0 && - e.initialInputValue === void 0 && - e.inputValue === void 0 && - (r = e.itemToString(n)), - tn({}, t, { inputValue: r }) - ); -} -Ee.array.isRequired, - Ee.func, - Ee.func, - Ee.func, - Ee.func, - Ee.number, - Ee.number, - Ee.number, - Ee.bool, - Ee.bool, - Ee.bool, - Ee.any, - Ee.any, - Ee.any, - Ee.string, - Ee.string, - Ee.string, - Ee.string, - Ee.string, - Ee.string, - Ee.func, - Ee.string, - Ee.string, - Ee.func, - Ee.func, - Ee.func, - Ee.func, - Ee.func, - Ee.func, - Ee.shape({ - addEventListener: Ee.func, - removeEventListener: Ee.func, - document: Ee.shape({ - getElementById: Ee.func, - activeElement: Ee.any, - body: Ee.any, - }), - }); -function Dle(e, t, n) { - var r = C.useRef(), - i = wle(e, t, n), - a = i[0], - o = i[1]; - return ( - C.useEffect( - function () { - yM(n, "selectedItem") && - (n.selectedItemChanged(r.current, n.selectedItem) && - o({ type: s7, inputValue: n.itemToString(n.selectedItem) }), - (r.current = - a.selectedItem === r.current ? n.selectedItem : a.selectedItem)); - }, - [a.selectedItem, n.selectedItem] - ), - [Pb(a, n), o] - ); -} -var Lle = tn({}, Ld, { - selectedItemChanged: function (t, n) { - return t !== n; - }, - getA11yStatusMessage: cle, -}); -function Mle(e, t) { - var n, - r = t.type, - i = t.props, - a = t.altKey, - o; - switch (r) { - case a7: - o = { - isOpen: co(i, "isOpen"), - highlightedIndex: co(i, "highlightedIndex"), - selectedItem: i.items[t.index], - inputValue: i.itemToString(i.items[t.index]), - }; - break; - case Y_: - e.isOpen - ? (o = { - highlightedIndex: O0( - 1, - e.highlightedIndex, - i.items.length, - t.getItemNodeFromIndex, - !0 - ), - }) - : (o = { - highlightedIndex: - a && e.selectedItem == null - ? -1 - : Md(i, e, 1, t.getItemNodeFromIndex), - isOpen: i.items.length >= 0, - }); - break; - case X_: - e.isOpen - ? a - ? (o = Tk(i, e.highlightedIndex)) - : (o = { - highlightedIndex: O0( - -1, - e.highlightedIndex, - i.items.length, - t.getItemNodeFromIndex, - !0 - ), - }) - : (o = { - highlightedIndex: Md(i, e, -1, t.getItemNodeFromIndex), - isOpen: i.items.length >= 0, - }); - break; - case n7: - o = Tk(i, e.highlightedIndex); - break; - case Z_: - o = tn( - { isOpen: !1, highlightedIndex: -1 }, - !e.isOpen && { selectedItem: null, inputValue: "" } - ); - break; - case e7: - o = { - highlightedIndex: O0( - -10, - e.highlightedIndex, - i.items.length, - t.getItemNodeFromIndex, - !1 - ), - }; - break; - case t7: - o = { - highlightedIndex: O0( - 10, - e.highlightedIndex, - i.items.length, - t.getItemNodeFromIndex, - !1 - ), - }; - break; - case Q_: - o = { - highlightedIndex: cp(1, 0, i.items.length, t.getItemNodeFromIndex, !1), - }; - break; - case J_: - o = { - highlightedIndex: cp( - -1, - i.items.length - 1, - i.items.length, - t.getItemNodeFromIndex, - !1 - ), - }; - break; - case hg: - o = tn( - { isOpen: !1, highlightedIndex: -1 }, - e.highlightedIndex >= 0 && - ((n = i.items) == null ? void 0 : n.length) && - t.selectItem && { - selectedItem: i.items[e.highlightedIndex], - inputValue: i.itemToString(i.items[e.highlightedIndex]), - } - ); - break; - case r7: - o = { - isOpen: !0, - highlightedIndex: co(i, "highlightedIndex"), - inputValue: t.inputValue, - }; - break; - case i7: - o = { isOpen: !0, highlightedIndex: Md(i, e, 0) }; - break; - case o7: - o = { - selectedItem: t.selectedItem, - inputValue: i.itemToString(t.selectedItem), - }; - break; - case s7: - o = { inputValue: t.inputValue }; - break; - default: - return Rle(e, t, DM); - } - return tn({}, e, o); -} -var Fle = ["onMouseLeave", "refKey", "ref"], - Ple = [ - "item", - "index", - "refKey", - "ref", - "onMouseMove", - "onMouseDown", - "onClick", - "onPress", - "disabled", - ], - Ble = ["onClick", "onPress", "refKey", "ref"], - Ule = [ - "onKeyDown", - "onChange", - "onInput", - "onFocus", - "onBlur", - "onChangeText", - "refKey", - "ref", - ]; -LM.stateChangeTypes = DM; -function LM(e) { - e === void 0 && (e = {}); - var t = tn({}, Lle, e), - n = t.initialIsOpen, - r = t.defaultIsOpen, - i = t.items, - a = t.scrollIntoView, - o = t.environment, - s = t.getA11yStatusMessage, - u = t.getA11ySelectionMessage, - c = t.itemToString, - p = Ole(t), - f = Dle(Mle, p, t), - m = f[0], - g = f[1], - E = m.isOpen, - b = m.highlightedIndex, - T = m.selectedItem, - v = m.inputValue, - y = C.useRef(null), - w = C.useRef({}), - A = C.useRef(null), - D = C.useRef(null), - k = C.useRef(!0), - R = _le(t), - B = C.useRef(), - W = SM({ state: m, props: t }), - P = C.useCallback( - function (xe) { - return w.current[R.getItemId(xe)]; - }, - [R] - ); - _k( - s, - [E, b, v, i], - tn( - { - isInitialMount: k.current, - previousResultCount: B.current, - items: i, - environment: o, - itemToString: c, - }, - m - ) - ), - _k( - u, - [T], - tn( - { - isInitialMount: k.current, - previousResultCount: B.current, - items: i, - environment: o, - itemToString: c, - }, - m - ) - ); - var Q = kle({ - menuElement: y.current, - highlightedIndex: b, - isOpen: E, - itemRefs: w, - scrollIntoView: a, - getItemNodeFromIndex: P, - }); - Ile({ isInitialMount: k.current, props: t, state: m }), - C.useEffect(function () { - var xe = n || r || E; - xe && A.current && A.current.focus(); - }, []), - C.useEffect(function () { - k.current || (B.current = i.length); - }); - var z = Cle(E, [A, y, D], o, function () { - g({ type: hg, selectItem: !1 }); - }), - le = xle(); - C.useEffect(function () { - return ( - (k.current = !1), - function () { - k.current = !0; - } - ); - }, []), - C.useEffect( - function () { - var xe; - if (!E) w.current = {}; - else if ( - ((xe = o.document) == null ? void 0 : xe.activeElement) !== A.current - ) { - var ne; - A == null || (ne = A.current) == null || ne.focus(); - } - }, - [E, o] - ); - var he = C.useMemo( - function () { - return { - ArrowDown: function (ne) { - ne.preventDefault(), - g({ type: Y_, altKey: ne.altKey, getItemNodeFromIndex: P }); - }, - ArrowUp: function (ne) { - ne.preventDefault(), - g({ type: X_, altKey: ne.altKey, getItemNodeFromIndex: P }); - }, - Home: function (ne) { - W.current.state.isOpen && - (ne.preventDefault(), g({ type: Q_, getItemNodeFromIndex: P })); - }, - End: function (ne) { - W.current.state.isOpen && - (ne.preventDefault(), g({ type: J_, getItemNodeFromIndex: P })); - }, - Escape: function (ne) { - var Le = W.current.state; - (Le.isOpen || - Le.inputValue || - Le.selectedItem || - Le.highlightedIndex > -1) && - (ne.preventDefault(), g({ type: Z_ })); - }, - Enter: function (ne) { - var Le = W.current.state; - !Le.isOpen || - ne.which === 229 || - (ne.preventDefault(), g({ type: n7, getItemNodeFromIndex: P })); - }, - PageUp: function (ne) { - W.current.state.isOpen && - (ne.preventDefault(), g({ type: e7, getItemNodeFromIndex: P })); - }, - PageDown: function (ne) { - W.current.state.isOpen && - (ne.preventDefault(), g({ type: t7, getItemNodeFromIndex: P })); - }, - }; - }, - [g, W, P] - ), - de = C.useCallback( - function (xe) { - return tn({ id: R.labelId, htmlFor: R.inputId }, xe); - }, - [R] - ), - fe = C.useCallback( - function (xe, ne) { - var Le, - Re = xe === void 0 ? {} : xe, - Xe = Re.onMouseLeave, - Ve = Re.refKey, - dt = Ve === void 0 ? "ref" : Ve, - ot = Re.ref, - Ge = E1(Re, Fle), - pt = ne === void 0 ? {} : ne; - return ( - pt.suppressRefError, - tn( - ((Le = {}), - (Le[dt] = N0(ot, function (U) { - y.current = U; - })), - (Le.id = R.menuId), - (Le.role = "listbox"), - (Le["aria-labelledby"] = - Ge && Ge["aria-label"] ? void 0 : "" + R.labelId), - (Le.onMouseLeave = Uo(Xe, function () { - g({ type: wM }); - })), - Le), - Ge - ) - ); - }, - [g, le, R] - ), - Z = C.useCallback( - function (xe) { - var ne, - Le, - Re = xe === void 0 ? {} : xe, - Xe = Re.item, - Ve = Re.index, - dt = Re.refKey, - ot = dt === void 0 ? "ref" : dt, - Ge = Re.ref, - pt = Re.onMouseMove, - U = Re.onMouseDown, - ie = Re.onClick; - Re.onPress; - var pe = Re.disabled, - ke = E1(Re, Ple), - ve = W.current, - Se = ve.props, - Me = ve.state, - ze = Tle( - Xe, - Ve, - Se.items, - "Pass either item or index to getItemProps!" - ), - Ke = ze[1], - jt = "onClick", - ue = ie, - ye = function () { - Ke !== Me.highlightedIndex && - ((Q.current = !1), g({ type: AM, index: Ke, disabled: pe })); - }, - We = function () { - g({ type: a7, index: Ke }); - }, - at = function (Y) { - return Y.preventDefault(); - }; - return tn( - ((ne = {}), - (ne[ot] = N0(Ge, function (Qe) { - Qe && (w.current[R.getItemId(Ke)] = Qe); - })), - (ne.disabled = pe), - (ne.role = "option"), - (ne["aria-selected"] = "" + (Ke === Me.highlightedIndex)), - (ne.id = R.getItemId(Ke)), - ne), - !pe && ((Le = {}), (Le[jt] = Uo(ue, We)), Le), - { onMouseMove: Uo(pt, ye), onMouseDown: Uo(U, at) }, - ke - ); - }, - [g, W, Q, R] - ), - V = C.useCallback( - function (xe) { - var ne, - Le = xe === void 0 ? {} : xe, - Re = Le.onClick; - Le.onPress; - var Xe = Le.refKey, - Ve = Xe === void 0 ? "ref" : Xe, - dt = Le.ref, - ot = E1(Le, Ble), - Ge = W.current.state, - pt = function () { - g({ type: CM }); - }; - return tn( - ((ne = {}), - (ne[Ve] = N0(dt, function (U) { - D.current = U; - })), - (ne["aria-controls"] = R.menuId), - (ne["aria-expanded"] = Ge.isOpen), - (ne.id = R.toggleButtonId), - (ne.tabIndex = -1), - ne), - !ot.disabled && tn({}, { onClick: Uo(Re, pt) }), - ot - ); - }, - [g, W, R] - ), - ce = C.useCallback( - function (xe, ne) { - var Le, - Re = xe === void 0 ? {} : xe, - Xe = Re.onKeyDown, - Ve = Re.onChange, - dt = Re.onInput, - ot = Re.onFocus, - Ge = Re.onBlur; - Re.onChangeText; - var pt = Re.refKey, - U = pt === void 0 ? "ref" : pt, - ie = Re.ref, - pe = E1(Re, Ule), - ke = ne === void 0 ? {} : ne; - ke.suppressRefError; - var ve = W.current.state, - Se = function (at) { - var Qe = dle(at); - Qe && he[Qe] && he[Qe](at); - }, - Me = function (at) { - g({ type: r7, inputValue: at.target.value }); - }, - ze = function (at) { - if (ve.isOpen && !z.current.isMouseDown) { - var Qe = - at.relatedTarget === null && - o.document.activeElement !== o.document.body; - g({ type: hg, selectItem: !Qe }); - } - }, - Ke = function () { - ve.isOpen || g({ type: i7 }); - }, - jt = "onChange", - ue = {}; - if (!pe.disabled) { - var ye; - ue = - ((ye = {}), - (ye[jt] = Uo(Ve, dt, Me)), - (ye.onKeyDown = Uo(Xe, Se)), - (ye.onBlur = Uo(Ge, ze)), - (ye.onFocus = Uo(ot, Ke)), - ye); - } - return tn( - ((Le = {}), - (Le[U] = N0(ie, function (We) { - A.current = We; - })), - (Le["aria-activedescendant"] = - ve.isOpen && ve.highlightedIndex > -1 - ? R.getItemId(ve.highlightedIndex) - : ""), - (Le["aria-autocomplete"] = "list"), - (Le["aria-controls"] = R.menuId), - (Le["aria-expanded"] = ve.isOpen), - (Le["aria-labelledby"] = - pe && pe["aria-label"] ? void 0 : "" + R.labelId), - (Le.autoComplete = "off"), - (Le.id = R.inputId), - (Le.role = "combobox"), - (Le.value = ve.inputValue), - Le), - ue, - pe - ); - }, - [le, W, R, he, g, z, o] - ), - N = C.useCallback( - function () { - g({ type: xM }); - }, - [g] - ), - me = C.useCallback( - function () { - g({ type: IM }); - }, - [g] - ), - oe = C.useCallback( - function () { - g({ type: kM }); - }, - [g] - ), - O = C.useCallback( - function (xe) { - g({ type: RM, highlightedIndex: xe }); - }, - [g] - ), - re = C.useCallback( - function (xe) { - g({ type: o7, selectedItem: xe }); - }, - [g] - ), - Te = C.useCallback( - function (xe) { - g({ type: NM, inputValue: xe }); - }, - [g] - ), - K = C.useCallback( - function () { - g({ type: OM }); - }, - [g] - ); - return { - getItemProps: Z, - getLabelProps: de, - getMenuProps: fe, - getInputProps: ce, - getToggleButtonProps: V, - toggleMenu: N, - openMenu: oe, - closeMenu: me, - setHighlightedIndex: O, - setInputValue: Te, - selectItem: re, - reset: K, - highlightedIndex: b, - isOpen: E, - selectedItem: T, - inputValue: v, - }; -} -function $le(e) { - var t = e.removedSelectedItem, - n = e.itemToString; - return n(t) + " has been removed."; -} -Ee.array, - Ee.array, - Ee.array, - Ee.func, - Ee.func, - Ee.func, - Ee.number, - Ee.number, - Ee.number, - Ee.func, - Ee.func, - Ee.string, - Ee.string, - Ee.shape({ - addEventListener: Ee.func, - removeEventListener: Ee.func, - document: Ee.shape({ - getElementById: Ee.func, - activeElement: Ee.any, - body: Ee.any, - }), - }); -Ld.itemToString, Ld.stateReducer, Ld.environment; -/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */ const { - entries: MM, - setPrototypeOf: Sk, - isFrozen: zle, - getPrototypeOf: Hle, - getOwnPropertyDescriptor: FM, -} = Object; -let { freeze: ti, seal: Ga, create: PM } = Object, - { apply: Bb, construct: Ub } = typeof Reflect < "u" && Reflect; -ti || - (ti = function (t) { - return t; - }); -Ga || - (Ga = function (t) { - return t; - }); -Bb || - (Bb = function (t, n, r) { - return t.apply(n, r); - }); -Ub || - (Ub = function (t, n) { - return new t(...n); - }); -const L0 = ba(Array.prototype.forEach), - wk = ba(Array.prototype.pop), - Xc = ba(Array.prototype.push), - bh = ba(String.prototype.toLowerCase), - P3 = ba(String.prototype.toString), - jle = ba(String.prototype.match), - Zc = ba(String.prototype.replace), - Gle = ba(String.prototype.indexOf), - Vle = ba(String.prototype.trim), - Ii = ba(RegExp.prototype.test), - Qc = Wle(TypeError); -function ba(e) { - return function (t) { - for ( - var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; - i < n; - i++ - ) - r[i - 1] = arguments[i]; - return Bb(e, t, r); - }; -} -function Wle(e) { - return function () { - for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++) - n[r] = arguments[r]; - return Ub(e, n); - }; -} -function Ct(e, t) { - let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : bh; - Sk && Sk(e, null); - let r = t.length; - for (; r--; ) { - let i = t[r]; - if (typeof i == "string") { - const a = n(i); - a !== i && (zle(t) || (t[r] = a), (i = a)); - } - e[i] = !0; - } - return e; -} -function Xu(e) { - const t = PM(null); - for (const [n, r] of MM(e)) FM(e, n) !== void 0 && (t[n] = r); - return t; -} -function M0(e, t) { - for (; e !== null; ) { - const r = FM(e, t); - if (r) { - if (r.get) return ba(r.get); - if (typeof r.value == "function") return ba(r.value); - } - e = Hle(e); - } - function n(r) { - return console.warn("fallback value for", r), null; - } - return n; -} -const Ak = ti([ - "a", - "abbr", - "acronym", - "address", - "area", - "article", - "aside", - "audio", - "b", - "bdi", - "bdo", - "big", - "blink", - "blockquote", - "body", - "br", - "button", - "canvas", - "caption", - "center", - "cite", - "code", - "col", - "colgroup", - "content", - "data", - "datalist", - "dd", - "decorator", - "del", - "details", - "dfn", - "dialog", - "dir", - "div", - "dl", - "dt", - "element", - "em", - "fieldset", - "figcaption", - "figure", - "font", - "footer", - "form", - "h1", - "h2", - "h3", - "h4", - "h5", - "h6", - "head", - "header", - "hgroup", - "hr", - "html", - "i", - "img", - "input", - "ins", - "kbd", - "label", - "legend", - "li", - "main", - "map", - "mark", - "marquee", - "menu", - "menuitem", - "meter", - "nav", - "nobr", - "ol", - "optgroup", - "option", - "output", - "p", - "picture", - "pre", - "progress", - "q", - "rp", - "rt", - "ruby", - "s", - "samp", - "section", - "select", - "shadow", - "small", - "source", - "spacer", - "span", - "strike", - "strong", - "style", - "sub", - "summary", - "sup", - "table", - "tbody", - "td", - "template", - "textarea", - "tfoot", - "th", - "thead", - "time", - "tr", - "track", - "tt", - "u", - "ul", - "var", - "video", - "wbr", - ]), - B3 = ti([ - "svg", - "a", - "altglyph", - "altglyphdef", - "altglyphitem", - "animatecolor", - "animatemotion", - "animatetransform", - "circle", - "clippath", - "defs", - "desc", - "ellipse", - "filter", - "font", - "g", - "glyph", - "glyphref", - "hkern", - "image", - "line", - "lineargradient", - "marker", - "mask", - "metadata", - "mpath", - "path", - "pattern", - "polygon", - "polyline", - "radialgradient", - "rect", - "stop", - "style", - "switch", - "symbol", - "text", - "textpath", - "title", - "tref", - "tspan", - "view", - "vkern", - ]), - U3 = ti([ - "feBlend", - "feColorMatrix", - "feComponentTransfer", - "feComposite", - "feConvolveMatrix", - "feDiffuseLighting", - "feDisplacementMap", - "feDistantLight", - "feDropShadow", - "feFlood", - "feFuncA", - "feFuncB", - "feFuncG", - "feFuncR", - "feGaussianBlur", - "feImage", - "feMerge", - "feMergeNode", - "feMorphology", - "feOffset", - "fePointLight", - "feSpecularLighting", - "feSpotLight", - "feTile", - "feTurbulence", - ]), - qle = ti([ - "animate", - "color-profile", - "cursor", - "discard", - "font-face", - "font-face-format", - "font-face-name", - "font-face-src", - "font-face-uri", - "foreignobject", - "hatch", - "hatchpath", - "mesh", - "meshgradient", - "meshpatch", - "meshrow", - "missing-glyph", - "script", - "set", - "solidcolor", - "unknown", - "use", - ]), - $3 = ti([ - "math", - "menclose", - "merror", - "mfenced", - "mfrac", - "mglyph", - "mi", - "mlabeledtr", - "mmultiscripts", - "mn", - "mo", - "mover", - "mpadded", - "mphantom", - "mroot", - "mrow", - "ms", - "mspace", - "msqrt", - "mstyle", - "msub", - "msup", - "msubsup", - "mtable", - "mtd", - "mtext", - "mtr", - "munder", - "munderover", - "mprescripts", - ]), - Kle = ti([ - "maction", - "maligngroup", - "malignmark", - "mlongdiv", - "mscarries", - "mscarry", - "msgroup", - "mstack", - "msline", - "msrow", - "semantics", - "annotation", - "annotation-xml", - "mprescripts", - "none", - ]), - Ck = ti(["#text"]), - xk = ti([ - "accept", - "action", - "align", - "alt", - "autocapitalize", - "autocomplete", - "autopictureinpicture", - "autoplay", - "background", - "bgcolor", - "border", - "capture", - "cellpadding", - "cellspacing", - "checked", - "cite", - "class", - "clear", - "color", - "cols", - "colspan", - "controls", - "controlslist", - "coords", - "crossorigin", - "datetime", - "decoding", - "default", - "dir", - "disabled", - "disablepictureinpicture", - "disableremoteplayback", - "download", - "draggable", - "enctype", - "enterkeyhint", - "face", - "for", - "headers", - "height", - "hidden", - "high", - "href", - "hreflang", - "id", - "inputmode", - "integrity", - "ismap", - "kind", - "label", - "lang", - "list", - "loading", - "loop", - "low", - "max", - "maxlength", - "media", - "method", - "min", - "minlength", - "multiple", - "muted", - "name", - "nonce", - "noshade", - "novalidate", - "nowrap", - "open", - "optimum", - "pattern", - "placeholder", - "playsinline", - "poster", - "preload", - "pubdate", - "radiogroup", - "readonly", - "rel", - "required", - "rev", - "reversed", - "role", - "rows", - "rowspan", - "spellcheck", - "scope", - "selected", - "shape", - "size", - "sizes", - "span", - "srclang", - "start", - "src", - "srcset", - "step", - "style", - "summary", - "tabindex", - "title", - "translate", - "type", - "usemap", - "valign", - "value", - "width", - "xmlns", - "slot", - ]), - z3 = ti([ - "accent-height", - "accumulate", - "additive", - "alignment-baseline", - "ascent", - "attributename", - "attributetype", - "azimuth", - "basefrequency", - "baseline-shift", - "begin", - "bias", - "by", - "class", - "clip", - "clippathunits", - "clip-path", - "clip-rule", - "color", - "color-interpolation", - "color-interpolation-filters", - "color-profile", - "color-rendering", - "cx", - "cy", - "d", - "dx", - "dy", - "diffuseconstant", - "direction", - "display", - "divisor", - "dur", - "edgemode", - "elevation", - "end", - "fill", - "fill-opacity", - "fill-rule", - "filter", - "filterunits", - "flood-color", - "flood-opacity", - "font-family", - "font-size", - "font-size-adjust", - "font-stretch", - "font-style", - "font-variant", - "font-weight", - "fx", - "fy", - "g1", - "g2", - "glyph-name", - "glyphref", - "gradientunits", - "gradienttransform", - "height", - "href", - "id", - "image-rendering", - "in", - "in2", - "k", - "k1", - "k2", - "k3", - "k4", - "kerning", - "keypoints", - "keysplines", - "keytimes", - "lang", - "lengthadjust", - "letter-spacing", - "kernelmatrix", - "kernelunitlength", - "lighting-color", - "local", - "marker-end", - "marker-mid", - "marker-start", - "markerheight", - "markerunits", - "markerwidth", - "maskcontentunits", - "maskunits", - "max", - "mask", - "media", - "method", - "mode", - "min", - "name", - "numoctaves", - "offset", - "operator", - "opacity", - "order", - "orient", - "orientation", - "origin", - "overflow", - "paint-order", - "path", - "pathlength", - "patterncontentunits", - "patterntransform", - "patternunits", - "points", - "preservealpha", - "preserveaspectratio", - "primitiveunits", - "r", - "rx", - "ry", - "radius", - "refx", - "refy", - "repeatcount", - "repeatdur", - "restart", - "result", - "rotate", - "scale", - "seed", - "shape-rendering", - "specularconstant", - "specularexponent", - "spreadmethod", - "startoffset", - "stddeviation", - "stitchtiles", - "stop-color", - "stop-opacity", - "stroke-dasharray", - "stroke-dashoffset", - "stroke-linecap", - "stroke-linejoin", - "stroke-miterlimit", - "stroke-opacity", - "stroke", - "stroke-width", - "style", - "surfacescale", - "systemlanguage", - "tabindex", - "targetx", - "targety", - "transform", - "transform-origin", - "text-anchor", - "text-decoration", - "text-rendering", - "textlength", - "type", - "u1", - "u2", - "unicode", - "values", - "viewbox", - "visibility", - "version", - "vert-adv-y", - "vert-origin-x", - "vert-origin-y", - "width", - "word-spacing", - "wrap", - "writing-mode", - "xchannelselector", - "ychannelselector", - "x", - "x1", - "x2", - "xmlns", - "y", - "y1", - "y2", - "z", - "zoomandpan", - ]), - kk = ti([ - "accent", - "accentunder", - "align", - "bevelled", - "close", - "columnsalign", - "columnlines", - "columnspan", - "denomalign", - "depth", - "dir", - "display", - "displaystyle", - "encoding", - "fence", - "frame", - "height", - "href", - "id", - "largeop", - "length", - "linethickness", - "lspace", - "lquote", - "mathbackground", - "mathcolor", - "mathsize", - "mathvariant", - "maxsize", - "minsize", - "movablelimits", - "notation", - "numalign", - "open", - "rowalign", - "rowlines", - "rowspacing", - "rowspan", - "rspace", - "rquote", - "scriptlevel", - "scriptminsize", - "scriptsizemultiplier", - "selection", - "separator", - "separators", - "stretchy", - "subscriptshift", - "supscriptshift", - "symmetric", - "voffset", - "width", - "xmlns", - ]), - F0 = ti(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), - Yle = Ga(/\{\{[\w\W]*|[\w\W]*\}\}/gm), - Xle = Ga(/<%[\w\W]*|[\w\W]*%>/gm), - Zle = Ga(/\${[\w\W]*}/gm), - Qle = Ga(/^data-[\-\w.\u00B7-\uFFFF]/), - Jle = Ga(/^aria-[\-\w]+$/), - BM = Ga( - /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i - ), - eue = Ga(/^(?:\w+script|data):/i), - tue = Ga(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), - UM = Ga(/^html$/i); -var Ik = Object.freeze({ - __proto__: null, - MUSTACHE_EXPR: Yle, - ERB_EXPR: Xle, - TMPLIT_EXPR: Zle, - DATA_ATTR: Qle, - ARIA_ATTR: Jle, - IS_ALLOWED_URI: BM, - IS_SCRIPT_OR_DATA: eue, - ATTR_WHITESPACE: tue, - DOCTYPE_NAME: UM, -}); -const nue = function () { - return typeof window > "u" ? null : window; - }, - rue = function (t, n) { - if (typeof t != "object" || typeof t.createPolicy != "function") - return null; - let r = null; - const i = "data-tt-policy-suffix"; - n && n.hasAttribute(i) && (r = n.getAttribute(i)); - const a = "dompurify" + (r ? "#" + r : ""); - try { - return t.createPolicy(a, { - createHTML(o) { - return o; - }, - createScriptURL(o) { - return o; - }, - }); - } catch { - return ( - console.warn("TrustedTypes policy " + a + " could not be created."), - null - ); - } - }; -function $M() { - let e = - arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : nue(); - const t = (qe) => $M(qe); - if ( - ((t.version = "3.0.6"), - (t.removed = []), - !e || !e.document || e.document.nodeType !== 9) - ) - return (t.isSupported = !1), t; - let { document: n } = e; - const r = n, - i = r.currentScript, - { - DocumentFragment: a, - HTMLTemplateElement: o, - Node: s, - Element: u, - NodeFilter: c, - NamedNodeMap: p = e.NamedNodeMap || e.MozNamedAttrMap, - HTMLFormElement: f, - DOMParser: m, - trustedTypes: g, - } = e, - E = u.prototype, - b = M0(E, "cloneNode"), - T = M0(E, "nextSibling"), - v = M0(E, "childNodes"), - y = M0(E, "parentNode"); - if (typeof o == "function") { - const qe = n.createElement("template"); - qe.content && qe.content.ownerDocument && (n = qe.content.ownerDocument); - } - let w, - A = ""; - const { - implementation: D, - createNodeIterator: k, - createDocumentFragment: R, - getElementsByTagName: B, - } = n, - { importNode: W } = r; - let P = {}; - t.isSupported = - typeof MM == "function" && - typeof y == "function" && - D && - D.createHTMLDocument !== void 0; - const { - MUSTACHE_EXPR: Q, - ERB_EXPR: z, - TMPLIT_EXPR: le, - DATA_ATTR: he, - ARIA_ATTR: de, - IS_SCRIPT_OR_DATA: fe, - ATTR_WHITESPACE: Z, - } = Ik; - let { IS_ALLOWED_URI: V } = Ik, - ce = null; - const N = Ct({}, [...Ak, ...B3, ...U3, ...$3, ...Ck]); - let me = null; - const oe = Ct({}, [...xk, ...z3, ...kk, ...F0]); - let O = Object.seal( - PM(null, { - tagNameCheck: { - writable: !0, - configurable: !1, - enumerable: !0, - value: null, - }, - attributeNameCheck: { - writable: !0, - configurable: !1, - enumerable: !0, - value: null, - }, - allowCustomizedBuiltInElements: { - writable: !0, - configurable: !1, - enumerable: !0, - value: !1, - }, - }) - ), - re = null, - Te = null, - K = !0, - xe = !0, - ne = !1, - Le = !0, - Re = !1, - Xe = !1, - Ve = !1, - dt = !1, - ot = !1, - Ge = !1, - pt = !1, - U = !0, - ie = !1; - const pe = "user-content-"; - let ke = !0, - ve = !1, - Se = {}, - Me = null; - const ze = Ct({}, [ - "annotation-xml", - "audio", - "colgroup", - "desc", - "foreignobject", - "head", - "iframe", - "math", - "mi", - "mn", - "mo", - "ms", - "mtext", - "noembed", - "noframes", - "noscript", - "plaintext", - "script", - "style", - "svg", - "template", - "thead", - "title", - "video", - "xmp", - ]); - let Ke = null; - const jt = Ct({}, ["audio", "video", "img", "source", "image", "track"]); - let ue = null; - const ye = Ct({}, [ - "alt", - "class", - "for", - "id", - "label", - "name", - "pattern", - "placeholder", - "role", - "summary", - "title", - "value", - "style", - "xmlns", - ]), - We = "http://www.w3.org/1998/Math/MathML", - at = "http://www.w3.org/2000/svg", - Qe = "http://www.w3.org/1999/xhtml"; - let Y = Qe, - se = !1, - j = null; - const $ = Ct({}, [We, at, Qe], P3); - let J = null; - const be = ["application/xhtml+xml", "text/html"], - Fe = "text/html"; - let De = null, - tt = null; - const Je = n.createElement("form"), - Ze = function (ee) { - return ee instanceof RegExp || ee instanceof Function; - }, - Rt = function () { - let ee = - arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; - if (!(tt && tt === ee)) { - if ( - ((!ee || typeof ee != "object") && (ee = {}), - (ee = Xu(ee)), - (J = - be.indexOf(ee.PARSER_MEDIA_TYPE) === -1 - ? (J = Fe) - : (J = ee.PARSER_MEDIA_TYPE)), - (De = J === "application/xhtml+xml" ? P3 : bh), - (ce = "ALLOWED_TAGS" in ee ? Ct({}, ee.ALLOWED_TAGS, De) : N), - (me = "ALLOWED_ATTR" in ee ? Ct({}, ee.ALLOWED_ATTR, De) : oe), - (j = - "ALLOWED_NAMESPACES" in ee ? Ct({}, ee.ALLOWED_NAMESPACES, P3) : $), - (ue = - "ADD_URI_SAFE_ATTR" in ee - ? Ct(Xu(ye), ee.ADD_URI_SAFE_ATTR, De) - : ye), - (Ke = - "ADD_DATA_URI_TAGS" in ee - ? Ct(Xu(jt), ee.ADD_DATA_URI_TAGS, De) - : jt), - (Me = "FORBID_CONTENTS" in ee ? Ct({}, ee.FORBID_CONTENTS, De) : ze), - (re = "FORBID_TAGS" in ee ? Ct({}, ee.FORBID_TAGS, De) : {}), - (Te = "FORBID_ATTR" in ee ? Ct({}, ee.FORBID_ATTR, De) : {}), - (Se = "USE_PROFILES" in ee ? ee.USE_PROFILES : !1), - (K = ee.ALLOW_ARIA_ATTR !== !1), - (xe = ee.ALLOW_DATA_ATTR !== !1), - (ne = ee.ALLOW_UNKNOWN_PROTOCOLS || !1), - (Le = ee.ALLOW_SELF_CLOSE_IN_ATTR !== !1), - (Re = ee.SAFE_FOR_TEMPLATES || !1), - (Xe = ee.WHOLE_DOCUMENT || !1), - (ot = ee.RETURN_DOM || !1), - (Ge = ee.RETURN_DOM_FRAGMENT || !1), - (pt = ee.RETURN_TRUSTED_TYPE || !1), - (dt = ee.FORCE_BODY || !1), - (U = ee.SANITIZE_DOM !== !1), - (ie = ee.SANITIZE_NAMED_PROPS || !1), - (ke = ee.KEEP_CONTENT !== !1), - (ve = ee.IN_PLACE || !1), - (V = ee.ALLOWED_URI_REGEXP || BM), - (Y = ee.NAMESPACE || Qe), - (O = ee.CUSTOM_ELEMENT_HANDLING || {}), - ee.CUSTOM_ELEMENT_HANDLING && - Ze(ee.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && - (O.tagNameCheck = ee.CUSTOM_ELEMENT_HANDLING.tagNameCheck), - ee.CUSTOM_ELEMENT_HANDLING && - Ze(ee.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && - (O.attributeNameCheck = - ee.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), - ee.CUSTOM_ELEMENT_HANDLING && - typeof ee.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == - "boolean" && - (O.allowCustomizedBuiltInElements = - ee.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), - Re && (xe = !1), - Ge && (ot = !0), - Se && - ((ce = Ct({}, [...Ck])), - (me = []), - Se.html === !0 && (Ct(ce, Ak), Ct(me, xk)), - Se.svg === !0 && (Ct(ce, B3), Ct(me, z3), Ct(me, F0)), - Se.svgFilters === !0 && (Ct(ce, U3), Ct(me, z3), Ct(me, F0)), - Se.mathMl === !0 && (Ct(ce, $3), Ct(me, kk), Ct(me, F0))), - ee.ADD_TAGS && (ce === N && (ce = Xu(ce)), Ct(ce, ee.ADD_TAGS, De)), - ee.ADD_ATTR && (me === oe && (me = Xu(me)), Ct(me, ee.ADD_ATTR, De)), - ee.ADD_URI_SAFE_ATTR && Ct(ue, ee.ADD_URI_SAFE_ATTR, De), - ee.FORBID_CONTENTS && - (Me === ze && (Me = Xu(Me)), Ct(Me, ee.FORBID_CONTENTS, De)), - ke && (ce["#text"] = !0), - Xe && Ct(ce, ["html", "head", "body"]), - ce.table && (Ct(ce, ["tbody"]), delete re.tbody), - ee.TRUSTED_TYPES_POLICY) - ) { - if (typeof ee.TRUSTED_TYPES_POLICY.createHTML != "function") - throw Qc( - 'TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.' - ); - if (typeof ee.TRUSTED_TYPES_POLICY.createScriptURL != "function") - throw Qc( - 'TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.' - ); - (w = ee.TRUSTED_TYPES_POLICY), (A = w.createHTML("")); - } else - w === void 0 && (w = rue(g, i)), - w !== null && typeof A == "string" && (A = w.createHTML("")); - ti && ti(ee), (tt = ee); - } - }, - Zt = Ct({}, ["mi", "mo", "mn", "ms", "mtext"]), - kt = Ct({}, ["foreignobject", "desc", "title", "annotation-xml"]), - nn = Ct({}, ["title", "style", "font", "a", "script"]), - Yt = Ct({}, B3); - Ct(Yt, U3), Ct(Yt, qle); - const jr = Ct({}, $3); - Ct(jr, Kle); - const Gr = function (ee) { - let Be = y(ee); - (!Be || !Be.tagName) && (Be = { namespaceURI: Y, tagName: "template" }); - const it = bh(ee.tagName), - ln = bh(Be.tagName); - return j[ee.namespaceURI] - ? ee.namespaceURI === at - ? Be.namespaceURI === Qe - ? it === "svg" - : Be.namespaceURI === We - ? it === "svg" && (ln === "annotation-xml" || Zt[ln]) - : !!Yt[it] - : ee.namespaceURI === We - ? Be.namespaceURI === Qe - ? it === "math" - : Be.namespaceURI === at - ? it === "math" && kt[ln] - : !!jr[it] - : ee.namespaceURI === Qe - ? (Be.namespaceURI === at && !kt[ln]) || - (Be.namespaceURI === We && !Zt[ln]) - ? !1 - : !jr[it] && (nn[it] || !Yt[it]) - : !!(J === "application/xhtml+xml" && j[ee.namespaceURI]) - : !1; - }, - Vr = function (ee) { - Xc(t.removed, { element: ee }); - try { - ee.parentNode.removeChild(ee); - } catch { - ee.remove(); - } - }, - Ta = function (ee, Be) { - try { - Xc(t.removed, { attribute: Be.getAttributeNode(ee), from: Be }); - } catch { - Xc(t.removed, { attribute: null, from: Be }); - } - if ((Be.removeAttribute(ee), ee === "is" && !me[ee])) - if (ot || Ge) - try { - Vr(Be); - } catch {} - else - try { - Be.setAttribute(ee, ""); - } catch {} - }, - ii = function (ee) { - let Be = null, - it = null; - if (dt) ee = "" + ee; - else { - const ar = jle(ee, /^[\r\n\t ]+/); - it = ar && ar[0]; - } - J === "application/xhtml+xml" && - Y === Qe && - (ee = - '' + - ee + - ""); - const ln = w ? w.createHTML(ee) : ee; - if (Y === Qe) - try { - Be = new m().parseFromString(ln, J); - } catch {} - if (!Be || !Be.documentElement) { - Be = D.createDocument(Y, "template", null); - try { - Be.documentElement.innerHTML = se ? A : ln; - } catch {} - } - const ir = Be.body || Be.documentElement; - return ( - ee && - it && - ir.insertBefore(n.createTextNode(it), ir.childNodes[0] || null), - Y === Qe - ? B.call(Be, Xe ? "html" : "body")[0] - : Xe - ? Be.documentElement - : ir - ); - }, - Ir = function (ee) { - return k.call( - ee.ownerDocument || ee, - ee, - c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT, - null - ); - }, - ps = function (ee) { - return ( - ee instanceof f && - (typeof ee.nodeName != "string" || - typeof ee.textContent != "string" || - typeof ee.removeChild != "function" || - !(ee.attributes instanceof p) || - typeof ee.removeAttribute != "function" || - typeof ee.setAttribute != "function" || - typeof ee.namespaceURI != "string" || - typeof ee.insertBefore != "function" || - typeof ee.hasChildNodes != "function") - ); - }, - fs = function (ee) { - return typeof s == "function" && ee instanceof s; - }, - Wr = function (ee, Be, it) { - P[ee] && - L0(P[ee], (ln) => { - ln.call(t, Be, it, tt); - }); - }, - hs = function (ee) { - let Be = null; - if ((Wr("beforeSanitizeElements", ee, null), ps(ee))) return Vr(ee), !0; - const it = De(ee.nodeName); - if ( - (Wr("uponSanitizeElement", ee, { tagName: it, allowedTags: ce }), - ee.hasChildNodes() && - !fs(ee.firstElementChild) && - Ii(/<[/\w]/g, ee.innerHTML) && - Ii(/<[/\w]/g, ee.textContent)) - ) - return Vr(ee), !0; - if (!ce[it] || re[it]) { - if ( - !re[it] && - Rr(it) && - ((O.tagNameCheck instanceof RegExp && Ii(O.tagNameCheck, it)) || - (O.tagNameCheck instanceof Function && O.tagNameCheck(it))) - ) - return !1; - if (ke && !Me[it]) { - const ln = y(ee) || ee.parentNode, - ir = v(ee) || ee.childNodes; - if (ir && ln) { - const ar = ir.length; - for (let Yn = ar - 1; Yn >= 0; --Yn) - ln.insertBefore(b(ir[Yn], !0), T(ee)); - } - } - return Vr(ee), !0; - } - return (ee instanceof u && !Gr(ee)) || - ((it === "noscript" || it === "noembed" || it === "noframes") && - Ii(/<\/no(script|embed|frames)/i, ee.innerHTML)) - ? (Vr(ee), !0) - : (Re && - ee.nodeType === 3 && - ((Be = ee.textContent), - L0([Q, z, le], (ln) => { - Be = Zc(Be, ln, " "); - }), - ee.textContent !== Be && - (Xc(t.removed, { element: ee.cloneNode() }), - (ee.textContent = Be))), - Wr("afterSanitizeElements", ee, null), - !1); - }, - Wt = function (ee, Be, it) { - if (U && (Be === "id" || Be === "name") && (it in n || it in Je)) - return !1; - if (!(xe && !Te[Be] && Ii(he, Be))) { - if (!(K && Ii(de, Be))) { - if (!me[Be] || Te[Be]) { - if ( - !( - (Rr(ee) && - ((O.tagNameCheck instanceof RegExp && - Ii(O.tagNameCheck, ee)) || - (O.tagNameCheck instanceof Function && - O.tagNameCheck(ee))) && - ((O.attributeNameCheck instanceof RegExp && - Ii(O.attributeNameCheck, Be)) || - (O.attributeNameCheck instanceof Function && - O.attributeNameCheck(Be)))) || - (Be === "is" && - O.allowCustomizedBuiltInElements && - ((O.tagNameCheck instanceof RegExp && - Ii(O.tagNameCheck, it)) || - (O.tagNameCheck instanceof Function && O.tagNameCheck(it)))) - ) - ) - return !1; - } else if (!ue[Be]) { - if (!Ii(V, Zc(it, Z, ""))) { - if ( - !( - (Be === "src" || Be === "xlink:href" || Be === "href") && - ee !== "script" && - Gle(it, "data:") === 0 && - Ke[ee] - ) - ) { - if (!(ne && !Ii(fe, Zc(it, Z, "")))) { - if (it) return !1; - } - } - } - } - } - } - return !0; - }, - Rr = function (ee) { - return ee.indexOf("-") > 0; - }, - _i = function (ee) { - Wr("beforeSanitizeAttributes", ee, null); - const { attributes: Be } = ee; - if (!Be) return; - const it = { - attrName: "", - attrValue: "", - keepAttr: !0, - allowedAttributes: me, - }; - let ln = Be.length; - for (; ln--; ) { - const ir = Be[ln], - { name: ar, namespaceURI: Yn, value: wo } = ir, - Xa = De(ar); - let Nr = ar === "value" ? wo : Vle(wo); - if ( - ((it.attrName = Xa), - (it.attrValue = Nr), - (it.keepAttr = !0), - (it.forceKeepAttr = void 0), - Wr("uponSanitizeAttribute", ee, it), - (Nr = it.attrValue), - it.forceKeepAttr || (Ta(ar, ee), !it.keepAttr)) - ) - continue; - if (!Le && Ii(/\/>/i, Nr)) { - Ta(ar, ee); - continue; - } - Re && - L0([Q, z, le], (af) => { - Nr = Zc(Nr, af, " "); - }); - const rf = De(ee.nodeName); - if (Wt(rf, Xa, Nr)) { - if ( - (ie && - (Xa === "id" || Xa === "name") && - (Ta(ar, ee), (Nr = pe + Nr)), - w && - typeof g == "object" && - typeof g.getAttributeType == "function" && - !Yn) - ) - switch (g.getAttributeType(rf, Xa)) { - case "TrustedHTML": { - Nr = w.createHTML(Nr); - break; - } - case "TrustedScriptURL": { - Nr = w.createScriptURL(Nr); - break; - } - } - try { - Yn ? ee.setAttributeNS(Yn, ar, Nr) : ee.setAttribute(ar, Nr), - wk(t.removed); - } catch {} - } - } - Wr("afterSanitizeAttributes", ee, null); - }, - Al = function qe(ee) { - let Be = null; - const it = Ir(ee); - for (Wr("beforeSanitizeShadowDOM", ee, null); (Be = it.nextNode()); ) - Wr("uponSanitizeShadowNode", Be, null), - !hs(Be) && (Be.content instanceof a && qe(Be.content), _i(Be)); - Wr("afterSanitizeShadowDOM", ee, null); - }; - return ( - (t.sanitize = function (qe) { - let ee = - arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, - Be = null, - it = null, - ln = null, - ir = null; - if (((se = !qe), se && (qe = ""), typeof qe != "string" && !fs(qe))) - if (typeof qe.toString == "function") { - if (((qe = qe.toString()), typeof qe != "string")) - throw Qc("dirty is not a string, aborting"); - } else throw Qc("toString is not a function"); - if (!t.isSupported) return qe; - if ( - (Ve || Rt(ee), (t.removed = []), typeof qe == "string" && (ve = !1), ve) - ) { - if (qe.nodeName) { - const wo = De(qe.nodeName); - if (!ce[wo] || re[wo]) - throw Qc("root node is forbidden and cannot be sanitized in-place"); - } - } else if (qe instanceof s) - (Be = ii("")), - (it = Be.ownerDocument.importNode(qe, !0)), - (it.nodeType === 1 && it.nodeName === "BODY") || - it.nodeName === "HTML" - ? (Be = it) - : Be.appendChild(it); - else { - if (!ot && !Re && !Xe && qe.indexOf("<") === -1) - return w && pt ? w.createHTML(qe) : qe; - if (((Be = ii(qe)), !Be)) return ot ? null : pt ? A : ""; - } - Be && dt && Vr(Be.firstChild); - const ar = Ir(ve ? qe : Be); - for (; (ln = ar.nextNode()); ) - hs(ln) || (ln.content instanceof a && Al(ln.content), _i(ln)); - if (ve) return qe; - if (ot) { - if (Ge) - for (ir = R.call(Be.ownerDocument); Be.firstChild; ) - ir.appendChild(Be.firstChild); - else ir = Be; - return ( - (me.shadowroot || me.shadowrootmode) && (ir = W.call(r, ir, !0)), ir - ); - } - let Yn = Xe ? Be.outerHTML : Be.innerHTML; - return ( - Xe && - ce["!doctype"] && - Be.ownerDocument && - Be.ownerDocument.doctype && - Be.ownerDocument.doctype.name && - Ii(UM, Be.ownerDocument.doctype.name) && - (Yn = - " -` + - Yn), - Re && - L0([Q, z, le], (wo) => { - Yn = Zc(Yn, wo, " "); - }), - w && pt ? w.createHTML(Yn) : Yn - ); - }), - (t.setConfig = function () { - let qe = - arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; - Rt(qe), (Ve = !0); - }), - (t.clearConfig = function () { - (tt = null), (Ve = !1); - }), - (t.isValidAttribute = function (qe, ee, Be) { - tt || Rt({}); - const it = De(qe), - ln = De(ee); - return Wt(it, ln, Be); - }), - (t.addHook = function (qe, ee) { - typeof ee == "function" && ((P[qe] = P[qe] || []), Xc(P[qe], ee)); - }), - (t.removeHook = function (qe) { - if (P[qe]) return wk(P[qe]); - }), - (t.removeHooks = function (qe) { - P[qe] && (P[qe] = []); - }), - (t.removeAllHooks = function () { - P = {}; - }), - t - ); -} -var iue = $M(), - l7 = {}; -const aue = { - folder: ["folder", "white"], - "karma.conf.js": ["karma", "green"], - "karma.conf.coffee": ["karma", "green"], - "README.md": ["info", "blue"], - "CHANGELOG.md": ["clock", "blue"], - CHANGELOG: ["clock", "blue"], - "CHANGES.md": ["clock", "blue"], - "VERSION.md": ["clock", "blue"], - VERSION: ["clock", "blue"], - mvnw: ["maven", "red"], - "tsconfig.json": ["tsconfig", "blue"], - "swagger.json": ["json", "green"], - "swagger.yml": ["json", "green"], - "swagger.yaml": ["json", "green"], - "mime.types": ["config", "grey-light"], - Jenkinsfile: ["jenkins", "red"], - "babel.config.js": ["babel", "yellow"], - "babel.config.json": ["babel", "yellow"], - "babel.config.cjs": ["babel", "yellow"], - "bower.json": ["bower", "orange"], - "Bower.json": ["bower", "orange"], - "firebase.json": ["firebase", "orange"], - geckodriver: ["firefox", "orange"], - "Gruntfile.js": ["grunt", "orange"], - "gruntfile.babel.js": ["grunt", "orange"], - "Gruntfile.babel.js": ["grunt", "orange"], - "gruntfile.js": ["grunt", "orange"], - "Gruntfile.coffee": ["grunt", "orange"], - "gruntfile.coffee": ["grunt", "orange"], - "ionic.config.json": ["ionic", "blue"], - "Ionic.config.json": ["ionic", "blue"], - "ionic.project": ["ionic", "blue"], - "Ionic.project": ["ionic", "blue"], - "platformio.ini": ["platformio", "orange"], - "rollup.config.js": ["rollup", "red"], - "sass-lint.yml": ["sass", "pink"], - "stylelint.config.js": ["stylelint", "white"], - "stylelint.config.cjs": ["stylelint", "white"], - "yarn.clean": ["yarn", "blue"], - "yarn.lock": ["yarn", "blue"], - "webpack.config.js": ["webpack", "blue"], - "webpack.config.build.js": ["webpack", "blue"], - "webpack.common.js": ["webpack", "blue"], - "webpack.dev.js": ["webpack", "blue"], - "webpack.prod.js": ["webpack", "blue"], - "npm-debug.log": ["npm_ignored", "ignore"], - }, - oue = { - ".bsl": ["bsl", "red"], - ".mdo": ["mdo", "red"], - ".cls": ["salesforce", "blue"], - ".apex": ["salesforce", "blue"], - ".asm": ["asm", "red"], - ".s": ["asm", "red"], - ".bicep": ["bicep", "blue"], - ".c": ["c", "blue"], - ".h": ["c", "purple"], - ".m": ["c", "yellow"], - ".cs": ["c-sharp", "blue"], - ".cshtml": ["html", "blue"], - ".aspx": ["html", "blue"], - ".ascx": ["html", "green"], - ".asax": ["html", "yellow"], - ".master": ["html", "yellow"], - ".cc": ["cpp", "blue"], - ".cpp": ["cpp", "blue"], - ".cxx": ["cpp", "blue"], - ".c++": ["cpp", "blue"], - ".hh": ["cpp", "purple"], - ".hpp": ["cpp", "purple"], - ".hxx": ["cpp", "purple"], - ".h++": ["cpp", "purple"], - ".mm": ["cpp", "yellow"], - ".clj": ["clojure", "green"], - ".cljs": ["clojure", "green"], - ".cljc": ["clojure", "green"], - ".edn": ["clojure", "blue"], - ".cfc": ["coldfusion", "blue"], - ".cfm": ["coldfusion", "blue"], - ".coffee": ["coffee", "yellow"], - ".litcoffee": ["coffee", "yellow"], - ".config": ["config", "grey-light"], - ".cfg": ["config", "grey-light"], - ".conf": ["config", "grey-light"], - ".cr": ["crystal", "white"], - ".ecr": ["crystal_embedded", "white"], - ".slang": ["crystal_embedded", "white"], - ".cson": ["json", "yellow"], - ".css": ["css", "blue"], - ".css.map": ["css", "blue"], - ".sss": ["css", "blue"], - ".csv": ["csv", "green"], - ".xls": ["xls", "green"], - ".xlsx": ["xls", "green"], - ".cu": ["cu", "green"], - ".cuh": ["cu", "purple"], - ".hu": ["cu", "purple"], - ".cake": ["cake", "red"], - ".ctp": ["cake_php", "red"], - ".d": ["d", "red"], - ".doc": ["word", "blue"], - ".docx": ["word", "blue"], - ".ejs": ["ejs", "yellow"], - ".ex": ["elixir", "purple"], - ".exs": ["elixir_script", "purple"], - ".elm": ["elm", "blue"], - ".ico": ["favicon", "yellow"], - ".fs": ["f-sharp", "blue"], - ".fsx": ["f-sharp", "blue"], - ".gitignore": ["git", "ignore"], - ".gitconfig": ["git", "ignore"], - ".gitkeep": ["git", "ignore"], - ".gitattributes": ["git", "ignore"], - ".gitmodules": ["git", "ignore"], - ".go": ["go2", "blue"], - ".slide": ["go", "blue"], - ".article": ["go", "blue"], - ".gd": ["godot", "blue"], - ".godot": ["godot", "red"], - ".tres": ["godot", "yellow"], - ".tscn": ["godot", "purple"], - ".gradle": ["gradle", "blue"], - ".groovy": ["grails", "green"], - ".gsp": ["grails", "green"], - ".gql": ["graphql", "pink"], - ".graphql": ["graphql", "pink"], - ".graphqls": ["graphql", "pink"], - ".hack": ["hacklang", "orange"], - ".haml": ["haml", "red"], - ".handlebars": ["mustache", "orange"], - ".hbs": ["mustache", "orange"], - ".hjs": ["mustache", "orange"], - ".hs": ["haskell", "purple"], - ".lhs": ["haskell", "purple"], - ".hx": ["haxe", "orange"], - ".hxs": ["haxe", "yellow"], - ".hxp": ["haxe", "blue"], - ".hxml": ["haxe", "purple"], - ".html": ["html", "orange"], - ".jade": ["jade", "red"], - ".java": ["java", "red"], - ".class": ["java", "red"], - ".classpath": ["java", "red"], - ".properties": ["java", "red"], - ".js": ["javascript", "yellow"], - ".js.map": ["javascript", "yellow"], - ".spec.js": ["javascript", "orange"], - ".test.js": ["javascript", "orange"], - ".es": ["javascript", "yellow"], - ".es5": ["javascript", "yellow"], - ".es6": ["javascript", "yellow"], - ".es7": ["javascript", "yellow"], - ".jinja": ["jinja", "red"], - ".jinja2": ["jinja", "red"], - ".json": ["json", "yellow"], - ".jl": ["julia", "purple"], - ".kt": ["kotlin", "orange"], - ".kts": ["kotlin", "orange"], - ".dart": ["dart", "blue"], - ".less": ["less", "blue"], - ".liquid": ["liquid", "green"], - ".ls": ["livescript", "blue"], - ".lua": ["lua", "blue"], - ".markdown": ["markdown", "blue"], - ".md": ["markdown", "blue"], - ".argdown": ["argdown", "blue"], - ".ad": ["argdown", "blue"], - ".mustache": ["mustache", "orange"], - ".stache": ["mustache", "orange"], - ".nim": ["nim", "yellow"], - ".nims": ["nim", "yellow"], - ".github-issues": ["github", "white"], - ".ipynb": ["notebook", "blue"], - ".njk": ["nunjucks", "green"], - ".nunjucks": ["nunjucks", "green"], - ".nunjs": ["nunjucks", "green"], - ".nunj": ["nunjucks", "green"], - ".njs": ["nunjucks", "green"], - ".nj": ["nunjucks", "green"], - ".npm-debug.log": ["npm", "ignore"], - ".npmignore": ["npm", "red"], - ".npmrc": ["npm", "red"], - ".ml": ["ocaml", "orange"], - ".mli": ["ocaml", "orange"], - ".cmx": ["ocaml", "orange"], - ".cmxa": ["ocaml", "orange"], - ".odata": ["odata", "orange"], - ".pl": ["perl", "blue"], - ".php": ["php", "purple"], - ".php.inc": ["php", "purple"], - ".pipeline": ["pipeline", "orange"], - ".pddl": ["pddl", "purple"], - ".plan": ["plan", "green"], - ".happenings": ["happenings", "blue"], - ".ps1": ["powershell", "blue"], - ".psd1": ["powershell", "blue"], - ".psm1": ["powershell", "blue"], - ".prisma": ["prisma", "blue"], - ".pug": ["pug", "red"], - ".pp": ["puppet", "yellow"], - ".epp": ["puppet", "yellow"], - ".purs": ["purescript", "white"], - ".py": ["python", "blue"], - ".jsx": ["react", "blue"], - ".spec.jsx": ["react", "orange"], - ".test.jsx": ["react", "orange"], - ".cjsx": ["react", "blue"], - ".spec.tsx": ["react", "orange"], - ".test.tsx": ["react", "orange"], - ".re": ["reasonml", "red"], - ".res": ["rescript", "red"], - ".resi": ["rescript", "pink"], - ".R": ["R", "blue"], - ".rmd": ["R", "blue"], - ".rb": ["ruby", "red"], - ".erb": ["html_erb", "red"], - ".erb.html": ["html_erb", "red"], - ".html.erb": ["html_erb", "red"], - ".rs": ["rust", "grey-light"], - ".sass": ["sass", "pink"], - ".scss": ["sass", "pink"], - ".springBeans": ["spring", "green"], - ".slim": ["slim", "orange"], - ".smarty.tpl": ["smarty", "yellow"], - ".tpl": ["smarty", "yellow"], - ".sbt": ["sbt", "blue"], - ".scala": ["scala", "red"], - ".sol": ["ethereum", "blue"], - ".styl": ["stylus", "green"], - ".svelte": ["svelte", "red"], - ".swift": ["swift", "orange"], - ".sql": ["db", "pink"], - ".soql": ["db", "blue"], - ".tf": ["terraform", "purple"], - ".tf.json": ["terraform", "purple"], - ".tfvars": ["terraform", "purple"], - ".tex": ["tex", "blue"], - ".sty": ["tex", "yellow"], - ".dtx": ["tex", "orange"], - ".ins": ["tex", "white"], - ".txt": ["default", "white"], - ".toml": ["config", "grey-light"], - ".twig": ["twig", "green"], - ".ts": ["typescript", "blue"], - ".tsx": ["typescript", "blue"], - ".spec.ts": ["typescript", "orange"], - ".test.ts": ["typescript", "orange"], - ".vala": ["vala", "grey-light"], - ".vapi": ["vala", "grey-light"], - ".component": ["html", "orange"], - ".vue": ["vue", "green"], - ".wasm": ["wasm", "purple"], - ".wat": ["wat", "purple"], - ".xml": ["xml", "orange"], - ".yml": ["yml", "purple"], - ".yaml": ["yml", "purple"], - ".pro": ["prolog", "orange"], - ".jar": ["zip", "red"], - ".zip": ["zip", "grey-light"], - ".wgt": ["wgt", "blue"], - ".ai": ["illustrator", "yellow"], - ".psd": ["photoshop", "blue"], - ".pdf": ["pdf", "red"], - ".eot": ["font", "red"], - ".ttf": ["font", "red"], - ".woff": ["font", "red"], - ".woff2": ["font", "red"], - ".gif": ["image", "purple"], - ".jpg": ["image", "purple"], - ".jpeg": ["image", "purple"], - ".png": ["image", "purple"], - ".pxm": ["image", "purple"], - ".svg": ["svg", "purple"], - ".svgx": ["image", "purple"], - ".tiff": ["image", "purple"], - ".webp": ["image", "purple"], - ".sublime-project": ["sublime", "orange"], - ".sublime-workspace": ["sublime", "orange"], - ".code-search": ["code-search", "purple"], - ".sh": ["shell", "green"], - ".zsh": ["shell", "green"], - ".fish": ["shell", "green"], - ".zshrc": ["shell", "green"], - ".bashrc": ["shell", "green"], - ".mov": ["video", "pink"], - ".ogv": ["video", "pink"], - ".webm": ["video", "pink"], - ".avi": ["video", "pink"], - ".mpg": ["video", "pink"], - ".mp4": ["video", "pink"], - ".mp3": ["audio", "purple"], - ".ogg": ["audio", "purple"], - ".wav": ["audio", "purple"], - ".flac": ["audio", "purple"], - ".3ds": ["svg", "blue"], - ".3dm": ["svg", "blue"], - ".stl": ["svg", "blue"], - ".obj": ["svg", "blue"], - ".dae": ["svg", "blue"], - ".bat": ["windows", "blue"], - ".cmd": ["windows", "blue"], - ".babelrc": ["babel", "yellow"], - ".babelrc.js": ["babel", "yellow"], - ".babelrc.cjs": ["babel", "yellow"], - ".bowerrc": ["bower", "orange"], - ".codeclimate.yml": ["code-climate", "green"], - ".eslintrc": ["eslint", "purple"], - ".eslintrc.js": ["eslint", "purple"], - ".eslintrc.cjs": ["eslint", "purple"], - ".eslintrc.yaml": ["eslint", "purple"], - ".eslintrc.yml": ["eslint", "purple"], - ".eslintrc.json": ["eslint", "purple"], - ".eslintignore": ["eslint", "grey"], - ".firebaserc": ["firebase", "orange"], - ".jshintrc": ["javascript", "blue"], - ".jscsrc": ["javascript", "blue"], - ".stylelintrc": ["stylelint", "white"], - ".stylelintrc.json": ["stylelint", "white"], - ".stylelintrc.yaml": ["stylelint", "white"], - ".stylelintrc.yml": ["stylelint", "white"], - ".stylelintrc.js": ["stylelint", "white"], - ".stylelintignore": ["stylelint", "grey"], - ".direnv": ["config", "grey-light"], - ".env": ["config", "grey-light"], - ".static": ["config", "grey-light"], - ".editorconfig": ["config", "grey-light"], - ".slugignore": ["config", "grey-light"], - ".tmp": ["clock", "grey-light"], - ".htaccess": ["config", "grey-light"], - ".key": ["lock", "green"], - ".cert": ["lock", "green"], - ".cer": ["lock", "green"], - ".crt": ["lock", "green"], - ".pem": ["lock", "green"], - ".DS_Store": ["ignored", "ignore"], - }, - sue = [ - ["TODO", ["todo", "blue"]], - ["Procfile", ["heroku", "purple"]], - ["cmakelists.txt", ["makefile", "blue"]], - ["CMakeLists.txt", ["makefile", "blue"]], - ["CMAKELISTS.txt", ["makefile", "blue"]], - ["CMAKELISTS.TXT", ["makefile", "blue"]], - ["omakefile", ["makefile", "grey-light"]], - ["OMakefile", ["makefile", "grey-light"]], - ["OMAKEFILE", ["makefile", "grey-light"]], - ["qmakefile", ["makefile", "purple"]], - ["QMakefile", ["makefile", "purple"]], - ["QMAKEFILE", ["makefile", "purple"]], - ["makefile", ["makefile", "orange"]], - ["Makefile", ["makefile", "orange"]], - ["MAKEFILE", ["makefile", "orange"]], - ["CONTRIBUTING", ["license", "red"]], - ["COMPILING", ["license", "orange"]], - ["COPYING", ["license", "yellow"]], - ["LICENCE.md", ["license", "yellow"]], - ["LICENSE.md", ["license", "yellow"]], - ["LICENCE", ["license", "yellow"]], - ["LICENSE", ["license", "yellow"]], - ["gulpfile.js", ["gulp", "red"]], - ["gulpfile", ["gulp", "red"]], - ["Gulpfile", ["gulp", "red"]], - ["GULPFILE", ["gulp", "red"]], - ["docker-compose.override.yaml", ["docker", "pink"]], - ["docker-compose.override.yml", ["docker", "pink"]], - ["docker-compose.yaml", ["docker", "pink"]], - ["docker-compose.yml", ["docker", "pink"]], - ["docker-healthcheck", ["docker", "green"]], - [".dockerignore", ["docker", "grey"]], - ["DOCKERFILE", ["docker", "blue"]], - ["Dockerfile", ["docker", "blue"]], - ["dockerfile", ["docker", "blue"]], - ["gemfile", ["ruby", "red"]], - ["Gemfile", ["ruby", "red"]], - ["mix", ["hex", "red"]], - ], - lue = { - files: aue, - extensions: oue, - partials: sue, - default: ["default", "white"], - }, - uue = - '', - cue = - '', - due = - '', - pue = - '', - fue = - '', - hue = - '', - gue = - '', - mue = - '', - bue = - '', - Eue = - '', - vue = - '', - yue = - '', - _ue = - '', - Tue = - '', - Sue = - '', - wue = - '', - Aue = - '', - Cue = - '', - xue = - '', - kue = - '', - Iue = - '', - Rue = - '', - Nue = - '', - Oue = - '', - Due = - '', - Lue = - '', - Mue = - '', - Fue = - '', - Pue = - '', - Bue = - '', - Uue = - '', - $ue = - '', - zue = - '', - Hue = - '', - jue = - '', - Gue = - '', - Vue = - '', - Wue = - '', - que = - '', - Kue = - '', - Yue = - '', - Xue = - '', - Zue = - '', - Que = - '', - Jue = - '', - e1e = - '', - t1e = - '', - n1e = - '', - r1e = - '', - i1e = - '', - a1e = - '', - o1e = - '', - s1e = - '', - l1e = - '', - u1e = - '', - c1e = - '', - d1e = - '', - p1e = - '', - f1e = - '', - h1e = - '', - g1e = - '', - m1e = - '', - b1e = - '', - E1e = - '', - v1e = - '', - y1e = - '', - _1e = - '', - T1e = - '', - S1e = - '', - w1e = - '', - A1e = - '', - C1e = - '', - x1e = - '', - k1e = - '', - I1e = - '', - R1e = - '', - N1e = - '', - O1e = - '', - D1e = - '', - L1e = - '', - M1e = - '', - F1e = - '', - P1e = - '', - B1e = - '', - U1e = - '', - $1e = - '', - z1e = - '', - H1e = - '', - j1e = - '', - G1e = - '', - V1e = - '', - W1e = - '', - q1e = - '', - K1e = - '', - Y1e = - '', - X1e = - '', - Z1e = - '', - Q1e = - '', - J1e = - '', - ece = - '', - tce = - '', - nce = - '', - rce = - '', - ice = - '', - ace = - '', - oce = - '', - sce = - '', - lce = - '', - uce = - '', - cce = - '', - dce = - '', - pce = - '', - fce = - '', - hce = - '', - gce = - '', - mce = - '', - bce = - '', - Ece = - '', - vce = - '', - yce = - '', - _ce = - '', - Tce = - '', - Sce = - '', - wce = - '', - Ace = - '', - Cce = - '', - xce = - '', - kce = - '', - Ice = - '', - Rce = - '', - Nce = - '', - Oce = - '', - Dce = - '', - Lce = - '', - Mce = - '', - Fce = - '', - Pce = - '', - Bce = - '', - Uce = - '', - $ce = - '', - zce = - '', - Hce = - '', - jce = - '', - Gce = { - folder: uue, - bsl: cue, - mdo: due, - salesforce: pue, - asm: fue, - bicep: hue, - c: gue, - "c-sharp": - '', - html: mue, - cpp: bue, - clojure: Eue, - coldfusion: vue, - coffee: yue, - config: _ue, - crystal: Tue, - crystal_embedded: Sue, - json: wue, - css: Aue, - csv: Cue, - xls: xue, - cu: kue, - cake: Iue, - cake_php: Rue, - d: Nue, - word: Oue, - ejs: Due, - elixir: Lue, - elixir_script: Mue, - hex: Fue, - elm: Pue, - favicon: Bue, - "f-sharp": - '', - git: Uue, - go2: $ue, - go: zue, - godot: Hue, - gradle: jue, - grails: Gue, - graphql: Vue, - hacklang: Wue, - haml: que, - mustache: Kue, - haskell: Yue, - haxe: Xue, - jade: Zue, - java: Que, - javascript: Jue, - jinja: e1e, - julia: t1e, - karma: n1e, - kotlin: r1e, - dart: i1e, - less: a1e, - liquid: o1e, - livescript: s1e, - lua: l1e, - markdown: u1e, - argdown: c1e, - info: d1e, - clock: p1e, - maven: f1e, - nim: h1e, - github: g1e, - notebook: m1e, - nunjucks: b1e, - npm: E1e, - ocaml: v1e, - odata: y1e, - perl: _1e, - php: T1e, - pipeline: S1e, - pddl: w1e, - plan: A1e, - happenings: C1e, - powershell: x1e, - prisma: k1e, - pug: I1e, - puppet: R1e, - purescript: N1e, - python: O1e, - react: D1e, - reasonml: L1e, - rescript: M1e, - R: F1e, - ruby: P1e, - html_erb: B1e, - rust: U1e, - sass: $1e, - spring: z1e, - slim: H1e, - smarty: j1e, - sbt: G1e, - scala: V1e, - ethereum: W1e, - stylus: q1e, - svelte: K1e, - swift: Y1e, - db: X1e, - terraform: Z1e, - tex: Q1e, - default: - '', - twig: J1e, - typescript: ece, - tsconfig: tce, - vala: nce, - vue: rce, - wasm: ice, - wat: ace, - xml: oce, - yml: sce, - prolog: lce, - zip: uce, - wgt: cce, - illustrator: dce, - photoshop: pce, - pdf: fce, - font: hce, - image: gce, - svg: mce, - sublime: bce, - "code-search": - '', - shell: Ece, - video: vce, - audio: yce, - windows: _ce, - jenkins: Tce, - babel: Sce, - bower: wce, - docker: Ace, - "code-climate": - '', - eslint: Cce, - firebase: xce, - firefox: kce, - grunt: Ice, - gulp: Rce, - ionic: Nce, - platformio: Oce, - rollup: Dce, - stylelint: Lce, - yarn: Mce, - webpack: Fce, - lock: Pce, - license: Bce, - makefile: Uce, - heroku: $ce, - todo: zce, - npm_ignored: Hce, - ignored: jce, - }; -var gg = - (ql && ql.__assign) || - function () { - return ( - (gg = - Object.assign || - function (e) { - for (var t, n = 1, r = arguments.length; n < r; n++) { - t = arguments[n]; - for (var i in t) - Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); - } - return e; - }), - gg.apply(this, arguments) - ); - }; -Object.defineProperty(l7, "__esModule", { value: !0 }); -var Vce = lue, - Wce = Gce, - Zu = Vce, - qce = Wce, - Kce = function (e) { - if (Zu.files.hasOwnProperty(e)) return Zu.files[e]; - for (var t = e.slice(e.indexOf(".")); t !== ""; ) { - if (Zu.extensions.hasOwnProperty(t)) return Zu.extensions[t]; - (t = t.slice(1)), (t = t.slice(t.indexOf("."))); - } - for (var n = 0, r = Zu.partials; n < r.length; n++) { - var i = r[n]; - if (e.indexOf(i[0]) > -1) return i[1]; - } - return Zu.default; - }, - zM = function (e) { - var t = Kce(e), - n = t[0], - r = t[1]; - return { svg: qce[n], color: r }; - }; -l7.getIcon = zM; -var Yce = function (e) { - return function (t) { - var n = zM(t); - return gg(gg({}, n), { color: e[n.color] }); - }; - }, - Xce = (l7.themeIcons = Yce); -const $b = ({ filename: e, height: t, width: n }) => { - const r = Xce({ - blue: "#268bd2", - grey: "#657b83", - "grey-light": "#839496", - green: "#859900", - orange: "#cb4b16", - pink: "#d33682", - purple: "#6c71c4", - red: "#dc322f", - white: "#fdf6e3", - yellow: "#b58900", - ignore: "#586e75", - }), - { svg: i, color: a } = r(e), - o = iue.sanitize(i); - return I.jsx("div", { - dangerouslySetInnerHTML: { __html: o }, - style: { width: n, height: t, fill: a }, - }); - }, - Zce = He.button` + */var im=60103,am=60106,zp=60107,Hp=60108,jp=60114,Gp=60109,Vp=60110,Wp=60112,qp=60113,q_=60120,Kp=60115,Yp=60116,fM=60121,hM=60122,gM=60117,mM=60129,bM=60131;if(typeof Symbol=="function"&&Symbol.for){var mr=Symbol.for;im=mr("react.element"),am=mr("react.portal"),zp=mr("react.fragment"),Hp=mr("react.strict_mode"),jp=mr("react.profiler"),Gp=mr("react.provider"),Vp=mr("react.context"),Wp=mr("react.forward_ref"),qp=mr("react.suspense"),q_=mr("react.suspense_list"),Kp=mr("react.memo"),Yp=mr("react.lazy"),fM=mr("react.block"),hM=mr("react.server.block"),gM=mr("react.fundamental"),mM=mr("react.debug_trace_mode"),bM=mr("react.legacy_hidden")}function Ka(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case im:switch(e=e.type,e){case zp:case jp:case Hp:case qp:case q_:return e;default:switch(e=e&&e.$$typeof,e){case Vp:case Wp:case Yp:case Kp:case Gp:return e;default:return t}}case am:return t}}}var Yse=Gp,Xse=im,Zse=Wp,Qse=zp,Jse=Yp,ele=Kp,tle=am,nle=jp,rle=Hp,ile=qp;bn.ContextConsumer=Vp;bn.ContextProvider=Yse;bn.Element=Xse;bn.ForwardRef=Zse;bn.Fragment=Qse;bn.Lazy=Jse;bn.Memo=ele;bn.Portal=tle;bn.Profiler=nle;bn.StrictMode=rle;bn.Suspense=ile;bn.isAsyncMode=function(){return!1};bn.isConcurrentMode=function(){return!1};bn.isContextConsumer=function(e){return Ka(e)===Vp};bn.isContextProvider=function(e){return Ka(e)===Gp};bn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===im};bn.isForwardRef=function(e){return Ka(e)===Wp};bn.isFragment=function(e){return Ka(e)===zp};bn.isLazy=function(e){return Ka(e)===Yp};bn.isMemo=function(e){return Ka(e)===Kp};bn.isPortal=function(e){return Ka(e)===am};bn.isProfiler=function(e){return Ka(e)===jp};bn.isStrictMode=function(e){return Ka(e)===Hp};bn.isSuspense=function(e){return Ka(e)===qp};bn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===zp||e===jp||e===mM||e===Hp||e===qp||e===q_||e===bM||typeof e=="object"&&e!==null&&(e.$$typeof===Yp||e.$$typeof===Kp||e.$$typeof===Gp||e.$$typeof===Vp||e.$$typeof===Wp||e.$$typeof===gM||e.$$typeof===fM||e[0]===hM)};bn.typeOf=Ka;let bk=e=>typeof e=="object"&&e!=null&&e.nodeType===1,Ek=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",F3=(e,t)=>{if(e.clientHeight{let i=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!i&&(i.clientHeightat||a>e&&o=t&&s>=n?a-e-r:o>t&&sn?o-t+i:0,ale=e=>{let t=e.parentElement;return t??(e.getRootNode().host||null)};var ole=(e,t)=>{var n,r,i,a,o,s;if(typeof document>"u")return[];let{scrollMode:u,block:c,inline:p,boundary:f,skipOverflowHiddenElements:m}=t,g=typeof f=="function"?f:he=>he!==f;if(!bk(e))throw new TypeError("Invalid target");let E=document.scrollingElement||document.documentElement,b=[],T=e;for(;bk(T)&&g(T);){if(T=ale(T),T===E){b.push(T);break}T!=null&&T===document.body&&F3(T)&&!F3(document.documentElement)||T!=null&&F3(T,m)&&b.push(T)}let v=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,y=(a=(i=window.visualViewport)==null?void 0:i.height)!=null?a:innerHeight,w=(o=window.scrollX)!=null?o:pageXOffset,A=(s=window.scrollY)!=null?s:pageYOffset,{height:D,width:k,top:R,right:B,bottom:W,left:P}=e.getBoundingClientRect(),Q=c==="start"||c==="nearest"?R:c==="end"?W:R+D/2,z=p==="center"?P+k/2:p==="end"?B:P,le=[];for(let he=0;he=0&&P>=0&&W<=y&&B<=v&&R>=V&&W<=N&&P>=me&&B<=ce)return le;let oe=getComputedStyle(de),O=parseInt(oe.borderLeftWidth,10),re=parseInt(oe.borderTopWidth,10),Te=parseInt(oe.borderRightWidth,10),K=parseInt(oe.borderBottomWidth,10),xe=0,ne=0,Le="offsetWidth"in de?de.offsetWidth-de.clientWidth-O-Te:0,Re="offsetHeight"in de?de.offsetHeight-de.clientHeight-re-K:0,Xe="offsetWidth"in de?de.offsetWidth===0?0:Z/de.offsetWidth:0,Ve="offsetHeight"in de?de.offsetHeight===0?0:fe/de.offsetHeight:0;if(E===de)xe=c==="start"?Q:c==="end"?Q-y:c==="nearest"?R0(A,A+y,y,re,K,A+Q,A+Q+D,D):Q-y/2,ne=p==="start"?z:p==="center"?z-v/2:p==="end"?z-v:R0(w,w+v,v,O,Te,w+z,w+z+k,k),xe=Math.max(0,xe+A),ne=Math.max(0,ne+w);else{xe=c==="start"?Q-V-re:c==="end"?Q-N+K+Re:c==="nearest"?R0(V,N,fe,re,K+Re,Q,Q+D,D):Q-(V+fe/2)+Re/2,ne=p==="start"?z-me-O:p==="center"?z-(me+Z/2)+Le/2:p==="end"?z-ce+Te+Le:R0(me,ce,Z,O,Te+Le,z,z+k,k);let{scrollLeft:dt,scrollTop:ot}=de;xe=Math.max(0,Math.min(ot+xe/Ve,de.scrollHeight-fe/Ve+Re)),ne=Math.max(0,Math.min(dt+ne/Xe,de.scrollWidth-Z/Xe+Le)),Q+=ot-xe,z+=dt-ne}le.push({el:de,top:xe,left:ne})}return le},fg=function(){return fg=Object.assign||function(t){for(var n,r=1,i=arguments.length;r1?i-1:0),o=1;o=37&&n<=40&&t.indexOf("Arrow")!==0?"Arrow"+t:t}function O0(e,t,n,r,i){if(i===void 0&&(i=!0),n===0)return-1;var a=n-1;(typeof t!="number"||t<0||t>=n)&&(t=e>0?-1:a+1);var o=t+e;o<0?o=i?a:0:o>a&&(o=i?0:a);var s=cp(e,o,n,r,i);return s===-1?t>=n?-1:t:s}function cp(e,t,n,r,i){var a=r(t);if(!a||!a.hasAttribute("disabled"))return t;if(e>0){for(var o=t+1;o=0;s--)if(!r(s).hasAttribute("disabled"))return s;return i?e>0?cp(1,0,n,r,!1):cp(-1,n-1,n,r,!1):-1}function yk(e,t,n,r){return r===void 0&&(r=!0),t.some(function(i){return i&&(vk(i,e,n)||r&&vk(i,n.document.activeElement,n))})}var ple=vM(function(e){_M(e).textContent=""},500);function fle(e,t){var n=_M(t);e&&(n.textContent=e,ple(t))}function _M(e){e===void 0&&(e=document);var t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var hle=["isInitialMount","highlightedIndex","items","environment"],TM={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function gle(e,t,n){var r=e.props,i=e.type,a={};Object.keys(t).forEach(function(o){mle(o,e,t,n),n[o]!==t[o]&&(a[o]=n[o])}),r.onStateChange&&Object.keys(a).length&&r.onStateChange(tn({type:i},a))}function mle(e,t,n,r){var i=t.props,a=t.type,o="on"+K_(e)+"Change";i[o]&&r[e]!==void 0&&r[e]!==n[e]&&i[o](tn({type:a},r))}function ble(e,t){return t.changes}function Ele(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""}var vle=vM(function(e,t){fle(e(),t)},200),yle=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?C.useLayoutEffect:C.useEffect;function _le(e){var t=e.id,n=t===void 0?"downshift-"+ule():t,r=e.labelId,i=e.menuId,a=e.getItemId,o=e.toggleButtonId,s=e.inputId,u=C.useRef({labelId:r||n+"-label",menuId:i||n+"-menu",getItemId:a||function(c){return n+"-item-"+c},toggleButtonId:o||n+"-toggle-button",inputId:s||n+"-input"});return u.current}function Tle(e,t,n,r){var i,a;if(e===void 0){if(t===void 0)throw new Error(r);i=n[t],a=t}else a=t===void 0?n.indexOf(e):t,i=e;return[i,a]}function Sle(e){return e?String(e):""}function K_(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function SM(e){var t=C.useRef(e);return t.current=e,t}function wle(e,t,n){var r=C.useRef(),i=C.useRef(),a=C.useCallback(function(m,g){i.current=g,m=Pb(m,g.props);var E=e(m,g),b=g.props.stateReducer(m,tn({},g,{changes:E}));return b},[e]),o=C.useReducer(a,t),s=o[0],u=o[1],c=SM(n),p=C.useCallback(function(m){return u(tn({props:c.current},m))},[c]),f=i.current;return C.useEffect(function(){f&&r.current&&r.current!==s&&gle(f,Pb(r.current,f.props),s),r.current=s},[s,n,f]),[s,p]}var Ld={itemToString:Sle,stateReducer:ble,getA11ySelectionMessage:Ele,scrollIntoView:lle,environment:typeof window>"u"?{}:window};function co(e,t,n){n===void 0&&(n=TM);var r=e["default"+K_(t)];return r!==void 0?r:n[t]}function D0(e,t,n){n===void 0&&(n=TM);var r=e[t];if(r!==void 0)return r;var i=e["initial"+K_(t)];return i!==void 0?i:co(e,t,n)}function Ale(e){var t=D0(e,"selectedItem"),n=D0(e,"isOpen"),r=D0(e,"highlightedIndex"),i=D0(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}function Md(e,t,n){var r=e.items,i=e.initialHighlightedIndex,a=e.defaultHighlightedIndex,o=t.selectedItem,s=t.highlightedIndex;return r.length===0?-1:i!==void 0&&s===i?i:a!==void 0?a:o?r.indexOf(o):n===0?-1:n<0?r.length-1:0}function Cle(e,t,n,r){var i=C.useRef({isMouseDown:!1,isTouchMove:!1});return C.useEffect(function(){if((n==null?void 0:n.addEventListener)!=null){var a=function(){i.current.isMouseDown=!0},o=function(f){i.current.isMouseDown=!1,e&&!yk(f.target,t.map(function(m){return m.current}),n)&&r()},s=function(){i.current.isTouchMove=!1},u=function(){i.current.isTouchMove=!0},c=function(f){e&&!i.current.isTouchMove&&!yk(f.target,t.map(function(m){return m.current}),n,!1)&&r()};return n.addEventListener("mousedown",a),n.addEventListener("mouseup",o),n.addEventListener("touchstart",s),n.addEventListener("touchmove",u),n.addEventListener("touchend",c),function(){n.removeEventListener("mousedown",a),n.removeEventListener("mouseup",o),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",u),n.removeEventListener("touchend",c)}}},[e,n]),i}var xle=function(){return EM};function _k(e,t,n){var r=n.isInitialMount,i=n.highlightedIndex,a=n.items,o=n.environment,s=E1(n,hle);C.useEffect(function(){r||vle(function(){return e(tn({highlightedIndex:i,highlightedItem:a[i],resultCount:a.length},s))},o.document)},t)}function kle(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,a=e.menuElement,o=e.scrollIntoView,s=C.useRef(!0);return yle(function(){t<0||!n||!Object.keys(r.current).length||(s.current===!1?s.current=!0:o(i(t),a))},[t]),s}var Ile=EM;function Tk(e,t,n){var r;n===void 0&&(n=!0);var i=((r=e.items)==null?void 0:r.length)&&t>=0;return tn({isOpen:!1,highlightedIndex:-1},i&&tn({selectedItem:e.items[t],isOpen:co(e,"isOpen"),highlightedIndex:co(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function Rle(e,t,n){var r=t.type,i=t.props,a;switch(r){case n.ItemMouseMove:a={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:a={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:a={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Md(i,e,0)};break;case n.FunctionOpenMenu:a={isOpen:!0,highlightedIndex:Md(i,e,0)};break;case n.FunctionCloseMenu:a={isOpen:!1};break;case n.FunctionSetHighlightedIndex:a={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:a={inputValue:t.inputValue};break;case n.FunctionReset:a={highlightedIndex:co(i,"highlightedIndex"),isOpen:co(i,"isOpen"),selectedItem:co(i,"selectedItem"),inputValue:co(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return tn({},e,a)}Ee.array.isRequired,Ee.func,Ee.func,Ee.func,Ee.number,Ee.number,Ee.number,Ee.bool,Ee.bool,Ee.bool,Ee.any,Ee.any,Ee.any,Ee.string,Ee.string,Ee.string,Ee.func,Ee.string,Ee.func,Ee.func,Ee.func,Ee.func,Ee.func,Ee.shape({addEventListener:Ee.func,removeEventListener:Ee.func,document:Ee.shape({getElementById:Ee.func,activeElement:Ee.any,body:Ee.any})});function Nle(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(n===1?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}fg(fg({},Ld),{getA11yStatusMessage:Nle});var Y_=0,X_=1,Z_=2,Q_=3,J_=4,e7=5,t7=6,n7=7,r7=8,hg=9,i7=10,wM=11,AM=12,a7=13,CM=14,xM=15,kM=16,IM=17,RM=18,o7=19,NM=20,OM=21,s7=22,DM=Object.freeze({__proto__:null,InputKeyDownArrowDown:Y_,InputKeyDownArrowUp:X_,InputKeyDownEscape:Z_,InputKeyDownHome:Q_,InputKeyDownEnd:J_,InputKeyDownPageUp:e7,InputKeyDownPageDown:t7,InputKeyDownEnter:n7,InputChange:r7,InputBlur:hg,InputFocus:i7,MenuMouseLeave:wM,ItemMouseMove:AM,ItemClick:a7,ToggleButtonClick:CM,FunctionToggleMenu:xM,FunctionOpenMenu:kM,FunctionCloseMenu:IM,FunctionSetHighlightedIndex:RM,FunctionSelectItem:o7,FunctionSetInputValue:NM,FunctionReset:OM,ControlledPropUpdatedSelectedItem:s7});function Ole(e){var t=Ale(e),n=t.selectedItem,r=t.inputValue;return r===""&&n&&e.defaultInputValue===void 0&&e.initialInputValue===void 0&&e.inputValue===void 0&&(r=e.itemToString(n)),tn({},t,{inputValue:r})}Ee.array.isRequired,Ee.func,Ee.func,Ee.func,Ee.func,Ee.number,Ee.number,Ee.number,Ee.bool,Ee.bool,Ee.bool,Ee.any,Ee.any,Ee.any,Ee.string,Ee.string,Ee.string,Ee.string,Ee.string,Ee.string,Ee.func,Ee.string,Ee.string,Ee.func,Ee.func,Ee.func,Ee.func,Ee.func,Ee.func,Ee.shape({addEventListener:Ee.func,removeEventListener:Ee.func,document:Ee.shape({getElementById:Ee.func,activeElement:Ee.any,body:Ee.any})});function Dle(e,t,n){var r=C.useRef(),i=wle(e,t,n),a=i[0],o=i[1];return C.useEffect(function(){yM(n,"selectedItem")&&(n.selectedItemChanged(r.current,n.selectedItem)&&o({type:s7,inputValue:n.itemToString(n.selectedItem)}),r.current=a.selectedItem===r.current?n.selectedItem:a.selectedItem)},[a.selectedItem,n.selectedItem]),[Pb(a,n),o]}var Lle=tn({},Ld,{selectedItemChanged:function(t,n){return t!==n},getA11yStatusMessage:cle});function Mle(e,t){var n,r=t.type,i=t.props,a=t.altKey,o;switch(r){case a7:o={isOpen:co(i,"isOpen"),highlightedIndex:co(i,"highlightedIndex"),selectedItem:i.items[t.index],inputValue:i.itemToString(i.items[t.index])};break;case Y_:e.isOpen?o={highlightedIndex:O0(1,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,!0)}:o={highlightedIndex:a&&e.selectedItem==null?-1:Md(i,e,1,t.getItemNodeFromIndex),isOpen:i.items.length>=0};break;case X_:e.isOpen?a?o=Tk(i,e.highlightedIndex):o={highlightedIndex:O0(-1,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,!0)}:o={highlightedIndex:Md(i,e,-1,t.getItemNodeFromIndex),isOpen:i.items.length>=0};break;case n7:o=Tk(i,e.highlightedIndex);break;case Z_:o=tn({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case e7:o={highlightedIndex:O0(-10,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,!1)};break;case t7:o={highlightedIndex:O0(10,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,!1)};break;case Q_:o={highlightedIndex:cp(1,0,i.items.length,t.getItemNodeFromIndex,!1)};break;case J_:o={highlightedIndex:cp(-1,i.items.length-1,i.items.length,t.getItemNodeFromIndex,!1)};break;case hg:o=tn({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&((n=i.items)==null?void 0:n.length)&&t.selectItem&&{selectedItem:i.items[e.highlightedIndex],inputValue:i.itemToString(i.items[e.highlightedIndex])});break;case r7:o={isOpen:!0,highlightedIndex:co(i,"highlightedIndex"),inputValue:t.inputValue};break;case i7:o={isOpen:!0,highlightedIndex:Md(i,e,0)};break;case o7:o={selectedItem:t.selectedItem,inputValue:i.itemToString(t.selectedItem)};break;case s7:o={inputValue:t.inputValue};break;default:return Rle(e,t,DM)}return tn({},e,o)}var Fle=["onMouseLeave","refKey","ref"],Ple=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],Ble=["onClick","onPress","refKey","ref"],Ule=["onKeyDown","onChange","onInput","onFocus","onBlur","onChangeText","refKey","ref"];LM.stateChangeTypes=DM;function LM(e){e===void 0&&(e={});var t=tn({},Lle,e),n=t.initialIsOpen,r=t.defaultIsOpen,i=t.items,a=t.scrollIntoView,o=t.environment,s=t.getA11yStatusMessage,u=t.getA11ySelectionMessage,c=t.itemToString,p=Ole(t),f=Dle(Mle,p,t),m=f[0],g=f[1],E=m.isOpen,b=m.highlightedIndex,T=m.selectedItem,v=m.inputValue,y=C.useRef(null),w=C.useRef({}),A=C.useRef(null),D=C.useRef(null),k=C.useRef(!0),R=_le(t),B=C.useRef(),W=SM({state:m,props:t}),P=C.useCallback(function(xe){return w.current[R.getItemId(xe)]},[R]);_k(s,[E,b,v,i],tn({isInitialMount:k.current,previousResultCount:B.current,items:i,environment:o,itemToString:c},m)),_k(u,[T],tn({isInitialMount:k.current,previousResultCount:B.current,items:i,environment:o,itemToString:c},m));var Q=kle({menuElement:y.current,highlightedIndex:b,isOpen:E,itemRefs:w,scrollIntoView:a,getItemNodeFromIndex:P});Ile({isInitialMount:k.current,props:t,state:m}),C.useEffect(function(){var xe=n||r||E;xe&&A.current&&A.current.focus()},[]),C.useEffect(function(){k.current||(B.current=i.length)});var z=Cle(E,[A,y,D],o,function(){g({type:hg,selectItem:!1})}),le=xle();C.useEffect(function(){return k.current=!1,function(){k.current=!0}},[]),C.useEffect(function(){var xe;if(!E)w.current={};else if(((xe=o.document)==null?void 0:xe.activeElement)!==A.current){var ne;A==null||(ne=A.current)==null||ne.focus()}},[E,o]);var he=C.useMemo(function(){return{ArrowDown:function(ne){ne.preventDefault(),g({type:Y_,altKey:ne.altKey,getItemNodeFromIndex:P})},ArrowUp:function(ne){ne.preventDefault(),g({type:X_,altKey:ne.altKey,getItemNodeFromIndex:P})},Home:function(ne){W.current.state.isOpen&&(ne.preventDefault(),g({type:Q_,getItemNodeFromIndex:P}))},End:function(ne){W.current.state.isOpen&&(ne.preventDefault(),g({type:J_,getItemNodeFromIndex:P}))},Escape:function(ne){var Le=W.current.state;(Le.isOpen||Le.inputValue||Le.selectedItem||Le.highlightedIndex>-1)&&(ne.preventDefault(),g({type:Z_}))},Enter:function(ne){var Le=W.current.state;!Le.isOpen||ne.which===229||(ne.preventDefault(),g({type:n7,getItemNodeFromIndex:P}))},PageUp:function(ne){W.current.state.isOpen&&(ne.preventDefault(),g({type:e7,getItemNodeFromIndex:P}))},PageDown:function(ne){W.current.state.isOpen&&(ne.preventDefault(),g({type:t7,getItemNodeFromIndex:P}))}}},[g,W,P]),de=C.useCallback(function(xe){return tn({id:R.labelId,htmlFor:R.inputId},xe)},[R]),fe=C.useCallback(function(xe,ne){var Le,Re=xe===void 0?{}:xe,Xe=Re.onMouseLeave,Ve=Re.refKey,dt=Ve===void 0?"ref":Ve,ot=Re.ref,Ge=E1(Re,Fle),pt=ne===void 0?{}:ne;return pt.suppressRefError,tn((Le={},Le[dt]=N0(ot,function(U){y.current=U}),Le.id=R.menuId,Le.role="listbox",Le["aria-labelledby"]=Ge&&Ge["aria-label"]?void 0:""+R.labelId,Le.onMouseLeave=Uo(Xe,function(){g({type:wM})}),Le),Ge)},[g,le,R]),Z=C.useCallback(function(xe){var ne,Le,Re=xe===void 0?{}:xe,Xe=Re.item,Ve=Re.index,dt=Re.refKey,ot=dt===void 0?"ref":dt,Ge=Re.ref,pt=Re.onMouseMove,U=Re.onMouseDown,ie=Re.onClick;Re.onPress;var pe=Re.disabled,ke=E1(Re,Ple),ve=W.current,Se=ve.props,Me=ve.state,ze=Tle(Xe,Ve,Se.items,"Pass either item or index to getItemProps!"),Ke=ze[1],jt="onClick",ue=ie,ye=function(){Ke!==Me.highlightedIndex&&(Q.current=!1,g({type:AM,index:Ke,disabled:pe}))},We=function(){g({type:a7,index:Ke})},at=function(Y){return Y.preventDefault()};return tn((ne={},ne[ot]=N0(Ge,function(Qe){Qe&&(w.current[R.getItemId(Ke)]=Qe)}),ne.disabled=pe,ne.role="option",ne["aria-selected"]=""+(Ke===Me.highlightedIndex),ne.id=R.getItemId(Ke),ne),!pe&&(Le={},Le[jt]=Uo(ue,We),Le),{onMouseMove:Uo(pt,ye),onMouseDown:Uo(U,at)},ke)},[g,W,Q,R]),V=C.useCallback(function(xe){var ne,Le=xe===void 0?{}:xe,Re=Le.onClick;Le.onPress;var Xe=Le.refKey,Ve=Xe===void 0?"ref":Xe,dt=Le.ref,ot=E1(Le,Ble),Ge=W.current.state,pt=function(){g({type:CM})};return tn((ne={},ne[Ve]=N0(dt,function(U){D.current=U}),ne["aria-controls"]=R.menuId,ne["aria-expanded"]=Ge.isOpen,ne.id=R.toggleButtonId,ne.tabIndex=-1,ne),!ot.disabled&&tn({},{onClick:Uo(Re,pt)}),ot)},[g,W,R]),ce=C.useCallback(function(xe,ne){var Le,Re=xe===void 0?{}:xe,Xe=Re.onKeyDown,Ve=Re.onChange,dt=Re.onInput,ot=Re.onFocus,Ge=Re.onBlur;Re.onChangeText;var pt=Re.refKey,U=pt===void 0?"ref":pt,ie=Re.ref,pe=E1(Re,Ule),ke=ne===void 0?{}:ne;ke.suppressRefError;var ve=W.current.state,Se=function(at){var Qe=dle(at);Qe&&he[Qe]&&he[Qe](at)},Me=function(at){g({type:r7,inputValue:at.target.value})},ze=function(at){if(ve.isOpen&&!z.current.isMouseDown){var Qe=at.relatedTarget===null&&o.document.activeElement!==o.document.body;g({type:hg,selectItem:!Qe})}},Ke=function(){ve.isOpen||g({type:i7})},jt="onChange",ue={};if(!pe.disabled){var ye;ue=(ye={},ye[jt]=Uo(Ve,dt,Me),ye.onKeyDown=Uo(Xe,Se),ye.onBlur=Uo(Ge,ze),ye.onFocus=Uo(ot,Ke),ye)}return tn((Le={},Le[U]=N0(ie,function(We){A.current=We}),Le["aria-activedescendant"]=ve.isOpen&&ve.highlightedIndex>-1?R.getItemId(ve.highlightedIndex):"",Le["aria-autocomplete"]="list",Le["aria-controls"]=R.menuId,Le["aria-expanded"]=ve.isOpen,Le["aria-labelledby"]=pe&&pe["aria-label"]?void 0:""+R.labelId,Le.autoComplete="off",Le.id=R.inputId,Le.role="combobox",Le.value=ve.inputValue,Le),ue,pe)},[le,W,R,he,g,z,o]),N=C.useCallback(function(){g({type:xM})},[g]),me=C.useCallback(function(){g({type:IM})},[g]),oe=C.useCallback(function(){g({type:kM})},[g]),O=C.useCallback(function(xe){g({type:RM,highlightedIndex:xe})},[g]),re=C.useCallback(function(xe){g({type:o7,selectedItem:xe})},[g]),Te=C.useCallback(function(xe){g({type:NM,inputValue:xe})},[g]),K=C.useCallback(function(){g({type:OM})},[g]);return{getItemProps:Z,getLabelProps:de,getMenuProps:fe,getInputProps:ce,getToggleButtonProps:V,toggleMenu:N,openMenu:oe,closeMenu:me,setHighlightedIndex:O,setInputValue:Te,selectItem:re,reset:K,highlightedIndex:b,isOpen:E,selectedItem:T,inputValue:v}}function $le(e){var t=e.removedSelectedItem,n=e.itemToString;return n(t)+" has been removed."}Ee.array,Ee.array,Ee.array,Ee.func,Ee.func,Ee.func,Ee.number,Ee.number,Ee.number,Ee.func,Ee.func,Ee.string,Ee.string,Ee.shape({addEventListener:Ee.func,removeEventListener:Ee.func,document:Ee.shape({getElementById:Ee.func,activeElement:Ee.any,body:Ee.any})});Ld.itemToString,Ld.stateReducer,Ld.environment;/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */const{entries:MM,setPrototypeOf:Sk,isFrozen:zle,getPrototypeOf:Hle,getOwnPropertyDescriptor:FM}=Object;let{freeze:ti,seal:Ga,create:PM}=Object,{apply:Bb,construct:Ub}=typeof Reflect<"u"&&Reflect;ti||(ti=function(t){return t});Ga||(Ga=function(t){return t});Bb||(Bb=function(t,n,r){return t.apply(n,r)});Ub||(Ub=function(t,n){return new t(...n)});const L0=ba(Array.prototype.forEach),wk=ba(Array.prototype.pop),Xc=ba(Array.prototype.push),bh=ba(String.prototype.toLowerCase),P3=ba(String.prototype.toString),jle=ba(String.prototype.match),Zc=ba(String.prototype.replace),Gle=ba(String.prototype.indexOf),Vle=ba(String.prototype.trim),Ii=ba(RegExp.prototype.test),Qc=Wle(TypeError);function ba(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:bh;Sk&&Sk(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const a=n(i);a!==i&&(zle(t)||(t[r]=a),i=a)}e[i]=!0}return e}function Xu(e){const t=PM(null);for(const[n,r]of MM(e))FM(e,n)!==void 0&&(t[n]=r);return t}function M0(e,t){for(;e!==null;){const r=FM(e,t);if(r){if(r.get)return ba(r.get);if(typeof r.value=="function")return ba(r.value)}e=Hle(e)}function n(r){return console.warn("fallback value for",r),null}return n}const Ak=ti(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),B3=ti(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),U3=ti(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),qle=ti(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),$3=ti(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Kle=ti(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ck=ti(["#text"]),xk=ti(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),z3=ti(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),kk=ti(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F0=ti(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Yle=Ga(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Xle=Ga(/<%[\w\W]*|[\w\W]*%>/gm),Zle=Ga(/\${[\w\W]*}/gm),Qle=Ga(/^data-[\-\w.\u00B7-\uFFFF]/),Jle=Ga(/^aria-[\-\w]+$/),BM=Ga(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),eue=Ga(/^(?:\w+script|data):/i),tue=Ga(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),UM=Ga(/^html$/i);var Ik=Object.freeze({__proto__:null,MUSTACHE_EXPR:Yle,ERB_EXPR:Xle,TMPLIT_EXPR:Zle,DATA_ATTR:Qle,ARIA_ATTR:Jle,IS_ALLOWED_URI:BM,IS_SCRIPT_OR_DATA:eue,ATTR_WHITESPACE:tue,DOCTYPE_NAME:UM});const nue=function(){return typeof window>"u"?null:window},rue=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function $M(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nue();const t=qe=>$M(qe);if(t.version="3.0.6",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:u,NodeFilter:c,NamedNodeMap:p=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:m,trustedTypes:g}=e,E=u.prototype,b=M0(E,"cloneNode"),T=M0(E,"nextSibling"),v=M0(E,"childNodes"),y=M0(E,"parentNode");if(typeof o=="function"){const qe=n.createElement("template");qe.content&&qe.content.ownerDocument&&(n=qe.content.ownerDocument)}let w,A="";const{implementation:D,createNodeIterator:k,createDocumentFragment:R,getElementsByTagName:B}=n,{importNode:W}=r;let P={};t.isSupported=typeof MM=="function"&&typeof y=="function"&&D&&D.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Q,ERB_EXPR:z,TMPLIT_EXPR:le,DATA_ATTR:he,ARIA_ATTR:de,IS_SCRIPT_OR_DATA:fe,ATTR_WHITESPACE:Z}=Ik;let{IS_ALLOWED_URI:V}=Ik,ce=null;const N=Ct({},[...Ak,...B3,...U3,...$3,...Ck]);let me=null;const oe=Ct({},[...xk,...z3,...kk,...F0]);let O=Object.seal(PM(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),re=null,Te=null,K=!0,xe=!0,ne=!1,Le=!0,Re=!1,Xe=!1,Ve=!1,dt=!1,ot=!1,Ge=!1,pt=!1,U=!0,ie=!1;const pe="user-content-";let ke=!0,ve=!1,Se={},Me=null;const ze=Ct({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ke=null;const jt=Ct({},["audio","video","img","source","image","track"]);let ue=null;const ye=Ct({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),We="http://www.w3.org/1998/Math/MathML",at="http://www.w3.org/2000/svg",Qe="http://www.w3.org/1999/xhtml";let Y=Qe,se=!1,j=null;const $=Ct({},[We,at,Qe],P3);let J=null;const be=["application/xhtml+xml","text/html"],Fe="text/html";let De=null,tt=null;const Je=n.createElement("form"),Ze=function(ee){return ee instanceof RegExp||ee instanceof Function},Rt=function(){let ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(tt&&tt===ee)){if((!ee||typeof ee!="object")&&(ee={}),ee=Xu(ee),J=be.indexOf(ee.PARSER_MEDIA_TYPE)===-1?J=Fe:J=ee.PARSER_MEDIA_TYPE,De=J==="application/xhtml+xml"?P3:bh,ce="ALLOWED_TAGS"in ee?Ct({},ee.ALLOWED_TAGS,De):N,me="ALLOWED_ATTR"in ee?Ct({},ee.ALLOWED_ATTR,De):oe,j="ALLOWED_NAMESPACES"in ee?Ct({},ee.ALLOWED_NAMESPACES,P3):$,ue="ADD_URI_SAFE_ATTR"in ee?Ct(Xu(ye),ee.ADD_URI_SAFE_ATTR,De):ye,Ke="ADD_DATA_URI_TAGS"in ee?Ct(Xu(jt),ee.ADD_DATA_URI_TAGS,De):jt,Me="FORBID_CONTENTS"in ee?Ct({},ee.FORBID_CONTENTS,De):ze,re="FORBID_TAGS"in ee?Ct({},ee.FORBID_TAGS,De):{},Te="FORBID_ATTR"in ee?Ct({},ee.FORBID_ATTR,De):{},Se="USE_PROFILES"in ee?ee.USE_PROFILES:!1,K=ee.ALLOW_ARIA_ATTR!==!1,xe=ee.ALLOW_DATA_ATTR!==!1,ne=ee.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=ee.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Re=ee.SAFE_FOR_TEMPLATES||!1,Xe=ee.WHOLE_DOCUMENT||!1,ot=ee.RETURN_DOM||!1,Ge=ee.RETURN_DOM_FRAGMENT||!1,pt=ee.RETURN_TRUSTED_TYPE||!1,dt=ee.FORCE_BODY||!1,U=ee.SANITIZE_DOM!==!1,ie=ee.SANITIZE_NAMED_PROPS||!1,ke=ee.KEEP_CONTENT!==!1,ve=ee.IN_PLACE||!1,V=ee.ALLOWED_URI_REGEXP||BM,Y=ee.NAMESPACE||Qe,O=ee.CUSTOM_ELEMENT_HANDLING||{},ee.CUSTOM_ELEMENT_HANDLING&&Ze(ee.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(O.tagNameCheck=ee.CUSTOM_ELEMENT_HANDLING.tagNameCheck),ee.CUSTOM_ELEMENT_HANDLING&&Ze(ee.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(O.attributeNameCheck=ee.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),ee.CUSTOM_ELEMENT_HANDLING&&typeof ee.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(O.allowCustomizedBuiltInElements=ee.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Re&&(xe=!1),Ge&&(ot=!0),Se&&(ce=Ct({},[...Ck]),me=[],Se.html===!0&&(Ct(ce,Ak),Ct(me,xk)),Se.svg===!0&&(Ct(ce,B3),Ct(me,z3),Ct(me,F0)),Se.svgFilters===!0&&(Ct(ce,U3),Ct(me,z3),Ct(me,F0)),Se.mathMl===!0&&(Ct(ce,$3),Ct(me,kk),Ct(me,F0))),ee.ADD_TAGS&&(ce===N&&(ce=Xu(ce)),Ct(ce,ee.ADD_TAGS,De)),ee.ADD_ATTR&&(me===oe&&(me=Xu(me)),Ct(me,ee.ADD_ATTR,De)),ee.ADD_URI_SAFE_ATTR&&Ct(ue,ee.ADD_URI_SAFE_ATTR,De),ee.FORBID_CONTENTS&&(Me===ze&&(Me=Xu(Me)),Ct(Me,ee.FORBID_CONTENTS,De)),ke&&(ce["#text"]=!0),Xe&&Ct(ce,["html","head","body"]),ce.table&&(Ct(ce,["tbody"]),delete re.tbody),ee.TRUSTED_TYPES_POLICY){if(typeof ee.TRUSTED_TYPES_POLICY.createHTML!="function")throw Qc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof ee.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Qc('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=ee.TRUSTED_TYPES_POLICY,A=w.createHTML("")}else w===void 0&&(w=rue(g,i)),w!==null&&typeof A=="string"&&(A=w.createHTML(""));ti&&ti(ee),tt=ee}},Zt=Ct({},["mi","mo","mn","ms","mtext"]),kt=Ct({},["foreignobject","desc","title","annotation-xml"]),nn=Ct({},["title","style","font","a","script"]),Yt=Ct({},B3);Ct(Yt,U3),Ct(Yt,qle);const jr=Ct({},$3);Ct(jr,Kle);const Gr=function(ee){let Be=y(ee);(!Be||!Be.tagName)&&(Be={namespaceURI:Y,tagName:"template"});const it=bh(ee.tagName),ln=bh(Be.tagName);return j[ee.namespaceURI]?ee.namespaceURI===at?Be.namespaceURI===Qe?it==="svg":Be.namespaceURI===We?it==="svg"&&(ln==="annotation-xml"||Zt[ln]):!!Yt[it]:ee.namespaceURI===We?Be.namespaceURI===Qe?it==="math":Be.namespaceURI===at?it==="math"&&kt[ln]:!!jr[it]:ee.namespaceURI===Qe?Be.namespaceURI===at&&!kt[ln]||Be.namespaceURI===We&&!Zt[ln]?!1:!jr[it]&&(nn[it]||!Yt[it]):!!(J==="application/xhtml+xml"&&j[ee.namespaceURI]):!1},Vr=function(ee){Xc(t.removed,{element:ee});try{ee.parentNode.removeChild(ee)}catch{ee.remove()}},Ta=function(ee,Be){try{Xc(t.removed,{attribute:Be.getAttributeNode(ee),from:Be})}catch{Xc(t.removed,{attribute:null,from:Be})}if(Be.removeAttribute(ee),ee==="is"&&!me[ee])if(ot||Ge)try{Vr(Be)}catch{}else try{Be.setAttribute(ee,"")}catch{}},ii=function(ee){let Be=null,it=null;if(dt)ee=""+ee;else{const ar=jle(ee,/^[\r\n\t ]+/);it=ar&&ar[0]}J==="application/xhtml+xml"&&Y===Qe&&(ee=''+ee+"");const ln=w?w.createHTML(ee):ee;if(Y===Qe)try{Be=new m().parseFromString(ln,J)}catch{}if(!Be||!Be.documentElement){Be=D.createDocument(Y,"template",null);try{Be.documentElement.innerHTML=se?A:ln}catch{}}const ir=Be.body||Be.documentElement;return ee&&it&&ir.insertBefore(n.createTextNode(it),ir.childNodes[0]||null),Y===Qe?B.call(Be,Xe?"html":"body")[0]:Xe?Be.documentElement:ir},Ir=function(ee){return k.call(ee.ownerDocument||ee,ee,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null)},ps=function(ee){return ee instanceof f&&(typeof ee.nodeName!="string"||typeof ee.textContent!="string"||typeof ee.removeChild!="function"||!(ee.attributes instanceof p)||typeof ee.removeAttribute!="function"||typeof ee.setAttribute!="function"||typeof ee.namespaceURI!="string"||typeof ee.insertBefore!="function"||typeof ee.hasChildNodes!="function")},fs=function(ee){return typeof s=="function"&&ee instanceof s},Wr=function(ee,Be,it){P[ee]&&L0(P[ee],ln=>{ln.call(t,Be,it,tt)})},hs=function(ee){let Be=null;if(Wr("beforeSanitizeElements",ee,null),ps(ee))return Vr(ee),!0;const it=De(ee.nodeName);if(Wr("uponSanitizeElement",ee,{tagName:it,allowedTags:ce}),ee.hasChildNodes()&&!fs(ee.firstElementChild)&&Ii(/<[/\w]/g,ee.innerHTML)&&Ii(/<[/\w]/g,ee.textContent))return Vr(ee),!0;if(!ce[it]||re[it]){if(!re[it]&&Rr(it)&&(O.tagNameCheck instanceof RegExp&&Ii(O.tagNameCheck,it)||O.tagNameCheck instanceof Function&&O.tagNameCheck(it)))return!1;if(ke&&!Me[it]){const ln=y(ee)||ee.parentNode,ir=v(ee)||ee.childNodes;if(ir&&ln){const ar=ir.length;for(let Yn=ar-1;Yn>=0;--Yn)ln.insertBefore(b(ir[Yn],!0),T(ee))}}return Vr(ee),!0}return ee instanceof u&&!Gr(ee)||(it==="noscript"||it==="noembed"||it==="noframes")&&Ii(/<\/no(script|embed|frames)/i,ee.innerHTML)?(Vr(ee),!0):(Re&&ee.nodeType===3&&(Be=ee.textContent,L0([Q,z,le],ln=>{Be=Zc(Be,ln," ")}),ee.textContent!==Be&&(Xc(t.removed,{element:ee.cloneNode()}),ee.textContent=Be)),Wr("afterSanitizeElements",ee,null),!1)},Wt=function(ee,Be,it){if(U&&(Be==="id"||Be==="name")&&(it in n||it in Je))return!1;if(!(xe&&!Te[Be]&&Ii(he,Be))){if(!(K&&Ii(de,Be))){if(!me[Be]||Te[Be]){if(!(Rr(ee)&&(O.tagNameCheck instanceof RegExp&&Ii(O.tagNameCheck,ee)||O.tagNameCheck instanceof Function&&O.tagNameCheck(ee))&&(O.attributeNameCheck instanceof RegExp&&Ii(O.attributeNameCheck,Be)||O.attributeNameCheck instanceof Function&&O.attributeNameCheck(Be))||Be==="is"&&O.allowCustomizedBuiltInElements&&(O.tagNameCheck instanceof RegExp&&Ii(O.tagNameCheck,it)||O.tagNameCheck instanceof Function&&O.tagNameCheck(it))))return!1}else if(!ue[Be]){if(!Ii(V,Zc(it,Z,""))){if(!((Be==="src"||Be==="xlink:href"||Be==="href")&&ee!=="script"&&Gle(it,"data:")===0&&Ke[ee])){if(!(ne&&!Ii(fe,Zc(it,Z,"")))){if(it)return!1}}}}}}return!0},Rr=function(ee){return ee.indexOf("-")>0},_i=function(ee){Wr("beforeSanitizeAttributes",ee,null);const{attributes:Be}=ee;if(!Be)return;const it={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let ln=Be.length;for(;ln--;){const ir=Be[ln],{name:ar,namespaceURI:Yn,value:wo}=ir,Xa=De(ar);let Nr=ar==="value"?wo:Vle(wo);if(it.attrName=Xa,it.attrValue=Nr,it.keepAttr=!0,it.forceKeepAttr=void 0,Wr("uponSanitizeAttribute",ee,it),Nr=it.attrValue,it.forceKeepAttr||(Ta(ar,ee),!it.keepAttr))continue;if(!Le&&Ii(/\/>/i,Nr)){Ta(ar,ee);continue}Re&&L0([Q,z,le],af=>{Nr=Zc(Nr,af," ")});const rf=De(ee.nodeName);if(Wt(rf,Xa,Nr)){if(ie&&(Xa==="id"||Xa==="name")&&(Ta(ar,ee),Nr=pe+Nr),w&&typeof g=="object"&&typeof g.getAttributeType=="function"&&!Yn)switch(g.getAttributeType(rf,Xa)){case"TrustedHTML":{Nr=w.createHTML(Nr);break}case"TrustedScriptURL":{Nr=w.createScriptURL(Nr);break}}try{Yn?ee.setAttributeNS(Yn,ar,Nr):ee.setAttribute(ar,Nr),wk(t.removed)}catch{}}}Wr("afterSanitizeAttributes",ee,null)},Al=function qe(ee){let Be=null;const it=Ir(ee);for(Wr("beforeSanitizeShadowDOM",ee,null);Be=it.nextNode();)Wr("uponSanitizeShadowNode",Be,null),!hs(Be)&&(Be.content instanceof a&&qe(Be.content),_i(Be));Wr("afterSanitizeShadowDOM",ee,null)};return t.sanitize=function(qe){let ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Be=null,it=null,ln=null,ir=null;if(se=!qe,se&&(qe=""),typeof qe!="string"&&!fs(qe))if(typeof qe.toString=="function"){if(qe=qe.toString(),typeof qe!="string")throw Qc("dirty is not a string, aborting")}else throw Qc("toString is not a function");if(!t.isSupported)return qe;if(Ve||Rt(ee),t.removed=[],typeof qe=="string"&&(ve=!1),ve){if(qe.nodeName){const wo=De(qe.nodeName);if(!ce[wo]||re[wo])throw Qc("root node is forbidden and cannot be sanitized in-place")}}else if(qe instanceof s)Be=ii(""),it=Be.ownerDocument.importNode(qe,!0),it.nodeType===1&&it.nodeName==="BODY"||it.nodeName==="HTML"?Be=it:Be.appendChild(it);else{if(!ot&&!Re&&!Xe&&qe.indexOf("<")===-1)return w&&pt?w.createHTML(qe):qe;if(Be=ii(qe),!Be)return ot?null:pt?A:""}Be&&dt&&Vr(Be.firstChild);const ar=Ir(ve?qe:Be);for(;ln=ar.nextNode();)hs(ln)||(ln.content instanceof a&&Al(ln.content),_i(ln));if(ve)return qe;if(ot){if(Ge)for(ir=R.call(Be.ownerDocument);Be.firstChild;)ir.appendChild(Be.firstChild);else ir=Be;return(me.shadowroot||me.shadowrootmode)&&(ir=W.call(r,ir,!0)),ir}let Yn=Xe?Be.outerHTML:Be.innerHTML;return Xe&&ce["!doctype"]&&Be.ownerDocument&&Be.ownerDocument.doctype&&Be.ownerDocument.doctype.name&&Ii(UM,Be.ownerDocument.doctype.name)&&(Yn=" +`+Yn),Re&&L0([Q,z,le],wo=>{Yn=Zc(Yn,wo," ")}),w&&pt?w.createHTML(Yn):Yn},t.setConfig=function(){let qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Rt(qe),Ve=!0},t.clearConfig=function(){tt=null,Ve=!1},t.isValidAttribute=function(qe,ee,Be){tt||Rt({});const it=De(qe),ln=De(ee);return Wt(it,ln,Be)},t.addHook=function(qe,ee){typeof ee=="function"&&(P[qe]=P[qe]||[],Xc(P[qe],ee))},t.removeHook=function(qe){if(P[qe])return wk(P[qe])},t.removeHooks=function(qe){P[qe]&&(P[qe]=[])},t.removeAllHooks=function(){P={}},t}var iue=$M(),l7={};const aue={folder:["folder","white"],"karma.conf.js":["karma","green"],"karma.conf.coffee":["karma","green"],"README.md":["info","blue"],"CHANGELOG.md":["clock","blue"],CHANGELOG:["clock","blue"],"CHANGES.md":["clock","blue"],"VERSION.md":["clock","blue"],VERSION:["clock","blue"],mvnw:["maven","red"],"tsconfig.json":["tsconfig","blue"],"swagger.json":["json","green"],"swagger.yml":["json","green"],"swagger.yaml":["json","green"],"mime.types":["config","grey-light"],Jenkinsfile:["jenkins","red"],"babel.config.js":["babel","yellow"],"babel.config.json":["babel","yellow"],"babel.config.cjs":["babel","yellow"],"bower.json":["bower","orange"],"Bower.json":["bower","orange"],"firebase.json":["firebase","orange"],geckodriver:["firefox","orange"],"Gruntfile.js":["grunt","orange"],"gruntfile.babel.js":["grunt","orange"],"Gruntfile.babel.js":["grunt","orange"],"gruntfile.js":["grunt","orange"],"Gruntfile.coffee":["grunt","orange"],"gruntfile.coffee":["grunt","orange"],"ionic.config.json":["ionic","blue"],"Ionic.config.json":["ionic","blue"],"ionic.project":["ionic","blue"],"Ionic.project":["ionic","blue"],"platformio.ini":["platformio","orange"],"rollup.config.js":["rollup","red"],"sass-lint.yml":["sass","pink"],"stylelint.config.js":["stylelint","white"],"stylelint.config.cjs":["stylelint","white"],"yarn.clean":["yarn","blue"],"yarn.lock":["yarn","blue"],"webpack.config.js":["webpack","blue"],"webpack.config.build.js":["webpack","blue"],"webpack.common.js":["webpack","blue"],"webpack.dev.js":["webpack","blue"],"webpack.prod.js":["webpack","blue"],"npm-debug.log":["npm_ignored","ignore"]},oue={".bsl":["bsl","red"],".mdo":["mdo","red"],".cls":["salesforce","blue"],".apex":["salesforce","blue"],".asm":["asm","red"],".s":["asm","red"],".bicep":["bicep","blue"],".c":["c","blue"],".h":["c","purple"],".m":["c","yellow"],".cs":["c-sharp","blue"],".cshtml":["html","blue"],".aspx":["html","blue"],".ascx":["html","green"],".asax":["html","yellow"],".master":["html","yellow"],".cc":["cpp","blue"],".cpp":["cpp","blue"],".cxx":["cpp","blue"],".c++":["cpp","blue"],".hh":["cpp","purple"],".hpp":["cpp","purple"],".hxx":["cpp","purple"],".h++":["cpp","purple"],".mm":["cpp","yellow"],".clj":["clojure","green"],".cljs":["clojure","green"],".cljc":["clojure","green"],".edn":["clojure","blue"],".cfc":["coldfusion","blue"],".cfm":["coldfusion","blue"],".coffee":["coffee","yellow"],".litcoffee":["coffee","yellow"],".config":["config","grey-light"],".cfg":["config","grey-light"],".conf":["config","grey-light"],".cr":["crystal","white"],".ecr":["crystal_embedded","white"],".slang":["crystal_embedded","white"],".cson":["json","yellow"],".css":["css","blue"],".css.map":["css","blue"],".sss":["css","blue"],".csv":["csv","green"],".xls":["xls","green"],".xlsx":["xls","green"],".cu":["cu","green"],".cuh":["cu","purple"],".hu":["cu","purple"],".cake":["cake","red"],".ctp":["cake_php","red"],".d":["d","red"],".doc":["word","blue"],".docx":["word","blue"],".ejs":["ejs","yellow"],".ex":["elixir","purple"],".exs":["elixir_script","purple"],".elm":["elm","blue"],".ico":["favicon","yellow"],".fs":["f-sharp","blue"],".fsx":["f-sharp","blue"],".gitignore":["git","ignore"],".gitconfig":["git","ignore"],".gitkeep":["git","ignore"],".gitattributes":["git","ignore"],".gitmodules":["git","ignore"],".go":["go2","blue"],".slide":["go","blue"],".article":["go","blue"],".gd":["godot","blue"],".godot":["godot","red"],".tres":["godot","yellow"],".tscn":["godot","purple"],".gradle":["gradle","blue"],".groovy":["grails","green"],".gsp":["grails","green"],".gql":["graphql","pink"],".graphql":["graphql","pink"],".graphqls":["graphql","pink"],".hack":["hacklang","orange"],".haml":["haml","red"],".handlebars":["mustache","orange"],".hbs":["mustache","orange"],".hjs":["mustache","orange"],".hs":["haskell","purple"],".lhs":["haskell","purple"],".hx":["haxe","orange"],".hxs":["haxe","yellow"],".hxp":["haxe","blue"],".hxml":["haxe","purple"],".html":["html","orange"],".jade":["jade","red"],".java":["java","red"],".class":["java","red"],".classpath":["java","red"],".properties":["java","red"],".js":["javascript","yellow"],".js.map":["javascript","yellow"],".spec.js":["javascript","orange"],".test.js":["javascript","orange"],".es":["javascript","yellow"],".es5":["javascript","yellow"],".es6":["javascript","yellow"],".es7":["javascript","yellow"],".jinja":["jinja","red"],".jinja2":["jinja","red"],".json":["json","yellow"],".jl":["julia","purple"],".kt":["kotlin","orange"],".kts":["kotlin","orange"],".dart":["dart","blue"],".less":["less","blue"],".liquid":["liquid","green"],".ls":["livescript","blue"],".lua":["lua","blue"],".markdown":["markdown","blue"],".md":["markdown","blue"],".argdown":["argdown","blue"],".ad":["argdown","blue"],".mustache":["mustache","orange"],".stache":["mustache","orange"],".nim":["nim","yellow"],".nims":["nim","yellow"],".github-issues":["github","white"],".ipynb":["notebook","blue"],".njk":["nunjucks","green"],".nunjucks":["nunjucks","green"],".nunjs":["nunjucks","green"],".nunj":["nunjucks","green"],".njs":["nunjucks","green"],".nj":["nunjucks","green"],".npm-debug.log":["npm","ignore"],".npmignore":["npm","red"],".npmrc":["npm","red"],".ml":["ocaml","orange"],".mli":["ocaml","orange"],".cmx":["ocaml","orange"],".cmxa":["ocaml","orange"],".odata":["odata","orange"],".pl":["perl","blue"],".php":["php","purple"],".php.inc":["php","purple"],".pipeline":["pipeline","orange"],".pddl":["pddl","purple"],".plan":["plan","green"],".happenings":["happenings","blue"],".ps1":["powershell","blue"],".psd1":["powershell","blue"],".psm1":["powershell","blue"],".prisma":["prisma","blue"],".pug":["pug","red"],".pp":["puppet","yellow"],".epp":["puppet","yellow"],".purs":["purescript","white"],".py":["python","blue"],".jsx":["react","blue"],".spec.jsx":["react","orange"],".test.jsx":["react","orange"],".cjsx":["react","blue"],".spec.tsx":["react","orange"],".test.tsx":["react","orange"],".re":["reasonml","red"],".res":["rescript","red"],".resi":["rescript","pink"],".R":["R","blue"],".rmd":["R","blue"],".rb":["ruby","red"],".erb":["html_erb","red"],".erb.html":["html_erb","red"],".html.erb":["html_erb","red"],".rs":["rust","grey-light"],".sass":["sass","pink"],".scss":["sass","pink"],".springBeans":["spring","green"],".slim":["slim","orange"],".smarty.tpl":["smarty","yellow"],".tpl":["smarty","yellow"],".sbt":["sbt","blue"],".scala":["scala","red"],".sol":["ethereum","blue"],".styl":["stylus","green"],".svelte":["svelte","red"],".swift":["swift","orange"],".sql":["db","pink"],".soql":["db","blue"],".tf":["terraform","purple"],".tf.json":["terraform","purple"],".tfvars":["terraform","purple"],".tex":["tex","blue"],".sty":["tex","yellow"],".dtx":["tex","orange"],".ins":["tex","white"],".txt":["default","white"],".toml":["config","grey-light"],".twig":["twig","green"],".ts":["typescript","blue"],".tsx":["typescript","blue"],".spec.ts":["typescript","orange"],".test.ts":["typescript","orange"],".vala":["vala","grey-light"],".vapi":["vala","grey-light"],".component":["html","orange"],".vue":["vue","green"],".wasm":["wasm","purple"],".wat":["wat","purple"],".xml":["xml","orange"],".yml":["yml","purple"],".yaml":["yml","purple"],".pro":["prolog","orange"],".jar":["zip","red"],".zip":["zip","grey-light"],".wgt":["wgt","blue"],".ai":["illustrator","yellow"],".psd":["photoshop","blue"],".pdf":["pdf","red"],".eot":["font","red"],".ttf":["font","red"],".woff":["font","red"],".woff2":["font","red"],".gif":["image","purple"],".jpg":["image","purple"],".jpeg":["image","purple"],".png":["image","purple"],".pxm":["image","purple"],".svg":["svg","purple"],".svgx":["image","purple"],".tiff":["image","purple"],".webp":["image","purple"],".sublime-project":["sublime","orange"],".sublime-workspace":["sublime","orange"],".code-search":["code-search","purple"],".sh":["shell","green"],".zsh":["shell","green"],".fish":["shell","green"],".zshrc":["shell","green"],".bashrc":["shell","green"],".mov":["video","pink"],".ogv":["video","pink"],".webm":["video","pink"],".avi":["video","pink"],".mpg":["video","pink"],".mp4":["video","pink"],".mp3":["audio","purple"],".ogg":["audio","purple"],".wav":["audio","purple"],".flac":["audio","purple"],".3ds":["svg","blue"],".3dm":["svg","blue"],".stl":["svg","blue"],".obj":["svg","blue"],".dae":["svg","blue"],".bat":["windows","blue"],".cmd":["windows","blue"],".babelrc":["babel","yellow"],".babelrc.js":["babel","yellow"],".babelrc.cjs":["babel","yellow"],".bowerrc":["bower","orange"],".codeclimate.yml":["code-climate","green"],".eslintrc":["eslint","purple"],".eslintrc.js":["eslint","purple"],".eslintrc.cjs":["eslint","purple"],".eslintrc.yaml":["eslint","purple"],".eslintrc.yml":["eslint","purple"],".eslintrc.json":["eslint","purple"],".eslintignore":["eslint","grey"],".firebaserc":["firebase","orange"],".jshintrc":["javascript","blue"],".jscsrc":["javascript","blue"],".stylelintrc":["stylelint","white"],".stylelintrc.json":["stylelint","white"],".stylelintrc.yaml":["stylelint","white"],".stylelintrc.yml":["stylelint","white"],".stylelintrc.js":["stylelint","white"],".stylelintignore":["stylelint","grey"],".direnv":["config","grey-light"],".env":["config","grey-light"],".static":["config","grey-light"],".editorconfig":["config","grey-light"],".slugignore":["config","grey-light"],".tmp":["clock","grey-light"],".htaccess":["config","grey-light"],".key":["lock","green"],".cert":["lock","green"],".cer":["lock","green"],".crt":["lock","green"],".pem":["lock","green"],".DS_Store":["ignored","ignore"]},sue=[["TODO",["todo","blue"]],["Procfile",["heroku","purple"]],["cmakelists.txt",["makefile","blue"]],["CMakeLists.txt",["makefile","blue"]],["CMAKELISTS.txt",["makefile","blue"]],["CMAKELISTS.TXT",["makefile","blue"]],["omakefile",["makefile","grey-light"]],["OMakefile",["makefile","grey-light"]],["OMAKEFILE",["makefile","grey-light"]],["qmakefile",["makefile","purple"]],["QMakefile",["makefile","purple"]],["QMAKEFILE",["makefile","purple"]],["makefile",["makefile","orange"]],["Makefile",["makefile","orange"]],["MAKEFILE",["makefile","orange"]],["CONTRIBUTING",["license","red"]],["COMPILING",["license","orange"]],["COPYING",["license","yellow"]],["LICENCE.md",["license","yellow"]],["LICENSE.md",["license","yellow"]],["LICENCE",["license","yellow"]],["LICENSE",["license","yellow"]],["gulpfile.js",["gulp","red"]],["gulpfile",["gulp","red"]],["Gulpfile",["gulp","red"]],["GULPFILE",["gulp","red"]],["docker-compose.override.yaml",["docker","pink"]],["docker-compose.override.yml",["docker","pink"]],["docker-compose.yaml",["docker","pink"]],["docker-compose.yml",["docker","pink"]],["docker-healthcheck",["docker","green"]],[".dockerignore",["docker","grey"]],["DOCKERFILE",["docker","blue"]],["Dockerfile",["docker","blue"]],["dockerfile",["docker","blue"]],["gemfile",["ruby","red"]],["Gemfile",["ruby","red"]],["mix",["hex","red"]]],lue={files:aue,extensions:oue,partials:sue,default:["default","white"]},uue='',cue='',due='',pue='',fue='',hue='',gue='',mue='',bue='',Eue='',vue='',yue='',_ue='',Tue='',Sue='',wue='',Aue='',Cue='',xue='',kue='',Iue='',Rue='',Nue='',Oue='',Due='',Lue='',Mue='',Fue='',Pue='',Bue='',Uue='',$ue='',zue='',Hue='',jue='',Gue='',Vue='',Wue='',que='',Kue='',Yue='',Xue='',Zue='',Que='',Jue='',e1e='',t1e='',n1e='',r1e='',i1e='',a1e='',o1e='',s1e='',l1e='',u1e='',c1e='',d1e='',p1e='',f1e='',h1e='',g1e='',m1e='',b1e='',E1e='',v1e='',y1e='',_1e='',T1e='',S1e='',w1e='',A1e='',C1e='',x1e='',k1e='',I1e='',R1e='',N1e='',O1e='',D1e='',L1e='',M1e='',F1e='',P1e='',B1e='',U1e='',$1e='',z1e='',H1e='',j1e='',G1e='',V1e='',W1e='',q1e='',K1e='',Y1e='',X1e='',Z1e='',Q1e='',J1e='',ece='',tce='',nce='',rce='',ice='',ace='',oce='',sce='',lce='',uce='',cce='',dce='',pce='',fce='',hce='',gce='',mce='',bce='',Ece='',vce='',yce='',_ce='',Tce='',Sce='',wce='',Ace='',Cce='',xce='',kce='',Ice='',Rce='',Nce='',Oce='',Dce='',Lce='',Mce='',Fce='',Pce='',Bce='',Uce='',$ce='',zce='',Hce='',jce='',Gce={folder:uue,bsl:cue,mdo:due,salesforce:pue,asm:fue,bicep:hue,c:gue,"c-sharp":'',html:mue,cpp:bue,clojure:Eue,coldfusion:vue,coffee:yue,config:_ue,crystal:Tue,crystal_embedded:Sue,json:wue,css:Aue,csv:Cue,xls:xue,cu:kue,cake:Iue,cake_php:Rue,d:Nue,word:Oue,ejs:Due,elixir:Lue,elixir_script:Mue,hex:Fue,elm:Pue,favicon:Bue,"f-sharp":'',git:Uue,go2:$ue,go:zue,godot:Hue,gradle:jue,grails:Gue,graphql:Vue,hacklang:Wue,haml:que,mustache:Kue,haskell:Yue,haxe:Xue,jade:Zue,java:Que,javascript:Jue,jinja:e1e,julia:t1e,karma:n1e,kotlin:r1e,dart:i1e,less:a1e,liquid:o1e,livescript:s1e,lua:l1e,markdown:u1e,argdown:c1e,info:d1e,clock:p1e,maven:f1e,nim:h1e,github:g1e,notebook:m1e,nunjucks:b1e,npm:E1e,ocaml:v1e,odata:y1e,perl:_1e,php:T1e,pipeline:S1e,pddl:w1e,plan:A1e,happenings:C1e,powershell:x1e,prisma:k1e,pug:I1e,puppet:R1e,purescript:N1e,python:O1e,react:D1e,reasonml:L1e,rescript:M1e,R:F1e,ruby:P1e,html_erb:B1e,rust:U1e,sass:$1e,spring:z1e,slim:H1e,smarty:j1e,sbt:G1e,scala:V1e,ethereum:W1e,stylus:q1e,svelte:K1e,swift:Y1e,db:X1e,terraform:Z1e,tex:Q1e,default:'',twig:J1e,typescript:ece,tsconfig:tce,vala:nce,vue:rce,wasm:ice,wat:ace,xml:oce,yml:sce,prolog:lce,zip:uce,wgt:cce,illustrator:dce,photoshop:pce,pdf:fce,font:hce,image:gce,svg:mce,sublime:bce,"code-search":'',shell:Ece,video:vce,audio:yce,windows:_ce,jenkins:Tce,babel:Sce,bower:wce,docker:Ace,"code-climate":'',eslint:Cce,firebase:xce,firefox:kce,grunt:Ice,gulp:Rce,ionic:Nce,platformio:Oce,rollup:Dce,stylelint:Lce,yarn:Mce,webpack:Fce,lock:Pce,license:Bce,makefile:Uce,heroku:$ce,todo:zce,npm_ignored:Hce,ignored:jce};var gg=ql&&ql.__assign||function(){return gg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1)return i[1]}return Zu.default},zM=function(e){var t=Kce(e),n=t[0],r=t[1];return{svg:qce[n],color:r}};l7.getIcon=zM;var Yce=function(e){return function(t){var n=zM(t);return gg(gg({},n),{color:e[n.color]})}},Xce=l7.themeIcons=Yce;const $b=({filename:e,height:t,width:n})=>{const r=Xce({blue:"#268bd2",grey:"#657b83","grey-light":"#839496",green:"#859900",orange:"#cb4b16",pink:"#d33682",purple:"#6c71c4",red:"#dc322f",white:"#fdf6e3",yellow:"#b58900",ignore:"#586e75"}),{svg:i,color:a}=r(e),o=iue.sanitize(i);return I.jsx("div",{dangerouslySetInnerHTML:{__html:o},style:{width:n,height:t,fill:a}})},Zce=He.button` border: none; color: ${Ht}; background-color: ${Lt}; @@ -53818,11 +347,10 @@ const $b = ({ filename: e, height: t, width: n }) => { padding-left: 8px; padding-right: 8px; overflow: hidden; - font-size: ${(e) => e.fontSize || nr()}px; + font-size: ${e=>e.fontSize||nr()}px; cursor: pointer; -`; -He.div` +`;He.div` position: absolute; left: 0px; top: 0px; @@ -53834,18 +362,16 @@ He.div` border-radius: ${wt}; background-color: ${Lt}; -`; -He.div` +`;He.div` background-color: ${Lt}; height: 100%; display: flex; align-items: center; &:hover { - background-color: ${(e) => e.backgroundColor}; + background-color: ${e=>e.backgroundColor}; } -`; -const Qce = He.div` +`;const Qce=He.div` position: absolute; top: -10px; right: -10px; @@ -53858,17 +384,15 @@ const Qce = He.div` align-items: center; justify-content: center; padding: 2px; -`, - Jce = He.div` +`,Jce=He.div` border-radius: ${wt}; background-color: ${Lt}; display: flex; align-items: center; justify-content: center; -`, - ede = He(Zce)` +`,ede=He(Zce)` position: relative; - border-color: ${(e) => e.borderColor || "transparent"}; + border-color: ${e=>e.borderColor||"transparent"}; border-width: 1px; border-style: solid; @@ -53877,4386 +401,22 @@ const Qce = He.div` /* border-color: ${vt}; */ text-decoration: underline; } -`, - tde = He(vi)` +`,tde=He(vi)` &:hover { - background-color: ${(e) => e.color}; + background-color: ${e=>e.color}; } -`, - nde = He(vi)` - ${(e) => - e.selected && - ` +`,nde=He(vi)` + ${e=>e.selected&&` background-color: ${e.color}; &:hover { background-color: ${e.color}; } `} -`, - rde = (e) => { - const [t, n] = C.useState(!1), - r = C.useContext(Ya), - [i, a] = C.useState(void 0); - C.useEffect(() => { - e.editing && e.item.content.length > 4e3 - ? a("Editing such a large range may be slow") - : a(void 0); - }, [e.editing, e.item]); - const o = C.useRef(null), - s = C.useRef(null); - return I.jsxs("div", { - style: { position: "relative" }, - children: [ - I.jsxs(Jce, { - previewing: e.previewing, - ref: o, - children: [ - I.jsx(ede, { - fontSize: nr(), - borderColor: e.editing && i ? "red" : void 0, - ref: s, - onMouseEnter: () => { - n(!0), e.onHover && e.onHover(!0); - }, - onMouseLeave: () => { - n(!1), e.onHover && e.onHover(!1); - }, - className: `pill-button-${e.stepIndex || "main"}`, - onKeyDown: (u) => { - var c, p; - u.key === "Backspace" - ? (c = e.onDelete) == null || c.call(e, e.stepIndex) - : u.key === "v" - ? (p = e.toggleViewContent) == null || p.call(e) - : u.key === "e" && - (r == null || - r.setEditingAtIds([e.item.description.id.item_id])); - }, - onClick: (u) => { - var c; - (c = e.onClick) == null || c.call(e, u), - r == null || - r.previewContextItem( - `${e.item.description.id.provider_title}-${e.item.description.id.item_id}` - ); - }, - onBlur: (u) => { - var c, p; - (c = o.current) != null && - c.contains(u.relatedTarget) && - (u.preventDefault(), (p = s.current) == null || p.focus()); - }, - children: I.jsxs("span", { - className: (t ? "underline" : "") + " flex", - children: [ - ["file", "code"].includes( - e.item.description.id.provider_title - ) && - I.jsx($b, { - height: "16px", - width: "16px", - filename: e.item.description.name.split(" ").at(0), - }), - e.item.description.name, - ], - }), - }), - (e.editingAny || - (e.focusing && e.item.editable) || - (e.editing && e.editingAny)) && - I.jsxs(I.Fragment, { - children: [ - I.jsx(nde, { - "data-tooltip-id": `circle-div-${e.item.description.name}`, - text: e.editing - ? "Editing this range" - : "Edit this range (e)", - onClick: () => { - var u, c; - e.editing || - r == null || - r.setEditingAtIds([e.item.description.id.item_id]), - e.editingAny || - (u = e.prefixInputWithEdit) == null || - u.call(e, !0), - e.editingAny && - e.editing && - ((c = e.prefixInputWithEdit) == null || - c.call(e, !1)); - }, - tabIndex: -1, - color: "#f0f4", - selected: e.editing, - children: I.jsx(KY, { width: "1.4em", height: "1.4em" }), - }), - I.jsx(Gs, { - id: `circle-div-${e.item.description.name}`, - children: "Editing this range", - }), - ], - }), - e.focusing && - I.jsx(tde, { - text: "Delete (⌫)", - onClick: () => { - var u; - return (u = e.onDelete) == null - ? void 0 - : u.call(e, e.stepIndex); - }, - tabIndex: -1, - color: "#f004", - children: I.jsx(pD, { width: "1.4em", height: "1.4em" }), - }), - ], - }), - I.jsx(Gs, { - id: `edit-${e.index}`, - children: e.item.editing - ? "Editing this section (with entire file as context)" - : "Edit this section", - }), - I.jsx(Gs, { id: `delete-${e.index}`, children: "Delete" }), - e.editing && - i && - I.jsxs(I.Fragment, { - children: [ - I.jsx(Qce, { - "data-tooltip-id": `circle-div-${e.item.description.name}`, - className: "z-10", - children: I.jsx(lD, { - style: { margin: "auto" }, - width: "1.0em", - strokeWidth: 2, - }), - }), - I.jsx(Gs, { - id: `circle-div-${e.item.description.name}`, - children: i, - }), - ], - }), - ], - }); - }; -var u7 = {}; -Object.defineProperty(u7, "__esModule", { value: !0 }); -u7.testFunc = void 0; -var ide = function () { - console.log("test"); -}; -u7.testFunc = ide; -function ade(e, t) { - var n; - if (typeof vscode > "u") { - if ((localStorage.getItem("ide"), window.postIntellijMessage === void 0)) - throw ( - (console.log( - "Unable to send message: postIntellijMessage is undefined. ", - e, - t - ), - new Error("postIntellijMessage is undefined")) - ); - (n = window.postIntellijMessage) == null || n.call(window, e, t); - return; - } - vscode.postMessage({ type: e, ...t }); -} -function rl(e, t, n = 0) { - try { - ade(e, t); - } catch (r) { - n < 5 - ? (console.log(`Attempt ${n} failed. Retrying...`), - setTimeout(() => rl(e, t, n + 1), Math.pow(2, n) * 1e3)) - : console.error("Max attempts reached. Message could not be sent.", r); - } -} -const ode = {}; -var zb = function (e, t) { - return ( - (zb = - Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && - function (n, r) { - n.__proto__ = r; - }) || - function (n, r) { - for (var i in r) - Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]); - }), - zb(e, t) - ); -}; -function Xp(e, t) { - if (typeof t != "function" && t !== null) - throw new TypeError( - "Class extends value " + String(t) + " is not a constructor or null" - ); - zb(e, t); - function n() { - this.constructor = e; - } - e.prototype = - t === null ? Object.create(t) : ((n.prototype = t.prototype), new n()); -} -var en = function () { - return ( - (en = - Object.assign || - function (t) { - for (var n, r = 1, i = arguments.length; r < i; r++) { - n = arguments[r]; - for (var a in n) - Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]); - } - return t; - }), - en.apply(this, arguments) - ); -}; -function Ne(e, t, n, r) { - function i(a) { - return a instanceof n - ? a - : new n(function (o) { - o(a); - }); - } - return new (n || (n = Promise))(function (a, o) { - function s(p) { - try { - c(r.next(p)); - } catch (f) { - o(f); - } - } - function u(p) { - try { - c(r.throw(p)); - } catch (f) { - o(f); - } - } - function c(p) { - p.done ? a(p.value) : i(p.value).then(s, u); - } - c((r = r.apply(e, t || [])).next()); - }); -} -function Oe(e, t) { - var n = { - label: 0, - sent: function () { - if (a[0] & 1) throw a[1]; - return a[1]; - }, - trys: [], - ops: [], - }, - r, - i, - a, - o; - return ( - (o = { next: s(0), throw: s(1), return: s(2) }), - typeof Symbol == "function" && - (o[Symbol.iterator] = function () { - return this; - }), - o - ); - function s(c) { - return function (p) { - return u([c, p]); - }; - } - function u(c) { - if (r) throw new TypeError("Generator is already executing."); - for (; n; ) - try { - if ( - ((r = 1), - i && - (a = - c[0] & 2 - ? i.return - : c[0] - ? i.throw || ((a = i.return) && a.call(i), 0) - : i.next) && - !(a = a.call(i, c[1])).done) - ) - return a; - switch (((i = 0), a && (c = [c[0] & 2, a.value]), c[0])) { - case 0: - case 1: - a = c; - break; - case 4: - return n.label++, { value: c[1], done: !1 }; - case 5: - n.label++, (i = c[1]), (c = [0]); - continue; - case 7: - (c = n.ops.pop()), n.trys.pop(); - continue; - default: - if ( - ((a = n.trys), - !(a = a.length > 0 && a[a.length - 1]) && - (c[0] === 6 || c[0] === 2)) - ) { - n = 0; - continue; - } - if (c[0] === 3 && (!a || (c[1] > a[0] && c[1] < a[3]))) { - n.label = c[1]; - break; - } - if (c[0] === 6 && n.label < a[1]) { - (n.label = a[1]), (a = c); - break; - } - if (a && n.label < a[2]) { - (n.label = a[2]), n.ops.push(c); - break; - } - a[2] && n.ops.pop(), n.trys.pop(); - continue; - } - c = t.call(e, n); - } catch (p) { - (c = [6, p]), (i = 0); - } finally { - r = a = 0; - } - if (c[0] & 5) throw c[1]; - return { value: c[0] ? c[1] : void 0, done: !0 }; - } -} -var mg = (function (e) { - Xp(t, e); - function t(n, r, i, a) { - var o = this, - s, - u, - c; - return ( - (o = e.call(this, n) || this), - Object.setPrototypeOf(o, t.prototype), - (o.name = "MeiliSearchCommunicationError"), - r instanceof Response && - ((o.message = r.statusText), (o.statusCode = r.status)), - r instanceof Error && ((o.errno = r.errno), (o.code = r.code)), - a - ? ((o.stack = a), - (o.stack = - (s = o.stack) === null || s === void 0 - ? void 0 - : s.replace(/(TypeError|FetchError)/, o.name)), - (o.stack = - (u = o.stack) === null || u === void 0 - ? void 0 - : u.replace( - "Failed to fetch", - "request to ".concat( - i, - " failed, reason: connect ECONNREFUSED" - ) - )), - (o.stack = - (c = o.stack) === null || c === void 0 - ? void 0 - : c.replace("Not Found", "Not Found: ".concat(i)))) - : Error.captureStackTrace && Error.captureStackTrace(o, t), - o - ); - } - return t; - })(Error), - dp = (function (e) { - Xp(t, e); - function t(n, r) { - var i = e.call(this, n.message) || this; - return ( - Object.setPrototypeOf(i, dp.prototype), - (i.name = "MeiliSearchApiError"), - (i.code = n.code), - (i.type = n.type), - (i.link = n.link), - (i.message = n.message), - (i.httpStatus = r), - Error.captureStackTrace && Error.captureStackTrace(i, dp), - i - ); - } - return t; - })(Error); -function sde(e) { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - if (e.ok) return [3, 5]; - (t = void 0), (n.label = 1); - case 1: - return n.trys.push([1, 3, , 4]), [4, e.json()]; - case 2: - return (t = n.sent()), [3, 4]; - case 3: - throw (n.sent(), new mg(e.statusText, e, e.url)); - case 4: - throw new dp(t, e.status); - case 5: - return [2, e]; - } - }); - }); -} -function lde(e, t, n) { - throw e.name !== "MeiliSearchApiError" ? new mg(e.message, e, n, t) : e; -} -var so = (function (e) { - Xp(t, e); - function t(n) { - var r = e.call(this, n) || this; - return ( - Object.setPrototypeOf(r, t.prototype), - (r.name = "MeiliSearchError"), - Error.captureStackTrace && Error.captureStackTrace(r, t), - r - ); - } - return t; - })(Error), - ude = (function (e) { - Xp(t, e); - function t(n) { - var r = e.call(this, n) || this; - return ( - Object.setPrototypeOf(r, t.prototype), - (r.name = "MeiliSearchTimeOutError"), - Error.captureStackTrace && Error.captureStackTrace(r, t), - r - ); - } - return t; - })(Error); -function P0(e, t) { - return "" - .concat( - e, - ` -Hint: It might not be working because maybe you're not up to date with the Meilisearch version that ` - ) - .concat(t, " call requires."); -} -function B0(e) { - return Object.entries(e).reduce(function (t, n) { - var r = n[0], - i = n[1]; - return i !== void 0 && (t[r] = i), t; - }, {}); -} -function cde(e) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (t) { - switch (t.label) { - case 0: - return [ - 4, - new Promise(function (n) { - return setTimeout(n, e); - }), - ]; - case 1: - return [2, t.sent()]; - } - }); - }); -} -function dde(e) { - return e.startsWith("https://") || e.startsWith("http://") - ? e - : "http://".concat(e); -} -function pde(e) { - return e.endsWith("/") || (e += "/"), e; -} -function fde(e) { - var t = - /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi; - return t.test(e); -} -var hde = "0.33.0"; -function H3(e) { - var t = Object.keys(e), - n = t.reduce(function (r, i) { - var a, - o, - s, - u = e[i]; - return u === void 0 - ? r - : Array.isArray(u) - ? en(en({}, r), ((a = {}), (a[i] = u.join(",")), a)) - : u instanceof Date - ? en(en({}, r), ((o = {}), (o[i] = u.toISOString()), o)) - : en(en({}, r), ((s = {}), (s[i] = u), s)); - }, {}); - return n; -} -function gde(e) { - try { - return (e = dde(e)), (e = pde(e)), e; - } catch { - throw new so("The provided host is not valid."); - } -} -function mde(e) { - if (Array.isArray(e)) - return e.reduce(function (n, r) { - return (n[r[0]] = r[1]), n; - }, {}); - if ("has" in e) { - var t = {}; - return ( - e.forEach(function (n, r) { - return (t[r] = n); - }), - t - ); - } else return Object.assign({}, e); -} -function bde(e) { - var t, - n, - r = "X-Meilisearch-Client", - i = "Meilisearch JavaScript (v".concat(hde, ")"), - a = "Content-Type", - o = "Authorization", - s = mde( - (n = - (t = e.requestConfig) === null || t === void 0 ? void 0 : t.headers) !== - null && n !== void 0 - ? n - : {} - ); - if ( - (e.apiKey && !s[o] && (s[o] = "Bearer ".concat(e.apiKey)), - s[a] || (s["Content-Type"] = "application/json"), - e.clientAgents && Array.isArray(e.clientAgents)) - ) { - var u = e.clientAgents.concat(i); - s[r] = u.join(" ; "); - } else { - if (e.clientAgents && !Array.isArray(e.clientAgents)) - throw new so( - 'Meilisearch: The header "'.concat( - r, - `" should be an array of string(s). -` - ) - ); - s[r] = i; - } - return s; -} -var bg = (function () { - function e(t) { - (this.headers = bde(t)), - (this.requestConfig = t.requestConfig), - (this.httpClient = t.httpClient); - try { - var n = gde(t.host); - this.url = new URL(n); - } catch { - throw new so("The provided host is not valid."); - } - } - return ( - (e.prototype.request = function (t) { - var n, - r = t.method, - i = t.url, - a = t.params, - o = t.body, - s = t.config, - u = s === void 0 ? {} : s; - return Ne(this, void 0, void 0, function () { - var c, p, f, m, g, E, b, T, v; - return Oe(this, function (y) { - switch (y.label) { - case 0: - typeof fetch > "u" && require("cross-fetch/polyfill"), - (c = new URL(i, this.url)), - a && - ((p = new URLSearchParams()), - Object.keys(a) - .filter(function (w) { - return a[w] !== null; - }) - .map(function (w) { - return p.set(w, a[w]); - }), - (c.search = p.toString())), - (!((n = u.headers) === null || n === void 0) && - n["Content-Type"]) || - (o = JSON.stringify(o)), - (f = en(en({}, this.headers), u.headers)), - (y.label = 1); - case 1: - return ( - y.trys.push([1, 6, , 7]), - (m = this.httpClient ? this.httpClient : fetch), - (g = m( - c.toString(), - en(en(en({}, u), this.requestConfig), { - method: r, - body: o, - headers: f, - }) - )), - this.httpClient ? [4, g] : [3, 3] - ); - case 2: - return [2, y.sent()]; - case 3: - return [ - 4, - g.then(function (w) { - return sde(w); - }), - ]; - case 4: - return (E = y.sent()), [4, E.json().catch(function () {})]; - case 5: - return (b = y.sent()), [2, b]; - case 6: - return ( - (T = y.sent()), (v = T.stack), lde(T, v, c.toString()), [3, 7] - ); - case 7: - return [2]; - } - }); - }); - }), - (e.prototype.get = function (t, n, r) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (i) { - switch (i.label) { - case 0: - return [ - 4, - this.request({ method: "GET", url: t, params: n, config: r }), - ]; - case 1: - return [2, i.sent()]; - } - }); - }); - }), - (e.prototype.post = function (t, n, r, i) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (a) { - switch (a.label) { - case 0: - return [ - 4, - this.request({ - method: "POST", - url: t, - body: n, - params: r, - config: i, - }), - ]; - case 1: - return [2, a.sent()]; - } - }); - }); - }), - (e.prototype.put = function (t, n, r, i) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (a) { - switch (a.label) { - case 0: - return [ - 4, - this.request({ - method: "PUT", - url: t, - body: n, - params: r, - config: i, - }), - ]; - case 1: - return [2, a.sent()]; - } - }); - }); - }), - (e.prototype.patch = function (t, n, r, i) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (a) { - switch (a.label) { - case 0: - return [ - 4, - this.request({ - method: "PATCH", - url: t, - body: n, - params: r, - config: i, - }), - ]; - case 1: - return [2, a.sent()]; - } - }); - }); - }), - (e.prototype.delete = function (t, n, r, i) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (a) { - switch (a.label) { - case 0: - return [ - 4, - this.request({ - method: "DELETE", - url: t, - body: n, - params: r, - config: i, - }), - ]; - case 1: - return [2, a.sent()]; - } - }); - }); - }), - e - ); - })(), - Fn = (function () { - function e(t) { - (this.taskUid = t.taskUid), - (this.indexUid = t.indexUid), - (this.status = t.status), - (this.type = t.type), - (this.enqueuedAt = new Date(t.enqueuedAt)); - } - return e; - })(), - Rk = (function () { - function e(t) { - (this.indexUid = t.indexUid), - (this.status = t.status), - (this.type = t.type), - (this.uid = t.uid), - (this.details = t.details), - (this.canceledBy = t.canceledBy), - (this.error = t.error), - (this.duration = t.duration), - (this.startedAt = new Date(t.startedAt)), - (this.enqueuedAt = new Date(t.enqueuedAt)), - (this.finishedAt = new Date(t.finishedAt)); - } - return e; - })(), - HM = (function () { - function e(t) { - this.httpRequest = new bg(t); - } - return ( - (e.prototype.getTask = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return (n = "tasks/".concat(t)), [4, this.httpRequest.get(n)]; - case 1: - return (r = i.sent()), [2, new Rk(r)]; - } - }); - }); - }), - (e.prototype.getTasks = function (t) { - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return (n = "tasks"), [4, this.httpRequest.get(n, H3(t))]; - case 1: - return ( - (r = i.sent()), - [ - 2, - en(en({}, r), { - results: r.results.map(function (a) { - return new Rk(a); - }), - }), - ] - ); - } - }); - }) - ); - }), - (e.prototype.waitForTask = function (t, n) { - var r = n === void 0 ? {} : n, - i = r.timeOutMs, - a = i === void 0 ? 5e3 : i, - o = r.intervalMs, - s = o === void 0 ? 50 : o; - return Ne(this, void 0, void 0, function () { - var u, c; - return Oe(this, function (p) { - switch (p.label) { - case 0: - (u = Date.now()), (p.label = 1); - case 1: - return Date.now() - u < a ? [4, this.getTask(t)] : [3, 4]; - case 2: - return ( - (c = p.sent()), - ["enqueued", "processing"].includes(c.status) - ? [4, cde(s)] - : [2, c] - ); - case 3: - return p.sent(), [3, 1]; - case 4: - throw new ude( - "timeout of " - .concat(a, "ms has exceeded on process ") - .concat(t, " when waiting a task to be resolved.") - ); - } - }); - }); - }), - (e.prototype.waitForTasks = function (t, n) { - var r = n === void 0 ? {} : n, - i = r.timeOutMs, - a = i === void 0 ? 5e3 : i, - o = r.intervalMs, - s = o === void 0 ? 50 : o; - return Ne(this, void 0, void 0, function () { - var u, c, p, f, m; - return Oe(this, function (g) { - switch (g.label) { - case 0: - (u = []), (c = 0), (p = t), (g.label = 1); - case 1: - return c < p.length - ? ((f = p[c]), - [4, this.waitForTask(f, { timeOutMs: a, intervalMs: s })]) - : [3, 4]; - case 2: - (m = g.sent()), u.push(m), (g.label = 3); - case 3: - return c++, [3, 1]; - case 4: - return [2, u]; - } - }); - }); - }), - (e.prototype.cancelTasks = function (t) { - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "tasks/cancel"), - [4, this.httpRequest.post(n, {}, H3(t))] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }) - ); - }), - (e.prototype.deleteTasks = function (t) { - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "tasks"), [4, this.httpRequest.delete(n, {}, H3(t))] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }) - ); - }), - e - ); - })(), - Ul = (function () { - function e(t, n, r) { - (this.uid = n), - (this.primaryKey = r), - (this.httpRequest = new bg(t)), - (this.tasks = new HM(t)); - } - return ( - (e.prototype.search = function (t, n, r) { - return Ne(this, void 0, void 0, function () { - var i; - return Oe(this, function (a) { - switch (a.label) { - case 0: - return ( - (i = "indexes/".concat(this.uid, "/search")), - [4, this.httpRequest.post(i, B0(en({ q: t }, n)), void 0, r)] - ); - case 1: - return [2, a.sent()]; - } - }); - }); - }), - (e.prototype.searchGet = function (t, n, r) { - var i, a, o, s, u; - return Ne(this, void 0, void 0, function () { - var c, p, f; - return Oe(this, function (m) { - switch (m.label) { - case 0: - return ( - (c = "indexes/".concat(this.uid, "/search")), - (p = function (g) { - if (typeof g == "string") return g; - if (Array.isArray(g)) - throw new so( - "The filter query parameter should be in string format when using searchGet" - ); - }), - (f = en(en({ q: t }, n), { - filter: p(n == null ? void 0 : n.filter), - sort: - (i = n == null ? void 0 : n.sort) === null || i === void 0 - ? void 0 - : i.join(","), - facets: - (a = n == null ? void 0 : n.facets) === null || - a === void 0 - ? void 0 - : a.join(","), - attributesToRetrieve: - (o = n == null ? void 0 : n.attributesToRetrieve) === - null || o === void 0 - ? void 0 - : o.join(","), - attributesToCrop: - (s = n == null ? void 0 : n.attributesToCrop) === null || - s === void 0 - ? void 0 - : s.join(","), - attributesToHighlight: - (u = n == null ? void 0 : n.attributesToHighlight) === - null || u === void 0 - ? void 0 - : u.join(","), - })), - [4, this.httpRequest.get(c, B0(f), r)] - ); - case 1: - return [2, m.sent()]; - } - }); - }); - }), - (e.prototype.getRawInfo = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid)), - [4, this.httpRequest.get(t)] - ); - case 1: - return ( - (n = r.sent()), - (this.primaryKey = n.primaryKey), - (this.updatedAt = new Date(n.updatedAt)), - (this.createdAt = new Date(n.createdAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.fetchInfo = function () { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (t) { - switch (t.label) { - case 0: - return [4, this.getRawInfo()]; - case 1: - return t.sent(), [2, this]; - } - }); - }); - }), - (e.prototype.fetchPrimaryKey = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return (t = this), [4, this.getRawInfo()]; - case 1: - return ( - (t.primaryKey = n.sent().primaryKey), [2, this.primaryKey] - ); - } - }); - }); - }), - (e.create = function (t, n, r) { - return ( - n === void 0 && (n = {}), - Ne(this, void 0, void 0, function () { - var i, a, o; - return Oe(this, function (s) { - switch (s.label) { - case 0: - return ( - (i = "indexes"), - (a = new bg(r)), - [4, a.post(i, en(en({}, n), { uid: t }))] - ); - case 1: - return (o = s.sent()), [2, new Fn(o)]; - } - }); - }) - ); - }), - (e.prototype.update = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat(this.uid)), - [4, this.httpRequest.patch(n, t)] - ); - case 1: - return ( - (r = i.sent()), - (r.enqueuedAt = new Date(r.enqueuedAt)), - [2, r] - ); - } - }); - }); - }), - (e.prototype.delete = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid)), - [4, this.httpRequest.delete(t)] - ); - case 1: - return (n = r.sent()), [2, new Fn(n)]; - } - }); - }); - }), - (e.prototype.getTasks = function (t) { - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - return Oe(this, function (n) { - switch (n.label) { - case 0: - return [ - 4, - this.tasks.getTasks( - en(en({}, t), { indexUids: [this.uid] }) - ), - ]; - case 1: - return [2, n.sent()]; - } - }); - }) - ); - }), - (e.prototype.getTask = function (t) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (n) { - switch (n.label) { - case 0: - return [4, this.tasks.getTask(t)]; - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.waitForTasks = function (t, n) { - var r = n === void 0 ? {} : n, - i = r.timeOutMs, - a = i === void 0 ? 5e3 : i, - o = r.intervalMs, - s = o === void 0 ? 50 : o; - return Ne(this, void 0, void 0, function () { - return Oe(this, function (u) { - switch (u.label) { - case 0: - return [ - 4, - this.tasks.waitForTasks(t, { timeOutMs: a, intervalMs: s }), - ]; - case 1: - return [2, u.sent()]; - } - }); - }); - }), - (e.prototype.waitForTask = function (t, n) { - var r = n === void 0 ? {} : n, - i = r.timeOutMs, - a = i === void 0 ? 5e3 : i, - o = r.intervalMs, - s = o === void 0 ? 50 : o; - return Ne(this, void 0, void 0, function () { - return Oe(this, function (u) { - switch (u.label) { - case 0: - return [ - 4, - this.tasks.waitForTask(t, { timeOutMs: a, intervalMs: s }), - ]; - case 1: - return [2, u.sent()]; - } - }); - }); - }), - (e.prototype.getStats = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/stats")), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.getDocuments = function (t) { - var n; - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - var i, r, i, a; - return Oe(this, function (o) { - switch (o.label) { - case 0: - if (((t = B0(t)), t.filter === void 0)) return [3, 5]; - o.label = 1; - case 1: - return ( - o.trys.push([1, 3, , 4]), - (i = "indexes/".concat(this.uid, "/documents/fetch")), - [4, this.httpRequest.post(i, t)] - ); - case 2: - return [2, o.sent()]; - case 3: - throw ( - ((r = o.sent()), - (r instanceof mg || r instanceof dp) && - (r.message = P0(r.message, "getDocuments")), - r) - ); - case 4: - return [3, 7]; - case 5: - return ( - (i = "indexes/".concat(this.uid, "/documents")), - (a = Array.isArray(t == null ? void 0 : t.fields) - ? { - fields: - (n = t == null ? void 0 : t.fields) === null || - n === void 0 - ? void 0 - : n.join(","), - } - : {}), - [4, this.httpRequest.get(i, en(en({}, t), a))] - ); - case 6: - return [2, o.sent()]; - case 7: - return [2]; - } - }); - }) - ); - }), - (e.prototype.getDocument = function (t, n) { - return Ne(this, void 0, void 0, function () { - var r, i; - return Oe(this, function (a) { - switch (a.label) { - case 0: - return ( - (r = "indexes/".concat(this.uid, "/documents/").concat(t)), - (i = (function () { - var o; - if (Array.isArray(n == null ? void 0 : n.fields)) - return (o = n == null ? void 0 : n.fields) === null || - o === void 0 - ? void 0 - : o.join(","); - })()), - [4, this.httpRequest.get(r, B0(en(en({}, n), { fields: i })))] - ); - case 1: - return [2, a.sent()]; - } - }); - }); - }), - (e.prototype.addDocuments = function (t, n) { - return Ne(this, void 0, void 0, function () { - var r, i; - return Oe(this, function (a) { - switch (a.label) { - case 0: - return ( - (r = "indexes/".concat(this.uid, "/documents")), - [4, this.httpRequest.post(r, t, n)] - ); - case 1: - return (i = a.sent()), [2, new Fn(i)]; - } - }); - }); - }), - (e.prototype.addDocumentsFromString = function (t, n, r) { - return Ne(this, void 0, void 0, function () { - var i, a; - return Oe(this, function (o) { - switch (o.label) { - case 0: - return ( - (i = "indexes/".concat(this.uid, "/documents")), - [ - 4, - this.httpRequest.post(i, t, r, { - headers: { "Content-Type": n }, - }), - ] - ); - case 1: - return (a = o.sent()), [2, new Fn(a)]; - } - }); - }); - }), - (e.prototype.addDocumentsInBatches = function (t, n, r) { - return ( - n === void 0 && (n = 1e3), - Ne(this, void 0, void 0, function () { - var i, a, o, s; - return Oe(this, function (u) { - switch (u.label) { - case 0: - (i = []), (a = 0), (u.label = 1); - case 1: - return a < t.length - ? ((s = (o = i).push), - [4, this.addDocuments(t.slice(a, a + n), r)]) - : [3, 4]; - case 2: - s.apply(o, [u.sent()]), (u.label = 3); - case 3: - return (a += n), [3, 1]; - case 4: - return [2, i]; - } - }); - }) - ); - }), - (e.prototype.updateDocuments = function (t, n) { - return Ne(this, void 0, void 0, function () { - var r, i; - return Oe(this, function (a) { - switch (a.label) { - case 0: - return ( - (r = "indexes/".concat(this.uid, "/documents")), - [4, this.httpRequest.put(r, t, n)] - ); - case 1: - return (i = a.sent()), [2, new Fn(i)]; - } - }); - }); - }), - (e.prototype.updateDocumentsInBatches = function (t, n, r) { - return ( - n === void 0 && (n = 1e3), - Ne(this, void 0, void 0, function () { - var i, a, o, s; - return Oe(this, function (u) { - switch (u.label) { - case 0: - (i = []), (a = 0), (u.label = 1); - case 1: - return a < t.length - ? ((s = (o = i).push), - [4, this.updateDocuments(t.slice(a, a + n), r)]) - : [3, 4]; - case 2: - s.apply(o, [u.sent()]), (u.label = 3); - case 3: - return (a += n), [3, 1]; - case 4: - return [2, i]; - } - }); - }) - ); - }), - (e.prototype.updateDocumentsFromString = function (t, n, r) { - return Ne(this, void 0, void 0, function () { - var i, a; - return Oe(this, function (o) { - switch (o.label) { - case 0: - return ( - (i = "indexes/".concat(this.uid, "/documents")), - [ - 4, - this.httpRequest.put(i, t, r, { - headers: { "Content-Type": n }, - }), - ] - ); - case 1: - return (a = o.sent()), [2, new Fn(a)]; - } - }); - }); - }), - (e.prototype.deleteDocument = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat(this.uid, "/documents/").concat(t)), - [4, this.httpRequest.delete(n)] - ); - case 1: - return ( - (r = i.sent()), - (r.enqueuedAt = new Date(r.enqueuedAt)), - [2, r] - ); - } - }); - }); - }), - (e.prototype.deleteDocuments = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r, i, a, o; - return Oe(this, function (s) { - switch (s.label) { - case 0: - (n = !Array.isArray(t) && typeof t == "object"), - (r = n ? "documents/delete" : "documents/delete-batch"), - (i = "indexes/".concat(this.uid, "/").concat(r)), - (s.label = 1); - case 1: - return ( - s.trys.push([1, 3, , 4]), [4, this.httpRequest.post(i, t)] - ); - case 2: - return (a = s.sent()), [2, new Fn(a)]; - case 3: - throw ( - ((o = s.sent()), - ((o instanceof mg && n) || o instanceof dp) && - (o.message = P0(o.message, "deleteDocuments")), - o) - ); - case 4: - return [2]; - } - }); - }); - }), - (e.prototype.deleteAllDocuments = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/documents")), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getSettings = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings")), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateSettings = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat(this.uid, "/settings")), - [4, this.httpRequest.patch(n, t)] - ); - case 1: - return ( - (r = i.sent()), (r.enqueued = new Date(r.enqueuedAt)), [2, r] - ); - } - }); - }); - }), - (e.prototype.resetSettings = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings")), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getPagination = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/pagination")), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updatePagination = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat(this.uid, "/settings/pagination")), - [4, this.httpRequest.patch(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetPagination = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/pagination")), - [4, this.httpRequest.delete(t)] - ); - case 1: - return (n = r.sent()), [2, new Fn(n)]; - } - }); - }); - }), - (e.prototype.getSynonyms = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/synonyms")), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateSynonyms = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat(this.uid, "/settings/synonyms")), - [4, this.httpRequest.put(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetSynonyms = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/synonyms")), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getStopWords = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/stop-words")), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateStopWords = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat(this.uid, "/settings/stop-words")), - [4, this.httpRequest.put(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetStopWords = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/stop-words")), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getRankingRules = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/ranking-rules")), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateRankingRules = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat(this.uid, "/settings/ranking-rules")), - [4, this.httpRequest.put(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetRankingRules = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/ranking-rules")), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getDistinctAttribute = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/distinct-attribute" - )), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateDistinctAttribute = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat( - this.uid, - "/settings/distinct-attribute" - )), - [4, this.httpRequest.put(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetDistinctAttribute = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/distinct-attribute" - )), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getFilterableAttributes = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/filterable-attributes" - )), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateFilterableAttributes = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat( - this.uid, - "/settings/filterable-attributes" - )), - [4, this.httpRequest.put(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetFilterableAttributes = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/filterable-attributes" - )), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getSortableAttributes = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/sortable-attributes" - )), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateSortableAttributes = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat( - this.uid, - "/settings/sortable-attributes" - )), - [4, this.httpRequest.put(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetSortableAttributes = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/sortable-attributes" - )), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getSearchableAttributes = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/searchable-attributes" - )), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateSearchableAttributes = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat( - this.uid, - "/settings/searchable-attributes" - )), - [4, this.httpRequest.put(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetSearchableAttributes = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/searchable-attributes" - )), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getDisplayedAttributes = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/displayed-attributes" - )), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateDisplayedAttributes = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat( - this.uid, - "/settings/displayed-attributes" - )), - [4, this.httpRequest.put(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetDisplayedAttributes = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat( - this.uid, - "/settings/displayed-attributes" - )), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getTypoTolerance = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/typo-tolerance")), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateTypoTolerance = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat(this.uid, "/settings/typo-tolerance")), - [4, this.httpRequest.patch(n, t)] - ); - case 1: - return ( - (r = i.sent()), - (r.enqueuedAt = new Date(r.enqueuedAt)), - [2, r] - ); - } - }); - }); - }), - (e.prototype.resetTypoTolerance = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/typo-tolerance")), - [4, this.httpRequest.delete(t)] - ); - case 1: - return ( - (n = r.sent()), - (n.enqueuedAt = new Date(n.enqueuedAt)), - [2, n] - ); - } - }); - }); - }), - (e.prototype.getFaceting = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/faceting")), - [4, this.httpRequest.get(t)] - ); - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.updateFaceting = function (t) { - return Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (n = "indexes/".concat(this.uid, "/settings/faceting")), - [4, this.httpRequest.patch(n, t)] - ); - case 1: - return (r = i.sent()), [2, new Fn(r)]; - } - }); - }); - }), - (e.prototype.resetFaceting = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return ( - (t = "indexes/".concat(this.uid, "/settings/faceting")), - [4, this.httpRequest.delete(t)] - ); - case 1: - return (n = r.sent()), [2, new Fn(n)]; - } - }); - }); - }), - e - ); - })(), - Ede = (function () { - function e(t) { - (this.config = t), - (this.httpRequest = new bg(t)), - (this.tasks = new HM(t)); - } - return ( - (e.prototype.index = function (t) { - return new Ul(this.config, t); - }), - (e.prototype.getIndex = function (t) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (n) { - return [2, new Ul(this.config, t).fetchInfo()]; - }); - }); - }), - (e.prototype.getRawIndex = function (t) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (n) { - return [2, new Ul(this.config, t).getRawInfo()]; - }); - }); - }), - (e.prototype.getIndexes = function (t) { - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - var n, - r, - i = this; - return Oe(this, function (a) { - switch (a.label) { - case 0: - return [4, this.getRawIndexes(t)]; - case 1: - return ( - (n = a.sent()), - (r = n.results.map(function (o) { - return new Ul(i.config, o.uid, o.primaryKey); - })), - [2, en(en({}, n), { results: r })] - ); - } - }); - }) - ); - }), - (e.prototype.getRawIndexes = function (t) { - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - var n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return (n = "indexes"), [4, this.httpRequest.get(n, t)]; - case 1: - return [2, r.sent()]; - } - }); - }) - ); - }), - (e.prototype.createIndex = function (t, n) { - return ( - n === void 0 && (n = {}), - Ne(this, void 0, void 0, function () { - return Oe(this, function (r) { - switch (r.label) { - case 0: - return [4, Ul.create(t, n, this.config)]; - case 1: - return [2, r.sent()]; - } - }); - }) - ); - }), - (e.prototype.updateIndex = function (t, n) { - return ( - n === void 0 && (n = {}), - Ne(this, void 0, void 0, function () { - return Oe(this, function (r) { - switch (r.label) { - case 0: - return [4, new Ul(this.config, t).update(n)]; - case 1: - return [2, r.sent()]; - } - }); - }) - ); - }), - (e.prototype.deleteIndex = function (t) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (n) { - switch (n.label) { - case 0: - return [4, new Ul(this.config, t).delete()]; - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.deleteIndexIfExists = function (t) { - return Ne(this, void 0, void 0, function () { - var n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return r.trys.push([0, 2, , 3]), [4, this.deleteIndex(t)]; - case 1: - return r.sent(), [2, !0]; - case 2: - if (((n = r.sent()), n.code === "index_not_found")) - return [2, !1]; - throw n; - case 3: - return [2]; - } - }); - }); - }), - (e.prototype.swapIndexes = function (t) { - return Ne(this, void 0, void 0, function () { - var n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return (n = "/swap-indexes"), [4, this.httpRequest.post(n, t)]; - case 1: - return [2, r.sent()]; - } - }); - }); - }), - (e.prototype.multiSearch = function (t, n) { - return Ne(this, void 0, void 0, function () { - var r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (r = "multi-search"), - [4, this.httpRequest.post(r, t, void 0, n)] - ); - case 1: - return [2, i.sent()]; - } - }); - }); - }), - (e.prototype.getTasks = function (t) { - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - return Oe(this, function (n) { - switch (n.label) { - case 0: - return [4, this.tasks.getTasks(t)]; - case 1: - return [2, n.sent()]; - } - }); - }) - ); - }), - (e.prototype.getTask = function (t) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (n) { - switch (n.label) { - case 0: - return [4, this.tasks.getTask(t)]; - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.waitForTasks = function (t, n) { - var r = n === void 0 ? {} : n, - i = r.timeOutMs, - a = i === void 0 ? 5e3 : i, - o = r.intervalMs, - s = o === void 0 ? 50 : o; - return Ne(this, void 0, void 0, function () { - return Oe(this, function (u) { - switch (u.label) { - case 0: - return [ - 4, - this.tasks.waitForTasks(t, { timeOutMs: a, intervalMs: s }), - ]; - case 1: - return [2, u.sent()]; - } - }); - }); - }), - (e.prototype.waitForTask = function (t, n) { - var r = n === void 0 ? {} : n, - i = r.timeOutMs, - a = i === void 0 ? 5e3 : i, - o = r.intervalMs, - s = o === void 0 ? 50 : o; - return Ne(this, void 0, void 0, function () { - return Oe(this, function (u) { - switch (u.label) { - case 0: - return [ - 4, - this.tasks.waitForTask(t, { timeOutMs: a, intervalMs: s }), - ]; - case 1: - return [2, u.sent()]; - } - }); - }); - }), - (e.prototype.cancelTasks = function (t) { - return Ne(this, void 0, void 0, function () { - return Oe(this, function (n) { - switch (n.label) { - case 0: - return [4, this.tasks.cancelTasks(t)]; - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.deleteTasks = function (t) { - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - return Oe(this, function (n) { - switch (n.label) { - case 0: - return [4, this.tasks.deleteTasks(t)]; - case 1: - return [2, n.sent()]; - } - }); - }) - ); - }), - (e.prototype.getKeys = function (t) { - return ( - t === void 0 && (t = {}), - Ne(this, void 0, void 0, function () { - var n, r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return (n = "keys"), [4, this.httpRequest.get(n, t)]; - case 1: - return ( - (r = i.sent()), - (r.results = r.results.map(function (a) { - return en(en({}, a), { - createdAt: new Date(a.createdAt), - updateAt: new Date(a.updateAt), - }); - })), - [2, r] - ); - } - }); - }) - ); - }), - (e.prototype.getKey = function (t) { - return Ne(this, void 0, void 0, function () { - var n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return (n = "keys/".concat(t)), [4, this.httpRequest.get(n)]; - case 1: - return [2, r.sent()]; - } - }); - }); - }), - (e.prototype.createKey = function (t) { - return Ne(this, void 0, void 0, function () { - var n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return (n = "keys"), [4, this.httpRequest.post(n, t)]; - case 1: - return [2, r.sent()]; - } - }); - }); - }), - (e.prototype.updateKey = function (t, n) { - return Ne(this, void 0, void 0, function () { - var r; - return Oe(this, function (i) { - switch (i.label) { - case 0: - return ( - (r = "keys/".concat(t)), [4, this.httpRequest.patch(r, n)] - ); - case 1: - return [2, i.sent()]; - } - }); - }); - }), - (e.prototype.deleteKey = function (t) { - return Ne(this, void 0, void 0, function () { - var n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return (n = "keys/".concat(t)), [4, this.httpRequest.delete(n)]; - case 1: - return [2, r.sent()]; - } - }); - }); - }), - (e.prototype.health = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return (t = "health"), [4, this.httpRequest.get(t)]; - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.isHealthy = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return ( - n.trys.push([0, 2, , 3]), - (t = "health"), - [4, this.httpRequest.get(t)] - ); - case 1: - return n.sent(), [2, !0]; - case 2: - return n.sent(), [2, !1]; - case 3: - return [2]; - } - }); - }); - }), - (e.prototype.getStats = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return (t = "stats"), [4, this.httpRequest.get(t)]; - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.getVersion = function () { - return Ne(this, void 0, void 0, function () { - var t; - return Oe(this, function (n) { - switch (n.label) { - case 0: - return (t = "version"), [4, this.httpRequest.get(t)]; - case 1: - return [2, n.sent()]; - } - }); - }); - }), - (e.prototype.createDump = function () { - return Ne(this, void 0, void 0, function () { - var t, n; - return Oe(this, function (r) { - switch (r.label) { - case 0: - return (t = "dumps"), [4, this.httpRequest.post(t)]; - case 1: - return (n = r.sent()), [2, new Fn(n)]; - } - }); - }); - }), - (e.prototype.generateTenantToken = function (t, n, r) { - var i = new Error(); - throw new Error( - `Meilisearch: failed to generate a tenant token. Generation of a token only works in a node environment - `.concat(i.stack, ".") - ); - }), - e - ); - })(); -function jM(e) { - return Buffer.from(JSON.stringify(e)).toString("base64"); -} -function vde(e, t, n) { - return ode - .createHmac("sha256", e) - .update("".concat(t, ".").concat(n)) - .digest("base64") - .replace(/\+/g, "-") - .replace(/\//g, "_") - .replace(/=/g, ""); -} -function yde() { - var e = { alg: "HS256", typ: "JWT" }; - return jM(e).replace(/=/g, ""); -} -function _de(e) { - var t = e.searchRules, - n = e.uid, - r = e.apiKey, - i = e.expiresAt; - if (i) - if (i instanceof Date) { - if (i.getTime() < Date.now()) - throw new so( - "Meilisearch: The expiresAt field must be a date in the future." - ); - } else - throw new so( - "Meilisearch: The expiredAt field must be an instance of Date." - ); - if (t && !(typeof t == "object" || Array.isArray(t))) - throw new so( - "Meilisearch: The search rules added in the token generation must be of type array or object." - ); - if (!r || typeof r != "string") - throw new so( - "Meilisearch: The API key used for the token generation must exist and be of type string." - ); - if (!n || typeof n != "string") - throw new so( - "Meilisearch: The uid of the api key used for the token generation must exist, be of type string and comply to the uuid4 format." - ); - if (!fde(n)) - throw new so( - "Meilisearch: The uid of your key is not a valid uuid4. To find out the uid of your key use getKey()." - ); -} -function Tde(e) { - var t = e.searchRules, - n = e.uid, - r = e.expiresAt, - i = { - searchRules: t, - apiKeyUid: n, - exp: r ? Math.floor(r.getTime() / 1e3) : void 0, - }; - return jM(i).replace(/=/g, ""); -} -var Sde = (function () { - function e(t) { - this.config = t; - } - return ( - (e.prototype.generateTenantToken = function (t, n, r) { - var i = (r == null ? void 0 : r.apiKey) || this.config.apiKey || "", - a = t || "", - o = r == null ? void 0 : r.expiresAt; - _de({ apiKey: i, uid: a, expiresAt: o, searchRules: n }); - var s = yde(), - u = Tde({ searchRules: n, uid: a, expiresAt: o }), - c = vde(i, s, u); - return "".concat(s, ".").concat(u, ".").concat(c); - }), - e - ); - })(), - wde = (function (e) { - Xp(t, e); - function t(n) { - var r = e.call(this, n) || this; - return (r.tokens = new Sde(n)), r; - } - return ( - (t.prototype.generateTenantToken = function (n, r, i) { - return typeof window > "u" - ? this.tokens.generateTenantToken(n, r, i) - : e.prototype.generateTenantToken.call(this, n, r, i); - }), - t - ); - })(Ede); -function Pa(e) { - for ( - var t = arguments.length, n = Array(t > 1 ? t - 1 : 0), r = 1; - r < t; - r++ - ) - n[r - 1] = arguments[r]; - throw Error( - "[Immer] minified error nr: " + - e + - (n.length - ? " " + - n - .map(function (i) { - return "'" + i + "'"; - }) - .join(",") - : "") + - ". Find the full error at: https://bit.ly/3cXEKWf" - ); -} -function pl(e) { - return !!e && !!e[Cn]; -} -function is(e) { - var t; - return ( - !!e && - ((function (n) { - if (!n || typeof n != "object") return !1; - var r = Object.getPrototypeOf(n); - if (r === null) return !0; - var i = Object.hasOwnProperty.call(r, "constructor") && r.constructor; - return ( - i === Object || - (typeof i == "function" && Function.toString.call(i) === Dde) - ); - })(e) || - Array.isArray(e) || - !!e[Pk] || - !!(!((t = e.constructor) === null || t === void 0) && t[Pk]) || - c7(e) || - d7(e)) - ); -} -function mu(e, t, n) { - n === void 0 && (n = !1), - bc(e) === 0 - ? (n ? Object.keys : U1)(e).forEach(function (r) { - (n && typeof r == "symbol") || t(r, e[r], e); - }) - : e.forEach(function (r, i) { - return t(i, r, e); - }); -} -function bc(e) { - var t = e[Cn]; - return t - ? t.i > 3 - ? t.i - 4 - : t.i - : Array.isArray(e) - ? 1 - : c7(e) - ? 2 - : d7(e) - ? 3 - : 0; -} -function B1(e, t) { - return bc(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t); -} -function Ade(e, t) { - return bc(e) === 2 ? e.get(t) : e[t]; -} -function GM(e, t, n) { - var r = bc(e); - r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : (e[t] = n); -} -function VM(e, t) { - return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t; -} -function c7(e) { - return Nde && e instanceof Map; -} -function d7(e) { - return Ode && e instanceof Set; -} -function Vl(e) { - return e.o || e.t; -} -function p7(e) { - if (Array.isArray(e)) return Array.prototype.slice.call(e); - var t = qM(e); - delete t[Cn]; - for (var n = U1(t), r = 0; r < n.length; r++) { - var i = n[r], - a = t[i]; - a.writable === !1 && ((a.writable = !0), (a.configurable = !0)), - (a.get || a.set) && - (t[i] = { - configurable: !0, - writable: !0, - enumerable: a.enumerable, - value: e[i], - }); - } - return Object.create(Object.getPrototypeOf(e), t); -} -function f7(e, t) { - return ( - t === void 0 && (t = !1), - h7(e) || - pl(e) || - !is(e) || - (bc(e) > 1 && (e.set = e.add = e.clear = e.delete = Cde), - Object.freeze(e), - t && - mu( - e, - function (n, r) { - return f7(r, !0); - }, - !0 - )), - e - ); -} -function Cde() { - Pa(2); -} -function h7(e) { - return e == null || typeof e != "object" || Object.isFrozen(e); -} -function bo(e) { - var t = Vb[e]; - return t || Pa(18, e), t; -} -function xde(e, t) { - Vb[e] || (Vb[e] = t); -} -function Hb() { - return pp; -} -function j3(e, t) { - t && (bo("Patches"), (e.u = []), (e.s = []), (e.v = t)); -} -function Eg(e) { - jb(e), e.p.forEach(kde), (e.p = null); -} -function jb(e) { - e === pp && (pp = e.l); -} -function Nk(e) { - return (pp = { p: [], l: pp, h: e, m: !0, _: 0 }); -} -function kde(e) { - var t = e[Cn]; - t.i === 0 || t.i === 1 ? t.j() : (t.g = !0); -} -function G3(e, t) { - t._ = t.p.length; - var n = t.p[0], - r = e !== void 0 && e !== n; - return ( - t.h.O || bo("ES5").S(t, e, r), - r - ? (n[Cn].P && (Eg(t), Pa(4)), - is(e) && ((e = vg(t, e)), t.l || yg(t, e)), - t.u && bo("Patches").M(n[Cn].t, e, t.u, t.s)) - : (e = vg(t, n, [])), - Eg(t), - t.u && t.v(t.u, t.s), - e !== WM ? e : void 0 - ); -} -function vg(e, t, n) { - if (h7(t)) return t; - var r = t[Cn]; - if (!r) - return ( - mu( - t, - function (s, u) { - return Ok(e, r, t, s, u, n); - }, - !0 - ), - t - ); - if (r.A !== e) return t; - if (!r.P) return yg(e, r.t, !0), r.t; - if (!r.I) { - (r.I = !0), r.A._--; - var i = r.i === 4 || r.i === 5 ? (r.o = p7(r.k)) : r.o, - a = i, - o = !1; - r.i === 3 && ((a = new Set(i)), i.clear(), (o = !0)), - mu(a, function (s, u) { - return Ok(e, r, i, s, u, n, o); - }), - yg(e, i, !1), - n && e.u && bo("Patches").N(r, n, e.u, e.s); - } - return r.o; -} -function Ok(e, t, n, r, i, a, o) { - if (pl(i)) { - var s = vg(e, i, a && t && t.i !== 3 && !B1(t.R, r) ? a.concat(r) : void 0); - if ((GM(n, r, s), !pl(s))) return; - e.m = !1; - } else o && n.add(i); - if (is(i) && !h7(i)) { - if (!e.h.D && e._ < 1) return; - vg(e, i), (t && t.A.l) || yg(e, i); - } -} -function yg(e, t, n) { - n === void 0 && (n = !1), !e.l && e.h.D && e.m && f7(t, n); -} -function V3(e, t) { - var n = e[Cn]; - return (n ? Vl(n) : e)[t]; -} -function Dk(e, t) { - if (t in e) - for (var n = Object.getPrototypeOf(e); n; ) { - var r = Object.getOwnPropertyDescriptor(n, t); - if (r) return r; - n = Object.getPrototypeOf(n); - } -} -function $s(e) { - e.P || ((e.P = !0), e.l && $s(e.l)); -} -function W3(e) { - e.o || (e.o = p7(e.t)); -} -function Gb(e, t, n) { - var r = c7(t) - ? bo("MapSet").F(t, n) - : d7(t) - ? bo("MapSet").T(t, n) - : e.O - ? (function (i, a) { - var o = Array.isArray(i), - s = { - i: o ? 1 : 0, - A: a ? a.A : Hb(), - P: !1, - I: !1, - R: {}, - l: a, - t: i, - k: null, - o: null, - j: null, - C: !1, - }, - u = s, - c = fp; - o && ((u = [s]), (c = dd)); - var p = Proxy.revocable(u, c), - f = p.revoke, - m = p.proxy; - return (s.k = m), (s.j = f), m; - })(t, n) - : bo("ES5").J(t, n); - return (n ? n.A : Hb()).p.push(r), r; -} -function Ide(e) { - return ( - pl(e) || Pa(22, e), - (function t(n) { - if (!is(n)) return n; - var r, - i = n[Cn], - a = bc(n); - if (i) { - if (!i.P && (i.i < 4 || !bo("ES5").K(i))) return i.t; - (i.I = !0), (r = Lk(n, a)), (i.I = !1); - } else r = Lk(n, a); - return ( - mu(r, function (o, s) { - (i && Ade(i.t, o) === s) || GM(r, o, t(s)); - }), - a === 3 ? new Set(r) : r - ); - })(e) - ); -} -function Lk(e, t) { - switch (t) { - case 2: - return new Map(e); - case 3: - return Array.from(e); - } - return p7(e); -} -function Rde() { - function e(a, o) { - var s = i[a]; - return ( - s - ? (s.enumerable = o) - : (i[a] = s = - { - configurable: !0, - enumerable: o, - get: function () { - var u = this[Cn]; - return fp.get(u, a); - }, - set: function (u) { - var c = this[Cn]; - fp.set(c, a, u); - }, - }), - s - ); - } - function t(a) { - for (var o = a.length - 1; o >= 0; o--) { - var s = a[o][Cn]; - if (!s.P) - switch (s.i) { - case 5: - r(s) && $s(s); - break; - case 4: - n(s) && $s(s); - } - } - } - function n(a) { - for (var o = a.t, s = a.k, u = U1(s), c = u.length - 1; c >= 0; c--) { - var p = u[c]; - if (p !== Cn) { - var f = o[p]; - if (f === void 0 && !B1(o, p)) return !0; - var m = s[p], - g = m && m[Cn]; - if (g ? g.t !== f : !VM(m, f)) return !0; - } - } - var E = !!o[Cn]; - return u.length !== U1(o).length + (E ? 0 : 1); - } - function r(a) { - var o = a.k; - if (o.length !== a.t.length) return !0; - var s = Object.getOwnPropertyDescriptor(o, o.length - 1); - if (s && !s.get) return !0; - for (var u = 0; u < o.length; u++) if (!o.hasOwnProperty(u)) return !0; - return !1; - } - var i = {}; - xde("ES5", { - J: function (a, o) { - var s = Array.isArray(a), - u = (function (p, f) { - if (p) { - for (var m = Array(f.length), g = 0; g < f.length; g++) - Object.defineProperty(m, "" + g, e(g, !0)); - return m; - } - var E = qM(f); - delete E[Cn]; - for (var b = U1(E), T = 0; T < b.length; T++) { - var v = b[T]; - E[v] = e(v, p || !!E[v].enumerable); - } - return Object.create(Object.getPrototypeOf(f), E); - })(s, a), - c = { - i: s ? 5 : 4, - A: o ? o.A : Hb(), - P: !1, - I: !1, - R: {}, - l: o, - t: a, - k: u, - o: null, - g: !1, - C: !1, - }; - return Object.defineProperty(u, Cn, { value: c, writable: !0 }), u; - }, - S: function (a, o, s) { - s - ? pl(o) && o[Cn].A === a && t(a.p) - : (a.u && - (function u(c) { - if (c && typeof c == "object") { - var p = c[Cn]; - if (p) { - var f = p.t, - m = p.k, - g = p.R, - E = p.i; - if (E === 4) - mu(m, function (w) { - w !== Cn && - (f[w] !== void 0 || B1(f, w) - ? g[w] || u(m[w]) - : ((g[w] = !0), $s(p))); - }), - mu(f, function (w) { - m[w] !== void 0 || B1(m, w) || ((g[w] = !1), $s(p)); - }); - else if (E === 5) { - if ((r(p) && ($s(p), (g.length = !0)), m.length < f.length)) - for (var b = m.length; b < f.length; b++) g[b] = !1; - else for (var T = f.length; T < m.length; T++) g[T] = !0; - for ( - var v = Math.min(m.length, f.length), y = 0; - y < v; - y++ - ) - m.hasOwnProperty(y) || (g[y] = !0), - g[y] === void 0 && u(m[y]); - } - } - } - })(a.p[0]), - t(a.p)); - }, - K: function (a) { - return a.i === 4 ? n(a) : r(a); - }, - }); -} -var Mk, - pp, - g7 = typeof Symbol < "u" && typeof Symbol("x") == "symbol", - Nde = typeof Map < "u", - Ode = typeof Set < "u", - Fk = typeof Proxy < "u" && Proxy.revocable !== void 0 && typeof Reflect < "u", - WM = g7 - ? Symbol.for("immer-nothing") - : (((Mk = {})["immer-nothing"] = !0), Mk), - Pk = g7 ? Symbol.for("immer-draftable") : "__$immer_draftable", - Cn = g7 ? Symbol.for("immer-state") : "__$immer_state", - Dde = "" + Object.prototype.constructor, - U1 = - typeof Reflect < "u" && Reflect.ownKeys - ? Reflect.ownKeys - : Object.getOwnPropertySymbols !== void 0 - ? function (e) { - return Object.getOwnPropertyNames(e).concat( - Object.getOwnPropertySymbols(e) - ); - } - : Object.getOwnPropertyNames, - qM = - Object.getOwnPropertyDescriptors || - function (e) { - var t = {}; - return ( - U1(e).forEach(function (n) { - t[n] = Object.getOwnPropertyDescriptor(e, n); - }), - t - ); - }, - Vb = {}, - fp = { - get: function (e, t) { - if (t === Cn) return e; - var n = Vl(e); - if (!B1(n, t)) - return (function (i, a, o) { - var s, - u = Dk(a, o); - return u - ? "value" in u - ? u.value - : (s = u.get) === null || s === void 0 - ? void 0 - : s.call(i.k) - : void 0; - })(e, n, t); - var r = n[t]; - return e.I || !is(r) - ? r - : r === V3(e.t, t) - ? (W3(e), (e.o[t] = Gb(e.A.h, r, e))) - : r; - }, - has: function (e, t) { - return t in Vl(e); - }, - ownKeys: function (e) { - return Reflect.ownKeys(Vl(e)); - }, - set: function (e, t, n) { - var r = Dk(Vl(e), t); - if (r != null && r.set) return r.set.call(e.k, n), !0; - if (!e.P) { - var i = V3(Vl(e), t), - a = i == null ? void 0 : i[Cn]; - if (a && a.t === n) return (e.o[t] = n), (e.R[t] = !1), !0; - if (VM(n, i) && (n !== void 0 || B1(e.t, t))) return !0; - W3(e), $s(e); - } - return ( - (e.o[t] === n && (n !== void 0 || t in e.o)) || - (Number.isNaN(n) && Number.isNaN(e.o[t])) || - ((e.o[t] = n), (e.R[t] = !0)), - !0 - ); - }, - deleteProperty: function (e, t) { - return ( - V3(e.t, t) !== void 0 || t in e.t - ? ((e.R[t] = !1), W3(e), $s(e)) - : delete e.R[t], - e.o && delete e.o[t], - !0 - ); - }, - getOwnPropertyDescriptor: function (e, t) { - var n = Vl(e), - r = Reflect.getOwnPropertyDescriptor(n, t); - return ( - r && { - writable: !0, - configurable: e.i !== 1 || t !== "length", - enumerable: r.enumerable, - value: n[t], - } - ); - }, - defineProperty: function () { - Pa(11); - }, - getPrototypeOf: function (e) { - return Object.getPrototypeOf(e.t); - }, - setPrototypeOf: function () { - Pa(12); - }, - }, - dd = {}; -mu(fp, function (e, t) { - dd[e] = function () { - return (arguments[0] = arguments[0][0]), t.apply(this, arguments); - }; -}), - (dd.deleteProperty = function (e, t) { - return dd.set.call(this, e, t, void 0); - }), - (dd.set = function (e, t, n) { - return fp.set.call(this, e[0], t, n, e[0]); - }); -var Lde = (function () { - function e(n) { - var r = this; - (this.O = Fk), - (this.D = !0), - (this.produce = function (i, a, o) { - if (typeof i == "function" && typeof a != "function") { - var s = a; - a = i; - var u = r; - return function (b) { - var T = this; - b === void 0 && (b = s); - for ( - var v = arguments.length, y = Array(v > 1 ? v - 1 : 0), w = 1; - w < v; - w++ - ) - y[w - 1] = arguments[w]; - return u.produce(b, function (A) { - var D; - return (D = a).call.apply(D, [T, A].concat(y)); - }); - }; - } - var c; - if ( - (typeof a != "function" && Pa(6), - o !== void 0 && typeof o != "function" && Pa(7), - is(i)) - ) { - var p = Nk(r), - f = Gb(r, i, void 0), - m = !0; - try { - (c = a(f)), (m = !1); - } finally { - m ? Eg(p) : jb(p); - } - return typeof Promise < "u" && c instanceof Promise - ? c.then( - function (b) { - return j3(p, o), G3(b, p); - }, - function (b) { - throw (Eg(p), b); - } - ) - : (j3(p, o), G3(c, p)); - } - if (!i || typeof i != "object") { - if ( - ((c = a(i)) === void 0 && (c = i), - c === WM && (c = void 0), - r.D && f7(c, !0), - o) - ) { - var g = [], - E = []; - bo("Patches").M(i, c, g, E), o(g, E); - } - return c; - } - Pa(21, i); - }), - (this.produceWithPatches = function (i, a) { - if (typeof i == "function") - return function (c) { - for ( - var p = arguments.length, f = Array(p > 1 ? p - 1 : 0), m = 1; - m < p; - m++ - ) - f[m - 1] = arguments[m]; - return r.produceWithPatches(c, function (g) { - return i.apply(void 0, [g].concat(f)); - }); - }; - var o, - s, - u = r.produce(i, a, function (c, p) { - (o = c), (s = p); - }); - return typeof Promise < "u" && u instanceof Promise - ? u.then(function (c) { - return [c, o, s]; - }) - : [u, o, s]; - }), - typeof (n == null ? void 0 : n.useProxies) == "boolean" && - this.setUseProxies(n.useProxies), - typeof (n == null ? void 0 : n.autoFreeze) == "boolean" && - this.setAutoFreeze(n.autoFreeze); - } - var t = e.prototype; - return ( - (t.createDraft = function (n) { - is(n) || Pa(8), pl(n) && (n = Ide(n)); - var r = Nk(this), - i = Gb(this, n, void 0); - return (i[Cn].C = !0), jb(r), i; - }), - (t.finishDraft = function (n, r) { - var i = n && n[Cn], - a = i.A; - return j3(a, r), G3(void 0, a); - }), - (t.setAutoFreeze = function (n) { - this.D = n; - }), - (t.setUseProxies = function (n) { - n && !Fk && Pa(20), (this.O = n); - }), - (t.applyPatches = function (n, r) { - var i; - for (i = r.length - 1; i >= 0; i--) { - var a = r[i]; - if (a.path.length === 0 && a.op === "replace") { - n = a.value; - break; - } - } - i > -1 && (r = r.slice(i + 1)); - var o = bo("Patches").$; - return pl(n) - ? o(n, r) - : this.produce(n, function (s) { - return o(s, r); - }); - }), - e - ); - })(), - $i = new Lde(), - KM = $i.produce; -$i.produceWithPatches.bind($i); -$i.setAutoFreeze.bind($i); -$i.setUseProxies.bind($i); -$i.applyPatches.bind($i); -$i.createDraft.bind($i); -$i.finishDraft.bind($i); -function hp(e) { - "@babel/helpers - typeof"; - return ( - (hp = - 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; - }), - hp(e) - ); -} -function Mde(e, t) { - if (hp(e) !== "object" || e === null) return e; - var n = e[Symbol.toPrimitive]; - if (n !== void 0) { - var r = n.call(e, t || "default"); - if (hp(r) !== "object") return r; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (t === "string" ? String : Number)(e); -} -function Fde(e) { - var t = Mde(e, "string"); - return hp(t) === "symbol" ? t : String(t); -} -function Pde(e, t, n) { - return ( - (t = Fde(t)), - t in e - ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (e[t] = n), - e - ); -} -function Bk(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var r = Object.getOwnPropertySymbols(e); - t && - (r = r.filter(function (i) { - return Object.getOwnPropertyDescriptor(e, i).enumerable; - })), - n.push.apply(n, r); - } - return n; -} -function Uk(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 - ? Bk(Object(n), !0).forEach(function (r) { - Pde(e, r, n[r]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : Bk(Object(n)).forEach(function (r) { - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r)); - }); - } - return e; -} -function Fr(e) { - return ( - "Minified Redux error #" + - e + - "; visit https://redux.js.org/Errors?code=" + - e + - " for the full message or use the non-minified dev environment for full errors. " - ); -} -var $k = (function () { - return (typeof Symbol == "function" && Symbol.observable) || "@@observable"; - })(), - q3 = function () { - return Math.random().toString(36).substring(7).split("").join("."); - }, - _g = { - INIT: "@@redux/INIT" + q3(), - REPLACE: "@@redux/REPLACE" + q3(), - PROBE_UNKNOWN_ACTION: function () { - return "@@redux/PROBE_UNKNOWN_ACTION" + q3(); - }, - }; -function Bde(e) { - if (typeof e != "object" || e === null) return !1; - for (var t = e; Object.getPrototypeOf(t) !== null; ) - t = Object.getPrototypeOf(t); - return Object.getPrototypeOf(e) === t; -} -function YM(e, t, n) { - var r; - if ( - (typeof t == "function" && typeof n == "function") || - (typeof n == "function" && typeof arguments[3] == "function") - ) - throw new Error(Fr(0)); - if ( - (typeof t == "function" && typeof n > "u" && ((n = t), (t = void 0)), - typeof n < "u") - ) { - if (typeof n != "function") throw new Error(Fr(1)); - return n(YM)(e, t); - } - if (typeof e != "function") throw new Error(Fr(2)); - var i = e, - a = t, - o = [], - s = o, - u = !1; - function c() { - s === o && (s = o.slice()); - } - function p() { - if (u) throw new Error(Fr(3)); - return a; - } - function f(b) { - if (typeof b != "function") throw new Error(Fr(4)); - if (u) throw new Error(Fr(5)); - var T = !0; - return ( - c(), - s.push(b), - function () { - if (T) { - if (u) throw new Error(Fr(6)); - (T = !1), c(); - var y = s.indexOf(b); - s.splice(y, 1), (o = null); - } - } - ); - } - function m(b) { - if (!Bde(b)) throw new Error(Fr(7)); - if (typeof b.type > "u") throw new Error(Fr(8)); - if (u) throw new Error(Fr(9)); - try { - (u = !0), (a = i(a, b)); - } finally { - u = !1; - } - for (var T = (o = s), v = 0; v < T.length; v++) { - var y = T[v]; - y(); - } - return b; - } - function g(b) { - if (typeof b != "function") throw new Error(Fr(10)); - (i = b), m({ type: _g.REPLACE }); - } - function E() { - var b, - T = f; - return ( - (b = { - subscribe: function (y) { - if (typeof y != "object" || y === null) throw new Error(Fr(11)); - function w() { - y.next && y.next(p()); - } - w(); - var A = T(w); - return { unsubscribe: A }; - }, - }), - (b[$k] = function () { - return this; - }), - b - ); - } - return ( - m({ type: _g.INIT }), - (r = { dispatch: m, subscribe: f, getState: p, replaceReducer: g }), - (r[$k] = E), - r - ); -} -function Ude(e) { - Object.keys(e).forEach(function (t) { - var n = e[t], - r = n(void 0, { type: _g.INIT }); - if (typeof r > "u") throw new Error(Fr(12)); - if (typeof n(void 0, { type: _g.PROBE_UNKNOWN_ACTION() }) > "u") - throw new Error(Fr(13)); - }); -} -function $de(e) { - for (var t = Object.keys(e), n = {}, r = 0; r < t.length; r++) { - var i = t[r]; - typeof e[i] == "function" && (n[i] = e[i]); - } - var a = Object.keys(n), - o; - try { - Ude(n); - } catch (s) { - o = s; - } - return function (u, c) { - if ((u === void 0 && (u = {}), o)) throw o; - for (var p = !1, f = {}, m = 0; m < a.length; m++) { - var g = a[m], - E = n[g], - b = u[g], - T = E(b, c); - if (typeof T > "u") throw (c && c.type, new Error(Fr(14))); - (f[g] = T), (p = p || T !== b); - } - return (p = p || a.length !== Object.keys(u).length), p ? f : u; - }; -} -function Tg() { - for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) - t[n] = arguments[n]; - return t.length === 0 - ? function (r) { - return r; - } - : t.length === 1 - ? t[0] - : t.reduce(function (r, i) { - return function () { - return r(i.apply(void 0, arguments)); - }; - }); -} -function zde() { - for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) - t[n] = arguments[n]; - return function (r) { - return function () { - var i = r.apply(void 0, arguments), - a = function () { - throw new Error(Fr(15)); - }, - o = { - getState: i.getState, - dispatch: function () { - return a.apply(void 0, arguments); - }, - }, - s = t.map(function (u) { - return u(o); - }); - return ( - (a = Tg.apply(void 0, s)(i.dispatch)), - Uk(Uk({}, i), {}, { dispatch: a }) - ); - }; - }; -} -function XM(e) { - var t = function (r) { - var i = r.dispatch, - a = r.getState; - return function (o) { - return function (s) { - return typeof s == "function" ? s(i, a, e) : o(s); - }; - }; - }; - return t; -} -var ZM = XM(); -ZM.withExtraArgument = XM; -const zk = ZM; -var QM = - (globalThis && globalThis.__extends) || - (function () { - var e = function (t, n) { - return ( - (e = - Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && - function (r, i) { - r.__proto__ = i; - }) || - function (r, i) { - for (var a in i) - Object.prototype.hasOwnProperty.call(i, a) && (r[a] = i[a]); - }), - e(t, n) - ); - }; - return function (t, n) { - if (typeof n != "function" && n !== null) - throw new TypeError( - "Class extends value " + String(n) + " is not a constructor or null" - ); - e(t, n); - function r() { - this.constructor = t; - } - t.prototype = - n === null - ? Object.create(n) - : ((r.prototype = n.prototype), new r()); - }; - })(), - Hde = - (globalThis && globalThis.__generator) || - function (e, t) { - var n = { - label: 0, - sent: function () { - if (a[0] & 1) throw a[1]; - return a[1]; - }, - trys: [], - ops: [], - }, - r, - i, - a, - o; - return ( - (o = { next: s(0), throw: s(1), return: s(2) }), - typeof Symbol == "function" && - (o[Symbol.iterator] = function () { - return this; - }), - o - ); - function s(c) { - return function (p) { - return u([c, p]); - }; - } - function u(c) { - if (r) throw new TypeError("Generator is already executing."); - for (; n; ) - try { - if ( - ((r = 1), - i && - (a = - c[0] & 2 - ? i.return - : c[0] - ? i.throw || ((a = i.return) && a.call(i), 0) - : i.next) && - !(a = a.call(i, c[1])).done) - ) - return a; - switch (((i = 0), a && (c = [c[0] & 2, a.value]), c[0])) { - case 0: - case 1: - a = c; - break; - case 4: - return n.label++, { value: c[1], done: !1 }; - case 5: - n.label++, (i = c[1]), (c = [0]); - continue; - case 7: - (c = n.ops.pop()), n.trys.pop(); - continue; - default: - if ( - ((a = n.trys), - !(a = a.length > 0 && a[a.length - 1]) && - (c[0] === 6 || c[0] === 2)) - ) { - n = 0; - continue; - } - if (c[0] === 3 && (!a || (c[1] > a[0] && c[1] < a[3]))) { - n.label = c[1]; - break; - } - if (c[0] === 6 && n.label < a[1]) { - (n.label = a[1]), (a = c); - break; - } - if (a && n.label < a[2]) { - (n.label = a[2]), n.ops.push(c); - break; - } - a[2] && n.ops.pop(), n.trys.pop(); - continue; - } - c = t.call(e, n); - } catch (p) { - (c = [6, p]), (i = 0); - } finally { - r = a = 0; - } - if (c[0] & 5) throw c[1]; - return { value: c[0] ? c[1] : void 0, done: !0 }; - } - }, - Z1 = - (globalThis && globalThis.__spreadArray) || - function (e, t) { - for (var n = 0, r = t.length, i = e.length; n < r; n++, i++) e[i] = t[n]; - return e; - }, - jde = Object.defineProperty, - Gde = Object.defineProperties, - Vde = Object.getOwnPropertyDescriptors, - Hk = Object.getOwnPropertySymbols, - Wde = Object.prototype.hasOwnProperty, - qde = Object.prototype.propertyIsEnumerable, - jk = function (e, t, n) { - return t in e - ? jde(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) - : (e[t] = n); - }, - il = function (e, t) { - for (var n in t || (t = {})) Wde.call(t, n) && jk(e, n, t[n]); - if (Hk) - for (var r = 0, i = Hk(t); r < i.length; r++) { - var n = i[r]; - qde.call(t, n) && jk(e, n, t[n]); - } - return e; - }, - K3 = function (e, t) { - return Gde(e, Vde(t)); - }, - Kde = function (e, t, n) { - return new Promise(function (r, i) { - var a = function (u) { - try { - s(n.next(u)); - } catch (c) { - i(c); - } - }, - o = function (u) { - try { - s(n.throw(u)); - } catch (c) { - i(c); - } - }, - s = function (u) { - return u.done ? r(u.value) : Promise.resolve(u.value).then(a, o); - }; - s((n = n.apply(e, t)).next()); - }); - }, - Yde = - typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ - ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ - : function () { - if (arguments.length !== 0) - return typeof arguments[0] == "object" - ? Tg - : Tg.apply(null, arguments); - }; -function Xde(e) { - if (typeof e != "object" || e === null) return !1; - var t = Object.getPrototypeOf(e); - if (t === null) return !0; - for (var n = t; Object.getPrototypeOf(n) !== null; ) - n = Object.getPrototypeOf(n); - return t === n; -} -function al(e, t) { - function n() { - for (var r = [], i = 0; i < arguments.length; i++) r[i] = arguments[i]; - if (t) { - var a = t.apply(void 0, r); - if (!a) throw new Error("prepareAction did not return an object"); - return il( - il({ type: e, payload: a.payload }, "meta" in a && { meta: a.meta }), - "error" in a && { error: a.error } - ); - } - return { type: e, payload: r[0] }; - } - return ( - (n.toString = function () { - return "" + e; - }), - (n.type = e), - (n.match = function (r) { - return r.type === e; - }), - n - ); -} -var Zde = (function (e) { - QM(t, e); - function t() { - for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r]; - var i = e.apply(this, n) || this; - return Object.setPrototypeOf(i, t.prototype), i; - } - return ( - Object.defineProperty(t, Symbol.species, { - get: function () { - return t; - }, - enumerable: !1, - configurable: !0, - }), - (t.prototype.concat = function () { - for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r]; - return e.prototype.concat.apply(this, n); - }), - (t.prototype.prepend = function () { - for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r]; - return n.length === 1 && Array.isArray(n[0]) - ? new (t.bind.apply(t, Z1([void 0], n[0].concat(this))))() - : new (t.bind.apply(t, Z1([void 0], n.concat(this))))(); - }), - t - ); - })(Array), - Qde = (function (e) { - QM(t, e); - function t() { - for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r]; - var i = e.apply(this, n) || this; - return Object.setPrototypeOf(i, t.prototype), i; - } - return ( - Object.defineProperty(t, Symbol.species, { - get: function () { - return t; - }, - enumerable: !1, - configurable: !0, - }), - (t.prototype.concat = function () { - for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r]; - return e.prototype.concat.apply(this, n); - }), - (t.prototype.prepend = function () { - for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r]; - return n.length === 1 && Array.isArray(n[0]) - ? new (t.bind.apply(t, Z1([void 0], n[0].concat(this))))() - : new (t.bind.apply(t, Z1([void 0], n.concat(this))))(); - }), - t - ); - })(Array); -function Wb(e) { - return is(e) ? KM(e, function () {}) : e; -} -function Jde(e) { - return typeof e == "boolean"; -} -function epe() { - return function (t) { - return tpe(t); - }; -} -function tpe(e) { - e === void 0 && (e = {}); - var t = e.thunk, - n = t === void 0 ? !0 : t; - e.immutableCheck, e.serializableCheck, e.actionCreatorCheck; - var r = new Zde(); - return ( - n && (Jde(n) ? r.push(zk) : r.push(zk.withExtraArgument(n.extraArgument))), - r - ); -} -var npe = !0; -function rpe(e) { - var t = epe(), - n = e || {}, - r = n.reducer, - i = r === void 0 ? void 0 : r, - a = n.middleware, - o = a === void 0 ? t() : a, - s = n.devTools, - u = s === void 0 ? !0 : s, - c = n.preloadedState, - p = c === void 0 ? void 0 : c, - f = n.enhancers, - m = f === void 0 ? void 0 : f, - g; - if (typeof i == "function") g = i; - else if (Xde(i)) g = $de(i); - else - throw new Error( - '"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers' - ); - var E = o; - typeof E == "function" && (E = E(t)); - var b = zde.apply(void 0, E), - T = Tg; - u && (T = Yde(il({ trace: !npe }, typeof u == "object" && u))); - var v = new Qde(b), - y = v; - Array.isArray(m) ? (y = Z1([b], m)) : typeof m == "function" && (y = m(v)); - var w = T.apply(void 0, y); - return YM(g, p, w); -} -function JM(e) { - var t = {}, - n = [], - r, - i = { - addCase: function (a, o) { - var s = typeof a == "string" ? a : a.type; - if (!s) - throw new Error( - "`builder.addCase` cannot be called with an empty action type" - ); - if (s in t) - throw new Error( - "`builder.addCase` cannot be called with two reducers for the same action type" - ); - return (t[s] = o), i; - }, - addMatcher: function (a, o) { - return n.push({ matcher: a, reducer: o }), i; - }, - addDefaultCase: function (a) { - return (r = a), i; - }, - }; - return e(i), [t, n, r]; -} -function ipe(e) { - return typeof e == "function"; -} -function ape(e, t, n, r) { - n === void 0 && (n = []); - var i = typeof t == "function" ? JM(t) : [t, n, r], - a = i[0], - o = i[1], - s = i[2], - u; - if (ipe(e)) - u = function () { - return Wb(e()); - }; - else { - var c = Wb(e); - u = function () { - return c; - }; - } - function p(f, m) { - f === void 0 && (f = u()); - var g = Z1( - [a[m.type]], - o - .filter(function (E) { - var b = E.matcher; - return b(m); - }) - .map(function (E) { - var b = E.reducer; - return b; - }) - ); - return ( - g.filter(function (E) { - return !!E; - }).length === 0 && (g = [s]), - g.reduce(function (E, b) { - if (b) - if (pl(E)) { - var T = E, - v = b(T, m); - return v === void 0 ? E : v; - } else { - if (is(E)) - return KM(E, function (y) { - return b(y, m); - }); - var v = b(E, m); - if (v === void 0) { - if (E === null) return E; - throw Error( - "A case reducer on a non-draftable value must not return undefined" - ); - } - return v; - } - return E; - }, f) - ); - } - return (p.getInitialState = u), p; -} -function ope(e, t) { - return e + "/" + t; -} -function Zp(e) { - var t = e.name; - if (!t) throw new Error("`name` is a required option for createSlice"); - typeof process < "u"; - var n = - typeof e.initialState == "function" ? e.initialState : Wb(e.initialState), - r = e.reducers || {}, - i = Object.keys(r), - a = {}, - o = {}, - s = {}; - i.forEach(function (p) { - var f = r[p], - m = ope(t, p), - g, - E; - "reducer" in f ? ((g = f.reducer), (E = f.prepare)) : (g = f), - (a[p] = g), - (o[m] = g), - (s[p] = E ? al(m, E) : al(m)); - }); - function u() { - var p = - typeof e.extraReducers == "function" - ? JM(e.extraReducers) - : [e.extraReducers], - f = p[0], - m = f === void 0 ? {} : f, - g = p[1], - E = g === void 0 ? [] : g, - b = p[2], - T = b === void 0 ? void 0 : b, - v = il(il({}, m), o); - return ape(n, function (y) { - for (var w in v) y.addCase(w, v[w]); - for (var A = 0, D = E; A < D.length; A++) { - var k = D[A]; - y.addMatcher(k.matcher, k.reducer); - } - T && y.addDefaultCase(T); - }); - } - var c; - return { - name: t, - reducer: function (p, f) { - return c || (c = u()), c(p, f); - }, - actions: s, - caseReducers: a, - getInitialState: function () { - return c || (c = u()), c.getInitialState(); - }, - }; -} -var spe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", - lpe = function (e) { - e === void 0 && (e = 21); - for (var t = "", n = e; n--; ) t += spe[(Math.random() * 64) | 0]; - return t; - }, - upe = ["name", "message", "stack", "code"], - Y3 = (function () { - function e(t, n) { - (this.payload = t), (this.meta = n); - } - return e; - })(), - Gk = (function () { - function e(t, n) { - (this.payload = t), (this.meta = n); - } - return e; - })(), - cpe = function (e) { - if (typeof e == "object" && e !== null) { - for (var t = {}, n = 0, r = upe; n < r.length; n++) { - var i = r[n]; - typeof e[i] == "string" && (t[i] = e[i]); - } - return t; - } - return { message: String(e) }; - }; -(function () { - function e(t, n, r) { - var i = al(t + "/fulfilled", function (c, p, f, m) { - return { - payload: c, - meta: K3(il({}, m || {}), { - arg: f, - requestId: p, - requestStatus: "fulfilled", - }), - }; - }), - a = al(t + "/pending", function (c, p, f) { - return { - payload: void 0, - meta: K3(il({}, f || {}), { - arg: p, - requestId: c, - requestStatus: "pending", - }), - }; - }), - o = al(t + "/rejected", function (c, p, f, m, g) { - return { - payload: m, - error: ((r && r.serializeError) || cpe)(c || "Rejected"), - meta: K3(il({}, g || {}), { - arg: f, - requestId: p, - rejectedWithValue: !!m, - requestStatus: "rejected", - aborted: (c == null ? void 0 : c.name) === "AbortError", - condition: (c == null ? void 0 : c.name) === "ConditionError", - }), - }; - }), - s = - typeof AbortController < "u" - ? AbortController - : (function () { - function c() { - this.signal = { - aborted: !1, - addEventListener: function () {}, - dispatchEvent: function () { - return !1; - }, - onabort: function () {}, - removeEventListener: function () {}, - reason: void 0, - throwIfAborted: function () {}, - }; - } - return (c.prototype.abort = function () {}), c; - })(); - function u(c) { - return function (p, f, m) { - var g = r != null && r.idGenerator ? r.idGenerator(c) : lpe(), - E = new s(), - b; - function T(y) { - (b = y), E.abort(); - } - var v = (function () { - return Kde(this, null, function () { - var y, w, A, D, k, R, B; - return Hde(this, function (W) { - switch (W.label) { - case 0: - return ( - W.trys.push([0, 4, , 5]), - (D = - (y = r == null ? void 0 : r.condition) == null - ? void 0 - : y.call(r, c, { getState: f, extra: m })), - ppe(D) ? [4, D] : [3, 2] - ); - case 1: - (D = W.sent()), (W.label = 2); - case 2: - if (D === !1 || E.signal.aborted) - throw { - name: "ConditionError", - message: - "Aborted due to condition callback returning false.", - }; - return ( - (k = new Promise(function (P, Q) { - return E.signal.addEventListener("abort", function () { - return Q({ - name: "AbortError", - message: b || "Aborted", - }); - }); - })), - p( - a( - g, - c, - (w = r == null ? void 0 : r.getPendingMeta) == null - ? void 0 - : w.call( - r, - { requestId: g, arg: c }, - { getState: f, extra: m } - ) - ) - ), - [ - 4, - Promise.race([ - k, - Promise.resolve( - n(c, { - dispatch: p, - getState: f, - extra: m, - requestId: g, - signal: E.signal, - abort: T, - rejectWithValue: function (P, Q) { - return new Y3(P, Q); - }, - fulfillWithValue: function (P, Q) { - return new Gk(P, Q); - }, - }) - ).then(function (P) { - if (P instanceof Y3) throw P; - return P instanceof Gk - ? i(P.payload, g, c, P.meta) - : i(P, g, c); - }), - ]), - ] - ); - case 3: - return (A = W.sent()), [3, 5]; - case 4: - return ( - (R = W.sent()), - (A = - R instanceof Y3 - ? o(null, g, c, R.payload, R.meta) - : o(R, g, c)), - [3, 5] - ); - case 5: - return ( - (B = - r && - !r.dispatchConditionRejection && - o.match(A) && - A.meta.condition), - B || p(A), - [2, A] - ); - } - }); - }); - })(); - return Object.assign(v, { - abort: T, - requestId: g, - arg: c, - unwrap: function () { - return v.then(dpe); - }, - }); - }; - } - return Object.assign(u, { - pending: a, - rejected: o, - fulfilled: i, - typePrefix: t, - }); - } - return ( - (e.withTypes = function () { - return e; - }), - e - ); -})(); -function dpe(e) { - if (e.meta && e.meta.rejectedWithValue) throw e.payload; - if (e.error) throw e.error; - return e.payload; -} -function ppe(e) { - return e !== null && typeof e == "object" && typeof e.then == "function"; -} -var m7 = "listenerMiddleware"; -al(m7 + "/add"); -al(m7 + "/removeAll"); -al(m7 + "/remove"); -var Vk; -typeof queueMicrotask == "function" && - queueMicrotask.bind( - typeof window < "u" ? window : typeof global < "u" ? global : globalThis - ); -Rde(); -const eF = Zp({ - name: "uiState", - initialState: { - bottomMessage: void 0, - bottomMessageCloseTimeout: void 0, - showDialog: !1, - dialogMessage: "", - dialogEntryOn: !1, - displayBottomMessageOnBottom: !0, - }, - reducers: { - setBottomMessage: (e, t) => { - e.bottomMessage = t.payload; - }, - setBottomMessageCloseTimeout: (e, t) => { - e.bottomMessageCloseTimeout && - clearTimeout(e.bottomMessageCloseTimeout), - (e.bottomMessageCloseTimeout = t.payload); - }, - setDialogMessage: (e, t) => { - e.dialogMessage = t.payload; - }, - setDialogEntryOn: (e, t) => { - e.dialogEntryOn = t.payload; - }, - setShowDialog: (e, t) => { - e.showDialog = t.payload; - }, - setDisplayBottomMessageOnBottom: (e, t) => { - e.displayBottomMessageOnBottom = t.payload; - }, - }, - }), - { - setBottomMessage: au, - setBottomMessageCloseTimeout: Wk, - setDialogMessage: X3, - setDialogEntryOn: fpe, - setShowDialog: Q1, - setDisplayBottomMessageOnBottom: hpe, - } = eF.actions, - gpe = eF.reducer; -var tF = { exports: {} }, - nF = {}; -/** +`,rde=e=>{const[t,n]=C.useState(!1),r=C.useContext(Ya),[i,a]=C.useState(void 0);C.useEffect(()=>{e.editing&&e.item.content.length>4e3?a("Editing such a large range may be slow"):a(void 0)},[e.editing,e.item]);const o=C.useRef(null),s=C.useRef(null);return I.jsxs("div",{style:{position:"relative"},children:[I.jsxs(Jce,{previewing:e.previewing,ref:o,children:[I.jsx(ede,{fontSize:nr(),borderColor:e.editing&&i?"red":void 0,ref:s,onMouseEnter:()=>{n(!0),e.onHover&&e.onHover(!0)},onMouseLeave:()=>{n(!1),e.onHover&&e.onHover(!1)},className:`pill-button-${e.stepIndex||"main"}`,onKeyDown:u=>{var c,p;u.key==="Backspace"?(c=e.onDelete)==null||c.call(e,e.stepIndex):u.key==="v"?(p=e.toggleViewContent)==null||p.call(e):u.key==="e"&&(r==null||r.setEditingAtIds([e.item.description.id.item_id]))},onClick:u=>{var c;(c=e.onClick)==null||c.call(e,u),r==null||r.previewContextItem(`${e.item.description.id.provider_title}-${e.item.description.id.item_id}`)},onBlur:u=>{var c,p;(c=o.current)!=null&&c.contains(u.relatedTarget)&&(u.preventDefault(),(p=s.current)==null||p.focus())},children:I.jsxs("span",{className:(t?"underline":"")+" flex",children:[["file","code"].includes(e.item.description.id.provider_title)&&I.jsx($b,{height:"16px",width:"16px",filename:e.item.description.name.split(" ").at(0)}),e.item.description.name]})}),(e.editingAny||e.focusing&&e.item.editable||e.editing&&e.editingAny)&&I.jsxs(I.Fragment,{children:[I.jsx(nde,{"data-tooltip-id":`circle-div-${e.item.description.name}`,text:e.editing?"Editing this range":"Edit this range (e)",onClick:()=>{var u,c;e.editing||r==null||r.setEditingAtIds([e.item.description.id.item_id]),e.editingAny||(u=e.prefixInputWithEdit)==null||u.call(e,!0),e.editingAny&&e.editing&&((c=e.prefixInputWithEdit)==null||c.call(e,!1))},tabIndex:-1,color:"#f0f4",selected:e.editing,children:I.jsx(KY,{width:"1.4em",height:"1.4em"})}),I.jsx(Gs,{id:`circle-div-${e.item.description.name}`,children:"Editing this range"})]}),e.focusing&&I.jsx(tde,{text:"Delete (⌫)",onClick:()=>{var u;return(u=e.onDelete)==null?void 0:u.call(e,e.stepIndex)},tabIndex:-1,color:"#f004",children:I.jsx(pD,{width:"1.4em",height:"1.4em"})})]}),I.jsx(Gs,{id:`edit-${e.index}`,children:e.item.editing?"Editing this section (with entire file as context)":"Edit this section"}),I.jsx(Gs,{id:`delete-${e.index}`,children:"Delete"}),e.editing&&i&&I.jsxs(I.Fragment,{children:[I.jsx(Qce,{"data-tooltip-id":`circle-div-${e.item.description.name}`,className:"z-10",children:I.jsx(lD,{style:{margin:"auto"},width:"1.0em",strokeWidth:2})}),I.jsx(Gs,{id:`circle-div-${e.item.description.name}`,children:i})]})]})};var u7={};Object.defineProperty(u7,"__esModule",{value:!0});u7.testFunc=void 0;var ide=function(){console.log("test")};u7.testFunc=ide;function ade(e,t){var n;if(typeof vscode>"u"){if(localStorage.getItem("ide"),window.postIntellijMessage===void 0)throw console.log("Unable to send message: postIntellijMessage is undefined. ",e,t),new Error("postIntellijMessage is undefined");(n=window.postIntellijMessage)==null||n.call(window,e,t);return}vscode.postMessage({type:e,...t})}function rl(e,t,n=0){try{ade(e,t)}catch(r){n<5?(console.log(`Attempt ${n} failed. Retrying...`),setTimeout(()=>rl(e,t,n+1),Math.pow(2,n)*1e3)):console.error("Max attempts reached. Message could not be sent.",r)}}const ode={};var zb=function(e,t){return zb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},zb(e,t)};function Xp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");zb(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var en=function(){return en=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]"u"&&require("cross-fetch/polyfill"),c=new URL(i,this.url),a&&(p=new URLSearchParams,Object.keys(a).filter(function(w){return a[w]!==null}).map(function(w){return p.set(w,a[w])}),c.search=p.toString()),!((n=u.headers)===null||n===void 0)&&n["Content-Type"]||(o=JSON.stringify(o)),f=en(en({},this.headers),u.headers),y.label=1;case 1:return y.trys.push([1,6,,7]),m=this.httpClient?this.httpClient:fetch,g=m(c.toString(),en(en(en({},u),this.requestConfig),{method:r,body:o,headers:f})),this.httpClient?[4,g]:[3,3];case 2:return[2,y.sent()];case 3:return[4,g.then(function(w){return sde(w)})];case 4:return E=y.sent(),[4,E.json().catch(function(){})];case 5:return b=y.sent(),[2,b];case 6:return T=y.sent(),v=T.stack,lde(T,v,c.toString()),[3,7];case 7:return[2]}})})},e.prototype.get=function(t,n,r){return Ne(this,void 0,void 0,function(){return Oe(this,function(i){switch(i.label){case 0:return[4,this.request({method:"GET",url:t,params:n,config:r})];case 1:return[2,i.sent()]}})})},e.prototype.post=function(t,n,r,i){return Ne(this,void 0,void 0,function(){return Oe(this,function(a){switch(a.label){case 0:return[4,this.request({method:"POST",url:t,body:n,params:r,config:i})];case 1:return[2,a.sent()]}})})},e.prototype.put=function(t,n,r,i){return Ne(this,void 0,void 0,function(){return Oe(this,function(a){switch(a.label){case 0:return[4,this.request({method:"PUT",url:t,body:n,params:r,config:i})];case 1:return[2,a.sent()]}})})},e.prototype.patch=function(t,n,r,i){return Ne(this,void 0,void 0,function(){return Oe(this,function(a){switch(a.label){case 0:return[4,this.request({method:"PATCH",url:t,body:n,params:r,config:i})];case 1:return[2,a.sent()]}})})},e.prototype.delete=function(t,n,r,i){return Ne(this,void 0,void 0,function(){return Oe(this,function(a){switch(a.label){case 0:return[4,this.request({method:"DELETE",url:t,body:n,params:r,config:i})];case 1:return[2,a.sent()]}})})},e}(),Fn=function(){function e(t){this.taskUid=t.taskUid,this.indexUid=t.indexUid,this.status=t.status,this.type=t.type,this.enqueuedAt=new Date(t.enqueuedAt)}return e}(),Rk=function(){function e(t){this.indexUid=t.indexUid,this.status=t.status,this.type=t.type,this.uid=t.uid,this.details=t.details,this.canceledBy=t.canceledBy,this.error=t.error,this.duration=t.duration,this.startedAt=new Date(t.startedAt),this.enqueuedAt=new Date(t.enqueuedAt),this.finishedAt=new Date(t.finishedAt)}return e}(),HM=function(){function e(t){this.httpRequest=new bg(t)}return e.prototype.getTask=function(t){return Ne(this,void 0,void 0,function(){var n,r;return Oe(this,function(i){switch(i.label){case 0:return n="tasks/".concat(t),[4,this.httpRequest.get(n)];case 1:return r=i.sent(),[2,new Rk(r)]}})})},e.prototype.getTasks=function(t){return t===void 0&&(t={}),Ne(this,void 0,void 0,function(){var n,r;return Oe(this,function(i){switch(i.label){case 0:return n="tasks",[4,this.httpRequest.get(n,H3(t))];case 1:return r=i.sent(),[2,en(en({},r),{results:r.results.map(function(a){return new Rk(a)})})]}})})},e.prototype.waitForTask=function(t,n){var r=n===void 0?{}:n,i=r.timeOutMs,a=i===void 0?5e3:i,o=r.intervalMs,s=o===void 0?50:o;return Ne(this,void 0,void 0,function(){var u,c;return Oe(this,function(p){switch(p.label){case 0:u=Date.now(),p.label=1;case 1:return Date.now()-u"u"?this.tokens.generateTenantToken(n,r,i):e.prototype.generateTenantToken.call(this,n,r,i)},t}(Ede);function Pa(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:c7(e)?2:d7(e)?3:0}function B1(e,t){return bc(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ade(e,t){return bc(e)===2?e.get(t):e[t]}function GM(e,t,n){var r=bc(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function VM(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function c7(e){return Nde&&e instanceof Map}function d7(e){return Ode&&e instanceof Set}function Vl(e){return e.o||e.t}function p7(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=qM(e);delete t[Cn];for(var n=U1(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=Cde),Object.freeze(e),t&&mu(e,function(n,r){return f7(r,!0)},!0)),e}function Cde(){Pa(2)}function h7(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function bo(e){var t=Vb[e];return t||Pa(18,e),t}function xde(e,t){Vb[e]||(Vb[e]=t)}function Hb(){return pp}function j3(e,t){t&&(bo("Patches"),e.u=[],e.s=[],e.v=t)}function Eg(e){jb(e),e.p.forEach(kde),e.p=null}function jb(e){e===pp&&(pp=e.l)}function Nk(e){return pp={p:[],l:pp,h:e,m:!0,_:0}}function kde(e){var t=e[Cn];t.i===0||t.i===1?t.j():t.g=!0}function G3(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||bo("ES5").S(t,e,r),r?(n[Cn].P&&(Eg(t),Pa(4)),is(e)&&(e=vg(t,e),t.l||yg(t,e)),t.u&&bo("Patches").M(n[Cn].t,e,t.u,t.s)):e=vg(t,n,[]),Eg(t),t.u&&t.v(t.u,t.s),e!==WM?e:void 0}function vg(e,t,n){if(h7(t))return t;var r=t[Cn];if(!r)return mu(t,function(s,u){return Ok(e,r,t,s,u,n)},!0),t;if(r.A!==e)return t;if(!r.P)return yg(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=p7(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),mu(a,function(s,u){return Ok(e,r,i,s,u,n,o)}),yg(e,i,!1),n&&e.u&&bo("Patches").N(r,n,e.u,e.s)}return r.o}function Ok(e,t,n,r,i,a,o){if(pl(i)){var s=vg(e,i,a&&t&&t.i!==3&&!B1(t.R,r)?a.concat(r):void 0);if(GM(n,r,s),!pl(s))return;e.m=!1}else o&&n.add(i);if(is(i)&&!h7(i)){if(!e.h.D&&e._<1)return;vg(e,i),t&&t.A.l||yg(e,i)}}function yg(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&f7(t,n)}function V3(e,t){var n=e[Cn];return(n?Vl(n):e)[t]}function Dk(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function $s(e){e.P||(e.P=!0,e.l&&$s(e.l))}function W3(e){e.o||(e.o=p7(e.t))}function Gb(e,t,n){var r=c7(t)?bo("MapSet").F(t,n):d7(t)?bo("MapSet").T(t,n):e.O?function(i,a){var o=Array.isArray(i),s={i:o?1:0,A:a?a.A:Hb(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},u=s,c=fp;o&&(u=[s],c=dd);var p=Proxy.revocable(u,c),f=p.revoke,m=p.proxy;return s.k=m,s.j=f,m}(t,n):bo("ES5").J(t,n);return(n?n.A:Hb()).p.push(r),r}function Ide(e){return pl(e)||Pa(22,e),function t(n){if(!is(n))return n;var r,i=n[Cn],a=bc(n);if(i){if(!i.P&&(i.i<4||!bo("ES5").K(i)))return i.t;i.I=!0,r=Lk(n,a),i.I=!1}else r=Lk(n,a);return mu(r,function(o,s){i&&Ade(i.t,o)===s||GM(r,o,t(s))}),a===3?new Set(r):r}(e)}function Lk(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p7(e)}function Rde(){function e(a,o){var s=i[a];return s?s.enumerable=o:i[a]=s={configurable:!0,enumerable:o,get:function(){var u=this[Cn];return fp.get(u,a)},set:function(u){var c=this[Cn];fp.set(c,a,u)}},s}function t(a){for(var o=a.length-1;o>=0;o--){var s=a[o][Cn];if(!s.P)switch(s.i){case 5:r(s)&&$s(s);break;case 4:n(s)&&$s(s)}}}function n(a){for(var o=a.t,s=a.k,u=U1(s),c=u.length-1;c>=0;c--){var p=u[c];if(p!==Cn){var f=o[p];if(f===void 0&&!B1(o,p))return!0;var m=s[p],g=m&&m[Cn];if(g?g.t!==f:!VM(m,f))return!0}}var E=!!o[Cn];return u.length!==U1(o).length+(E?0:1)}function r(a){var o=a.k;if(o.length!==a.t.length)return!0;var s=Object.getOwnPropertyDescriptor(o,o.length-1);if(s&&!s.get)return!0;for(var u=0;u1?v-1:0),w=1;w1?p-1:0),m=1;m=0;i--){var a=r[i];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}i>-1&&(r=r.slice(i+1));var o=bo("Patches").$;return pl(n)?o(n,r):this.produce(n,function(s){return o(s,r)})},e}(),$i=new Lde,KM=$i.produce;$i.produceWithPatches.bind($i);$i.setAutoFreeze.bind($i);$i.setUseProxies.bind($i);$i.applyPatches.bind($i);$i.createDraft.bind($i);$i.finishDraft.bind($i);function hp(e){"@babel/helpers - typeof";return hp=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},hp(e)}function Mde(e,t){if(hp(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(hp(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fde(e){var t=Mde(e,"string");return hp(t)==="symbol"?t:String(t)}function Pde(e,t,n){return t=Fde(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Uk(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Fr(1));return n(YM)(e,t)}if(typeof e!="function")throw new Error(Fr(2));var i=e,a=t,o=[],s=o,u=!1;function c(){s===o&&(s=o.slice())}function p(){if(u)throw new Error(Fr(3));return a}function f(b){if(typeof b!="function")throw new Error(Fr(4));if(u)throw new Error(Fr(5));var T=!0;return c(),s.push(b),function(){if(T){if(u)throw new Error(Fr(6));T=!1,c();var y=s.indexOf(b);s.splice(y,1),o=null}}}function m(b){if(!Bde(b))throw new Error(Fr(7));if(typeof b.type>"u")throw new Error(Fr(8));if(u)throw new Error(Fr(9));try{u=!0,a=i(a,b)}finally{u=!1}for(var T=o=s,v=0;v"u")throw new Error(Fr(12));if(typeof n(void 0,{type:_g.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Fr(13))})}function $de(e){for(var t=Object.keys(e),n={},r=0;r"u")throw c&&c.type,new Error(Fr(14));f[g]=T,p=p||T!==b}return p=p||a.length!==Object.keys(u).length,p?f:u}}function Tg(){for(var e=arguments.length,t=new Array(e),n=0;n0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]{e.bottomMessage=t.payload},setBottomMessageCloseTimeout:(e,t)=>{e.bottomMessageCloseTimeout&&clearTimeout(e.bottomMessageCloseTimeout),e.bottomMessageCloseTimeout=t.payload},setDialogMessage:(e,t)=>{e.dialogMessage=t.payload},setDialogEntryOn:(e,t)=>{e.dialogEntryOn=t.payload},setShowDialog:(e,t)=>{e.showDialog=t.payload},setDisplayBottomMessageOnBottom:(e,t)=>{e.displayBottomMessageOnBottom=t.payload}}}),{setBottomMessage:au,setBottomMessageCloseTimeout:Wk,setDialogMessage:X3,setDialogEntryOn:fpe,setShowDialog:Q1,setDisplayBottomMessageOnBottom:hpe}=eF.actions,gpe=eF.reducer;var tF={exports:{}},nF={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -58264,68 +424,7 @@ var tF = { exports: {} }, * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ var J1 = C; -function mpe(e, t) { - return (e === t && (e !== 0 || 1 / e === 1 / t)) || (e !== e && t !== t); -} -var bpe = typeof Object.is == "function" ? Object.is : mpe, - Epe = J1.useState, - vpe = J1.useEffect, - ype = J1.useLayoutEffect, - _pe = J1.useDebugValue; -function Tpe(e, t) { - var n = t(), - r = Epe({ inst: { value: n, getSnapshot: t } }), - i = r[0].inst, - a = r[1]; - return ( - ype( - function () { - (i.value = n), (i.getSnapshot = t), Z3(i) && a({ inst: i }); - }, - [e, n, t] - ), - vpe( - function () { - return ( - Z3(i) && a({ inst: i }), - e(function () { - Z3(i) && a({ inst: i }); - }) - ); - }, - [e] - ), - _pe(n), - n - ); -} -function Z3(e) { - var t = e.getSnapshot; - e = e.value; - try { - var n = t(); - return !bpe(e, n); - } catch { - return !0; - } -} -function Spe(e, t) { - return t(); -} -var wpe = - typeof window > "u" || - typeof window.document > "u" || - typeof window.document.createElement > "u" - ? Spe - : Tpe; -nF.useSyncExternalStore = - J1.useSyncExternalStore !== void 0 ? J1.useSyncExternalStore : wpe; -tF.exports = nF; -var Ape = tF.exports, - rF = { exports: {} }, - iF = {}; -/** + */var J1=C;function mpe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var bpe=typeof Object.is=="function"?Object.is:mpe,Epe=J1.useState,vpe=J1.useEffect,ype=J1.useLayoutEffect,_pe=J1.useDebugValue;function Tpe(e,t){var n=t(),r=Epe({inst:{value:n,getSnapshot:t}}),i=r[0].inst,a=r[1];return ype(function(){i.value=n,i.getSnapshot=t,Z3(i)&&a({inst:i})},[e,n,t]),vpe(function(){return Z3(i)&&a({inst:i}),e(function(){Z3(i)&&a({inst:i})})},[e]),_pe(n),n}function Z3(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!bpe(e,n)}catch{return!0}}function Spe(e,t){return t()}var wpe=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Spe:Tpe;nF.useSyncExternalStore=J1.useSyncExternalStore!==void 0?J1.useSyncExternalStore:wpe;tF.exports=nF;var Ape=tF.exports,rF={exports:{}},iF={};/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -58333,252 +432,7 @@ var Ape = tF.exports, * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ var om = C, - Cpe = Ape; -function xpe(e, t) { - return (e === t && (e !== 0 || 1 / e === 1 / t)) || (e !== e && t !== t); -} -var kpe = typeof Object.is == "function" ? Object.is : xpe, - Ipe = Cpe.useSyncExternalStore, - Rpe = om.useRef, - Npe = om.useEffect, - Ope = om.useMemo, - Dpe = om.useDebugValue; -iF.useSyncExternalStoreWithSelector = function (e, t, n, r, i) { - var a = Rpe(null); - if (a.current === null) { - var o = { hasValue: !1, value: null }; - a.current = o; - } else o = a.current; - a = Ope( - function () { - function u(g) { - if (!c) { - if (((c = !0), (p = g), (g = r(g)), i !== void 0 && o.hasValue)) { - var E = o.value; - if (i(E, g)) return (f = E); - } - return (f = g); - } - if (((E = f), kpe(p, g))) return E; - var b = r(g); - return i !== void 0 && i(E, b) ? E : ((p = g), (f = b)); - } - var c = !1, - p, - f, - m = n === void 0 ? null : n; - return [ - function () { - return u(t()); - }, - m === null - ? void 0 - : function () { - return u(m()); - }, - ]; - }, - [t, n, r, i] - ); - var s = Ipe(e, a[0], a[1]); - return ( - Npe( - function () { - (o.hasValue = !0), (o.value = s); - }, - [s] - ), - Dpe(s), - s - ); -}; -rF.exports = iF; -var Lpe = rF.exports; -function Mpe(e) { - e(); -} -let aF = Mpe; -const Fpe = (e) => (aF = e), - Ppe = () => aF, - qk = Symbol.for("react-redux-context"), - Kk = typeof globalThis < "u" ? globalThis : {}; -function Bpe() { - var e; - if (!C.createContext) return {}; - const t = (e = Kk[qk]) != null ? e : (Kk[qk] = new Map()); - let n = t.get(C.createContext); - return n || ((n = C.createContext(null)), t.set(C.createContext, n)), n; -} -const fl = Bpe(); -function b7(e = fl) { - return function () { - return C.useContext(e); - }; -} -const oF = b7(), - Upe = () => { - throw new Error("uSES not initialized!"); - }; -let sF = Upe; -const $pe = (e) => { - sF = e; - }, - zpe = (e, t) => e === t; -function Hpe(e = fl) { - const t = e === fl ? oF : b7(e); - return function (r, i = {}) { - const { - equalityFn: a = zpe, - stabilityCheck: o = void 0, - noopCheck: s = void 0, - } = typeof i == "function" ? { equalityFn: i } : i, - { - store: u, - subscription: c, - getServerState: p, - stabilityCheck: f, - noopCheck: m, - } = t(); - C.useRef(!0); - const g = C.useCallback( - { - [r.name](b) { - return r(b); - }, - }[r.name], - [r, f, o] - ), - E = sF(c.addNestedSub, u.getState, p || u.getState, g, a); - return C.useDebugValue(E), E; - }; -} -const zt = Hpe(); -function jpe() { - const e = Ppe(); - let t = null, - n = null; - return { - clear() { - (t = null), (n = null); - }, - notify() { - e(() => { - let r = t; - for (; r; ) r.callback(), (r = r.next); - }); - }, - get() { - let r = [], - i = t; - for (; i; ) r.push(i), (i = i.next); - return r; - }, - subscribe(r) { - let i = !0, - a = (n = { callback: r, next: null, prev: n }); - return ( - a.prev ? (a.prev.next = a) : (t = a), - function () { - !i || - t === null || - ((i = !1), - a.next ? (a.next.prev = a.prev) : (n = a.prev), - a.prev ? (a.prev.next = a.next) : (t = a.next)); - } - ); - }, - }; -} -const Yk = { notify() {}, get: () => [] }; -function Gpe(e, t) { - let n, - r = Yk; - function i(f) { - return u(), r.subscribe(f); - } - function a() { - r.notify(); - } - function o() { - p.onStateChange && p.onStateChange(); - } - function s() { - return !!n; - } - function u() { - n || ((n = t ? t.addNestedSub(o) : e.subscribe(o)), (r = jpe())); - } - function c() { - n && (n(), (n = void 0), r.clear(), (r = Yk)); - } - const p = { - addNestedSub: i, - notifyNestedSubs: a, - handleChangeWrapper: o, - isSubscribed: s, - trySubscribe: u, - tryUnsubscribe: c, - getListeners: () => r, - }; - return p; -} -const Vpe = - typeof window < "u" && - typeof window.document < "u" && - typeof window.document.createElement < "u", - Wpe = Vpe ? C.useLayoutEffect : C.useEffect; -function qpe({ - store: e, - context: t, - children: n, - serverState: r, - stabilityCheck: i = "once", - noopCheck: a = "once", -}) { - const o = C.useMemo(() => { - const c = Gpe(e); - return { - store: e, - subscription: c, - getServerState: r ? () => r : void 0, - stabilityCheck: i, - noopCheck: a, - }; - }, [e, r, i, a]), - s = C.useMemo(() => e.getState(), [e]); - Wpe(() => { - const { subscription: c } = o; - return ( - (c.onStateChange = c.notifyNestedSubs), - c.trySubscribe(), - s !== e.getState() && c.notifyNestedSubs(), - () => { - c.tryUnsubscribe(), (c.onStateChange = void 0); - } - ); - }, [o, s]); - const u = t || fl; - return C.createElement(u.Provider, { value: o }, n); -} -function lF(e = fl) { - const t = e === fl ? oF : b7(e); - return function () { - const { store: r } = t(); - return r; - }; -} -const Kpe = lF(); -function Ype(e = fl) { - const t = e === fl ? Kpe : lF(e); - return function () { - return t().dispatch; - }; -} -const us = Ype(); -$pe(Lpe.useSyncExternalStoreWithSelector); -Fpe(yE.unstable_batchedUpdates); -const Xpe = He(op)` + */var om=C,Cpe=Ape;function xpe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kpe=typeof Object.is=="function"?Object.is:xpe,Ipe=Cpe.useSyncExternalStore,Rpe=om.useRef,Npe=om.useEffect,Ope=om.useMemo,Dpe=om.useDebugValue;iF.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var a=Rpe(null);if(a.current===null){var o={hasValue:!1,value:null};a.current=o}else o=a.current;a=Ope(function(){function u(g){if(!c){if(c=!0,p=g,g=r(g),i!==void 0&&o.hasValue){var E=o.value;if(i(E,g))return f=E}return f=g}if(E=f,kpe(p,g))return E;var b=r(g);return i!==void 0&&i(E,b)?E:(p=g,f=b)}var c=!1,p,f,m=n===void 0?null:n;return[function(){return u(t())},m===null?void 0:function(){return u(m())}]},[t,n,r,i]);var s=Ipe(e,a[0],a[1]);return Npe(function(){o.hasValue=!0,o.value=s},[s]),Dpe(s),s};rF.exports=iF;var Lpe=rF.exports;function Mpe(e){e()}let aF=Mpe;const Fpe=e=>aF=e,Ppe=()=>aF,qk=Symbol.for("react-redux-context"),Kk=typeof globalThis<"u"?globalThis:{};function Bpe(){var e;if(!C.createContext)return{};const t=(e=Kk[qk])!=null?e:Kk[qk]=new Map;let n=t.get(C.createContext);return n||(n=C.createContext(null),t.set(C.createContext,n)),n}const fl=Bpe();function b7(e=fl){return function(){return C.useContext(e)}}const oF=b7(),Upe=()=>{throw new Error("uSES not initialized!")};let sF=Upe;const $pe=e=>{sF=e},zpe=(e,t)=>e===t;function Hpe(e=fl){const t=e===fl?oF:b7(e);return function(r,i={}){const{equalityFn:a=zpe,stabilityCheck:o=void 0,noopCheck:s=void 0}=typeof i=="function"?{equalityFn:i}:i,{store:u,subscription:c,getServerState:p,stabilityCheck:f,noopCheck:m}=t();C.useRef(!0);const g=C.useCallback({[r.name](b){return r(b)}}[r.name],[r,f,o]),E=sF(c.addNestedSub,u.getState,p||u.getState,g,a);return C.useDebugValue(E),E}}const zt=Hpe();function jpe(){const e=Ppe();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,a=n={callback:r,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){!i||t===null||(i=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}const Yk={notify(){},get:()=>[]};function Gpe(e,t){let n,r=Yk;function i(f){return u(),r.subscribe(f)}function a(){r.notify()}function o(){p.onStateChange&&p.onStateChange()}function s(){return!!n}function u(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=jpe())}function c(){n&&(n(),n=void 0,r.clear(),r=Yk)}const p={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:s,trySubscribe:u,tryUnsubscribe:c,getListeners:()=>r};return p}const Vpe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Wpe=Vpe?C.useLayoutEffect:C.useEffect;function qpe({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",noopCheck:a="once"}){const o=C.useMemo(()=>{const c=Gpe(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,noopCheck:a}},[e,r,i,a]),s=C.useMemo(()=>e.getState(),[e]);Wpe(()=>{const{subscription:c}=o;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[o,s]);const u=t||fl;return C.createElement(u.Provider,{value:o},n)}function lF(e=fl){const t=e===fl?oF:b7(e);return function(){const{store:r}=t();return r}}const Kpe=lF();function Ype(e=fl){const t=e===fl?Kpe:lF(e);return function(){return t().dispatch}}const us=Ype();$pe(Lpe.useSyncExternalStoreWithSelector);Fpe(yE.unstable_batchedUpdates);const Xpe=He(op)` margin: auto; margin-top: 8px; margin-bottom: 16px; @@ -58586,237 +440,35 @@ const Xpe = He(op)` width: 130px; grid-template-columns: 22px 1fr; align-items: center; - background-color: ${(e) => - `${e.color || "#be1b55"}${e.showStop ? "33" : ""}`}; + background-color: ${e=>`${e.color||"#be1b55"}${e.showStop?"33":""}`}; - opacity: ${(e) => (e.isDisabled ? 0.5 : 1)}; + opacity: ${e=>e.isDisabled?.5:1}; border: 1px solid - ${(e) => (e.showStop ? e.color || "#be1b55" : "transparent")}; + ${e=>e.showStop?e.color||"#be1b55":"transparent"}; - cursor: ${(e) => (e.isDisabled ? "default" : "pointer")}; + cursor: ${e=>e.isDisabled?"default":"pointer"}; &:hover:enabled { - background-color: ${(e) => - `${e.color || "#be1b55"}${e.showStop ? "33" : ""}`}; - ${(e) => - e.isDisabled - ? "cursor: default;" - : ` + background-color: ${e=>`${e.color||"#be1b55"}${e.showStop?"33":""}`}; + ${e=>e.isDisabled?"cursor: default;":` opacity: 0.7; `} } -`; -function Zpe(e) { - const t = zt((i) => i.config.vscMediaUrl), - [n, r] = C.useState(localStorage.getItem("continueButtonColor")); - return ( - C.useEffect(() => { - const i = (a) => { - a.key === "continueButtonColor" && r(a.newValue); - }; - return ( - window.addEventListener("storage", i), - () => window.removeEventListener("storage", i) - ); - }, []), - I.jsx(Xpe, { - showStop: e.showStop, - color: n, - hidden: e.hidden, - style: { fontSize: "10px" }, - className: "m-auto press-start-2p", - onClick: e.disabled ? void 0 : e.onClick, - isDisabled: e.disabled, - children: e.showStop - ? I.jsxs(I.Fragment, { - children: [I.jsx(uX, { width: "18px", height: "18px" }), "STOP"], - }) - : I.jsxs(I.Fragment, { - children: [ - t - ? I.jsx("img", { src: `${t}/play_button.png`, height: "18px" }) - : I.jsx(uD, { width: "18px", height: "18px" }), - "CONTINUE", - ], - }), - }) - ); -} -const Qpe = { - history: { timeline: [], current_index: 3 }, - user_input_queue: [], - active: !1, - slash_commands: [], - adding_highlighted_code: !1, - selected_context_items: [], - config: { system_message: "", temperature: 0.5 }, - }, - uF = Zp({ - name: "serverState", - initialState: Qpe, - reducers: { - setServerState: (e, t) => { - (e.selected_context_items = []), - (e.user_input_queue = []), - (e.slash_commands = []), - Object.assign(e, t.payload); - }, - temporarilyPushToUserInputQueue: (e, t) => { - e.user_input_queue = [...e.user_input_queue, t.payload]; - }, - temporarilyCreateNewUserInput: (e, t) => { - e.history.timeline = [ - ...e.history.timeline, - { - step: { description: t.payload, name: "User Input", hide: !1 }, - depth: 0, - active: !1, - context_used: e.selected_context_items, - }, - ]; - }, - temporarilyClearSession: (e, t) => { - (e.history.timeline = []), - (e.selected_context_items = []), - (e.session_info = { - title: t.payload ? "Loading session..." : "New Session", - session_id: "", - date_created: "", - }); - }, - }, - }), - { - setServerState: Jpe, - temporarilyPushToUserInputQueue: efe, - temporarilyClearSession: sm, - temporarilyCreateNewUserInput: tfe, - } = uF.actions, - nfe = uF.reducer, - cF = Zp({ - name: "misc", - initialState: { - highlightedCode: "", - takenAction: !1, - serverStatusMessage: "Continue Server Starting", - }, - reducers: { - setHighlightedCode: (e, t) => { - e.highlightedCode = t.payload; - }, - setTakenActionTrue: (e, t) => { - e.takenAction = !0; - }, - setServerStatusMessage: (e, t) => { - e.serverStatusMessage = t.payload; - }, - }, - }), - { - setHighlightedCode: rfe, - setTakenActionTrue: pd, - setServerStatusMessage: ife, - } = cF.actions, - afe = cF.reducer, - ofe = (e, t, n) => { - const r = tg(e); - if (r && e.key === "Backspace") { - e.preventDefault(); - const i = e.target.selectionStart, - a = e.target.selectionEnd; - if (i !== a) { - const o = t.slice(0, i) + t.slice(a); - n(o), (e.target.selectionStart = i), (e.target.selectionEnd = i); - } else { - const o = t.lastIndexOf( - ` -`, - i - 1 - ), - s = t.slice(0, o + 1) + t.slice(i); - n(s), - (e.target.selectionStart = o + 1), - (e.target.selectionEnd = o + 1); - } - } else if (r) { - const i = e.target.selectionStart, - a = e.target.selectionEnd; - let o = i, - s = a; - const u = e.shiftKey; - if (e.key === "ArrowLeft") { - const c = t.lastIndexOf( - ` -`, - i - 1 - ); - (o = c === -1 ? 0 : c + 1), (s = u ? a : o); - } else if (e.key === "ArrowRight") { - const c = t.indexOf( - ` -`, - i - ); - (s = c === -1 ? t.length : c), (o = u ? o : s); - } - (e.target.selectionStart = o), - (e.target.selectionEnd = s), - e.preventDefault(); - } - }, - sfe = (e, t, n) => { - const r = e.target.selectionStart, - i = e.target.selectionEnd, - a = tg(e); - if (a && e.key === "Backspace") - if ((e.preventDefault(), r !== i)) { - const o = t.slice(0, r) + t.slice(i); - n(o), (e.target.selectionStart = r), (e.target.selectionEnd = r); - } else { - const o = t.slice(0, r).trimEnd().lastIndexOf(" "), - s = t.slice(0, o + 1) + t.slice(r); - n(s), - console.log(o), - setTimeout(() => { - (e.target.selectionStart = o + 1), (e.target.selectionEnd = o + 1); - }, 10); - } - else if (a && e.key === "c") { - if ((e.preventDefault(), e.stopPropagation(), r !== i)) { - const o = t.slice(r, i); - navigator.clipboard.writeText(o); - } - } else - a && - e.key === "v" && - (e.preventDefault(), - e.stopPropagation(), - navigator.clipboard.readText().then((o) => { - const s = t.slice(0, r) + o + t.slice(i); - n(s); - const u = r + o.length; - setTimeout(() => { - (e.target.selectionStart = u), (e.target.selectionEnd = u); - }, 10); - })); - }, - lfe = "continue_context_items", - ufe = b2` +`;function Zpe(e){const t=zt(i=>i.config.vscMediaUrl),[n,r]=C.useState(localStorage.getItem("continueButtonColor"));return C.useEffect(()=>{const i=a=>{a.key==="continueButtonColor"&&r(a.newValue)};return window.addEventListener("storage",i),()=>window.removeEventListener("storage",i)},[]),I.jsx(Xpe,{showStop:e.showStop,color:n,hidden:e.hidden,style:{fontSize:"10px"},className:"m-auto press-start-2p",onClick:e.disabled?void 0:e.onClick,isDisabled:e.disabled,children:e.showStop?I.jsxs(I.Fragment,{children:[I.jsx(uX,{width:"18px",height:"18px"}),"STOP"]}):I.jsxs(I.Fragment,{children:[t?I.jsx("img",{src:`${t}/play_button.png`,height:"18px"}):I.jsx(uD,{width:"18px",height:"18px"}),"CONTINUE"]})})}const Qpe={history:{timeline:[],current_index:3},user_input_queue:[],active:!1,slash_commands:[],adding_highlighted_code:!1,selected_context_items:[],config:{system_message:"",temperature:.5}},uF=Zp({name:"serverState",initialState:Qpe,reducers:{setServerState:(e,t)=>{e.selected_context_items=[],e.user_input_queue=[],e.slash_commands=[],Object.assign(e,t.payload)},temporarilyPushToUserInputQueue:(e,t)=>{e.user_input_queue=[...e.user_input_queue,t.payload]},temporarilyCreateNewUserInput:(e,t)=>{e.history.timeline=[...e.history.timeline,{step:{description:t.payload,name:"User Input",hide:!1},depth:0,active:!1,context_used:e.selected_context_items}]},temporarilyClearSession:(e,t)=>{e.history.timeline=[],e.selected_context_items=[],e.session_info={title:t.payload?"Loading session...":"New Session",session_id:"",date_created:""}}}}),{setServerState:Jpe,temporarilyPushToUserInputQueue:efe,temporarilyClearSession:sm,temporarilyCreateNewUserInput:tfe}=uF.actions,nfe=uF.reducer,cF=Zp({name:"misc",initialState:{highlightedCode:"",takenAction:!1,serverStatusMessage:"Continue Server Starting"},reducers:{setHighlightedCode:(e,t)=>{e.highlightedCode=t.payload},setTakenActionTrue:(e,t)=>{e.takenAction=!0},setServerStatusMessage:(e,t)=>{e.serverStatusMessage=t.payload}}}),{setHighlightedCode:rfe,setTakenActionTrue:pd,setServerStatusMessage:ife}=cF.actions,afe=cF.reducer,ofe=(e,t,n)=>{const r=tg(e);if(r&&e.key==="Backspace"){e.preventDefault();const i=e.target.selectionStart,a=e.target.selectionEnd;if(i!==a){const o=t.slice(0,i)+t.slice(a);n(o),e.target.selectionStart=i,e.target.selectionEnd=i}else{const o=t.lastIndexOf(` +`,i-1),s=t.slice(0,o+1)+t.slice(i);n(s),e.target.selectionStart=o+1,e.target.selectionEnd=o+1}}else if(r){const i=e.target.selectionStart,a=e.target.selectionEnd;let o=i,s=a;const u=e.shiftKey;if(e.key==="ArrowLeft"){const c=t.lastIndexOf(` +`,i-1);o=c===-1?0:c+1,s=u?a:o}else if(e.key==="ArrowRight"){const c=t.indexOf(` +`,i);s=c===-1?t.length:c,o=u?o:s}e.target.selectionStart=o,e.target.selectionEnd=s,e.preventDefault()}},sfe=(e,t,n)=>{const r=e.target.selectionStart,i=e.target.selectionEnd,a=tg(e);if(a&&e.key==="Backspace")if(e.preventDefault(),r!==i){const o=t.slice(0,r)+t.slice(i);n(o),e.target.selectionStart=r,e.target.selectionEnd=r}else{const o=t.slice(0,r).trimEnd().lastIndexOf(" "),s=t.slice(0,o+1)+t.slice(r);n(s),console.log(o),setTimeout(()=>{e.target.selectionStart=o+1,e.target.selectionEnd=o+1},10)}else if(a&&e.key==="c"){if(e.preventDefault(),e.stopPropagation(),r!==i){const o=t.slice(r,i);navigator.clipboard.writeText(o)}}else a&&e.key==="v"&&(e.preventDefault(),e.stopPropagation(),navigator.clipboard.readText().then(o=>{const s=t.slice(0,r)+o+t.slice(i);n(s);const u=r+o.length;setTimeout(()=>{e.target.selectionStart=u,e.target.selectionEnd=u},10)}))},lfe="continue_context_items",ufe=b2` 0% { background-position: 0px 0; } 100% { background-position: 100em 0; } -`, - cfe = He.div` - border-radius: ${(e) => e.borderRadius || "0"}; +`,cfe=He.div` + border-radius: ${e=>e.borderRadius||"0"}; padding: 1px; - background: ${(e) => - e.borderColor - ? e.borderColor - : `repeating-linear-gradient( + background: ${e=>e.borderColor?e.borderColor:`repeating-linear-gradient( 101.79deg, #1BBE84 0%, #331BBE 16%, @@ -58826,15 +478,14 @@ const Qpe = { #331BBE 85%, #1BBE84 99% )`}; - animation: ${(e) => (e.loading ? ufe : "")} 6s linear infinite; + animation: ${e=>e.loading?ufe:""} 6s linear infinite; background-size: 200% 200%; width: 100%; display: flex; flex-direction: row; align-items: center; margin-top: 8px; -`, - dfe = He.button` +`,dfe=He.button` opacity: 0; background-color: transparent; border: none; @@ -58858,9 +509,7 @@ const Qpe = { opacity: 1; outline: 1px solid ${vt}; } -`, - qb = nr(), - pfe = He.div` +`,qb=nr(),pfe=He.div` padding: 0px; background-color: ${Lt}; border-radius: ${wt}; @@ -58870,8 +519,7 @@ const Qpe = { & div { background-color: ${Lt}; } -`, - ffe = He.p` +`,ffe=He.p` margin: 0; padding: 4px 8px; border-bottom: 1px solid ${vt}; @@ -58879,12 +527,11 @@ const Qpe = { font-size: ${nr()}px; display: flex; align-items: center; -`, - hfe = He.textarea` +`,hfe=He.textarea` resize: none; padding: 8px; - font-size: ${(e) => e.fontSize || qb}px; + font-size: ${e=>e.fontSize||qb}px; font-family: inherit; border-radius: ${wt}; margin: 0; @@ -58894,28 +541,26 @@ const Qpe = { color: ${Ht}; z-index: 1; border: 0.5px solid - ${(e) => (e.inQueryForDynamicProvider ? da : "transparent")}; + ${e=>e.inQueryForDynamicProvider?da:"transparent"}; &:focus { outline: 0.5px solid - ${(e) => (e.inQueryForDynamicProvider ? da : vt)}; + ${e=>e.inQueryForDynamicProvider?da:vt}; border: 0.5px solid transparent; - background-color: ${(e) => (e.inQueryForDynamicProvider ? `${da}22` : Lt)}; + background-color: ${e=>e.inQueryForDynamicProvider?`${da}22`:Lt}; } &::placeholder { color: ${vt}cc; } -`, - gfe = He.div` +`,gfe=He.div` position: absolute; top: 14px; right: 12px; background-color: ${Lt}; border-radius: ${wt}; z-index: 100; -`, - mfe = He.div` +`,mfe=He.div` position: absolute; right: 0px; top: 0px; @@ -58927,15 +572,8 @@ const Qpe = { font-size: 12px; background-color: ${da}; -`, - dF = 300, - bfe = He.ul` - ${(e) => - e.showAbove - ? `transform: translateY(-${e.ulHeightPixels + 8}px);` - : `transform: translateY(${ - (e.isMainInput ? 5 : 4) * (e.fontSize || qb) - (e.isMainInput ? 2 : 4) - }px);`} +`,dF=300,bfe=He.ul` + ${e=>e.showAbove?`transform: translateY(-${e.ulHeightPixels+8}px);`:`transform: translateY(${(e.isMainInput?5:4)*(e.fontSize||qb)-(e.isMainInput?2:4)}px);`} position: absolute; background: ${Kt}; color: ${Ht}; @@ -58945,11 +583,11 @@ const Qpe = { overflow-y: scroll; overflow-x: hidden; padding: 0; - ${({ hidden: e }) => e && "display: none;"} + ${({hidden:e})=>e&&"display: none;"} border-radius: ${wt}; outline: 0.5px solid ${vt}; -ms-overflow-style: none; - font-size: ${(e) => e.fontSize || qb}px; + font-size: ${e=>e.fontSize||qb}px; scrollbar-width: none; /* Firefox */ z-index: 500; @@ -58958,1257 +596,24 @@ const Qpe = { &::-webkit-scrollbar { display: none; } -`, - Xk = He.li` - background-color: ${({ highlighted: e }) => (e ? da + "66" : Lt)}; - ${({ selected: e }) => e && "font-weight: bold;"} +`,Xk=He.li` + background-color: ${({highlighted:e})=>e?da+"66":Lt}; + ${({selected:e})=>e&&"font-weight: bold;"} padding: 0.5rem 0.5rem; display: flex; flex-direction: row; align-items: center; - ${({ isLastItem: e }) => e && "border-bottom: 1px solid gray;"} + ${({isLastItem:e})=>e&&"border-bottom: 1px solid gray;"} cursor: pointer; z-index: 500; -`, - Zk = ut.forwardRef((e, t) => { - var Se, Me, ze, Ke, jt, ue, ye, We, at, Qe; - const n = zt( - (Y) => Y.serverState.meilisearch_url || "http://127.0.0.1:7700" - ), - [r, i] = C.useState(void 0); - C.useEffect(() => { - const Y = new wde({ host: n }); - i(Y); - }, [n]); - const a = C.useContext(Ya), - o = us(), - s = zt((Y) => Y.config.workspacePaths), - u = zt((Y) => Y.serverState.history), - [c, p] = ut.useState([]), - [f, m] = ut.useState(0), - [g, E] = ut.useState([]), - b = ut.useRef(null); - C.useEffect(() => { - b.current && - ((b.current.style.height = "auto"), - (b.current.style.height = - Math.min(b.current.scrollHeight, 300) + "px")); - }, [ - (Se = b.current) == null ? void 0 : Se.scrollHeight, - (Me = b.current) == null ? void 0 : Me.clientHeight, - (ze = b.current) == null ? void 0 : ze.value, - ]); - const [T, v] = C.useState(!1), - [y, w] = C.useState(void 0), - [A, D] = C.useState(void 0), - k = zt((Y) => Y.serverState.slash_commands).map((Y) => ({ - name: `/${Y.name}`, - description: Y.description, - })), - R = zt((Y) => - e.index - ? Y.serverState.history.timeline[e.index].context_used || [] - : Y.serverState.selected_context_items - ), - B = zt((Y) => Y.serverState.history.timeline); - C.useEffect(() => { - T || (w(void 0), D(void 0)); - }, [T]); - const W = zt((Y) => Y.serverState.context_providers), - P = () => { - v(!1), w(void 0), D(void 0), fe.setInputValue("@"); - }; - C.useEffect(() => { - y || - E( - (W == null - ? void 0 - : W.map((Y) => ({ - name: Y.display_title, - description: Y.description, - id: Y.title, - })).sort((Y, se) => (Y.id === "file" ? -1 : 1))) || [] - ); - }, [y]); - const [Q, z] = C.useState(""), - le = C.useCallback( - ({ inputValue: Y, highlightedIndex: se }) => { - var j; - if (!Y) { - E([]), w(void 0), v(!1); - return; - } - if (Q === "" && W != null && W.some(($) => $.display_title === Y)) { - fe.setInputValue(""), z(""); - return; - } - if ( - (z(Y), - A && !Y.startsWith(`@${A.title}`) && D(void 0), - (j = e.onInputValueChange) == null || j.call(e, Y), - Y.endsWith("@") || T) - ) { - const $ = (Y == null ? void 0 : Y.split("@")) || []; - if ($.length > 1) { - v(!0); - const J = $[$.length - 1] || ""; - if (y && !Y.endsWith("@")) { - const be = J.split(" "); - he(y.title, be.length > 1 ? be[1] : "").then((Fe) => { - E(Fe); - }); - } else { - const be = - (W == null - ? void 0 - : W.filter( - (Fe) => - `@${Fe.title}` - .toLowerCase() - .startsWith(Y.toLowerCase()) || - `@${Fe.display_title}` - .toLowerCase() - .startsWith(Y.toLowerCase()) - ) - .map((Fe) => ({ - name: Fe.display_title, - description: Fe.description, - id: Fe.title, - })) - .sort((Fe, De) => (Fe.id === "file" ? -1 : 1))) || []; - E(be), v(!0); - } - return; - } else v(!1), w(void 0); - } - w(void 0), - E( - (k == null - ? void 0 - : k.filter(($) => { - const J = $.name.toLowerCase(), - be = Y.toLowerCase(); - return J.startsWith(be) && J !== be; - })) || [] - ), - (Y.startsWith("/") || Y.startsWith("@")) && o(pd(null)); - }, - [k, T, y, A] - ), - he = async (Y, se) => { - const j = - s && s.length > 0 - ? `workspace_dir IN [ ${s - .map(($) => `"${$}"`) - .join(", ")} ] AND provider_name = '${Y}'` - : void 0; - try { - const $ = await (r == null - ? void 0 - : r.index(lfe).search(se, { filter: j })); - return ( - ($ == null - ? void 0 - : $.hits.map((J) => ({ - name: J.name, - description: J.description, - id: J.id, - content: J.content, - }))) || [] - ); - } catch ($) { - return console.log("Error searching context items", $), []; - } - }, - { getInputProps: de, ...fe } = LM({ - onInputValueChange: le, - items: g, - itemToString(Y) { - return Y ? Y.name : ""; - }, - }); - C.useEffect(() => { - fe.highlightedIndex < 0 && fe.setHighlightedIndex(0); - }, [fe.inputValue]); - const Z = ut.useRef(null), - V = ut.useRef(null), - ce = () => { - var Y; - return ( - (((Y = Z.current) == null ? void 0 : Y.getBoundingClientRect().top) || - Number.MAX_SAFE_INTEGER) > dF - ); - }; - C.useImperativeHandle(t, () => fe, [fe]); - const N = ut.useRef(null), - me = C.useCallback(() => { - var $; - if ((ve(!0), !N.current)) return; - const Y = N.current.querySelectorAll( - `.pill-button-${e.index || "main"}` - ), - se = Array.from(Y), - j = se.findIndex((J) => J === document.activeElement); - if (j === se.length - 1) ($ = b.current) == null || $.focus(); - else if (j !== -1) { - const J = se[(j + 1) % se.length]; - J == null || J.focus(); - } else { - const J = se[0]; - J == null || J.focus(); - } - }, [e.index]); - C.useEffect(() => { - if (b.current) { - const Y = (se) => { - se.key === "Tab" && (se.preventDefault(), me()); - }; - return ( - b.current.addEventListener("keydown", Y), - () => { - var se; - (se = b.current) == null || se.removeEventListener("keydown", Y); - } - ); - } - }, [b.current]), - C.useEffect(() => { - e.value && fe.setInputValue(e.value); - }, [e.value, fe.setInputValue]); - const [oe, O] = C.useState(!1); - C.useLayoutEffect(() => { - V.current && fe.setHighlightedIndex(0); - }, [g, fe.setHighlightedIndex, V.current]); - const [re, Te] = C.useState(!1), - [K, xe] = C.useState(!1); - C.useEffect(() => { - const Y = (j) => { - j.key === "Meta" && Te(!0); - }, - se = (j) => { - j.key === "Meta" && Te(!1); - }; - return ( - window.addEventListener("keydown", Y), - window.addEventListener("keyup", se), - () => { - window.removeEventListener("keydown", Y), - window.removeEventListener("keyup", se); - } - ); - }, []), - C.useEffect(() => { - if (!b.current || !e.isMainInput) return; - e.isMainInput && b.current.focus(); - const Y = (se) => { - var j; - se.data.type === "focusContinueInput" - ? (b.current.focus(), o(pd(null))) - : se.data.type === "focusContinueInputWithEdit" - ? (b.current.focus(), - ((j = b.current) != null && j.value.startsWith("/edit")) || - fe.setInputValue("/edit "), - o(pd(null))) - : se.data.type === "focusContinueInputWithNewSession" && - (o(sm(!1)), a == null || a.loadSession(void 0), o(pd(null))); - }; - return ( - window.addEventListener("message", Y), - () => { - window.removeEventListener("message", Y); - } - ); - }, [b.current, e.isMainInput]); - const ne = ut.useRef(null), - Le = C.useCallback( - (Y, se) => { - e.isMainInput - ? a == null || a.selectContextItem(Y, se) - : e.index && - (a == null || a.selectContextItemAtIndex(Y, se, e.index)); - }, - [a, e.index] - ), - Re = C.useCallback( - (Y) => { - const se = g[fe.highlightedIndex], - j = se == null ? void 0 : se.name, - $ = W.find((J) => J.display_title === j); - if ($) { - if ($.dynamic && $.requires_query) { - D($), - fe.setInputValue(`@${$.title} `), - (Y.nativeEvent.preventDownshiftDefault = !0), - Y.preventDefault(); - return; - } else if ($.dynamic) { - if (!se.id) return; - const J = fe.inputValue.split("@"), - be = J[J.length - 1]; - if ((Le(se.id, be), fe.inputValue.includes("@"))) { - const Fe = W.find((De) => De.title === se.id); - !y && !(Fe != null && Fe.dynamic) - ? (fe.setInputValue(`@${se.id} `), w(Fe)) - : fe.setInputValue(""); - } - fe.setInputValue(""), - v(!1), - w(void 0), - D(void 0), - (Y.nativeEvent.preventDownshiftDefault = !0), - Y.preventDefault(); - return; - } - } else { - if (y && se.id) { - Le(se.id, ""), - fe.setInputValue(""), - v(!1), - w(void 0), - D(void 0), - (Y.nativeEvent.preventDownshiftDefault = !0), - Y.preventDefault(); - return; - } - (Y.nativeEvent.preventDownshiftDefault = !0), Y.preventDefault(); - return; - } - w($), - fe.setInputValue(`@${$.title} `), - (Y.nativeEvent.preventDownshiftDefault = !0), - Y.preventDefault(), - he($.title, "").then((J) => E(J)); - }, - [g, fe.highlightedIndex, W, y, fe.inputValue, Le] - ), - [Xe, Ve] = C.useState(!1), - [dt, ot] = C.useState(!1), - [Ge, pt] = C.useState(void 0), - [U, ie] = C.useState(void 0), - pe = ut.useRef(null), - [ke, ve] = C.useState(!1); - return ( - C.useEffect(() => { - K || ve(!1); - }, [K]), - I.jsxs("div", { - ref: pe, - children: [ - R.length === 0 && - e.isMainInput && - I.jsxs("div", { - style: { - color: vt, - fontSize: "10px", - backgroundColor: Kt, - paddingLeft: "12px", - paddingTop: nr(), - width: "calc(100% - 24px)", - }, - children: [ - I.jsx("span", { - onClick: () => { - var Y; - fe.setInputValue("@"), (Y = b.current) == null || Y.focus(); - }, - className: "hover:underline cursor-pointer", - children: "+ Add Context", - }), - (((Ke = fe.inputValue) == null - ? void 0 - : Ke.startsWith("/edit")) || - (K && - re && - ((jt = fe.inputValue) == null ? void 0 : jt.length) > 0)) && - I.jsx("span", { - className: "float-right", - children: "Inserting at cursor", - }), - ], - }), - e.isMainInput || (R.length > 0 && ke) - ? I.jsxs("div", { - className: "px-2 flex gap-2 items-center flex-wrap", - ref: N, - style: { backgroundColor: Kt }, - children: [ - R.length > 0 && - I.jsx("div", { - className: "cursor-pointer", - onClick: (Y) => { - ot((se) => !se); - }, - id: "toggle-context-div", - children: dt - ? I.jsx(TY, { - width: "14px", - height: "14px", - color: vt, - }) - : I.jsx(AY, { - width: "14px", - height: "14px", - color: vt, - }), - }), - I.jsx(dfe, { - className: - R.length > 0 ? `pill-button-${e.index || "main"}` : "", - onClick: () => { - var Y; - a == null || - a.deleteContextWithIds( - R.map((se) => se.description.id), - e.index - ), - (Y = b.current) == null || Y.focus(), - pt(void 0), - ie(void 0); - }, - onKeyDown: (Y) => { - var se; - Y.key === "Backspace" && - (a == null || - a.deleteContextWithIds( - R.map((j) => j.description.id), - e.index - ), - (se = b.current) == null || se.focus(), - pt(void 0), - ie(void 0)); - }, - children: I.jsx(pD, { width: "1.4em", height: "1.4em" }), - }), - (e.isMainInput ? R : B[e.index].context_used || []).map( - (Y, se) => { - var j, $, J, be; - return I.jsx( - rde, - { - areMultipleItems: R.length > 1, - item: Y, - editing: - Y.editing && - (($ = (j = b.current) == null ? void 0 : j.value) == - null - ? void 0 - : $.startsWith("/edit")), - editingAny: - (be = (J = b.current) == null ? void 0 : J.value) == - null - ? void 0 - : be.startsWith("/edit"), - stepIndex: e.index, - index: se, - onDelete: () => { - var Fe; - a == null || - a.deleteContextWithIds( - [Y.description.id], - e.index - ), - (Fe = b.current) == null || Fe.focus(), - ((Y.description.id.item_id === - (U == null - ? void 0 - : U.description.id.item_id) && - (U == null - ? void 0 - : U.description.id.provider_name) === - Y.description.id.provider_name) || - (Y.description.id.item_id === - (Ge == null - ? void 0 - : Ge.description.id.item_id) && - (Ge == null - ? void 0 - : Ge.description.id.provider_name) === - Y.description.id.provider_name)) && - (pt(void 0), ie(void 0)); - }, - onClick: (Fe) => { - Y.description.id.item_id === - (U == null ? void 0 : U.description.id.item_id) && - (U == null - ? void 0 - : U.description.id.provider_name) === - Y.description.id.provider_name - ? ie(void 0) - : ie(Y); - }, - onBlur: () => { - ie(void 0); - }, - toggleViewContent: () => { - pt((Fe) => { - if (!Fe) return Y; - if ( - !( - Fe.description.id.item_id === - Y.description.id.item_id && - Fe.description.id.provider_name === - Y.description.id.provider_name - ) - ) - return Y; - }); - }, - previewing: - Y.description.id.item_id === - (Ge == null - ? void 0 - : Ge.description.id.item_id) && - (Ge == null - ? void 0 - : Ge.description.id.provider_name) === - Y.description.id.provider_name, - focusing: - Y.description.id.item_id === - (U == null ? void 0 : U.description.id.item_id) && - (U == null - ? void 0 - : U.description.id.provider_name) === - Y.description.id.provider_name, - prefixInputWithEdit: (Fe) => { - var De, tt, Je; - !Fe && - (De = b.current) != null && - De.value.startsWith("/edit") && - fe.setInputValue( - (tt = b.current) == null - ? void 0 - : tt.value.replace("/edit ", "") - ), - !fe.inputValue.startsWith("/edit") && - (fe.setInputValue(`/edit ${fe.inputValue}`), - (Je = b.current) == null || Je.focus()); - }, - }, - `${Y.description.id.item_id}${se}` - ); - } - ), - ], - }) - : R.length > 0 && - I.jsxs("div", { - onClick: () => { - var Y; - (Y = b.current) == null || Y.focus(), ve(!0); - }, - style: { - color: vt, - fontSize: "10px", - backgroundColor: Kt, - paddingLeft: "12px", - cursor: "default", - paddingTop: nr(), - width: "fit-content", - }, - children: [ - e.active ? "Using" : "Used", - " ", - R.length, - " ", - "context item", - R.length === 1 ? "" : "s", - ], - }), - Ge && - I.jsx("pre", { - className: "m-0", - children: I.jsx(pg, { - source: `\`\`\`${qA(Ge.description.description)} +`,Zk=ut.forwardRef((e,t)=>{var Se,Me,ze,Ke,jt,ue,ye,We,at,Qe;const n=zt(Y=>Y.serverState.meilisearch_url||"http://127.0.0.1:7700"),[r,i]=C.useState(void 0);C.useEffect(()=>{const Y=new wde({host:n});i(Y)},[n]);const a=C.useContext(Ya),o=us(),s=zt(Y=>Y.config.workspacePaths),u=zt(Y=>Y.serverState.history),[c,p]=ut.useState([]),[f,m]=ut.useState(0),[g,E]=ut.useState([]),b=ut.useRef(null);C.useEffect(()=>{b.current&&(b.current.style.height="auto",b.current.style.height=Math.min(b.current.scrollHeight,300)+"px")},[(Se=b.current)==null?void 0:Se.scrollHeight,(Me=b.current)==null?void 0:Me.clientHeight,(ze=b.current)==null?void 0:ze.value]);const[T,v]=C.useState(!1),[y,w]=C.useState(void 0),[A,D]=C.useState(void 0),k=zt(Y=>Y.serverState.slash_commands).map(Y=>({name:`/${Y.name}`,description:Y.description})),R=zt(Y=>e.index?Y.serverState.history.timeline[e.index].context_used||[]:Y.serverState.selected_context_items),B=zt(Y=>Y.serverState.history.timeline);C.useEffect(()=>{T||(w(void 0),D(void 0))},[T]);const W=zt(Y=>Y.serverState.context_providers),P=()=>{v(!1),w(void 0),D(void 0),fe.setInputValue("@")};C.useEffect(()=>{y||E((W==null?void 0:W.map(Y=>({name:Y.display_title,description:Y.description,id:Y.title})).sort((Y,se)=>Y.id==="file"?-1:1))||[])},[y]);const[Q,z]=C.useState(""),le=C.useCallback(({inputValue:Y,highlightedIndex:se})=>{var j;if(!Y){E([]),w(void 0),v(!1);return}if(Q===""&&(W!=null&&W.some($=>$.display_title===Y))){fe.setInputValue(""),z("");return}if(z(Y),A&&!Y.startsWith(`@${A.title}`)&&D(void 0),(j=e.onInputValueChange)==null||j.call(e,Y),Y.endsWith("@")||T){const $=(Y==null?void 0:Y.split("@"))||[];if($.length>1){v(!0);const J=$[$.length-1]||"";if(y&&!Y.endsWith("@")){const be=J.split(" ");he(y.title,be.length>1?be[1]:"").then(Fe=>{E(Fe)})}else{const be=(W==null?void 0:W.filter(Fe=>`@${Fe.title}`.toLowerCase().startsWith(Y.toLowerCase())||`@${Fe.display_title}`.toLowerCase().startsWith(Y.toLowerCase())).map(Fe=>({name:Fe.display_title,description:Fe.description,id:Fe.title})).sort((Fe,De)=>Fe.id==="file"?-1:1))||[];E(be),v(!0)}return}else v(!1),w(void 0)}w(void 0),E((k==null?void 0:k.filter($=>{const J=$.name.toLowerCase(),be=Y.toLowerCase();return J.startsWith(be)&&J!==be}))||[]),(Y.startsWith("/")||Y.startsWith("@"))&&o(pd(null))},[k,T,y,A]),he=async(Y,se)=>{const j=s&&s.length>0?`workspace_dir IN [ ${s.map($=>`"${$}"`).join(", ")} ] AND provider_name = '${Y}'`:void 0;try{const $=await(r==null?void 0:r.index(lfe).search(se,{filter:j}));return($==null?void 0:$.hits.map(J=>({name:J.name,description:J.description,id:J.id,content:J.content})))||[]}catch($){return console.log("Error searching context items",$),[]}},{getInputProps:de,...fe}=LM({onInputValueChange:le,items:g,itemToString(Y){return Y?Y.name:""}});C.useEffect(()=>{fe.highlightedIndex<0&&fe.setHighlightedIndex(0)},[fe.inputValue]);const Z=ut.useRef(null),V=ut.useRef(null),ce=()=>{var Y;return(((Y=Z.current)==null?void 0:Y.getBoundingClientRect().top)||Number.MAX_SAFE_INTEGER)>dF};C.useImperativeHandle(t,()=>fe,[fe]);const N=ut.useRef(null),me=C.useCallback(()=>{var $;if(ve(!0),!N.current)return;const Y=N.current.querySelectorAll(`.pill-button-${e.index||"main"}`),se=Array.from(Y),j=se.findIndex(J=>J===document.activeElement);if(j===se.length-1)($=b.current)==null||$.focus();else if(j!==-1){const J=se[(j+1)%se.length];J==null||J.focus()}else{const J=se[0];J==null||J.focus()}},[e.index]);C.useEffect(()=>{if(b.current){const Y=se=>{se.key==="Tab"&&(se.preventDefault(),me())};return b.current.addEventListener("keydown",Y),()=>{var se;(se=b.current)==null||se.removeEventListener("keydown",Y)}}},[b.current]),C.useEffect(()=>{e.value&&fe.setInputValue(e.value)},[e.value,fe.setInputValue]);const[oe,O]=C.useState(!1);C.useLayoutEffect(()=>{V.current&&fe.setHighlightedIndex(0)},[g,fe.setHighlightedIndex,V.current]);const[re,Te]=C.useState(!1),[K,xe]=C.useState(!1);C.useEffect(()=>{const Y=j=>{j.key==="Meta"&&Te(!0)},se=j=>{j.key==="Meta"&&Te(!1)};return window.addEventListener("keydown",Y),window.addEventListener("keyup",se),()=>{window.removeEventListener("keydown",Y),window.removeEventListener("keyup",se)}},[]),C.useEffect(()=>{if(!b.current||!e.isMainInput)return;e.isMainInput&&b.current.focus();const Y=se=>{var j;se.data.type==="focusContinueInput"?(b.current.focus(),o(pd(null))):se.data.type==="focusContinueInputWithEdit"?(b.current.focus(),(j=b.current)!=null&&j.value.startsWith("/edit")||fe.setInputValue("/edit "),o(pd(null))):se.data.type==="focusContinueInputWithNewSession"&&(o(sm(!1)),a==null||a.loadSession(void 0),o(pd(null)))};return window.addEventListener("message",Y),()=>{window.removeEventListener("message",Y)}},[b.current,e.isMainInput]);const ne=ut.useRef(null),Le=C.useCallback((Y,se)=>{e.isMainInput?a==null||a.selectContextItem(Y,se):e.index&&(a==null||a.selectContextItemAtIndex(Y,se,e.index))},[a,e.index]),Re=C.useCallback(Y=>{const se=g[fe.highlightedIndex],j=se==null?void 0:se.name,$=W.find(J=>J.display_title===j);if($){if($.dynamic&&$.requires_query){D($),fe.setInputValue(`@${$.title} `),Y.nativeEvent.preventDownshiftDefault=!0,Y.preventDefault();return}else if($.dynamic){if(!se.id)return;const J=fe.inputValue.split("@"),be=J[J.length-1];if(Le(se.id,be),fe.inputValue.includes("@")){const Fe=W.find(De=>De.title===se.id);!y&&!(Fe!=null&&Fe.dynamic)?(fe.setInputValue(`@${se.id} `),w(Fe)):fe.setInputValue("")}fe.setInputValue(""),v(!1),w(void 0),D(void 0),Y.nativeEvent.preventDownshiftDefault=!0,Y.preventDefault();return}}else{if(y&&se.id){Le(se.id,""),fe.setInputValue(""),v(!1),w(void 0),D(void 0),Y.nativeEvent.preventDownshiftDefault=!0,Y.preventDefault();return}Y.nativeEvent.preventDownshiftDefault=!0,Y.preventDefault();return}w($),fe.setInputValue(`@${$.title} `),Y.nativeEvent.preventDownshiftDefault=!0,Y.preventDefault(),he($.title,"").then(J=>E(J))},[g,fe.highlightedIndex,W,y,fe.inputValue,Le]),[Xe,Ve]=C.useState(!1),[dt,ot]=C.useState(!1),[Ge,pt]=C.useState(void 0),[U,ie]=C.useState(void 0),pe=ut.useRef(null),[ke,ve]=C.useState(!1);return C.useEffect(()=>{K||ve(!1)},[K]),I.jsxs("div",{ref:pe,children:[R.length===0&&e.isMainInput&&I.jsxs("div",{style:{color:vt,fontSize:"10px",backgroundColor:Kt,paddingLeft:"12px",paddingTop:nr(),width:"calc(100% - 24px)"},children:[I.jsx("span",{onClick:()=>{var Y;fe.setInputValue("@"),(Y=b.current)==null||Y.focus()},className:"hover:underline cursor-pointer",children:"+ Add Context"}),(((Ke=fe.inputValue)==null?void 0:Ke.startsWith("/edit"))||K&&re&&((jt=fe.inputValue)==null?void 0:jt.length)>0)&&I.jsx("span",{className:"float-right",children:"Inserting at cursor"})]}),e.isMainInput||R.length>0&&ke?I.jsxs("div",{className:"px-2 flex gap-2 items-center flex-wrap",ref:N,style:{backgroundColor:Kt},children:[R.length>0&&I.jsx("div",{className:"cursor-pointer",onClick:Y=>{ot(se=>!se)},id:"toggle-context-div",children:dt?I.jsx(TY,{width:"14px",height:"14px",color:vt}):I.jsx(AY,{width:"14px",height:"14px",color:vt})}),I.jsx(dfe,{className:R.length>0?`pill-button-${e.index||"main"}`:"",onClick:()=>{var Y;a==null||a.deleteContextWithIds(R.map(se=>se.description.id),e.index),(Y=b.current)==null||Y.focus(),pt(void 0),ie(void 0)},onKeyDown:Y=>{var se;Y.key==="Backspace"&&(a==null||a.deleteContextWithIds(R.map(j=>j.description.id),e.index),(se=b.current)==null||se.focus(),pt(void 0),ie(void 0))},children:I.jsx(pD,{width:"1.4em",height:"1.4em"})}),(e.isMainInput?R:B[e.index].context_used||[]).map((Y,se)=>{var j,$,J,be;return I.jsx(rde,{areMultipleItems:R.length>1,item:Y,editing:Y.editing&&(($=(j=b.current)==null?void 0:j.value)==null?void 0:$.startsWith("/edit")),editingAny:(be=(J=b.current)==null?void 0:J.value)==null?void 0:be.startsWith("/edit"),stepIndex:e.index,index:se,onDelete:()=>{var Fe;a==null||a.deleteContextWithIds([Y.description.id],e.index),(Fe=b.current)==null||Fe.focus(),(Y.description.id.item_id===(U==null?void 0:U.description.id.item_id)&&(U==null?void 0:U.description.id.provider_name)===Y.description.id.provider_name||Y.description.id.item_id===(Ge==null?void 0:Ge.description.id.item_id)&&(Ge==null?void 0:Ge.description.id.provider_name)===Y.description.id.provider_name)&&(pt(void 0),ie(void 0))},onClick:Fe=>{Y.description.id.item_id===(U==null?void 0:U.description.id.item_id)&&(U==null?void 0:U.description.id.provider_name)===Y.description.id.provider_name?ie(void 0):ie(Y)},onBlur:()=>{ie(void 0)},toggleViewContent:()=>{pt(Fe=>{if(!Fe)return Y;if(!(Fe.description.id.item_id===Y.description.id.item_id&&Fe.description.id.provider_name===Y.description.id.provider_name))return Y})},previewing:Y.description.id.item_id===(Ge==null?void 0:Ge.description.id.item_id)&&(Ge==null?void 0:Ge.description.id.provider_name)===Y.description.id.provider_name,focusing:Y.description.id.item_id===(U==null?void 0:U.description.id.item_id)&&(U==null?void 0:U.description.id.provider_name)===Y.description.id.provider_name,prefixInputWithEdit:Fe=>{var De,tt,Je;!Fe&&((De=b.current)!=null&&De.value.startsWith("/edit"))&&fe.setInputValue((tt=b.current)==null?void 0:tt.value.replace("/edit ","")),!fe.inputValue.startsWith("/edit")&&(fe.setInputValue(`/edit ${fe.inputValue}`),(Je=b.current)==null||Je.focus())}},`${Y.description.id.item_id}${se}`)})]}):R.length>0&&I.jsxs("div",{onClick:()=>{var Y;(Y=b.current)==null||Y.focus(),ve(!0)},style:{color:vt,fontSize:"10px",backgroundColor:Kt,paddingLeft:"12px",cursor:"default",paddingTop:nr(),width:"fit-content"},children:[e.active?"Using":"Used"," ",R.length," ","context item",R.length===1?"":"s"]}),Ge&&I.jsx("pre",{className:"m-0",children:I.jsx(pg,{source:`\`\`\`${qA(Ge.description.description)} ${Ge.content} -\`\`\``, - maxHeight: 200, - }), - }), - dt && - I.jsx("div", { - children: R.map((Y) => - I.jsxs(pfe, { - children: [ - I.jsxs(ffe, { - children: [ - I.jsx($b, { - height: "20px", - width: "20px", - filename: Y.description.name, - }), - Y.description.description, - ], - }), - I.jsx("pre", { - className: "m-0", - children: I.jsx(pg, { - source: `\`\`\`${qA(Y.description.description)} +\`\`\``,maxHeight:200})}),dt&&I.jsx("div",{children:R.map(Y=>I.jsxs(pfe,{children:[I.jsxs(ffe,{children:[I.jsx($b,{height:"20px",width:"20px",filename:Y.description.name}),Y.description.description]}),I.jsx("pre",{className:"m-0",children:I.jsx(pg,{source:`\`\`\`${qA(Y.description.description)} ${Y.content} -\`\`\``, - maxHeight: 200, - }), - }), - ], - }) - ), - }), - I.jsxs("div", { - className: "flex px-2 relative", - style: { backgroundColor: Kt }, - ref: Z, - children: [ - I.jsxs(cfe, { - loading: e.active || !1, - isFirst: !1, - isLast: !1, - borderColor: e.active ? void 0 : Kt, - borderRadius: wt, - children: [ - I.jsx(hfe, { - onClick: () => { - var Y; - (Y = b.current) == null || Y.focus(); - }, - onMouseEnter: () => O(!0), - onMouseLeave: (Y) => { - var se; - Y.relatedTarget === ne.current || - ((se = ne.current) != null && - se.contains(Y.relatedTarget)) || - O(!1); - }, - rows: e.isMainInput ? void 0 : 1, - inQueryForDynamicProvider: typeof A < "u", - fontSize: nr(), - disabled: e.disabled, - placeholder: - "Ask a question, '/' for slash commands, '@' to add context", - ...de({ - onCompositionStart: () => Ve(!0), - onCompositionEnd: () => Ve(!1), - onChange: (Y) => {}, - onFocus: (Y) => { - xe(!0), o(au(void 0)); - }, - onBlur: (Y) => { - var se, j; - ((se = pe.current) != null && - se.contains(Y.relatedTarget)) || - ((j = - document.getElementById("toggle-context-div")) != - null && - j.contains(Y.relatedTarget)) || - xe(!1); - }, - onKeyDown: (Y) => { - var se, j; - if ((o(au(void 0)), Y.key === "Enter" && Y.shiftKey)) - (Y.nativeEvent.preventDownshiftDefault = !0), v(!1); - else if ( - Y.key === "Enter" && - (!fe.isOpen || g.length === 0) && - !Xe - ) { - const $ = fe.inputValue; - if (A) { - const J = $.split("@"); - Le(A.title, J[J.length - 1]), - v(!1), - fe.setInputValue(""); - return; - } else - $ !== "" && (m(c.length + 1), p([...c, $])), - (Y.nativeEvent.preventDownshiftDefault = !0), - e.onEnter && e.onEnter(Y, $); - v(!1); - } else if (Y.key === "Enter" && T) Re(Y); - else if ( - Y.key === "Tab" && - fe.isOpen && - g.length > 0 && - (se = g[fe.highlightedIndex]) != null && - se.name.startsWith("/") - ) - fe.setInputValue(g[0].name), Y.preventDefault(); - else if (Y.key === "Tab") - Y.nativeEvent.preventDownshiftDefault = !0; - else { - if ( - (Y.key === "ArrowUp" || Y.key === "ArrowDown") && - g.length > 0 - ) - return; - if (Y.key === "ArrowUp") { - if ( - f == 0 || - Y.currentTarget.selectionStart !== 0 - ) { - Y.nativeEvent.preventDownshiftDefault = !0; - return; - } else - f == c.length && - (c.length === 0 || - c[c.length - 1] !== Y.currentTarget.value) && - p([...c, Y.currentTarget.value]); - fe.setInputValue(c[f - 1]), m(($) => $ - 1), v(!1); - } else if (Y.key === "ArrowDown") { - if ( - f === c.length || - Y.currentTarget.selectionStart !== - Y.currentTarget.value.length - ) { - Y.nativeEvent.preventDownshiftDefault = !0; - return; - } - f < c.length && fe.setInputValue(c[f + 1]), - m(($) => Math.min($ + 1, c.length)), - v(!1); - } else if (Y.key === "Escape") { - if (y) { - P(), (Y.nativeEvent.preventDownshiftDefault = !0); - return; - } else if (A) { - P(), (Y.nativeEvent.preventDownshiftDefault = !0); - return; - } - v(!1), - fe.isOpen && g.length > 0 - ? (fe.closeMenu(), - (Y.nativeEvent.preventDownshiftDefault = !0)) - : ((Y.nativeEvent.preventDownshiftDefault = !0), - (j = b.current) == null || j.blur(), - rl("focusEditor", {})); - } else - Y.key === "Home" || Y.key === "End" - ? (Y.nativeEvent.preventDownshiftDefault = !0) - : localStorage.getItem("ide") === "jetbrains" && - (_2() === "mac" - ? ofe(Y, fe.inputValue, fe.setInputValue) - : sfe(Y, fe.inputValue, fe.setInputValue)); - } - }, - onClick: () => { - o(au(void 0)); - }, - ref: b, - }), - }), - e.isMainInput || - I.jsx(gfe, { - ref: ne, - children: - oe && - I.jsx("div", { - className: "flex", - children: I.jsxs(I.Fragment, { - children: [ - B.filter((Y, se) => { - var j; - return ( - ((j = e.groupIndices) == null - ? void 0 - : j.includes(se)) && Y.logs - ); - }).some((Y) => Y.logs.length > 0) && - I.jsx(vi, { - onClick: (Y) => { - Y.stopPropagation(), - e.groupIndices && - (a == null || - a.showLogsAtIndex(e.groupIndices[1])); - }, - text: "Inspect Prompt", - children: I.jsx(dY, { - width: "1.3em", - height: "1.3em", - }), - }), - I.jsx(vi, { - onClick: (Y) => { - var se; - Y.stopPropagation(), - e.active && e.groupIndices - ? a == null || - a.deleteAtIndex(e.groupIndices[1]) - : (se = e.onDelete) == null || se.call(e); - }, - text: e.active ? `Stop (${ZK()}⌫)` : "Delete", - children: e.active - ? null - : I.jsx(T2, { - width: "1.4em", - height: "1.4em", - }), - }), - ], - }), - }), - }), - ], - }), - A && - I.jsxs(mfe, { - children: ["Enter ", A.display_title, " Query"], - }), - I.jsxs(bfe, { - ...fe.getMenuProps({ ref: V }), - isMainInput: e.isMainInput, - showAbove: ce(), - ulHeightPixels: - ((ue = V.current) == null - ? void 0 - : ue.getBoundingClientRect().height) || 0, - hidden: - !fe.isOpen || - g.length === 0 || - ((ye = b.current) == null ? void 0 : ye.value) === "", - fontSize: nr(), - children: [ - y && - I.jsxs("div", { - style: { - backgroundColor: Lt, - borderBottom: `0.5px solid ${vt}`, - display: "flex", - gap: "4px", - position: "sticky", - top: "0px", - }, - className: "py-2 px-4 my-0", - children: [ - I.jsx(ac, { - width: "1.4em", - height: "1.4em", - className: "cursor-pointer", - onClick: (Y) => { - var se; - P(), (se = b.current) == null || se.focus(); - }, - }), - y.display_title, - " -", - " ", - y.description, - ], - }), - fe.isOpen && - g.map((Y, se) => - I.jsxs( - Xk, - { - style: { - borderTop: se === 0 ? "none" : `0.5px solid ${vt}`, - }, - ...fe.getItemProps({ item: Y, index: se }), - highlighted: fe.highlightedIndex === se, - selected: fe.selectedItem === Y, - onClick: (j) => { - var $; - Re(j), - j.stopPropagation(), - j.preventDefault(), - ($ = b.current) == null || $.focus(); - }, - children: [ - I.jsxs("span", { - className: - "flex justify-between w-full items-center", - children: [ - I.jsxs("div", { - className: "flex items-center justify-center", - children: [ - y && - I.jsx($b, { - height: "20px", - width: "20px", - filename: Y.name, - }), - Y.name, - " ", - ], - }), - I.jsx("span", { - style: { - color: vt, - float: "right", - textAlign: "right", - }, - children: Y.description, - }), - ], - }), - (W == null - ? void 0 - : W.filter( - (j) => !j.dynamic || j.requires_query - ).find((j) => j.title === Y.id)) && - I.jsx(lY, { - width: "1.2em", - height: "1.2em", - color: vt, - className: "ml-2 flex-shrink-0", - }), - ], - }, - `${Y.name}${se}` - ) - ), - fe.isOpen && - g.length === 0 && - I.jsx( - Xk, - { - highlighted: !1, - selected: !1, - isLastItem: !1, - children: I.jsx("span", { - style: { - color: vt, - float: "right", - textAlign: "right", - display: "flex", - width: "100%", - cursor: "default", - }, - children: "No items found", - }), - }, - "empty-items-li" - ), - ], - }), - ], - }), - e.isMainInput && - I.jsx(Zpe, { - disabled: - !((We = b.current) != null && We.value) && - !( - typeof (u == null ? void 0 : u.current_index) < "u" && - (at = u.timeline[u.current_index]) != null && - at.active - ), - onClick: () => { - var Y, se; - typeof (u == null ? void 0 : u.current_index) < "u" && - (Y = u.timeline[u.current_index]) != null && - Y.active - ? a == null || a.deleteAtIndex(u.current_index) - : (se = e.onEnter) == null || se.call(e, void 0); - }, - showStop: - (typeof (u == null ? void 0 : u.current_index) < "u" && - ((Qe = u.timeline[u.current_index]) == null - ? void 0 - : Qe.active)) || - !1, - }), - ], - }) - ); - }); -function Qk(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var r = Object.getOwnPropertySymbols(e); - t && - (r = r.filter(function (i) { - return Object.getOwnPropertyDescriptor(e, i).enumerable; - })), - n.push.apply(n, r); - } - return n; -} -function yt(e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t] != null ? arguments[t] : {}; - t % 2 - ? Qk(Object(n), !0).forEach(function (r) { - ct(e, r, n[r]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : Qk(Object(n)).forEach(function (r) { - Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r)); - }); - } - return e; -} -function ol(e) { - return ( - (ol = - 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; - }), - ol(e) - ); -} -function Bn(e, t) { - if (!(e instanceof t)) - throw new TypeError("Cannot call a class as a function"); -} -function Jk(e, t) { - for (var n = 0; n < t.length; n++) { - var r = t[n]; - (r.enumerable = r.enumerable || !1), - (r.configurable = !0), - "value" in r && (r.writable = !0), - Object.defineProperty(e, r.key, r); - } -} -function Un(e, t, n) { - return ( - t && Jk(e.prototype, t), - n && Jk(e, n), - Object.defineProperty(e, "prototype", { writable: !1 }), - e - ); -} -function ct(e, t, n) { - return ( - t in e - ? Object.defineProperty(e, t, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (e[t] = n), - e - ); -} -function pF(e, t) { - if (typeof t != "function" && t !== null) - throw new TypeError("Super expression must either be null or a function"); - (e.prototype = Object.create(t && t.prototype, { - constructor: { value: e, writable: !0, configurable: !0 }, - })), - Object.defineProperty(e, "prototype", { writable: !1 }), - t && Kb(e, t); -} -function Sg(e) { - return ( - (Sg = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function (t) { - return t.__proto__ || Object.getPrototypeOf(t); - }), - Sg(e) - ); -} -function Kb(e, t) { - return ( - (Kb = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function (n, r) { - return (n.__proto__ = r), n; - }), - Kb(e, t) - ); -} -function Efe(e, t) { - if (e == null) return {}; - var n, - r, - i = (function (o, s) { - if (o == null) return {}; - var u, - c, - p = {}, - f = Object.keys(o); - for (c = 0; c < f.length; c++) - (u = f[c]), s.indexOf(u) >= 0 || (p[u] = o[u]); - return p; - })(e, t); - if (Object.getOwnPropertySymbols) { - var a = Object.getOwnPropertySymbols(e); - for (r = 0; r < a.length; r++) - (n = a[r]), - t.indexOf(n) >= 0 || - (Object.prototype.propertyIsEnumerable.call(e, n) && (i[n] = e[n])); - } - return i; -} -function vfe(e, t) { - if (t && (typeof t == "object" || typeof t == "function")) return t; - if (t !== void 0) - throw new TypeError( - "Derived constructors may only return object or undefined" - ); - return (function (n) { - if (n === void 0) - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called" - ); - return n; - })(e); -} -function fF(e) { - var t = (function () { - if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) - return !1; - if (typeof Proxy == "function") return !0; - try { - return ( - Boolean.prototype.valueOf.call( - Reflect.construct(Boolean, [], function () {}) - ), - !0 - ); - } catch { - return !1; - } - })(); - return function () { - var n, - r = Sg(e); - if (t) { - var i = Sg(this).constructor; - n = Reflect.construct(r, arguments, i); - } else n = r.apply(this, arguments); - return vfe(this, n); - }; -} -function yo(e, t) { - return ( - (function (n) { - if (Array.isArray(n)) return n; - })(e) || - (function (n, r) { - var i = - n == null - ? null - : (typeof Symbol < "u" && n[Symbol.iterator]) || n["@@iterator"]; - if (i != null) { - var a, - o, - s = [], - u = !0, - c = !1; - try { - for ( - i = i.call(n); - !(u = (a = i.next()).done) && - (s.push(a.value), !r || s.length !== r); - u = !0 - ); - } catch (p) { - (c = !0), (o = p); - } finally { - try { - u || i.return == null || i.return(); - } finally { - if (c) throw o; - } - } - return s; - } - })(e, t) || - E7(e, t) || - (function () { - throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - })() - ); -} -function Yb(e) { - return ( - (function (t) { - if (Array.isArray(t)) return Xb(t); - })(e) || - (function (t) { - if ( - (typeof Symbol < "u" && t[Symbol.iterator] != null) || - t["@@iterator"] != null - ) - return Array.from(t); - })(e) || - E7(e) || - (function () { - throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - })() - ); -} -function E7(e, t) { - if (e) { - if (typeof e == "string") return Xb(e, t); - var n = Object.prototype.toString.call(e).slice(8, -1); - return ( - n === "Object" && e.constructor && (n = e.constructor.name), - n === "Map" || n === "Set" - ? Array.from(e) - : n === "Arguments" || - /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ? Xb(e, t) - : void 0 - ); - } -} -function Xb(e, t) { - (t == null || t > e.length) && (t = e.length); - for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; - return r; -} -function as(e, t) { - var n = (typeof Symbol < "u" && e[Symbol.iterator]) || e["@@iterator"]; - if (!n) { - if ( - Array.isArray(e) || - (n = E7(e)) || - (t && e && typeof e.length == "number") - ) { - n && (e = n); - var r = 0, - i = function () {}; - return { - s: i, - n: function () { - return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] }; - }, - e: function (u) { - throw u; - }, - f: i, - }; - } - throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - } - var a, - o = !0, - s = !1; - return { - s: function () { - n = n.call(e); - }, - n: function () { - var u = n.next(); - return (o = u.done), u; - }, - e: function (u) { - (s = !0), (a = u); - }, - f: function () { - try { - o || n.return == null || n.return(); - } finally { - if (s) throw a; - } - }, - }; -} -var fa = { DEBUG: !1, LIB_VERSION: "1.75.2" }; -/** +\`\`\``,maxHeight:200})})]}))}),I.jsxs("div",{className:"flex px-2 relative",style:{backgroundColor:Kt},ref:Z,children:[I.jsxs(cfe,{loading:e.active||!1,isFirst:!1,isLast:!1,borderColor:e.active?void 0:Kt,borderRadius:wt,children:[I.jsx(hfe,{onClick:()=>{var Y;(Y=b.current)==null||Y.focus()},onMouseEnter:()=>O(!0),onMouseLeave:Y=>{var se;Y.relatedTarget===ne.current||(se=ne.current)!=null&&se.contains(Y.relatedTarget)||O(!1)},rows:e.isMainInput?void 0:1,inQueryForDynamicProvider:typeof A<"u",fontSize:nr(),disabled:e.disabled,placeholder:"Ask a question, '/' for slash commands, '@' to add context",...de({onCompositionStart:()=>Ve(!0),onCompositionEnd:()=>Ve(!1),onChange:Y=>{},onFocus:Y=>{xe(!0),o(au(void 0))},onBlur:Y=>{var se,j;(se=pe.current)!=null&&se.contains(Y.relatedTarget)||(j=document.getElementById("toggle-context-div"))!=null&&j.contains(Y.relatedTarget)||xe(!1)},onKeyDown:Y=>{var se,j;if(o(au(void 0)),Y.key==="Enter"&&Y.shiftKey)Y.nativeEvent.preventDownshiftDefault=!0,v(!1);else if(Y.key==="Enter"&&(!fe.isOpen||g.length===0)&&!Xe){const $=fe.inputValue;if(A){const J=$.split("@");Le(A.title,J[J.length-1]),v(!1),fe.setInputValue("");return}else $!==""&&(m(c.length+1),p([...c,$])),Y.nativeEvent.preventDownshiftDefault=!0,e.onEnter&&e.onEnter(Y,$);v(!1)}else if(Y.key==="Enter"&&T)Re(Y);else if(Y.key==="Tab"&&fe.isOpen&&g.length>0&&((se=g[fe.highlightedIndex])!=null&&se.name.startsWith("/")))fe.setInputValue(g[0].name),Y.preventDefault();else if(Y.key==="Tab")Y.nativeEvent.preventDownshiftDefault=!0;else{if((Y.key==="ArrowUp"||Y.key==="ArrowDown")&&g.length>0)return;if(Y.key==="ArrowUp"){if(f==0||Y.currentTarget.selectionStart!==0){Y.nativeEvent.preventDownshiftDefault=!0;return}else f==c.length&&(c.length===0||c[c.length-1]!==Y.currentTarget.value)&&p([...c,Y.currentTarget.value]);fe.setInputValue(c[f-1]),m($=>$-1),v(!1)}else if(Y.key==="ArrowDown"){if(f===c.length||Y.currentTarget.selectionStart!==Y.currentTarget.value.length){Y.nativeEvent.preventDownshiftDefault=!0;return}fMath.min($+1,c.length)),v(!1)}else if(Y.key==="Escape"){if(y){P(),Y.nativeEvent.preventDownshiftDefault=!0;return}else if(A){P(),Y.nativeEvent.preventDownshiftDefault=!0;return}v(!1),fe.isOpen&&g.length>0?(fe.closeMenu(),Y.nativeEvent.preventDownshiftDefault=!0):(Y.nativeEvent.preventDownshiftDefault=!0,(j=b.current)==null||j.blur(),rl("focusEditor",{}))}else Y.key==="Home"||Y.key==="End"?Y.nativeEvent.preventDownshiftDefault=!0:localStorage.getItem("ide")==="jetbrains"&&(_2()==="mac"?ofe(Y,fe.inputValue,fe.setInputValue):sfe(Y,fe.inputValue,fe.setInputValue))}},onClick:()=>{o(au(void 0))},ref:b})}),e.isMainInput||I.jsx(gfe,{ref:ne,children:oe&&I.jsx("div",{className:"flex",children:I.jsxs(I.Fragment,{children:[B.filter((Y,se)=>{var j;return((j=e.groupIndices)==null?void 0:j.includes(se))&&Y.logs}).some(Y=>Y.logs.length>0)&&I.jsx(vi,{onClick:Y=>{Y.stopPropagation(),e.groupIndices&&(a==null||a.showLogsAtIndex(e.groupIndices[1]))},text:"Inspect Prompt",children:I.jsx(dY,{width:"1.3em",height:"1.3em"})}),I.jsx(vi,{onClick:Y=>{var se;Y.stopPropagation(),e.active&&e.groupIndices?a==null||a.deleteAtIndex(e.groupIndices[1]):(se=e.onDelete)==null||se.call(e)},text:e.active?`Stop (${ZK()}⌫)`:"Delete",children:e.active?null:I.jsx(T2,{width:"1.4em",height:"1.4em"})})]})})})]}),A&&I.jsxs(mfe,{children:["Enter ",A.display_title," Query"]}),I.jsxs(bfe,{...fe.getMenuProps({ref:V}),isMainInput:e.isMainInput,showAbove:ce(),ulHeightPixels:((ue=V.current)==null?void 0:ue.getBoundingClientRect().height)||0,hidden:!fe.isOpen||g.length===0||((ye=b.current)==null?void 0:ye.value)==="",fontSize:nr(),children:[y&&I.jsxs("div",{style:{backgroundColor:Lt,borderBottom:`0.5px solid ${vt}`,display:"flex",gap:"4px",position:"sticky",top:"0px"},className:"py-2 px-4 my-0",children:[I.jsx(ac,{width:"1.4em",height:"1.4em",className:"cursor-pointer",onClick:Y=>{var se;P(),(se=b.current)==null||se.focus()}}),y.display_title," -"," ",y.description]}),fe.isOpen&&g.map((Y,se)=>I.jsxs(Xk,{style:{borderTop:se===0?"none":`0.5px solid ${vt}`},...fe.getItemProps({item:Y,index:se}),highlighted:fe.highlightedIndex===se,selected:fe.selectedItem===Y,onClick:j=>{var $;Re(j),j.stopPropagation(),j.preventDefault(),($=b.current)==null||$.focus()},children:[I.jsxs("span",{className:"flex justify-between w-full items-center",children:[I.jsxs("div",{className:"flex items-center justify-center",children:[y&&I.jsx($b,{height:"20px",width:"20px",filename:Y.name}),Y.name," "]}),I.jsx("span",{style:{color:vt,float:"right",textAlign:"right"},children:Y.description})]}),(W==null?void 0:W.filter(j=>!j.dynamic||j.requires_query).find(j=>j.title===Y.id))&&I.jsx(lY,{width:"1.2em",height:"1.2em",color:vt,className:"ml-2 flex-shrink-0"})]},`${Y.name}${se}`)),fe.isOpen&&g.length===0&&I.jsx(Xk,{highlighted:!1,selected:!1,isLastItem:!1,children:I.jsx("span",{style:{color:vt,float:"right",textAlign:"right",display:"flex",width:"100%",cursor:"default"},children:"No items found"})},"empty-items-li")]})]}),e.isMainInput&&I.jsx(Zpe,{disabled:!((We=b.current)!=null&&We.value)&&!(typeof(u==null?void 0:u.current_index)<"u"&&((at=u.timeline[u.current_index])!=null&&at.active)),onClick:()=>{var Y,se;typeof(u==null?void 0:u.current_index)<"u"&&((Y=u.timeline[u.current_index])!=null&&Y.active)?a==null||a.deleteAtIndex(u.current_index):(se=e.onEnter)==null||se.call(e,void 0)},showStop:typeof(u==null?void 0:u.current_index)<"u"&&((Qe=u.timeline[u.current_index])==null?void 0:Qe.active)||!1})]})});function Qk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function yt(e){for(var t=1;t=0||(p[u]=o[u]);return p}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function vfe(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(e)}function fF(e){var t=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var n,r=Sg(e);if(t){var i=Sg(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return vfe(this,n)}}function yo(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var a,o,s=[],u=!0,c=!1;try{for(i=i.call(n);!(u=(a=i.next()).done)&&(s.push(a.value),!r||s.length!==r);u=!0);}catch(p){c=!0,o=p}finally{try{u||i.return==null||i.return()}finally{if(c)throw o}}return s}}(e,t)||E7(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Yb(e){return function(t){if(Array.isArray(t))return Xb(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||E7(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function E7(e,t){if(e){if(typeof e=="string")return Xb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xb(e,t):void 0}}function Xb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return o=u.done,u},e:function(u){s=!0,a=u},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}var fa={DEBUG:!1,LIB_VERSION:"1.75.2"};/** * uuidv7: An experimental implementation of the proposed UUID Version 7 * * @license Apache-2.0 @@ -60216,6598 +621,17 @@ var fa = { DEBUG: !1, LIB_VERSION: "1.75.2" }; * @packageDocumentation * * from https://github.com/LiosK/uuidv7/blob/e501462ea3d23241de13192ceae726956f9b3b7d/src/index.ts - */ Math.trunc || - (Math.trunc = function (e) { - return e < 0 ? Math.ceil(e) : Math.floor(e); - }), - Number.isInteger || - (Number.isInteger = function (e) { - return typeof e == "number" && isFinite(e) && Math.floor(e) === e; - }); -var eI = "0123456789abcdef", - yfe = (function () { - function e(t) { - if ((Bn(this, e), (this.bytes = t), t.length !== 16)) - throw new TypeError("not 128-bit length"); - } - return ( - Un( - e, - [ - { - key: "toString", - value: function () { - for (var t = "", n = 0; n < this.bytes.length; n++) - (t = - t + - eI.charAt(this.bytes[n] >>> 4) + - eI.charAt(15 & this.bytes[n])), - (n !== 3 && n !== 5 && n !== 7 && n !== 9) || (t += "-"); - if (t.length !== 36) - throw new Error("Invalid UUIDv7 was generated"); - return t; - }, - }, - { - key: "clone", - value: function () { - return new e(this.bytes.slice(0)); - }, - }, - { - key: "equals", - value: function (t) { - return this.compareTo(t) === 0; - }, - }, - { - key: "compareTo", - value: function (t) { - for (var n = 0; n < 16; n++) { - var r = this.bytes[n] - t.bytes[n]; - if (r !== 0) return Math.sign(r); - } - return 0; - }, - }, - ], - [ - { - key: "fromFieldsV7", - value: function (t, n, r, i) { - if ( - !Number.isInteger(t) || - !Number.isInteger(n) || - !Number.isInteger(r) || - !Number.isInteger(i) || - t < 0 || - n < 0 || - r < 0 || - i < 0 || - t > 0xffffffffffff || - n > 4095 || - r > 1073741823 || - i > 4294967295 - ) - throw new RangeError("invalid field value"); - var a = new Uint8Array(16); - return ( - (a[0] = t / Math.pow(2, 40)), - (a[1] = t / Math.pow(2, 32)), - (a[2] = t / Math.pow(2, 24)), - (a[3] = t / Math.pow(2, 16)), - (a[4] = t / Math.pow(2, 8)), - (a[5] = t), - (a[6] = 112 | (n >>> 8)), - (a[7] = n), - (a[8] = 128 | (r >>> 24)), - (a[9] = r >>> 16), - (a[10] = r >>> 8), - (a[11] = r), - (a[12] = i >>> 24), - (a[13] = i >>> 16), - (a[14] = i >>> 8), - (a[15] = i), - new e(a) - ); - }, - }, - ] - ), - e - ); - })(), - _fe = (function () { - function e() { - Bn(this, e), - ct(this, "timestamp", 0), - ct(this, "counter", 0), - ct(this, "random", new Tfe()); - } - return ( - Un(e, [ - { - key: "generate", - value: function () { - var t = this.generateOrAbort(); - if (t !== void 0) return t; - this.timestamp = 0; - var n = this.generateOrAbort(); - if (n === void 0) - throw new Error("Could not generate UUID after timestamp reset"); - return n; - }, - }, - { - key: "generateOrAbort", - value: function () { - var t = Date.now(); - if (t > this.timestamp) (this.timestamp = t), this.resetCounter(); - else { - if (!(t + 1e4 > this.timestamp)) return; - this.counter++, - this.counter > 4398046511103 && - (this.timestamp++, this.resetCounter()); - } - return yfe.fromFieldsV7( - this.timestamp, - Math.trunc(this.counter / Math.pow(2, 30)), - this.counter & (Math.pow(2, 30) - 1), - this.random.nextUint32() - ); - }, - }, - { - key: "resetCounter", - value: function () { - this.counter = - 1024 * this.random.nextUint32() + - (1023 & this.random.nextUint32()); - }, - }, - ]), - e - ); - })(), - hF = function (e) { - if (typeof UUIDV7_DENY_WEAK_RNG < "u" && UUIDV7_DENY_WEAK_RNG) - throw new Error("no cryptographically strong RNG available"); - for (var t = 0; t < e.length; t++) - e[t] = - 65536 * Math.trunc(65536 * Math.random()) + - Math.trunc(65536 * Math.random()); - return e; - }; -typeof crypto < "u" && - crypto.getRandomValues && - (hF = function (e) { - return crypto.getRandomValues(e); - }); -var tI, - Tfe = (function () { - function e() { - Bn(this, e), - ct(this, "buffer", new Uint32Array(8)), - ct(this, "cursor", 1 / 0); - } - return ( - Un(e, [ - { - key: "nextUint32", - value: function () { - return ( - this.cursor >= this.buffer.length && - (hF(this.buffer), (this.cursor = 0)), - this.buffer[this.cursor++] - ); - }, - }, - ]), - e - ); - })(), - Sfe = function () { - return (tI || (tI = new _fe())).generate(); - }, - gF = Array.prototype, - mF = Object.prototype, - v7 = mF.toString, - wfe = mF.hasOwnProperty, - ht = typeof window < "u" ? window : {}, - Wl = ht.navigator || { userAgent: "" }, - Hn = ht.document || {}, - ra = Wl.userAgent, - Afe = ["localhost", "127.0.0.1"], - nI = gF.forEach, - rI = gF.indexOf, - Cfe = Array.isArray, - y7 = {}, - kn = { - log: function () { - if (fa.DEBUG && !Ua(window.console) && window.console) { - for ( - var e = - ("__rrweb_original__" in window.console.log) - ? window.console.log.__rrweb_original__ - : window.console.log, - t = arguments.length, - n = new Array(t), - r = 0; - r < t; - r++ - ) - n[r] = arguments[r]; - try { - e.apply(window.console, n); - } catch { - Zo(n, function (a) { - e(a); - }); - } - } - }, - error: function () { - if (fa.DEBUG && !Ua(window.console) && window.console) { - for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) - t[n] = arguments[n]; - var r = ["PostHog error:"].concat(t), - i = - "__rrweb_original__" in window.console.error - ? window.console.error.__rrweb_original__ - : window.console.error; - try { - i.apply(window.console, r); - } catch { - Zo(r, function (o) { - i(o); - }); - } - } - }, - critical: function () { - if (!Ua(window.console) && window.console) { - for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) - t[n] = arguments[n]; - var r = ["PostHog error:"].concat(t), - i = - "__rrweb_original__" in window.console.error - ? window.console.error.__rrweb_original__ - : window.console.error; - try { - i.apply(window.console, r); - } catch { - Zo(r, function (o) { - i(o); - }); - } - } - }, - }, - Zb = function (e) { - return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""); - }; -function Zo(e, t, n) { - if (Array.isArray(e)) { - if (nI && e.forEach === nI) e.forEach(t, n); - else if ("length" in e && e.length === +e.length) { - for (var r = 0, i = e.length; r < i; r++) - if (r in e && t.call(n, e[r], r) === y7) return; - } - } -} -function fn(e, t, n) { - if (e != null) { - if (Array.isArray(e)) return Zo(e, t, n); - for (var r in e) if (wfe.call(e, r) && t.call(n, e[r], r) === y7) return; - } -} -var Pr = function (e) { - for ( - var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; - r < t; - r++ - ) - n[r - 1] = arguments[r]; - return ( - Zo(n, function (i) { - for (var a in i) i[a] !== void 0 && (e[a] = i[a]); - }), - e - ); - }, - Wo = - Cfe || - function (e) { - return v7.call(e) === "[object Array]"; - }, - bF = function (e) { - try { - return /^\s*\bfunction\b/.test(e); - } catch { - return !1; - } - }; -function pn(e, t) { - return e.indexOf(t) !== -1; -} -var Qb = function (e) { - return e === Object(e) && !Wo(e); - }, - Ua = function (e) { - return e === void 0; - }, - EF = function (e) { - return v7.call(e) == "[object String]"; - }, - xfe = function (e) { - return v7.call(e) == "[object Number]"; - }, - vF = function () { - return ( - (Date.now = - Date.now || - function () { - return +new Date(); - }), - Date.now() - ); - }, - yF = function (e) { - return function () { - try { - for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++) - n[r] = arguments[r]; - return e.apply(this, n); - } catch (i) { - kn.critical( - "Implementation error. Please turn on debug and contact support@posthog.com." - ), - kn.critical(i); - } - }; - }, - Jb = function (e) { - var t = {}; - return ( - fn(e, function (n, r) { - EF(n) && n.length > 0 && (t[r] = n); - }), - t - ); - }, - kfe = ["$performance_raw"]; -function Ife(e, t) { - return ( - (n = e), - (r = function (a, o) { - return o && kfe.indexOf(o) > -1 - ? a - : typeof a == "string" && t !== null - ? a.slice(0, t) - : a; - }), - (i = new Set()), - (function a(o, s) { - return o !== Object(o) - ? r - ? r(o, s) - : o - : i.has(o) - ? void 0 - : (i.add(o), - Wo(o) - ? ((u = []), - Zo(o, function (c) { - u.push(a(c)); - })) - : ((u = {}), - fn(o, function (c, p) { - i.has(c) || (u[p] = a(c, p)); - })), - u); - var u; - })(n) - ); - var n, r, i; -} -function _7(e) { - var t, - n, - r, - i, - a, - o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", - s = 0, - u = 0, - c = "", - p = []; - if (!e) return e; - e = Rfe(e); - do - (t = - ((a = - (e.charCodeAt(s++) << 16) | - (e.charCodeAt(s++) << 8) | - e.charCodeAt(s++)) >> - 18) & - 63), - (n = (a >> 12) & 63), - (r = (a >> 6) & 63), - (i = 63 & a), - (p[u++] = o.charAt(t) + o.charAt(n) + o.charAt(r) + o.charAt(i)); - while (s < e.length); - switch (((c = p.join("")), e.length % 3)) { - case 1: - c = c.slice(0, -2) + "=="; - break; - case 2: - c = c.slice(0, -1) + "="; - } - return c; -} -var Rfe = function (e) { - var t, - n, - r, - i, - a = ""; - for ( - t = n = 0, - r = (e = (e + "") - .replace( - /\r\n/g, - ` -` - ) - .replace( - /\r/g, - ` -` - )).length, - i = 0; - i < r; - i++ - ) { - var o = e.charCodeAt(i), - s = null; - o < 128 - ? n++ - : (s = - o > 127 && o < 2048 - ? String.fromCharCode((o >> 6) | 192, (63 & o) | 128) - : String.fromCharCode( - (o >> 12) | 224, - ((o >> 6) & 63) | 128, - (63 & o) | 128 - )), - s !== null && - (n > t && (a += e.substring(t, n)), (a += s), (t = n = i + 1)); - } - return n > t && (a += e.substring(t, e.length)), a; - }, - iI = function (e) { - var t = function () { - var n = new Date().valueOf(), - r = 0; - if (ht.performance && ht.performance.now) r = 1e4 * ht.performance.now(); - else for (; n == new Date().valueOf(); ) r++; - return n.toString(16) + Math.floor(r).toString(16); - }; - return function (n) { - if (n === "og" || e === "og") { - var r = - typeof window < "u" - ? (window.screen.height * window.screen.width).toString(16) - : "0"; - return ( - t() + - "-" + - Math.random().toString(16).replace(".", "") + - "-" + - (function () { - var i, - a, - o = ra, - s = 0, - u = []; - function c(p, f) { - var m, - g = 0; - for (m = 0; m < f.length; m++) g |= u[m] << (8 * m); - return p ^ g; - } - for (i = 0; i < o.length; i++) - (a = o.charCodeAt(i)), - u.unshift(255 & a), - u.length >= 4 && ((s = c(s, u)), (u = [])); - return u.length > 0 && (s = c(s, u)), s.toString(16); - })() + - "-" + - r + - "-" + - t() - ); - } - return Sfe().toString(); - }; - }, - Nfe = function (e) { - return !!/(google web preview|baiduspider|yandexbot|bingbot|googlebot|yahoo! slurp|ahrefsbot|facebookexternalhit|facebookcatalog|applebot|semrushbot|duckduckbot|twitterbot|rogerbot|linkedinbot|mj12bot|sitebulb|bot.htm|bot.php|hubspot|crawler|prerender)/i.test( - e - ); - }, - aI = function (e, t) { - var n = t.replace(/[[]/, "\\[").replace(/[\]]/, "\\]"), - r = new RegExp("[\\?&]" + n + "=([^&#]*)").exec(e); - if (r === null || (r && typeof r[1] != "string" && r[1].length)) return ""; - var i = r[1]; - try { - i = decodeURIComponent(i); - } catch { - kn.error("Skipping decoding for malformed query param: " + i); - } - return i.replace(/\+/g, " "); - }, - oI = function (e, t) { - var n = e.match(new RegExp(t + "=([^&]*)")); - return n ? n[1] : null; - }, - Fd = (function () { - function e(t) { - return ( - t && - ((t.preventDefault = e.preventDefault), - (t.stopPropagation = e.stopPropagation)), - t - ); - } - return ( - (e.preventDefault = function () { - this.returnValue = !1; - }), - (e.stopPropagation = function () { - this.cancelBubble = !0; - }), - function (t, n, r, i, a) { - if (t) - if (t.addEventListener && !i) t.addEventListener(n, r, !!a); - else { - var o = "on" + n, - s = t[o]; - t[o] = (function (u, c, p) { - return function (f) { - if ((f = f || e(window.event))) { - var m, - g = !0; - bF(p) && (m = p(f)); - var E = c.call(u, f); - return (m !== !1 && E !== !1) || (g = !1), g; - } - }; - })(t, r, s); - } - else kn.error("No valid element provided to register_event"); - } - ); - })(); -function T7(e, t) { - var n = function () { - var r = Hn.createElement("script"); - (r.type = "text/javascript"), - (r.src = e), - (r.onload = function (o) { - return t(void 0, o); - }), - (r.onerror = function (o) { - return t(o); - }); - var i, - a = Hn.querySelectorAll("body > script"); - a.length > 0 - ? (i = a[0].parentNode) === null || - i === void 0 || - i.insertBefore(r, a[0]) - : Hn.body.appendChild(r); - }; - Hn.body ? n() : Hn.addEventListener("DOMContentLoaded", n); -} -var yr = { - campaignParams: function (e) { - var t = [ - "utm_source", - "utm_medium", - "utm_campaign", - "utm_content", - "utm_term", - "gclid", - "fbclid", - "msclkid", - ].concat(e || []), - n = {}; - return ( - fn(t, function (r) { - var i = aI(Hn.URL, r); - i.length && (n[r] = i); - }), - n - ); - }, - searchEngine: function () { - var e = Hn.referrer; - return e - ? e.search("https?://(.*)google.([^/?]*)") === 0 - ? "google" - : e.search("https?://(.*)bing.com") === 0 - ? "bing" - : e.search("https?://(.*)yahoo.com") === 0 - ? "yahoo" - : e.search("https?://(.*)duckduckgo.com") === 0 - ? "duckduckgo" - : null - : null; - }, - searchInfo: function () { - var e = yr.searchEngine(), - t = e != "yahoo" ? "q" : "p", - n = {}; - if (e !== null) { - n.$search_engine = e; - var r = aI(Hn.referrer, t); - r.length && (n.ph_keyword = r); - } - return n; - }, - browser: function (e, t, n) { - return ( - (t = t || ""), - n || pn(e, " OPR/") - ? pn(e, "Mini") - ? "Opera Mini" - : "Opera" - : /(BlackBerry|PlayBook|BB10)/i.test(e) - ? "BlackBerry" - : pn(e, "IEMobile") || pn(e, "WPDesktop") - ? "Internet Explorer Mobile" - : pn(e, "SamsungBrowser/") - ? "Samsung Internet" - : pn(e, "Edge") || pn(e, "Edg/") - ? "Microsoft Edge" - : pn(e, "FBIOS") - ? "Facebook Mobile" - : pn(e, "Chrome") - ? "Chrome" - : pn(e, "CriOS") - ? "Chrome iOS" - : pn(e, "UCWEB") || pn(e, "UCBrowser") - ? "UC Browser" - : pn(e, "FxiOS") - ? "Firefox iOS" - : pn(t, "Apple") - ? pn(e, "Mobile") - ? "Mobile Safari" - : "Safari" - : pn(e, "Android") - ? "Android Mobile" - : pn(e, "Konqueror") - ? "Konqueror" - : pn(e, "Firefox") - ? "Firefox" - : pn(e, "MSIE") || pn(e, "Trident/") - ? "Internet Explorer" - : pn(e, "Gecko") - ? "Mozilla" - : "" - ); - }, - browserVersion: function (e, t, n) { - var r = { - "Internet Explorer Mobile": /rv:(\d+(\.\d+)?)/, - "Microsoft Edge": /Edge?\/(\d+(\.\d+)?)/, - Chrome: /Chrome\/(\d+(\.\d+)?)/, - "Chrome iOS": /CriOS\/(\d+(\.\d+)?)/, - "UC Browser": /(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/, - Safari: /Version\/(\d+(\.\d+)?)/, - "Mobile Safari": /Version\/(\d+(\.\d+)?)/, - Opera: /(Opera|OPR)\/(\d+(\.\d+)?)/, - Firefox: /Firefox\/(\d+(\.\d+)?)/, - "Firefox iOS": /FxiOS\/(\d+(\.\d+)?)/, - Konqueror: /Konqueror:(\d+(\.\d+)?)/, - BlackBerry: /BlackBerry (\d+(\.\d+)?)/, - "Android Mobile": /android\s(\d+(\.\d+)?)/, - "Samsung Internet": /SamsungBrowser\/(\d+(\.\d+)?)/, - "Internet Explorer": /(rv:|MSIE )(\d+(\.\d+)?)/, - Mozilla: /rv:(\d+(\.\d+)?)/, - }[yr.browser(e, t, n)]; - if (r === void 0) return null; - var i = e.match(r); - return i ? parseFloat(i[i.length - 2]) : null; - }, - browserLanguage: function () { - return Wl.language || Wl.userLanguage; - }, - os: function (e) { - if (/Windows/i.test(e)) { - if (/Phone/.test(e) || /WPDesktop/.test(e)) - return { os_name: "Windows Phone", os_version: "" }; - var t = /Windows NT ([0-9.]+)/i.exec(e); - return t && t[1] - ? { os_name: "Windows", os_version: t[1] } - : { os_name: "Windows", os_version: "" }; - } - if (/(iPhone|iPad|iPod)/.test(e)) { - var n = /OS (\d+)_(\d+)_?(\d+)?/i.exec(e); - return n && n[1] - ? { os_name: "iOS", os_version: [n[1], n[2], n[3] || "0"].join(".") } - : { os_name: "iOS", os_version: "" }; - } - if (/Android/.test(e)) { - var r = /Android (\d+)\.(\d+)\.?(\d+)?/i.exec(e); - return r && r[1] - ? { - os_name: "Android", - os_version: [r[1], r[2], r[3] || "0"].join("."), - } - : { os_name: "Android", os_version: "" }; - } - if (/(BlackBerry|PlayBook|BB10)/i.test(e)) - return { os_name: "BlackBerry", os_version: "" }; - if (/Mac/i.test(e)) { - var i = /Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i.exec(e); - return i && i[1] - ? { - os_name: "Mac OS X", - os_version: [i[1], i[2], i[3] || "0"].join("."), - } - : { os_name: "Mac OS X", os_version: "" }; - } - return /Linux/.test(e) - ? { os_name: "Linux", os_version: "" } - : /CrOS/.test(e) - ? { os_name: "Chrome OS", os_version: "" } - : { os_name: "", os_version: "" }; - }, - device: function (e) { - return /Windows Phone/i.test(e) || /WPDesktop/.test(e) - ? "Windows Phone" - : /iPad/.test(e) - ? "iPad" - : /iPod/.test(e) - ? "iPod Touch" - : /iPhone/.test(e) - ? "iPhone" - : /(BlackBerry|PlayBook|BB10)/i.test(e) - ? "BlackBerry" - : /Android/.test(e) && !/Mobile/.test(e) - ? "Android Tablet" - : /Android/.test(e) - ? "Android" - : ""; - }, - deviceType: function (e) { - var t = this.device(e); - return t === "iPad" || t === "Android Tablet" - ? "Tablet" - : t - ? "Mobile" - : "Desktop"; - }, - referrer: function () { - return Hn.referrer || "$direct"; - }, - referringDomain: function () { - if (!Hn.referrer) return "$direct"; - var e = Hn.createElement("a"); - return (e.href = Hn.referrer), e.host; - }, - properties: function () { - var e = yr.os(ra), - t = e.os_name, - n = e.os_version; - return Pr( - Jb({ - $os: t, - $os_version: n, - $browser: yr.browser(ra, Wl.vendor, ht.opera), - $device: yr.device(ra), - $device_type: yr.deviceType(ra), - }), - { - $current_url: ht == null ? void 0 : ht.location.href, - $host: ht == null ? void 0 : ht.location.host, - $pathname: ht == null ? void 0 : ht.location.pathname, - $browser_version: yr.browserVersion(ra, Wl.vendor, ht.opera), - $browser_language: yr.browserLanguage(), - $screen_height: ht == null ? void 0 : ht.screen.height, - $screen_width: ht == null ? void 0 : ht.screen.width, - $viewport_height: ht == null ? void 0 : ht.innerHeight, - $viewport_width: ht == null ? void 0 : ht.innerWidth, - $lib: "web", - $lib_version: fa.LIB_VERSION, - $insert_id: - Math.random().toString(36).substring(2, 10) + - Math.random().toString(36).substring(2, 10), - $time: vF() / 1e3, - } - ); - }, - people_properties: function () { - var e = yr.os(ra), - t = e.os_name, - n = e.os_version; - return Pr( - Jb({ - $os: t, - $os_version: n, - $browser: yr.browser(ra, Wl.vendor, ht.opera), - }), - { $browser_version: yr.browserVersion(ra, Wl.vendor, ht.opera) } - ); - }, -}; -function wg(e) { - switch (ol(e.className)) { - case "string": - return e.className; - case "object": - return ( - ("baseVal" in e.className ? e.className.baseVal : null) || - e.getAttribute("class") || - "" - ); - default: - return ""; - } -} -function Ag(e) { - var t = ""; - return ( - Eh(e) && - !TF(e) && - e.childNodes && - e.childNodes.length && - fn(e.childNodes, function (n) { - _F(n) && - n.textContent && - (t += Zb(n.textContent) - .split(/(\s+)/) - .filter(S1) - .join("") - .replace(/[\r\n]/g, " ") - .replace(/[ ]+/g, " ") - .substring(0, 255)); - }), - Zb(t) - ); -} -function sI(e) { - return !!e && e.nodeType === 1; -} -function ou(e, t) { - return !!e && !!e.tagName && e.tagName.toLowerCase() === t.toLowerCase(); -} -function _F(e) { - return !!e && e.nodeType === 3; -} -function lI(e) { - return !!e && e.nodeType === 11; -} -var Q3 = ["a", "button", "form", "input", "select", "textarea", "label"]; -function Eh(e) { - for (var t = e; t.parentNode && !ou(t, "body"); t = t.parentNode) { - var n = wg(t).split(" "); - if (pn(n, "ph-sensitive") || pn(n, "ph-no-capture")) return !1; - } - if (pn(wg(e).split(" "), "ph-include")) return !0; - var r = e.type || ""; - if (typeof r == "string") - switch (r.toLowerCase()) { - case "hidden": - case "password": - return !1; - } - var i = e.name || e.id || ""; - return !( - typeof i == "string" && - /^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test( - i.replace(/[^a-zA-Z0-9]/g, "") - ) - ); -} -function TF(e) { - return !!( - (ou(e, "input") && - !["button", "checkbox", "submit", "reset"].includes(e.type)) || - ou(e, "select") || - ou(e, "textarea") || - e.getAttribute("contenteditable") === "true" - ); -} -function S1(e) { - return !( - e === null || - Ua(e) || - (typeof e == "string" && - ((e = Zb(e)), - /^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test( - (e || "").replace(/[- ]/g, "") - ) || /(^\d{3}-?\d{2}-?\d{4}$)/.test(e))) - ); -} -function uI(e) { - var t = Ag(e); - return S1((t = "".concat(t, " ").concat(SF(e)).trim())) ? t : ""; -} -function SF(e) { - var t = ""; - return ( - e && - e.childNodes && - e.childNodes.length && - fn(e.childNodes, function (n) { - var r; - if ( - n && - ((r = n.tagName) === null || r === void 0 - ? void 0 - : r.toLowerCase()) === "span" - ) - try { - var i = Ag(n); - (t = "".concat(t, " ").concat(i).trim()), - n.childNodes && - n.childNodes.length && - (t = "".concat(t, " ").concat(SF(n)).trim()); - } catch (a) { - console.error(a); - } - }), - t - ); -} -var Ofe = (function () { - function e(t) { - Bn(this, e), (this.clicks = []), (this.enabled = t); - } - return ( - Un(e, [ - { - key: "isRageClick", - value: function (t, n, r) { - if (!this.enabled) return !1; - var i = this.clicks[this.clicks.length - 1]; - if ( - i && - Math.abs(t - i.x) + Math.abs(n - i.y) < 30 && - r - i.timestamp < 1e3 - ) { - if ( - (this.clicks.push({ x: t, y: n, timestamp: r }), - this.clicks.length === 3) - ) - return !0; - } else this.clicks = [{ x: t, y: n, timestamp: r }]; - return !1; - }, - }, - ]), - e - ); - })(), - Dfe = /[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i, - po = { - is_supported: function () { - return !0; - }, - error: function (e) { - kn.error("cookieStore error: " + e); - }, - get: function (e) { - try { - for ( - var t = e + "=", n = document.cookie.split(";"), r = 0; - r < n.length; - r++ - ) { - for (var i = n[r]; i.charAt(0) == " "; ) i = i.substring(1, i.length); - if (i.indexOf(t) === 0) - return decodeURIComponent(i.substring(t.length, i.length)); - } - } catch {} - return null; - }, - parse: function (e) { - var t; - try { - t = JSON.parse(po.get(e)) || {}; - } catch {} - return t; - }, - set: function (e, t, n, r, i) { - try { - var a = "", - o = "", - s = ""; - if (r) { - var u = document.location.hostname.match(Dfe), - c = u ? u[0] : ""; - a = c ? "; domain=." + c : ""; - } - if (n) { - var p = new Date(); - p.setTime(p.getTime() + 24 * n * 60 * 60 * 1e3), - (o = "; expires=" + p.toUTCString()); - } - i && (s = "; secure"); - var f = - e + - "=" + - encodeURIComponent(JSON.stringify(t)) + - o + - "; SameSite=Lax; path=/" + - a + - s; - return (document.cookie = f), f; - } catch { - return; - } - }, - remove: function (e, t) { - try { - po.set(e, "", -1, t); - } catch { - return; - } - }, - }, - J3 = null, - qn = { - is_supported: function () { - if (J3 !== null) return J3; - var e = !0; - if (typeof window < "u") - try { - var t = "__mplssupport__"; - qn.set(t, "xyz"), qn.get(t) !== '"xyz"' && (e = !1), qn.remove(t); - } catch { - e = !1; - } - else e = !1; - return ( - e || kn.error("localStorage unsupported; falling back to cookie store"), - (J3 = e), - e - ); - }, - error: function (e) { - kn.error("localStorage error: " + e); - }, - get: function (e) { - try { - return window.localStorage.getItem(e); - } catch (t) { - qn.error(t); - } - return null; - }, - parse: function (e) { - try { - return JSON.parse(qn.get(e)) || {}; - } catch {} - return null; - }, - set: function (e, t) { - try { - window.localStorage.setItem(e, JSON.stringify(t)); - } catch (n) { - qn.error(n); - } - }, - remove: function (e) { - try { - window.localStorage.removeItem(e); - } catch (t) { - qn.error(t); - } - }, - }, - e9 = yt( - yt({}, qn), - {}, - { - parse: function (e) { - try { - var t = {}; - try { - (t = po.parse(e) || {}).distinct_id && - po.set(e, { distinct_id: t.distinct_id }); - } catch {} - var n = Pr(t, JSON.parse(qn.get(e) || "{}")); - return qn.set(e, n), n; - } catch {} - return null; - }, - set: function (e, t, n, r, i) { - try { - qn.set(e, t), - t.distinct_id && po.set(e, { distinct_id: t.distinct_id }, n, r, i); - } catch (a) { - qn.error(a); - } - }, - remove: function (e, t) { - try { - window.localStorage.removeItem(e), po.remove(e, t); - } catch (n) { - qn.error(n); - } - }, - } - ), - U0 = {}, - Lfe = { - is_supported: function () { - return !0; - }, - error: function (e) { - kn.error("memoryStorage error: " + e); - }, - get: function (e) { - return U0[e] || null; - }, - parse: function (e) { - return U0[e] || null; - }, - set: function (e, t) { - U0[e] = t; - }, - remove: function (e) { - delete U0[e]; - }, - }, - $l = null, - Tr = { - is_supported: function () { - if ($l !== null) return $l; - if ((($l = !0), typeof window < "u")) - try { - var e = "__support__"; - Tr.set(e, "xyz"), Tr.get(e) !== '"xyz"' && ($l = !1), Tr.remove(e); - } catch { - $l = !1; - } - else $l = !1; - return $l; - }, - error: function (e) { - fa.DEBUG && kn.error("sessionStorage error: ", e); - }, - get: function (e) { - try { - return window.sessionStorage.getItem(e); - } catch (t) { - Tr.error(t); - } - return null; - }, - parse: function (e) { - try { - return JSON.parse(Tr.get(e)) || null; - } catch {} - return null; - }, - set: function (e, t) { - try { - window.sessionStorage.setItem(e, JSON.stringify(t)); - } catch (n) { - Tr.error(n); - } - }, - remove: function (e) { - try { - window.sessionStorage.removeItem(e); - } catch (t) { - Tr.error(t); - } - }, - }, - wF = "$people_distinct_id", - vh = "__alias", - fd = "__timers", - cI = "$autocapture_disabled_server_side", - t9 = "$session_recording_enabled_server_side", - dI = "$console_log_recording_enabled_server_side", - pI = "$session_recording_recorder_version_server_side", - n9 = "$sesid", - w1 = "$enabled_feature_flags", - r9 = "$early_access_features", - A1 = "$stored_person_properties", - Ps = "$stored_group_properties", - i9 = "$surveys", - Cg = "$flag_call_reported", - a9 = "$user_state", - o9 = "$posthog_quota_limited", - Mfe = [wF, vh, "__cmpns", fd, t9, n9, w1, a9, o9, r9, Ps, A1, i9, Cg], - Ffe = [ - "cookie", - "localstorage", - "localstorage+cookie", - "sessionstorage", - "memory", - ], - fI = (function () { - function e(t) { - Bn(this, e); - var n = ""; - t.token && - (n = t.token - .replace(/\+/g, "PL") - .replace(/\//g, "SL") - .replace(/=/g, "EQ")), - (this.props = {}), - (this.campaign_params_saved = !1), - (this.custom_campaign_params = t.custom_campaign_params || []), - t.persistence_name - ? (this.name = "ph_" + t.persistence_name) - : (this.name = "ph_" + n + "_posthog"), - Ffe.indexOf(t.persistence.toLowerCase()) === -1 && - (kn.critical( - "Unknown persistence type " + - t.persistence + - "; falling back to cookie" - ), - (t.persistence = "cookie")); - var r = t.persistence.toLowerCase(); - r === "localstorage" && qn.is_supported() - ? (this.storage = qn) - : r === "localstorage+cookie" && e9.is_supported() - ? (this.storage = e9) - : r === "sessionstorage" && Tr.is_supported() - ? (this.storage = Tr) - : (this.storage = r === "memory" ? Lfe : po), - (this.user_state = "anonymous"), - this.load(), - this.update_config(t), - this.save(); - } - return ( - Un(e, [ - { - key: "properties", - value: function () { - var t = {}; - return ( - fn(this.props, function (n, r) { - if (r === w1 && ol(n) === "object") - for (var i = Object.keys(n), a = 0; a < i.length; a++) - t["$feature/".concat(i[a])] = n[i[a]]; - else - (s = r), - (u = !1), - ((o = Mfe) === null - ? u - : rI && o.indexOf === rI - ? o.indexOf(s) != -1 - : (fn(o, function (c) { - if (u || (u = c === s)) return y7; - }), - u)) || (t[r] = n); - var o, s, u; - }), - t - ); - }, - }, - { - key: "load", - value: function () { - if (!this.disabled) { - var t = this.storage.parse(this.name); - t && (this.props = Pr({}, t)); - } - }, - }, - { - key: "save", - value: function () { - this.disabled || - this.storage.set( - this.name, - this.props, - this.expire_days, - this.cross_subdomain, - this.secure - ); - }, - }, - { - key: "remove", - value: function () { - this.storage.remove(this.name, !1), - this.storage.remove(this.name, !0); - }, - }, - { - key: "clear", - value: function () { - this.remove(), (this.props = {}); - }, - }, - { - key: "register_once", - value: function (t, n, r) { - var i = this; - if (Qb(t)) { - n === void 0 && (n = "None"), - (this.expire_days = r === void 0 ? this.default_expiry : r); - var a = !1; - if ( - (fn(t, function (o, s) { - (i.props.hasOwnProperty(s) && i.props[s] !== n) || - ((i.props[s] = o), (a = !0)); - }), - a) - ) - return this.save(), !0; - } - return !1; - }, - }, - { - key: "register", - value: function (t, n) { - var r = this; - if (Qb(t)) { - this.expire_days = n === void 0 ? this.default_expiry : n; - var i = !1; - if ( - (fn(t, function (a, o) { - t.hasOwnProperty(o) && - r.props[o] !== a && - ((r.props[o] = a), (i = !0)); - }), - i) - ) - return this.save(), !0; - } - return !1; - }, - }, - { - key: "unregister", - value: function (t) { - t in this.props && (delete this.props[t], this.save()); - }, - }, - { - key: "update_campaign_params", - value: function () { - this.campaign_params_saved || - (this.register(yr.campaignParams(this.custom_campaign_params)), - (this.campaign_params_saved = !0)); - }, - }, - { - key: "update_search_keyword", - value: function () { - this.register(yr.searchInfo()); - }, - }, - { - key: "update_referrer_info", - value: function () { - this.register({ - $referrer: this.props.$referrer || yr.referrer(), - $referring_domain: - this.props.$referring_domain || yr.referringDomain(), - }); - }, - }, - { - key: "get_referrer_info", - value: function () { - return Jb({ - $referrer: this.props.$referrer, - $referring_domain: this.props.$referring_domain, - }); - }, - }, - { - key: "safe_merge", - value: function (t) { - return ( - fn(this.props, function (n, r) { - r in t || (t[r] = n); - }), - t - ); - }, - }, - { - key: "update_config", - value: function (t) { - (this.default_expiry = this.expire_days = t.cookie_expiration), - this.set_disabled(t.disable_persistence), - this.set_cross_subdomain(t.cross_subdomain_cookie), - this.set_secure(t.secure_cookie); - }, - }, - { - key: "set_disabled", - value: function (t) { - (this.disabled = t), this.disabled ? this.remove() : this.save(); - }, - }, - { - key: "set_cross_subdomain", - value: function (t) { - t !== this.cross_subdomain && - ((this.cross_subdomain = t), this.remove(), this.save()); - }, - }, - { - key: "get_cross_subdomain", - value: function () { - return !!this.cross_subdomain; - }, - }, - { - key: "set_secure", - value: function (t) { - t !== this.secure && - ((this.secure = t), this.remove(), this.save()); - }, - }, - { - key: "set_event_timer", - value: function (t, n) { - var r = this.props[fd] || {}; - (r[t] = n), (this.props[fd] = r), this.save(); - }, - }, - { - key: "remove_event_timer", - value: function (t) { - var n = (this.props[fd] || {})[t]; - return Ua(n) || (delete this.props[fd][t], this.save()), n; - }, - }, - { - key: "get_user_state", - value: function () { - return this.props[a9] || "anonymous"; - }, - }, - { - key: "set_user_state", - value: function (t) { - (this.props[a9] = t), this.save(); - }, - }, - { - key: "get_quota_limits", - value: function () { - return this.props[o9] || {}; - }, - }, - { - key: "set_quota_limits", - value: function (t) { - (this.props[o9] = t), this.save(); - }, - }, - ]), - e - ); - })(), - zs = { - _initializedTokens: [], - _isDisabledServerSide: null, - _isAutocaptureEnabled: !1, - _setIsAutocaptureEnabled: function (e) { - var t, - n = - this._isDisabledServerSide === null - ? !((t = e.persistence) === null || t === void 0 || !t.props[cI]) - : this._isDisabledServerSide, - r = !!e.get_config("autocapture"); - this._isAutocaptureEnabled = r && !n; - }, - _previousElementSibling: function (e) { - if (e.previousElementSibling) return e.previousElementSibling; - var t = e; - do t = t.previousSibling; - while (t && !sI(t)); - return t; - }, - _getAugmentPropertiesFromElement: function (e) { - if (!Eh(e)) return {}; - var t = {}; - return ( - fn(e.attributes, function (n) { - if (n.name.indexOf("data-ph-capture-attribute") === 0) { - var r = n.name.replace("data-ph-capture-attribute-", ""), - i = n.value; - r && i && S1(i) && (t[r] = i); - } - }), - t - ); - }, - _getPropertiesFromElement: function (e, t, n) { - var r = e.tagName.toLowerCase(), - i = { tag_name: r }; - Q3.indexOf(r) > -1 && - !n && - (r.toLowerCase() === "a" || r.toLowerCase() === "button" - ? (i.$el_text = uI(e)) - : (i.$el_text = Ag(e))); - var a = wg(e); - a.length > 0 && - (i.classes = a.split(" ").filter(function (c) { - return c !== ""; - })), - fn(e.attributes, function (c) { - var p; - (TF(e) && ["name", "id", "class"].indexOf(c.name) === -1) || - (!t && - S1(c.value) && - (typeof (p = c.name) != "string" || - (p.substring(0, 10) !== "_ngcontent" && - p.substring(0, 7) !== "_nghost")) && - (i["attr__" + c.name] = c.value)); - }); - for (var o = 1, s = 1, u = e; (u = this._previousElementSibling(u)); ) - o++, u.tagName === e.tagName && s++; - return (i.nth_child = o), (i.nth_of_type = s), i; - }, - _getDefaultProperties: function (e) { - return { $event_type: e, $ce_version: 1 }; - }, - _extractCustomPropertyValue: function (e) { - var t = []; - return ( - fn(document.querySelectorAll(e.css_selector), function (n) { - var r; - ["input", "select"].indexOf(n.tagName.toLowerCase()) > -1 - ? (r = n.value) - : n.textContent && (r = n.textContent), - S1(r) && t.push(r); - }), - t.join(", ") - ); - }, - _getCustomProperties: function (e) { - var t = this, - n = {}; - return ( - fn(this._customProperties, function (r) { - fn(r.event_selectors, function (i) { - fn(document.querySelectorAll(i), function (a) { - pn(e, a) && - Eh(a) && - (n[r.name] = t._extractCustomPropertyValue(r)); - }); - }); - }), - n - ); - }, - _getEventTarget: function (e) { - return e.target === void 0 - ? e.srcElement || null - : (t = e.target) !== null && t !== void 0 && t.shadowRoot - ? e.composedPath()[0] || null - : e.target || null; - var t; - }, - _captureEvent: function (e, t) { - var n, - r = this, - i = - arguments.length > 2 && arguments[2] !== void 0 - ? arguments[2] - : "$autocapture", - a = this._getEventTarget(e); - if ( - (_F(a) && (a = a.parentNode || null), - i === "$autocapture" && - e.type === "click" && - e instanceof MouseEvent && - (n = this.rageclicks) !== null && - n !== void 0 && - n.isRageClick(e.clientX, e.clientY, new Date().getTime()) && - this._captureEvent(e, t, "$rageclick"), - a && - (function (g, E) { - var b = - arguments.length > 2 && arguments[2] !== void 0 - ? arguments[2] - : void 0; - if (!g || ou(g, "html") || !sI(g)) return !1; - if (b != null && b.url_allowlist) { - var T = window.location.href, - v = b.url_allowlist; - if ( - v && - !v.some(function (z) { - return T.match(z); - }) - ) - return !1; - } - if (b != null && b.dom_event_allowlist) { - var y = b.dom_event_allowlist; - if ( - y && - !y.some(function (z) { - return E.type === z; - }) - ) - return !1; - } - if (b != null && b.element_allowlist) { - var w = b.element_allowlist; - if ( - w && - !w.some(function (z) { - return g.tagName.toLowerCase() === z; - }) - ) - return !1; - } - if (b != null && b.css_selector_allowlist) { - var A = b.css_selector_allowlist; - if ( - A && - !A.some(function (z) { - return g.matches(z); - }) - ) - return !1; - } - for ( - var D = !1, k = [g], R = !0, B = g; - B.parentNode && !ou(B, "body"); - - ) - if (lI(B.parentNode)) - k.push(B.parentNode.host), (B = B.parentNode.host); - else { - if (!(R = B.parentNode || !1)) break; - if (Q3.indexOf(R.tagName.toLowerCase()) > -1) D = !0; - else { - var W = window.getComputedStyle(R); - W && W.getPropertyValue("cursor") === "pointer" && (D = !0); - } - k.push(R), (B = R); - } - var P = window.getComputedStyle(g); - if ( - P && - P.getPropertyValue("cursor") === "pointer" && - E.type === "click" - ) - return !0; - var Q = g.tagName.toLowerCase(); - switch (Q) { - case "html": - return !1; - case "form": - return E.type === "submit"; - case "input": - case "select": - case "textarea": - return E.type === "change" || E.type === "click"; - default: - return D - ? E.type === "click" - : E.type === "click" && - (Q3.indexOf(Q) > -1 || - g.getAttribute("contenteditable") === "true"); - } - })(a, e, this.config)) - ) { - for (var o = [a], s = a; s.parentNode && !ou(s, "body"); ) - lI(s.parentNode) - ? (o.push(s.parentNode.host), (s = s.parentNode.host)) - : (o.push(s.parentNode), (s = s.parentNode)); - var u, - c = [], - p = {}, - f = !1; - if ( - (fn(o, function (g) { - var E = Eh(g); - g.tagName.toLowerCase() === "a" && - ((u = g.getAttribute("href")), (u = E && S1(u) && u)), - pn(wg(g).split(" "), "ph-no-capture") && (f = !0), - c.push( - r._getPropertiesFromElement( - g, - t.get_config("mask_all_element_attributes"), - t.get_config("mask_all_text") - ) - ); - var b = r._getAugmentPropertiesFromElement(g); - Pr(p, b); - }), - t.get_config("mask_all_text") || - (a.tagName.toLowerCase() === "a" || - a.tagName.toLowerCase() === "button" - ? (c[0].$el_text = uI(a)) - : (c[0].$el_text = Ag(a))), - u && (c[0].attr__href = u), - f) - ) - return !1; - var m = Pr( - this._getDefaultProperties(e.type), - { $elements: c }, - this._getCustomProperties(o), - p - ); - return t.capture(i, m), !0; - } - }, - _navigate: function (e) { - window.location.href = e; - }, - _addDomEventHandlers: function (e) { - var t = this, - n = function (r) { - (r = r || window.event), t._captureEvent(r, e); - }; - Fd(document, "submit", n, !1, !0), - Fd(document, "change", n, !1, !0), - Fd(document, "click", n, !1, !0); - }, - _customProperties: [], - rageclicks: null, - config: void 0, - init: function (e) { - var t; - typeof e.__autocapture != "boolean" && (this.config = e.__autocapture), - (t = this.config) !== null && - t !== void 0 && - t.url_allowlist && - (this.config.url_allowlist = this.config.url_allowlist.map(function ( - n - ) { - return new RegExp(n); - })), - (this.rageclicks = new Ofe(e.get_config("rageclick"))); - }, - afterDecideResponse: function (e, t) { - var n = t.get_config("token"); - this._initializedTokens.indexOf(n) > -1 - ? kn.log('autocapture already initialized for token "' + n + '"') - : (t.persistence && - t.persistence.register(ct({}, cI, !!e.autocapture_opt_out)), - (this._isDisabledServerSide = !!e.autocapture_opt_out), - this._setIsAutocaptureEnabled(t), - this._initializedTokens.push(n), - e && - e.config && - e.config.enable_collect_everything && - this._isAutocaptureEnabled - ? (e.custom_properties && - (this._customProperties = e.custom_properties), - this._addDomEventHandlers(t)) - : (t.__autocapture = !1)); - }, - enabledForProject: function (e, t, n) { - if (!e) return !0; - (t = Ua(t) ? 10 : t), (n = Ua(n) ? 10 : n); - for (var r = 0, i = 0; i < e.length; i++) r += e.charCodeAt(i); - return r % t < n; - }, - isBrowserSupported: function () { - return bF(document.querySelectorAll); - }, - }; -(function (e) { - for (var t in e) typeof e[t] == "function" && (e[t] = e[t].bind(e)); -})(zs), - (function (e) { - for (var t in e) typeof e[t] == "function" && (e[t] = yF(e[t])); - })(zs); -var e4 = "$active_feature_flags", - $0 = "$override_feature_flags", - hI = "$feature_flag_payloads", - gI = function (e) { - var t, - n = {}, - r = as( - (function (s) { - for (var u = Object.keys(s), c = u.length, p = new Array(c); c--; ) - p[c] = [u[c], s[u[c]]]; - return p; - })(e || {}) - ); - try { - for (r.s(); !(t = r.n()).done; ) { - var i = yo(t.value, 2), - a = i[0], - o = i[1]; - o && (n[a] = o); - } - } catch (s) { - r.e(s); - } finally { - r.f(); - } - return n; - }, - Pfe = (function () { - function e(t) { - Bn(this, e), - (this.instance = t), - (this._override_warning = !1), - (this.featureFlagEventHandlers = []), - (this.reloadFeatureFlagsQueued = !1), - (this.reloadFeatureFlagsInAction = !1); - } - return ( - Un(e, [ - { - key: "getFlags", - value: function () { - return Object.keys(this.getFlagVariants()); - }, - }, - { - key: "getFlagVariants", - value: function () { - var t = this.instance.get_property(w1), - n = this.instance.get_property($0); - if (!n) return t || {}; - for ( - var r = Pr({}, t), i = Object.keys(n), a = 0; - a < i.length; - a++ - ) - n[i[a]] === !1 ? delete r[i[a]] : (r[i[a]] = n[i[a]]); - return ( - this._override_warning || - (console.warn("[PostHog] Overriding feature flags!", { - enabledFlags: t, - overriddenFlags: n, - finalFlags: r, - }), - (this._override_warning = !0)), - r - ); - }, - }, - { - key: "getFlagPayloads", - value: function () { - return this.instance.get_property(hI) || {}; - }, - }, - { - key: "reloadFeatureFlags", - value: function () { - this.reloadFeatureFlagsQueued || - ((this.reloadFeatureFlagsQueued = !0), this._startReloadTimer()); - }, - }, - { - key: "setAnonymousDistinctId", - value: function (t) { - this.$anon_distinct_id = t; - }, - }, - { - key: "setReloadingPaused", - value: function (t) { - this.reloadFeatureFlagsInAction = t; - }, - }, - { - key: "resetRequestQueue", - value: function () { - this.reloadFeatureFlagsQueued = !1; - }, - }, - { - key: "_startReloadTimer", - value: function () { - var t = this; - this.reloadFeatureFlagsQueued && - !this.reloadFeatureFlagsInAction && - setTimeout(function () { - !t.reloadFeatureFlagsInAction && - t.reloadFeatureFlagsQueued && - ((t.reloadFeatureFlagsQueued = !1), - t._reloadFeatureFlagsRequest()); - }, 5); - }, - }, - { - key: "_reloadFeatureFlagsRequest", - value: function () { - var t = this; - this.setReloadingPaused(!0); - var n = this.instance.get_config("token"), - r = this.instance.get_property(A1), - i = this.instance.get_property(Ps), - a = _7( - JSON.stringify({ - token: n, - distinct_id: this.instance.get_distinct_id(), - groups: this.instance.getGroups(), - $anon_distinct_id: this.$anon_distinct_id, - person_properties: r, - group_properties: i, - disable_flags: - this.instance.get_config( - "advanced_disable_feature_flags" - ) || void 0, - }) - ); - this.instance._send_request( - this.instance.get_config("api_host") + "/decide/?v=3", - { data: a }, - { method: "POST" }, - this.instance._prepare_callback(function (o) { - (t.$anon_distinct_id = void 0), - t.receivedFeatureFlags(o), - t.setReloadingPaused(!1), - t._startReloadTimer(); - }) - ); - }, - }, - { - key: "getFeatureFlag", - value: function (t) { - var n = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : {}; - if ( - this.instance.decideEndpointWasHit || - (this.getFlags() && this.getFlags().length > 0) - ) { - var r = this.getFlagVariants()[t], - i = "".concat(r), - a = this.instance.get_property(Cg) || {}; - return ( - (!n.send_event && "send_event" in n) || - (t in a && a[t].includes(i)) || - (Array.isArray(a[t]) ? a[t].push(i) : (a[t] = [i]), - this.instance.persistence.register(ct({}, Cg, a)), - this.instance.capture("$feature_flag_called", { - $feature_flag: t, - $feature_flag_response: r, - })), - r - ); - } - console.warn( - 'getFeatureFlag for key "' + - t + - `" failed. Feature flags didn't load in time.` - ); - }, - }, - { - key: "getFeatureFlagPayload", - value: function (t) { - return this.getFlagPayloads()[t]; - }, - }, - { - key: "isFeatureEnabled", - value: function (t) { - var n = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : {}; - if ( - this.instance.decideEndpointWasHit || - (this.getFlags() && this.getFlags().length > 0) - ) - return !!this.getFeatureFlag(t, n); - console.warn( - 'isFeatureEnabled for key "' + - t + - `" failed. Feature flags didn't load in time.` - ); - }, - }, - { - key: "addFeatureFlagsHandler", - value: function (t) { - this.featureFlagEventHandlers.push(t); - }, - }, - { - key: "removeFeatureFlagsHandler", - value: function (t) { - this.featureFlagEventHandlers = - this.featureFlagEventHandlers.filter(function (n) { - return n !== t; - }); - }, - }, - { - key: "receivedFeatureFlags", - value: function (t) { - this.instance.decideEndpointWasHit = !0; - var n = this.getFlagVariants(), - r = this.getFlagPayloads(); - (function (i, a) { - var o = - arguments.length > 2 && arguments[2] !== void 0 - ? arguments[2] - : {}, - s = - arguments.length > 3 && arguments[3] !== void 0 - ? arguments[3] - : {}, - u = i.featureFlags, - c = i.featureFlagPayloads; - if (u) - if (Array.isArray(u)) { - var p, - f = {}; - if (u) for (var m = 0; m < u.length; m++) f[u[m]] = !0; - a && a.register((ct((p = {}), e4, u), ct(p, w1, f), p)); - } else { - var g, - E = u, - b = c; - i.errorsWhileComputingFlags && - ((E = yt(yt({}, o), E)), (b = yt(yt({}, s), b))), - a && - a.register( - (ct((g = {}), e4, Object.keys(gI(E))), - ct(g, w1, E || {}), - ct(g, hI, b || {}), - g) - ); - } - })(t, this.instance.persistence, n, r), - this._fireFeatureFlagsCallbacks(); - }, - }, - { - key: "override", - value: function (t) { - if (((this._override_warning = !1), t === !1)) - this.instance.persistence.unregister($0); - else if (Array.isArray(t)) { - for (var n = {}, r = 0; r < t.length; r++) n[t[r]] = !0; - this.instance.persistence.register(ct({}, $0, n)); - } else this.instance.persistence.register(ct({}, $0, t)); - }, - }, - { - key: "onFeatureFlags", - value: function (t) { - var n = this; - if ( - (this.addFeatureFlagsHandler(t), - this.instance.decideEndpointWasHit) - ) { - var r = this._prepareFeatureFlagsForCallbacks(), - i = r.flags, - a = r.flagVariants; - t(i, a); - } - return function () { - return n.removeFeatureFlagsHandler(t); - }; - }, - }, - { - key: "updateEarlyAccessFeatureEnrollment", - value: function (t, n) { - var r, - i = ct({}, "$feature_enrollment/".concat(t), n); - this.instance.capture("$feature_enrollment_update", { - $feature_flag: t, - $feature_enrollment: n, - $set: i, - }), - this.setPersonPropertiesForFlags(i, !1); - var a = yt(yt({}, this.getFlagVariants()), {}, ct({}, t, n)); - this.instance.persistence.register( - (ct((r = {}), e4, Object.keys(gI(a))), ct(r, w1, a), r) - ), - this._fireFeatureFlagsCallbacks(); - }, - }, - { - key: "getEarlyAccessFeatures", - value: function (t) { - var n = this, - r = - arguments.length > 1 && arguments[1] !== void 0 && arguments[1], - i = this.instance.get_property(r9); - if (i && !r) return t(i); - this.instance._send_request( - "" - .concat( - this.instance.get_config("api_host"), - "/api/early_access_features/?token=" - ) - .concat(this.instance.get_config("token")), - {}, - { method: "GET" }, - function (a) { - var o = a.earlyAccessFeatures; - return n.instance.persistence.register(ct({}, r9, o)), t(o); - } - ); - }, - }, - { - key: "_prepareFeatureFlagsForCallbacks", - value: function () { - var t = this.getFlags(), - n = this.getFlagVariants(); - return { - flags: t.filter(function (r) { - return n[r]; - }), - flagVariants: Object.keys(n) - .filter(function (r) { - return n[r]; - }) - .reduce(function (r, i) { - return (r[i] = n[i]), r; - }, {}), - }; - }, - }, - { - key: "_fireFeatureFlagsCallbacks", - value: function () { - var t = this._prepareFeatureFlagsForCallbacks(), - n = t.flags, - r = t.flagVariants; - this.featureFlagEventHandlers.forEach(function (i) { - return i(n, r); - }); - }, - }, - { - key: "setPersonPropertiesForFlags", - value: function (t) { - var n = - !(arguments.length > 1 && arguments[1] !== void 0) || - arguments[1], - r = this.instance.get_property(A1) || {}; - this.instance.register(ct({}, A1, yt(yt({}, r), t))), - n && this.instance.reloadFeatureFlags(); - }, - }, - { - key: "resetPersonPropertiesForFlags", - value: function () { - this.instance.unregister(A1); - }, - }, - { - key: "setGroupPropertiesForFlags", - value: function (t) { - var n = - !(arguments.length > 1 && arguments[1] !== void 0) || - arguments[1], - r = this.instance.get_property(Ps) || {}; - Object.keys(r).length !== 0 && - Object.keys(r).forEach(function (i) { - (r[i] = yt(yt({}, r[i]), t[i])), delete t[i]; - }), - this.instance.register(ct({}, Ps, yt(yt({}, r), t))), - n && this.instance.reloadFeatureFlags(); - }, - }, - { - key: "resetGroupPropertiesForFlags", - value: function (t) { - if (t) { - var n = this.instance.get_property(Ps) || {}; - this.instance.register( - ct({}, Ps, yt(yt({}, n), {}, ct({}, t, {}))) - ); - } else this.instance.unregister(Ps); - }, - }, - ]), - e - ); - })(), - Bfe = - "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNOCAwSDE2TDAgMTZWOEw4IDBaIiBmaWxsPSIjMkQyRDJEIi8+CjxwYXRoIGQ9Ik0xNiA4VjE2SDhMMTYgOFoiIGZpbGw9IiMyRDJEMkQiLz4KPC9zdmc+Cg==", - mI = 2, - Ufe = 4, - AF = 3, - $fe = 6, - zfe = 0, - Hfe = 5e6, - jfe = "rrweb/console@1", - oo, - Gfe = Un(function e(t) { - var n, - r, - i = this, - a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; - Bn(this, e), - ct(this, "bucketSize", 100), - ct(this, "refillRate", 10), - ct(this, "mutationBuckets", {}), - ct(this, "loggedTracker", {}), - ct(this, "refillBuckets", function () { - Object.keys(i.mutationBuckets).forEach(function (o) { - (i.mutationBuckets[o] = i.mutationBuckets[o] + i.refillRate), - i.mutationBuckets[o] >= i.bucketSize && delete i.mutationBuckets[o]; - }); - }), - ct(this, "getNodeOrRelevantParent", function (o) { - var s = i.rrweb.mirror.getNode(o); - if ( - (s == null ? void 0 : s.nodeName) !== "svg" && - s instanceof Element - ) { - var u = s.closest("svg"); - if (u) return [i.rrweb.mirror.getId(u), u]; - } - return [o, s]; - }), - ct(this, "numberOfChanges", function (o) { - var s, u, c, p, f, m, g, E; - return ( - ((s = - (u = o.removes) === null || u === void 0 ? void 0 : u.length) !== - null && s !== void 0 - ? s - : 0) + - ((c = - (p = o.attributes) === null || p === void 0 ? void 0 : p.length) !== - null && c !== void 0 - ? c - : 0) + - ((f = (m = o.texts) === null || m === void 0 ? void 0 : m.length) !== - null && f !== void 0 - ? f - : 0) + - ((g = (E = o.adds) === null || E === void 0 ? void 0 : E.length) !== - null && g !== void 0 - ? g - : 0) - ); - }), - ct(this, "throttleMutations", function (o) { - if (o.type !== AF || o.data.source !== zfe) return o; - var s = o.data, - u = i.numberOfChanges(s); - s.attributes && - (s.attributes = s.attributes.filter(function (p) { - var f, - m, - g, - E = yo(i.getNodeOrRelevantParent(p.id), 2), - b = E[0], - T = E[1]; - return i.mutationBuckets[b] === 0 - ? !1 - : ((i.mutationBuckets[b] = - (f = i.mutationBuckets[b]) !== null && f !== void 0 - ? f - : i.bucketSize), - (i.mutationBuckets[b] = Math.max(i.mutationBuckets[b] - 1, 0)), - i.mutationBuckets[b] === 0 && - (i.loggedTracker[b] || - ((i.loggedTracker[b] = !0), - (m = (g = i.options).onBlockedNode) === null || - m === void 0 || - m.call(g, b, T))), - p); - })); - var c = i.numberOfChanges(s); - return c !== 0 || u === c ? o : void 0; - }), - (this.rrweb = t), - (this.options = a), - (this.refillRate = - (n = this.options.refillRate) !== null && n !== void 0 - ? n - : this.refillRate), - (this.bucketSize = - (r = this.options.bucketSize) !== null && r !== void 0 - ? r - : this.bucketSize), - setInterval(function () { - i.refillBuckets(); - }, 1e3); - }), - Vfe = "/s/", - CF = "sessionRecording"; -(function (e) { - (e[(e.Mutation = 0)] = "Mutation"), - (e[(e.MouseMove = 1)] = "MouseMove"), - (e[(e.MouseInteraction = 2)] = "MouseInteraction"), - (e[(e.Scroll = 3)] = "Scroll"), - (e[(e.ViewportResize = 4)] = "ViewportResize"), - (e[(e.Input = 5)] = "Input"), - (e[(e.TouchMove = 6)] = "TouchMove"), - (e[(e.MediaInteraction = 7)] = "MediaInteraction"), - (e[(e.StyleSheetRule = 8)] = "StyleSheetRule"), - (e[(e.CanvasMutation = 9)] = "CanvasMutation"), - (e[(e.Font = 10)] = "Font"), - (e[(e.Log = 11)] = "Log"), - (e[(e.Drag = 12)] = "Drag"), - (e[(e.StyleDeclaration = 13)] = "StyleDeclaration"), - (e[(e.Selection = 14)] = "Selection"), - (e[(e.AdoptedStyleSheet = 15)] = "AdoptedStyleSheet"); -})(oo || (oo = {})); -var Wfe = [ - oo.MouseMove, - oo.MouseInteraction, - oo.Scroll, - oo.ViewportResize, - oo.Input, - oo.TouchMove, - oo.MediaInteraction, - oo.Drag, - ], - qfe = (function () { - function e(t) { - var n = this; - Bn(this, e), - ct(this, "lastActivityTimestamp", Date.now()), - ct(this, "isIdle", !1), - (this.instance = t), - (this.captureStarted = !1), - (this.snapshots = []), - (this.emit = !1), - (this.endpoint = Vfe), - (this.stopRrweb = void 0), - (this.windowId = null), - (this.sessionId = null), - (this.receivedDecide = !1), - window.addEventListener("beforeunload", function () { - n._flushBuffer(); - }); - } - return ( - Un(e, [ - { - key: "startRecordingIfEnabled", - value: function () { - this.isRecordingEnabled() - ? this.startCaptureAndTrySendingQueuedSnapshots() - : this.stopRecording(); - }, - }, - { - key: "started", - value: function () { - return this.captureStarted; - }, - }, - { - key: "stopRecording", - value: function () { - this.captureStarted && - this.stopRrweb && - (this.stopRrweb(), - (this.stopRrweb = void 0), - (this.captureStarted = !1)); - }, - }, - { - key: "isRecordingEnabled", - value: function () { - var t = !!this.instance.get_property(t9), - n = !this.instance.get_config("disable_session_recording"); - return t && n; - }, - }, - { - key: "isConsoleLogCaptureEnabled", - value: function () { - var t = !!this.instance.get_property(dI), - n = this.instance.get_config("enable_recording_console_log"); - return n ?? t; - }, - }, - { - key: "getRecordingVersion", - value: function () { - var t, - n = this.instance.get_property(pI); - return ( - ((t = this.instance.get_config("session_recording")) === null || - t === void 0 - ? void 0 - : t.recorderVersion) || - n || - "v1" - ); - }, - }, - { - key: "afterDecideResponse", - value: function (t) { - var n, r, i, a, o, s; - (this.receivedDecide = !0), - this.instance.persistence && - this.instance.persistence.register( - (ct((o = {}), t9, !!t.sessionRecording), - ct( - o, - dI, - (i = t.sessionRecording) === null || i === void 0 - ? void 0 - : i.consoleLogRecordingEnabled - ), - ct( - o, - pI, - (a = t.sessionRecording) === null || a === void 0 - ? void 0 - : a.recorderVersion - ), - o) - ), - (n = t.sessionRecording) !== null && - n !== void 0 && - n.endpoint && - (this.endpoint = - (s = t.sessionRecording) === null || s === void 0 - ? void 0 - : s.endpoint), - (r = t.sessionRecording) !== null && - r !== void 0 && - r.recorderVersion && - (this.recorderVersion = t.sessionRecording.recorderVersion), - this.startRecordingIfEnabled(); - }, - }, - { - key: "log", - value: function (t) { - var n, - r = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : "log"; - (n = this.instance.sessionRecording) === null || - n === void 0 || - n.onRRwebEmit({ - type: 6, - data: { - plugin: "rrweb/console@1", - payload: { - level: r, - trace: [], - payload: [JSON.stringify(t)], - }, - }, - timestamp: vF(), - }); - }, - }, - { - key: "startCaptureAndTrySendingQueuedSnapshots", - value: function () { - var t = this; - this.receivedDecide && - ((this.emit = !0), - this.snapshots.forEach(function (n) { - return t._captureSnapshotBuffered(n); - })), - this._startCapture(); - }, - }, - { - key: "_startCapture", - value: function () { - var t = this; - if ( - Object.assign !== void 0 && - !this.captureStarted && - !this.instance.get_config("disable_session_recording") - ) { - (this.captureStarted = !0), - this.instance.sessionManager.checkAndGetSessionAndWindowId(); - var n = - this.getRecordingVersion() === "v2" - ? "recorder-v2.js" - : "recorder.js"; - this.instance.__loaded_recorder_version !== - this.getRecordingVersion() - ? T7( - this.instance.get_config("api_host") + - "/static/".concat(n, "?v=").concat(fa.LIB_VERSION), - function (r) { - if (r) return kn.error("Could not load ".concat(n), r); - t._onScriptLoaded(); - } - ) - : this._onScriptLoaded(); - } - }, - }, - { - key: "_isInteractiveEvent", - value: function (t) { - var n; - return ( - t.type === AF && - Wfe.indexOf( - (n = t.data) === null || n === void 0 ? void 0 : n.source - ) !== -1 - ); - }, - }, - { - key: "_updateWindowAndSessionIds", - value: function (t) { - var n = this._isInteractiveEvent(t); - if ( - (n || - this.isIdle || - (t.timestamp - this.lastActivityTimestamp > 3e5 && - (this.isIdle = !0)), - n && - ((this.lastActivityTimestamp = t.timestamp), - this.isIdle && - ((this.isIdle = !1), this._tryTakeFullSnapshot())), - !this.isIdle) - ) { - var r = - this.instance.sessionManager.checkAndGetSessionAndWindowId( - !n, - t.timestamp - ), - i = r.windowId, - a = r.sessionId; - [mI, Ufe].indexOf(t.type) !== -1 || - (this.windowId === i && this.sessionId === a) || - this._tryTakeFullSnapshot(), - (this.windowId = i), - (this.sessionId = a); - } - }, - }, - { - key: "_tryTakeFullSnapshot", - value: function () { - if (!this.captureStarted) return !1; - try { - var t; - return ( - (t = this.rrwebRecord) === null || - t === void 0 || - t.takeFullSnapshot(), - !0 - ); - } catch (n) { - return kn.error("Error taking full snapshot.", n), !1; - } - }, - }, - { - key: "_onScriptLoaded", - value: function () { - var t, - n = this, - r = { - blockClass: "ph-no-capture", - blockSelector: void 0, - ignoreClass: "ph-ignore-input", - maskTextClass: "ph-mask", - maskTextSelector: void 0, - maskTextFn: void 0, - maskAllInputs: !0, - maskInputOptions: {}, - maskInputFn: void 0, - slimDOMOptions: {}, - collectFonts: !1, - inlineStylesheet: !0, - recordCrossOriginIframes: !1, - }; - this.rrwebRecord = window.rrweb - ? window.rrweb.record - : window.rrwebRecord; - for ( - var i = this.instance.get_config("session_recording"), - a = 0, - o = Object.entries(i || {}); - a < o.length; - a++ - ) { - var s = yo(o[a], 2), - u = s[0], - c = s[1]; - u in r && (r[u] = c); - } - this.rrwebRecord - ? ((this.mutationRateLimiter = - (t = this.mutationRateLimiter) !== null && t !== void 0 - ? t - : new Gfe(this.rrwebRecord, { - onBlockedNode: function (p, f) { - var m = "Too many mutations on node '".concat( - p, - "'. Rate limiting. This could be due to SVG animations or something similar" - ); - kn.log(m, { node: f }), - n.log("[PostHog Recorder] " + m, "warn"); - }, - })), - (this.stopRrweb = this.rrwebRecord( - yt( - { - emit: function (p) { - n.onRRwebEmit(p); - }, - plugins: - window.rrwebConsoleRecord && - this.isConsoleLogCaptureEnabled() - ? [window.rrwebConsoleRecord.getRecordConsolePlugin()] - : [], - }, - r - ) - )), - this.instance._addCaptureHook(function (p) { - try { - var f; - p === "$pageview" && - ((f = n.rrwebRecord) === null || - f === void 0 || - f.addCustomEvent("$pageview", { - href: window.location.href, - })); - } catch (m) { - kn.error("Could not add $pageview to rrweb session", m); - } - }), - (this.lastActivityTimestamp = Date.now()), - (this.isIdle = !1)) - : kn.error( - "onScriptLoaded was called but rrwebRecord is not available. This indicates something has gone wrong." - ); - }, - }, - { - key: "onRRwebEmit", - value: function (t) { - if (t && ol(t) === "object") { - var n = this.mutationRateLimiter - ? this.mutationRateLimiter.throttleMutations(t) - : t; - if (n) { - var r = (function (s) { - var u = JSON.stringify(s); - if (u.length > Hfe) { - var c, - p = as( - u.matchAll(/data:([\w\/\-\.]+);(\w+),([^)"]*)/gim) - ); - try { - for (p.s(); !(c = p.n()).done; ) { - var f = c.value; - u = - f[1].toLocaleLowerCase().slice(0, 6) === "image/" - ? u.replace(f[0], Bfe) - : u.replace(f[0], ""); - } - } catch (m) { - p.e(m); - } finally { - p.f(); - } - } - return { event: JSON.parse(u), size: u.length }; - })( - (function (s) { - var u = s; - if ( - u && - ol(u) === "object" && - u.type === $fe && - ol(u.data) === "object" && - u.data.plugin === jfe - ) { - u.data.payload.payload.length > 10 && - ((u.data.payload.payload = - u.data.payload.payload.slice(0, 10)), - u.data.payload.payload.push("...[truncated]")); - for ( - var c = [], p = 0; - p < u.data.payload.payload.length; - p++ - ) - u.data.payload.payload[p] && - u.data.payload.payload[p].length > 2e3 - ? c.push( - u.data.payload.payload[p].slice(0, 2e3) + - "...[truncated]" - ) - : c.push(u.data.payload.payload[p]); - return (u.data.payload.payload = c), s; - } - return s; - })(n) - ), - i = r.event, - a = r.size; - if ((this._updateWindowAndSessionIds(i), !this.isIdle)) { - var o = { - $snapshot_bytes: a, - $snapshot_data: i, - $session_id: this.sessionId, - $window_id: this.windowId, - }; - this.instance._captureMetrics.incr("rrweb-record"), - this.instance._captureMetrics.incr( - "rrweb-record-".concat(i.type) - ), - this.emit - ? this._captureSnapshotBuffered(o) - : this.snapshots.push(o); - } - } - } - }, - }, - { - key: "_flushBuffer", - value: function () { - return ( - this.flushBufferTimer && - (clearTimeout(this.flushBufferTimer), - (this.flushBufferTimer = void 0)), - this.buffer && - this.buffer.data.length !== 0 && - this._captureSnapshot({ - $snapshot_bytes: this.buffer.size, - $snapshot_data: this.buffer.data, - $session_id: this.buffer.sessionId, - $window_id: this.buffer.windowId, - }), - (this.buffer = void 0), - { - size: 0, - data: [], - sessionId: this.sessionId, - windowId: this.windowId, - } - ); - }, - }, - { - key: "_captureSnapshotBuffered", - value: function (t) { - var n, - r = this, - i = - 2 + - (((n = this.buffer) === null || n === void 0 - ? void 0 - : n.data.length) || 0); - (!this.buffer || - this.buffer.size + t.$snapshot_bytes + i > 943718.4 || - this.buffer.sessionId !== this.sessionId) && - (this.buffer = this._flushBuffer()), - (this.buffer.size += t.$snapshot_bytes), - this.buffer.data.push(t.$snapshot_data), - this.flushBufferTimer || - (this.flushBufferTimer = setTimeout(function () { - r._flushBuffer(); - }, 2e3)); - }, - }, - { - key: "_captureSnapshot", - value: function (t) { - this.instance.capture("$snapshot", t, { - transport: "XHR", - method: "POST", - endpoint: this.endpoint, - _noTruncate: !0, - _batchKey: CF, - _metrics: { rrweb_full_snapshot: t.$snapshot_data.type === mI }, - }); - }, - }, - ]), - e - ); - })(), - no = { - entryType: 0, - timeOrigin: 1, - name: 2, - startTime: 3, - redirectStart: 4, - redirectEnd: 5, - workerStart: 6, - fetchStart: 7, - domainLookupStart: 8, - domainLookupEnd: 9, - connectStart: 10, - secureConnectionStart: 11, - connectEnd: 12, - requestStart: 13, - responseStart: 14, - responseEnd: 15, - decodedBodySize: 16, - encodedBodySize: 17, - initiatorType: 18, - nextHopProtocol: 19, - renderBlockingStatus: 20, - responseStatus: 21, - transferSize: 22, - element: 23, - renderTime: 24, - loadTime: 25, - size: 26, - id: 27, - url: 28, - domComplete: 29, - domContentLoadedEvent: 30, - domInteractive: 31, - loadEventEnd: 32, - loadEventStart: 33, - redirectCount: 34, - navigationType: 35, - unloadEventEnd: 36, - unloadEventStart: 37, - duration: 39, - timestamp: 40, - }, - Kfe = ["first-input", "navigation", "paint", "resource"], - Yfe = ["/s/", "/e/"], - Xfe = (function () { - function e(t) { - Bn(this, e), ct(this, "_forceAllowLocalhost", !1), (this.instance = t); - } - return ( - Un(e, [ - { - key: "startObservingIfEnabled", - value: function () { - this.isEnabled() ? this.startObserving() : this.stopObserving(); - }, - }, - { - key: "startObserving", - value: function () { - var t, - n, - r = this; - if (!this.observer) - if ( - ((t = window) === null || - t === void 0 || - (n = t.PerformanceObserver) === null || - n === void 0 - ? void 0 - : n.supportedEntryTypes) !== void 0 - ) - if ( - !Afe.includes(location.hostname) || - this._forceAllowLocalhost - ) - try { - this.observer = new PerformanceObserver(function (a) { - a.getEntries().forEach(function (o) { - r._capturePerformanceEvent(o); - }); - }); - var i = PerformanceObserver.supportedEntryTypes.filter( - function (a) { - return Kfe.includes(a); - } - ); - i.forEach(function (a) { - var o; - (o = r.observer) === null || - o === void 0 || - o.observe({ type: a, buffered: !0 }); - }); - } catch (a) { - console.error( - "PostHog failed to start performance observer", - a - ), - this.stopObserving(); - } - else - kn.log( - "PostHog Peformance observer not started because we are on localhost." - ); - else - kn.log( - "PostHog Performance observer not started because PerformanceObserver is not supported by this browser." - ); - }, - }, - { - key: "stopObserving", - value: function () { - this.observer && - (this.observer.disconnect(), (this.observer = void 0)); - }, - }, - { - key: "isObserving", - value: function () { - return !!this.observer; - }, - }, - { - key: "isEnabled", - value: function () { - var t, n; - return ( - (t = - (n = this.instance.get_config("capture_performance")) !== - null && n !== void 0 - ? n - : this.remoteEnabled) !== null && - t !== void 0 && - t - ); - }, - }, - { - key: "afterDecideResponse", - value: function (t) { - (this.remoteEnabled = t.capturePerformance || !1), - this.isEnabled() && this.startObserving(); - }, - }, - { - key: "_capturePerformanceEvent", - value: function (t) { - if (t.name.indexOf(this.instance.get_config("api_host")) === 0) { - var n = t.name.replace(this.instance.get_config("api_host"), ""); - if ( - Yfe.find(function (g) { - return n.indexOf(g) === 0; - }) - ) - return; - } - var r = { url: t.name }, - i = this.instance.get_config("session_recording"); - if ( - (i.maskNetworkRequestFn && (r = i.maskNetworkRequestFn(r)), r) - ) { - var a = t.toJSON(); - a.name = r.url; - var o = {}, - s = Math.floor(Date.now() - performance.now()); - for (var u in ((o[no.timeOrigin] = s), - (o[no.timestamp] = Math.floor(s + t.startTime)), - no)) - a[u] !== void 0 && (o[no[u]] = a[u]); - if ((this.capturePerformanceEvent(o), Zfe(t))) { - var c, - p = as(t.serverTiming || []); - try { - for (p.s(); !(c = p.n()).done; ) { - var f, - m = c.value; - this.capturePerformanceEvent( - (ct((f = {}), no.timeOrigin, s), - ct(f, no.timestamp, Math.floor(s + t.startTime)), - ct(f, no.name, m.name), - ct(f, no.duration, m.duration), - ct(f, no.entryType, "serverTiming"), - f) - ); - } - } catch (g) { - p.e(g); - } finally { - p.f(); - } - } - } - }, - }, - { - key: "capturePerformanceEvent", - value: function (t) { - var n, - r = t[no.timestamp]; - (n = this.instance.sessionRecording) === null || - n === void 0 || - n.onRRwebEmit({ - type: 6, - data: { plugin: "posthog/network@1", payload: t }, - timestamp: r, - }); - }, - }, - ]), - e - ); - })(), - Zfe = function (e) { - return e.entryType === "navigation" || e.entryType === "resource"; - }, - Qfe = (function () { - function e(t) { - Bn(this, e), - (this.instance = t), - (this.instance.decideEndpointWasHit = - this.instance._hasBootstrappedFeatureFlags()); - } - return ( - Un(e, [ - { - key: "call", - value: function () { - var t = this, - n = _7( - JSON.stringify({ - token: this.instance.get_config("token"), - distinct_id: this.instance.get_distinct_id(), - groups: this.instance.getGroups(), - person_properties: this.instance.get_property(A1), - group_properties: this.instance.get_property(Ps), - disable_flags: - this.instance.get_config( - "advanced_disable_feature_flags" - ) || - this.instance.get_config( - "advanced_disable_feature_flags_on_first_load" - ) || - void 0, - }) - ); - this.instance._send_request( - "".concat(this.instance.get_config("api_host"), "/decide/?v=3"), - { data: n, verbose: !0 }, - { method: "POST" }, - function (r) { - return t.parseDecideResponse(r); - } - ); - }, - }, - { - key: "parseDecideResponse", - value: function (t) { - var n, - r, - i, - a = this; - if ((t == null ? void 0 : t.status) !== 0) { - if (!document || !document.body) - return ( - console.log( - "document not ready yet, trying again in 500 milliseconds..." - ), - void setTimeout(function () { - a.parseDecideResponse(t); - }, 500) - ); - if ( - (this.instance.toolbar.afterDecideResponse(t), - (n = this.instance.sessionRecording) === null || - n === void 0 || - n.afterDecideResponse(t), - zs.afterDecideResponse(t, this.instance), - (r = this.instance.webPerformance) === null || - r === void 0 || - r.afterDecideResponse(t), - (i = this.instance.exceptionAutocapture) === null || - i === void 0 || - i.afterDecideResponse(t), - this.instance.get_config( - "advanced_disable_feature_flags_on_first_load" - ) || this.instance.featureFlags.receivedFeatureFlags(t), - (this.instance.compression = {}), - t.supportedCompression && - !this.instance.get_config("disable_compression")) - ) { - var o, - s = {}, - u = as(t.supportedCompression); - try { - for (u.s(); !(o = u.n()).done; ) s[o.value] = !0; - } catch (g) { - u.e(g); - } finally { - u.f(); - } - this.instance.compression = s; - } - if (t.siteApps) - if (this.instance.get_config("opt_in_site_apps")) { - var c, - p = this.instance.get_config("api_host"), - f = as(t.siteApps); - try { - var m = function () { - var g = c.value, - E = g.id, - b = g.url, - T = [ - p, - p[p.length - 1] === "/" && b[0] === "/" - ? b.substring(1) - : b, - ].join(""); - (window["__$$ph_site_app_".concat(E)] = a.instance), - T7(T, function (v) { - v && - console.error( - "Error while initializing PostHog app with config id ".concat( - E - ), - v - ); - }); - }; - for (f.s(); !(c = f.n()).done; ) m(); - } catch (g) { - f.e(g); - } finally { - f.f(); - } - } else - t.siteApps.length > 0 && - console.error( - 'PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.' - ); - } else console.error("Failed to fetch feature flags from PostHog."); - }, - }, - ]), - e - ); - })(), - Jfe = ["https://app.posthog.com", "https://eu.posthog.com"], - e0e = ["source"], - t0e = (function () { - function e(t) { - Bn(this, e), (this.instance = t); - } - return ( - Un(e, [ - { - key: "afterDecideResponse", - value: function (t) { - var n = - t.toolbarParams || - t.editorParams || - (t.toolbarVersion ? { toolbarVersion: t.toolbarVersion } : {}); - t.isAuthenticated && - n.toolbarVersion && - n.toolbarVersion.indexOf("toolbar") === 0 && - this.loadToolbar(yt({}, n)); - }, - }, - { - key: "maybeLoadToolbar", - value: function () { - var t = - arguments.length > 0 && arguments[0] !== void 0 - ? arguments[0] - : window.location, - n = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : void 0, - r = - arguments.length > 2 && arguments[2] !== void 0 - ? arguments[2] - : window.history; - try { - if (!n) { - try { - window.localStorage.setItem("test", "test"), - window.localStorage.removeItem("test"); - } catch { - return !1; - } - n = window.localStorage; - } - var i, - a = oI(t.hash, "__posthog") || oI(t.hash, "state"), - o = a ? JSON.parse(decodeURIComponent(a)) : null; - return ( - o && o.action === "ph_authorize" - ? (((i = o).source = "url"), - i && - Object.keys(i).length > 0 && - (o.desiredHash - ? (t.hash = o.desiredHash) - : r - ? r.replaceState( - "", - document.title, - t.pathname + t.search - ) - : (t.hash = ""))) - : (((i = JSON.parse( - n.getItem("_postHogToolbarParams") || "{}" - )).source = "localstorage"), - delete i.userIntent), - !(!i.token || this.instance.get_config("token") !== i.token) && - (this.loadToolbar(i), !0) - ); - } catch { - return !1; - } - }, - }, - { - key: "loadToolbar", - value: function (t) { - var n = this; - if (window._postHogToolbarLoaded) return !1; - window._postHogToolbarLoaded = !0; - var r = this.instance.get_config("api_host"), - i = 3e4 * Math.floor(Date.now() / 3e4), - a = "" - .concat(r) - .concat(r.endsWith("/") ? "" : "/", "static/toolbar.js?_ts=") - .concat(i), - o = - !Jfe.includes(this.instance.get_config("api_host")) && - this.instance.get_config("advanced_disable_toolbar_metrics"), - s = yt( - yt({ token: this.instance.get_config("token") }, t), - {}, - { apiURL: r }, - o ? { instrument: !1 } : {} - ); - s.source; - var u = Efe(s, e0e); - return ( - window.localStorage.setItem( - "_postHogToolbarParams", - JSON.stringify(u) - ), - T7(a, function (c) { - c - ? kn.error("Failed to load toolbar", c) - : (window.ph_load_toolbar || window.ph_load_editor)( - s, - n.instance - ); - }), - Fd(window, "turbolinks:load", function () { - (window._postHogToolbarLoaded = !1), n.loadToolbar(s); - }), - !0 - ); - }, - }, - { - key: "_loadEditor", - value: function (t) { - return this.loadToolbar(t); - }, - }, - { - key: "maybeLoadEditor", - value: function () { - var t = - arguments.length > 0 && arguments[0] !== void 0 - ? arguments[0] - : window.location, - n = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : void 0, - r = - arguments.length > 2 && arguments[2] !== void 0 - ? arguments[2] - : window.history; - return this.maybeLoadToolbar(t, n, r); - }, - }, - ]), - e - ); - })(), - n0e = "__ph_opt_in_out_"; -function r0e(e, t) { - kF(!0, e, t); -} -function i0e(e, t) { - kF(!1, e, t); -} -function a0e(e, t) { - return xF(e, t) === "1"; -} -function bI(e, t) { - return ( - !!(function (n) { - if (n && n.respectDnt) { - var r = (n && n.window) || ht, - i = r.navigator || {}, - a = !1; - return ( - fn([i.doNotTrack, i.msDoNotTrack, r.doNotTrack], function (o) { - pn([!0, 1, "1", "yes"], o) && (a = !0); - }), - a - ); - } - return !1; - })(t) || xF(e, t) === "0" - ); -} -function o0e(e, t) { - S7((t = t || {})).remove(w7(e, t), !!t.crossSubdomainCookie); -} -function S7(e) { - return (e = e || {}).persistenceType === "localStorage" - ? qn - : e.persistenceType === "localStorage+cookie" - ? e9 - : po; -} -function w7(e, t) { - return ((t = t || {}).persistencePrefix || n0e) + e; -} -function xF(e, t) { - return S7(t).get(w7(e, t)); -} -function kF(e, t, n) { - EF(t) && t.length - ? (S7((n = n || {})).set( - w7(t, n), - e ? 1 : 0, - xfe(n.cookieExpiration) ? n.cookieExpiration : null, - n.crossSubdomainCookie, - n.secureCookie - ), - n.capture && - e && - n.capture(n.captureEventName || "$opt_in", n.captureProperties || {}, { - send_instantly: !0, - })) - : console.error( - "gdpr." + (e ? "optIn" : "optOut") + " called with an invalid token" - ); -} -var IF = (function () { - function e() { - var t = - arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 3e3; - Bn(this, e), - (this.isPolling = !0), - (this._event_queue = []), - (this._empty_queue_count = 0), - (this._poller = void 0), - (this._pollInterval = t); - } - return ( - Un(e, [ - { - key: "setPollInterval", - value: function (t) { - (this._pollInterval = t), this.isPolling && this.poll(); - }, - }, - { key: "poll", value: function () {} }, - { key: "unload", value: function () {} }, - { - key: "getTime", - value: function () { - return new Date().getTime(); - }, - }, - ]), - e - ); - })(), - s0e = (function (e) { - pF(n, IF); - var t = fF(n); - function n(r, i) { - var a, - o = - arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 3e3; - return ( - Bn(this, n), - ((a = t.call(this, o)).handlePollRequest = i), - (a.captureMetrics = r), - a - ); - } - return ( - Un(n, [ - { - key: "enqueue", - value: function (r, i, a) { - this.captureMetrics.incr("batch-enqueue"), - this._event_queue.push({ url: r, data: i, options: a }), - this.isPolling || ((this.isPolling = !0), this.poll()); - }, - }, - { - key: "poll", - value: function () { - var r = this; - clearTimeout(this._poller), - (this._poller = setTimeout(function () { - if (r._event_queue.length > 0) { - var i = r.formatQueue(), - a = function (s) { - var u = i[s], - c = u.url, - p = u.data, - f = u.options; - fn(p, function (m, g) { - (p[g].offset = Math.abs(p[g].timestamp - r.getTime())), - delete p[g].timestamp; - }), - r.handlePollRequest(c, p, f), - r.captureMetrics.incr("batch-requests"), - r.captureMetrics.incr( - "batch-requests-".concat(c.slice(c.length - 2)) - ), - r.captureMetrics.incr("batch-handle", p.length), - r.captureMetrics.incr( - "batch-handle-".concat(c.slice(c.length - 2)), - p.length - ); - }; - for (var o in i) a(o); - (r._event_queue.length = 0), (r._empty_queue_count = 0); - } else r._empty_queue_count++; - r._empty_queue_count > 4 && - ((r.isPolling = !1), (r._empty_queue_count = 0)), - r.isPolling && r.poll(); - }, this._pollInterval)); - }, - }, - { - key: "updateUnloadMetrics", - value: function () { - var r = this.formatQueue(); - for (var i in r) { - var a = r[i], - o = a.url, - s = a.data; - this.captureMetrics.incr("batch-unload-requests"), - this.captureMetrics.incr( - "batch-unload-requests-".concat(o.slice(o.length - 2)) - ), - this.captureMetrics.incr("batch-unload", s.length), - this.captureMetrics.incr( - "batch-unload-".concat(o.slice(o.length - 2)), - s.length - ); - } - }, - }, - { - key: "unload", - value: function () { - var r = this; - clearTimeout(this._poller); - var i = this._event_queue.length > 0 ? this.formatQueue() : {}; - this._event_queue.length = 0; - var a = Object.values(i); - [] - .concat( - Yb( - a.filter(function (o) { - return o.url.indexOf("/e") === 0; - }) - ), - Yb( - a.filter(function (o) { - return o.url.indexOf("/e") !== 0; - }) - ) - ) - .map(function (o) { - var s = o.url, - u = o.data, - c = o.options; - r.handlePollRequest( - s, - u, - yt(yt({}, c), {}, { transport: "sendBeacon" }) - ); - }); - }, - }, - { - key: "formatQueue", - value: function () { - var r = {}; - return ( - fn(this._event_queue, function (i) { - var a = i.url, - o = i.data, - s = i.options, - u = (s ? s._batchKey : null) || a; - r[u] === void 0 && (r[u] = { data: [], url: a, options: s }), - s && - r[u].options && - r[u].options._metrics && - !r[u].options._metrics.rrweb_full_snapshot && - (r[u].options._metrics.rrweb_full_snapshot = - s._metrics.rrweb_full_snapshot), - r[u].data.push(o); - }), - r - ); - }, - }, - ]), - n - ); - })(), - l0e = (function () { - function e(t) { - Bn(this, e), (this.enabled = t), (this.metrics = {}); - } - return ( - Un(e, [ - { - key: "incr", - value: function (t) { - var n = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : 1; - this.enabled && - ((t = "phjs-".concat(t)), - (this.metrics[t] = (this.metrics[t] || 0) + n)); - }, - }, - { - key: "decr", - value: function (t) { - this.enabled && - ((t = "phjs-".concat(t)), - (this.metrics[t] = (this.metrics[t] || 0) - 1)); - }, - }, - ]), - e - ); - })(), - Pi = Uint8Array, - Jr = Uint16Array, - ec = Uint32Array, - A7 = new Pi([ - 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, - 5, 5, 5, 0, 0, 0, 0, - ]), - C7 = new Pi([ - 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, - 11, 11, 12, 12, 13, 13, 0, 0, - ]), - EI = new Pi([ - 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15, - ]), - RF = function (e, t) { - for (var n = new Jr(31), r = 0; r < 31; ++r) n[r] = t += 1 << e[r - 1]; - var i = new ec(n[30]); - for (r = 1; r < 30; ++r) - for (var a = n[r]; a < n[r + 1]; ++a) i[a] = ((a - n[r]) << 5) | r; - return [n, i]; - }, - NF = RF(A7, 2), - u0e = NF[0], - s9 = NF[1]; -(u0e[28] = 258), (s9[258] = 28); -for (var vI = RF(C7, 0)[1], l9 = new Jr(32768), Tn = 0; Tn < 32768; ++Tn) { - var zl = ((43690 & Tn) >>> 1) | ((21845 & Tn) << 1); - (zl = - ((61680 & (zl = ((52428 & zl) >>> 2) | ((13107 & zl) << 2))) >>> 4) | - ((3855 & zl) << 4)), - (l9[Tn] = (((65280 & zl) >>> 8) | ((255 & zl) << 8)) >>> 1); -} -var Pd = function (e, t, n) { - for (var r = e.length, i = 0, a = new Jr(t); i < r; ++i) ++a[e[i] - 1]; - var o, - s = new Jr(t); - for (i = 0; i < t; ++i) s[i] = (s[i - 1] + a[i - 1]) << 1; - if (n) { - o = new Jr(1 << t); - var u = 15 - t; - for (i = 0; i < r; ++i) - if (e[i]) - for ( - var c = (i << 4) | e[i], - p = t - e[i], - f = s[e[i] - 1]++ << p, - m = f | ((1 << p) - 1); - f <= m; - ++f - ) - o[l9[f] >>> u] = c; - } else - for (o = new Jr(r), i = 0; i < r; ++i) - o[i] = l9[s[e[i] - 1]++] >>> (15 - e[i]); - return o; - }, - bu = new Pi(288); -for (Tn = 0; Tn < 144; ++Tn) bu[Tn] = 8; -for (Tn = 144; Tn < 256; ++Tn) bu[Tn] = 9; -for (Tn = 256; Tn < 280; ++Tn) bu[Tn] = 7; -for (Tn = 280; Tn < 288; ++Tn) bu[Tn] = 8; -var xg = new Pi(32); -for (Tn = 0; Tn < 32; ++Tn) xg[Tn] = 5; -var Yl, - c0e = Pd(bu, 9, 0), - d0e = Pd(xg, 5, 0), - OF = function (e) { - return ((e / 8) >> 0) + (7 & e && 1); - }, - DF = function (e, t, n) { - (t == null || t < 0) && (t = 0), - (n == null || n > e.length) && (n = e.length); - var r = new (e instanceof Jr ? Jr : e instanceof ec ? ec : Pi)(n - t); - return r.set(e.subarray(t, n)), r; - }, - $o = function (e, t, n) { - n <<= 7 & t; - var r = (t / 8) >> 0; - (e[r] |= n), (e[r + 1] |= n >>> 8); - }, - Jc = function (e, t, n) { - n <<= 7 & t; - var r = (t / 8) >> 0; - (e[r] |= n), (e[r + 1] |= n >>> 8), (e[r + 2] |= n >>> 16); - }, - t4 = function (e, t) { - for (var n = [], r = 0; r < e.length; ++r) - e[r] && n.push({ s: r, f: e[r] }); - var i = n.length, - a = n.slice(); - if (!i) return [new Pi(0), 0]; - if (i == 1) { - var o = new Pi(n[0].s + 1); - return (o[n[0].s] = 1), [o, 1]; - } - n.sort(function (D, k) { - return D.f - k.f; - }), - n.push({ s: -1, f: 25001 }); - var s = n[0], - u = n[1], - c = 0, - p = 1, - f = 2; - for (n[0] = { s: -1, f: s.f + u.f, l: s, r: u }; p != i - 1; ) - (s = n[n[c].f < n[f].f ? c++ : f++]), - (u = n[c != p && n[c].f < n[f].f ? c++ : f++]), - (n[p++] = { s: -1, f: s.f + u.f, l: s, r: u }); - var m = a[0].s; - for (r = 1; r < i; ++r) a[r].s > m && (m = a[r].s); - var g = new Jr(m + 1), - E = p0e(n[p - 1], g, 0); - if (E > t) { - r = 0; - var b = 0, - T = E - t, - v = 1 << T; - for ( - a.sort(function (D, k) { - return g[k.s] - g[D.s] || D.f - k.f; - }); - r < i; - ++r - ) { - var y = a[r].s; - if (!(g[y] > t)) break; - (b += v - (1 << (E - g[y]))), (g[y] = t); - } - for (b >>>= T; b > 0; ) { - var w = a[r].s; - g[w] < t ? (b -= 1 << (t - g[w]++ - 1)) : ++r; - } - for (; r >= 0 && b; --r) { - var A = a[r].s; - g[A] == t && (--g[A], ++b); - } - E = t; - } - return [new Pi(g), E]; - }, - p0e = function e(t, n, r) { - return t.s == -1 - ? Math.max(e(t.l, n, r + 1), e(t.r, n, r + 1)) - : (n[t.s] = r); - }, - yI = function (e) { - for (var t = e.length; t && !e[--t]; ); - for ( - var n = new Jr(++t), - r = 0, - i = e[0], - a = 1, - o = function (u) { - n[r++] = u; - }, - s = 1; - s <= t; - ++s - ) - if (e[s] == i && s != t) ++a; - else { - if (!i && a > 2) { - for (; a > 138; a -= 138) o(32754); - a > 2 && - (o(a > 10 ? ((a - 11) << 5) | 28690 : ((a - 3) << 5) | 12305), - (a = 0)); - } else if (a > 3) { - for (o(i), --a; a > 6; a -= 6) o(8304); - a > 2 && (o(((a - 3) << 5) | 8208), (a = 0)); - } - for (; a--; ) o(i); - (a = 1), (i = e[s]); - } - return [n.subarray(0, r), t]; - }, - ed = function (e, t) { - for (var n = 0, r = 0; r < t.length; ++r) n += e[r] * t[r]; - return n; - }, - yh = function (e, t, n) { - var r = n.length, - i = OF(t + 2); - (e[i] = 255 & r), - (e[i + 1] = r >>> 8), - (e[i + 2] = 255 ^ e[i]), - (e[i + 3] = 255 ^ e[i + 1]); - for (var a = 0; a < r; ++a) e[i + a + 4] = n[a]; - return 8 * (i + 4 + r); - }, - _I = function (e, t, n, r, i, a, o, s, u, c, p) { - $o(t, p++, n), ++i[256]; - for ( - var f = t4(i, 15), - m = f[0], - g = f[1], - E = t4(a, 15), - b = E[0], - T = E[1], - v = yI(m), - y = v[0], - w = v[1], - A = yI(b), - D = A[0], - k = A[1], - R = new Jr(19), - B = 0; - B < y.length; - ++B - ) - R[31 & y[B]]++; - for (B = 0; B < D.length; ++B) R[31 & D[B]]++; - for ( - var W = t4(R, 7), P = W[0], Q = W[1], z = 19; - z > 4 && !P[EI[z - 1]]; - --z - ); - var le, - he, - de, - fe, - Z = (c + 5) << 3, - V = ed(i, bu) + ed(a, xg) + o, - ce = - ed(i, m) + - ed(a, b) + - o + - 14 + - 3 * z + - ed(R, P) + - (2 * R[16] + 3 * R[17] + 7 * R[18]); - if (Z <= V && Z <= ce) return yh(t, p, e.subarray(u, u + c)); - if (($o(t, p, 1 + (ce < V)), (p += 2), ce < V)) { - (le = Pd(m, g, 0)), (he = m), (de = Pd(b, T, 0)), (fe = b); - var N = Pd(P, Q, 0); - for ( - $o(t, p, w - 257), - $o(t, p + 5, k - 1), - $o(t, p + 10, z - 4), - p += 14, - B = 0; - B < z; - ++B - ) - $o(t, p + 3 * B, P[EI[B]]); - p += 3 * z; - for (var me = [y, D], oe = 0; oe < 2; ++oe) { - var O = me[oe]; - for (B = 0; B < O.length; ++B) { - var re = 31 & O[B]; - $o(t, p, N[re]), - (p += P[re]), - re > 15 && ($o(t, p, (O[B] >>> 5) & 127), (p += O[B] >>> 12)); - } - } - } else (le = c0e), (he = bu), (de = d0e), (fe = xg); - for (B = 0; B < s; ++B) - if (r[B] > 255) { - (re = (r[B] >>> 18) & 31), - Jc(t, p, le[re + 257]), - (p += he[re + 257]), - re > 7 && ($o(t, p, (r[B] >>> 23) & 31), (p += A7[re])); - var Te = 31 & r[B]; - Jc(t, p, de[Te]), - (p += fe[Te]), - Te > 3 && (Jc(t, p, (r[B] >>> 5) & 8191), (p += C7[Te])); - } else Jc(t, p, le[r[B]]), (p += he[r[B]]); - return Jc(t, p, le[256]), p + he[256]; - }, - f0e = new ec([ - 65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632, - ]), - h0e = new Pi(0), - g0e = (function () { - for (var e = new ec(256), t = 0; t < 256; ++t) { - for (var n = t, r = 9; --r; ) n = (1 & n && 3988292384) ^ (n >>> 1); - e[t] = n; - } - return e; - })(), - m0e = function () { - var e = 4294967295; - return { - p: function (t) { - for (var n = e, r = 0; r < t.length; ++r) - n = g0e[(255 & n) ^ t[r]] ^ (n >>> 8); - e = n; - }, - d: function () { - return 4294967295 ^ e; - }, - }; - }, - b0e = function (e, t, n, r, i) { - return (function (a, o, s, u, c, p) { - var f = a.length, - m = new Pi(u + f + 5 * (1 + Math.floor(f / 7e3)) + c), - g = m.subarray(u, m.length - c), - E = 0; - if (!o || f < 8) - for (var b = 0; b <= f; b += 65535) { - var T = b + 65535; - T < f - ? (E = yh(g, E, a.subarray(b, T))) - : ((g[b] = p), (E = yh(g, E, a.subarray(b, f)))); - } - else { - for ( - var v = f0e[o - 1], - y = v >>> 13, - w = 8191 & v, - A = (1 << s) - 1, - D = new Jr(32768), - k = new Jr(A + 1), - R = Math.ceil(s / 3), - B = 2 * R, - W = function (U) { - return (a[U] ^ (a[U + 1] << R) ^ (a[U + 2] << B)) & A; - }, - P = new ec(25e3), - Q = new Jr(288), - z = new Jr(32), - le = 0, - he = 0, - de = ((b = 0), 0), - fe = 0, - Z = 0; - b < f; - ++b - ) { - var V = W(b), - ce = 32767 & b, - N = k[V]; - if (((D[ce] = N), (k[V] = ce), fe <= b)) { - var me = f - b; - if ((le > 7e3 || de > 24576) && me > 423) { - (E = _I(a, g, 0, P, Q, z, he, de, Z, b - Z, E)), - (de = le = he = 0), - (Z = b); - for (var oe = 0; oe < 286; ++oe) Q[oe] = 0; - for (oe = 0; oe < 30; ++oe) z[oe] = 0; - } - var O = 2, - re = 0, - Te = w, - K = (ce - N) & 32767; - if (me > 2 && V == W(b - K)) - for ( - var xe = Math.min(y, me) - 1, - ne = Math.min(32767, b), - Le = Math.min(258, me); - K <= ne && --Te && ce != N; - - ) { - if (a[b + O] == a[b + O - K]) { - for (var Re = 0; Re < Le && a[b + Re] == a[b + Re - K]; ++Re); - if (Re > O) { - if (((O = Re), (re = K), Re > xe)) break; - var Xe = Math.min(K, Re - 2), - Ve = 0; - for (oe = 0; oe < Xe; ++oe) { - var dt = (b - K + oe + 32768) & 32767, - ot = (dt - D[dt] + 32768) & 32767; - ot > Ve && ((Ve = ot), (N = dt)); - } - } - } - K += ((ce = N) - (N = D[ce]) + 32768) & 32767; - } - if (re) { - P[de++] = 268435456 | (s9[O] << 18) | vI[re]; - var Ge = 31 & s9[O], - pt = 31 & vI[re]; - (he += A7[Ge] + C7[pt]), - ++Q[257 + Ge], - ++z[pt], - (fe = b + O), - ++le; - } else (P[de++] = a[b]), ++Q[a[b]]; - } - } - (E = _I(a, g, p, P, Q, z, he, de, Z, b - Z, E)), - p || (E = yh(g, E, h0e)); - } - return DF(m, 0, u + OF(E) + c); - })( - e, - t.level == null ? 6 : t.level, - t.mem == null - ? Math.ceil(1.5 * Math.max(8, Math.min(13, Math.log(e.length)))) - : 12 + t.mem, - n, - r, - !i - ); - }, - u9 = function (e, t, n) { - for (; n; ++t) (e[t] = n), (n >>>= 8); - }, - E0e = function (e, t) { - var n = t.filename; - if ( - ((e[0] = 31), - (e[1] = 139), - (e[2] = 8), - (e[8] = t.level < 2 ? 4 : t.level == 9 ? 2 : 0), - (e[9] = 3), - t.mtime != 0 && - u9(e, 4, Math.floor(new Date(t.mtime || Date.now()) / 1e3)), - n) - ) { - e[3] = 8; - for (var r = 0; r <= n.length; ++r) e[r + 10] = n.charCodeAt(r); - } - }, - v0e = function (e) { - return 10 + ((e.filename && e.filename.length + 1) || 0); - }; -function y0e(e, t) { - t === void 0 && (t = {}); - var n = m0e(), - r = e.length; - n.p(e); - var i = b0e(e, t, v0e(t), 8), - a = i.length; - return E0e(i, t), u9(i, a - 8, n.d()), u9(i, a - 4, r), i; -} -function _0e(e, t) { - var n = e.length; - if (!t && typeof TextEncoder < "u") return new TextEncoder().encode(e); - for ( - var r = new Pi(e.length + (e.length >>> 1)), - i = 0, - a = function (c) { - r[i++] = c; - }, - o = 0; - o < n; - ++o - ) { - if (i + 5 > r.length) { - var s = new Pi(i + 8 + ((n - o) << 1)); - s.set(r), (r = s); - } - var u = e.charCodeAt(o); - u < 128 || t - ? a(u) - : u < 2048 - ? (a(192 | (u >>> 6)), a(128 | (63 & u))) - : u > 55295 && u < 57344 - ? (a( - 240 | - ((u = (65536 + (1047552 & u)) | (1023 & e.charCodeAt(++o))) >>> 18) - ), - a(128 | ((u >>> 12) & 63)), - a(128 | ((u >>> 6) & 63)), - a(128 | (63 & u))) - : (a(224 | (u >>> 12)), a(128 | ((u >>> 6) & 63)), a(128 | (63 & u))); - } - return DF(r, 0, i); -} -(function (e) { - (e.GZipJS = "gzip-js"), (e.Base64 = "base64"); -})(Yl || (Yl = {})); -var T0e = function (e, t, n) { - var r = t || {}; - (r.ip = n.ip ? 1 : 0), - (r._ = new Date().getTime().toString()), - (r.ver = fa.LIB_VERSION); - var i = e.split("?"); - if (i.length > 1) { - var a, - o = as(i[1].split("&")); - try { - for (o.s(); !(a = o.n()).done; ) { - var s = a.value.split("=")[0]; - r[s] && delete r[s]; - } - } catch (c) { - o.e(c); - } finally { - o.f(); - } - } - var u = e.indexOf("?") > -1 ? "&" : "?"; - return ( - e + - u + - (function (c) { - var p, - f, - m = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : "&", - g = []; - return ( - fn(c, function (E, b) { - (p = encodeURIComponent(E.toString())), - (f = encodeURIComponent(b)), - (g[g.length] = f + "=" + p); - }), - g.join(m) - ); - })(r) - ); - }, - x7 = function e(t, n) { - if (n.blob && t.buffer) return new Blob([t.buffer], { type: "text/plain" }); - if (n.sendBeacon || n.blob) { - var r = e(t, { method: "POST" }); - return new Blob([r], { type: "application/x-www-form-urlencoded" }); - } - if (n.method !== "POST") return null; - var i, a; - return ( - (i = - Array.isArray(t) || - ((a = t), Object.prototype.toString.call(a) === "[object Uint8Array]") - ? "data=" + encodeURIComponent(t) - : "data=" + encodeURIComponent(t.data)), - "compression" in t && - t.compression && - (i += "&compression=" + t.compression), - i - ); - }, - LF = function (e) { - var t = e.url, - n = e.data, - r = e.headers, - i = e.options, - a = e.captureMetrics, - o = e.callback, - s = e.retriesPerformedSoFar, - u = e.retryQueue, - c = e.onXHRError, - p = e.timeout, - f = p === void 0 ? 1e4 : p, - m = e.onRateLimited, - g = new XMLHttpRequest(); - g.open(i.method || "GET", t, !0); - var E = x7(n, i); - a.incr("_send_request"), - a.incr("_send_request_inflight"), - fn(r, function (b, T) { - g.setRequestHeader(T, b); - }), - i.method !== "POST" || - i.blob || - g.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), - (g.timeout = f), - (g.withCredentials = !0), - (g.onreadystatechange = function () { - if (g.readyState === 4) - if ( - (a.incr("xhr-response"), - a.incr("xhr-response-".concat(g.status)), - a.decr("_send_request_inflight"), - g.status === 200) - ) { - if (o) { - var b; - try { - b = JSON.parse(g.responseText); - } catch (T) { - return void kn.error(T); - } - o(b); - } - } else - typeof c == "function" && c(g), - [401, 403, 404, 500].indexOf(g.status) < 0 && - u.enqueue({ - url: t, - data: n, - options: i, - headers: r, - retriesPerformedSoFar: (s || 0) + 1, - callback: o, - }), - g.status === 429 && (m == null || m(g)), - o && o({ status: 0 }); - }), - g.send(E); - }, - S0e = 18e5, - w0e = (function (e) { - pF(n, IF); - var t = fF(n); - function n(r, i, a) { - var o; - return ( - Bn(this, n), - ((o = t.call(this)).captureMetrics = r), - (o.isPolling = !1), - (o.queue = []), - (o.areWeOnline = !0), - (o.onXHRError = i), - (o.rateLimiter = a), - typeof window < "u" && - "onLine" in window.navigator && - ((o.areWeOnline = window.navigator.onLine), - window.addEventListener("online", function () { - o._handleWeAreNowOnline(); - }), - window.addEventListener("offline", function () { - o.areWeOnline = !1; - })), - o - ); - } - return ( - Un(n, [ - { - key: "enqueue", - value: function (r) { - var i = r.retriesPerformedSoFar || 0; - if (!(i >= 10)) { - var a = (function (s) { - var u = 3e3 * Math.pow(2, s), - c = u / 2, - p = Math.min(S0e, u), - f = (Math.random() - 0.5) * (p - c); - return Math.ceil(p + f); - })(i), - o = new Date(Date.now() + a); - this.queue.push({ retryAt: o, requestData: r }), - console.warn("Enqueued failed request for retry in ".concat(a)), - this.isPolling || ((this.isPolling = !0), this.poll()); - } - }, - }, - { - key: "poll", - value: function () { - var r = this; - this._poller && clearTimeout(this._poller), - (this._poller = setTimeout(function () { - r.areWeOnline && r.queue.length > 0 && r.flush(), r.poll(); - }, this._pollInterval)); - }, - }, - { - key: "flush", - value: function () { - var r = new Date(Date.now()), - i = this.queue.filter(function (u) { - return u.retryAt < r; - }); - if (i.length > 0) { - this.queue = this.queue.filter(function (u) { - return u.retryAt >= r; - }); - var a, - o = as(i); - try { - for (o.s(); !(a = o.n()).done; ) { - var s = a.value.requestData; - this._executeXhrRequest(s); - } - } catch (u) { - o.e(u); - } finally { - o.f(); - } - } - }, - }, - { - key: "unload", - value: function () { - this._poller && - (clearTimeout(this._poller), (this._poller = void 0)); - var r, - i = as(this.queue); - try { - for (i.s(); !(r = i.n()).done; ) { - var a = r.value.requestData, - o = a.url, - s = a.data, - u = a.options; - if (this.rateLimiter.isRateLimited(u._batchKey)) - fa.DEBUG && - console.warn( - "[PostHog RetryQueue] is quota limited. Dropping request." - ); - else - try { - window.navigator.sendBeacon( - o, - x7(s, yt(yt({}, u), {}, { sendBeacon: !0 })) - ); - } catch (c) { - fa.DEBUG && console.error(c); - } - } - } catch (c) { - i.e(c); - } finally { - i.f(); - } - this.queue = []; - }, - }, - { - key: "_executeXhrRequest", - value: function (r) { - var i = r.url, - a = r.data, - o = r.options, - s = r.headers, - u = r.callback, - c = r.retriesPerformedSoFar; - this.rateLimiter.isRateLimited(o._batchKey) - ? fa.DEBUG && - console.warn( - "[PostHog RetryQueue] in quota limited mode. Dropping request." - ) - : LF({ - url: i, - data: a || {}, - options: o || {}, - headers: s || {}, - retriesPerformedSoFar: c || 0, - callback: u, - captureMetrics: this.captureMetrics, - retryQueue: this, - onXHRError: this.onXHRError, - onRateLimited: this.rateLimiter.on429Response, - }); - }, - }, - { - key: "_handleWeAreNowOnline", - value: function () { - (this.areWeOnline = !0), this.flush(); - }, - }, - ]), - n - ); - })(), - z0 = 1800, - TI = 60, - A0e = 864e5, - C0e = (function () { - function e(t, n, r) { - Bn(this, e), - ct(this, "_sessionIdChangedHandlers", []), - (this.uuidFn = r), - (this.config = t), - (this.persistence = n), - (this._windowId = void 0), - (this._sessionId = void 0), - (this._sessionStartTimestamp = null), - (this._sessionActivityTimestamp = null); - var i = t.persistence_name || t.token, - a = t.session_idle_timeout_seconds || z0; - if ( - (typeof a != "number" - ? (console.warn( - "[PostHog] session_idle_timeout_seconds must be a number. Defaulting to 30 minutes." - ), - (a = z0)) - : a > z0 - ? console.warn( - "[PostHog] session_idle_timeout_seconds cannot be greater than 30 minutes. Using 30 minutes instead." - ) - : a < TI && - console.warn( - "[PostHog] session_idle_timeout_seconds cannot be less than 60 seconds. Using 60 seconds instead." - ), - (this._sessionTimeoutMs = 1e3 * Math.min(Math.max(a, TI), z0)), - (this._window_id_storage_key = "ph_" + i + "_window_id"), - (this._primary_window_exists_storage_key = - "ph_" + i + "_primary_window_exists"), - this._canUseSessionStorage()) - ) { - var o = Tr.parse(this._window_id_storage_key), - s = Tr.parse(this._primary_window_exists_storage_key); - o && !s ? (this._windowId = o) : Tr.remove(this._window_id_storage_key), - Tr.set(this._primary_window_exists_storage_key, !0); - } - this._listenToReloadWindow(); - } - return ( - Un(e, [ - { - key: "onSessionId", - value: function (t) { - var n = this; - return ( - this._sessionIdChangedHandlers === void 0 && - (this._sessionIdChangedHandlers = []), - this._sessionIdChangedHandlers.push(t), - this._sessionId && t(this._sessionId, this._windowId), - function () { - n._sessionIdChangedHandlers = - n._sessionIdChangedHandlers.filter(function (r) { - return r !== t; - }); - } - ); - }, - }, - { - key: "_canUseSessionStorage", - value: function () { - return ( - this.config.persistence !== "memory" && - !this.persistence.disabled && - Tr.is_supported() - ); - }, - }, - { - key: "_setWindowId", - value: function (t) { - t !== this._windowId && - ((this._windowId = t), - this._canUseSessionStorage() && - Tr.set(this._window_id_storage_key, t)); - }, - }, - { - key: "_getWindowId", - value: function () { - return this._windowId - ? this._windowId - : this._canUseSessionStorage() - ? Tr.parse(this._window_id_storage_key) - : null; - }, - }, - { - key: "_setSessionId", - value: function (t, n, r) { - (t === this._sessionId && - n === this._sessionActivityTimestamp && - r === this._sessionStartTimestamp) || - ((this._sessionStartTimestamp = r), - (this._sessionActivityTimestamp = n), - (this._sessionId = t), - this.persistence.register(ct({}, n9, [n, t, r]))); - }, - }, - { - key: "_getSessionId", - value: function () { - if ( - this._sessionId && - this._sessionActivityTimestamp && - this._sessionStartTimestamp - ) - return [ - this._sessionActivityTimestamp, - this._sessionId, - this._sessionStartTimestamp, - ]; - var t = this.persistence.props[n9]; - return ( - Array.isArray(t) && t.length === 2 && t.push(t[0]), - t || [0, null, 0] - ); - }, - }, - { - key: "resetSessionId", - value: function () { - this._setSessionId(null, null, null); - }, - }, - { - key: "_listenToReloadWindow", - value: function () { - var t = this; - window.addEventListener("beforeunload", function () { - t._canUseSessionStorage() && - Tr.remove(t._primary_window_exists_storage_key); - }); - }, - }, - { - key: "checkAndGetSessionAndWindowId", - value: function () { - var t = - arguments.length > 0 && arguments[0] !== void 0 && arguments[0], - n = - (arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : null) || new Date().getTime(), - r = yo(this._getSessionId(), 3), - i = r[0], - a = r[1], - o = r[2], - s = this._getWindowId(), - u = o && o > 0 && Math.abs(n - o) > A0e, - c = !1; - !a || (!t && Math.abs(n - i) > this._sessionTimeoutMs) || u - ? ((a = this.uuidFn()), (s = this.uuidFn()), (o = n), (c = !0)) - : s || ((s = this.uuidFn()), (c = !0)); - var p = i === 0 || !t || u ? n : i, - f = o === 0 ? new Date().getTime() : o; - return ( - this._setWindowId(s), - this._setSessionId(a, p, f), - c && - this._sessionIdChangedHandlers.forEach(function (m) { - return m(a, s); - }), - { sessionId: a, windowId: s, sessionStartTimestamp: f } - ); - }, - }, - ]), - e - ); - })(), - x0e = Un(function e(t, n, r, i) { - Bn(this, e), - (this.name = "posthog-js"), - (this.setupOnce = function (a) { - a(function (o) { - var s, u, c, p, f; - if (o.level !== "error" || !t.__loaded) return o; - o.tags || (o.tags = {}); - var m = t.config.ui_host || t.config.api_host; - (o.tags["PostHog Person URL"] = m + "/person/" + t.get_distinct_id()), - t.sessionRecordingStarted() && - (o.tags["PostHog Recording URL"] = t.get_session_replay_url({ - withTimestamp: !0, - })); - var g = - ((s = o.exception) === null || s === void 0 - ? void 0 - : s.values) || [], - E = { - $exception_message: - (u = g[0]) === null || u === void 0 ? void 0 : u.value, - $exception_type: - (c = g[0]) === null || c === void 0 ? void 0 : c.type, - $exception_personURL: m + "/person/" + t.get_distinct_id(), - $sentry_event_id: o.event_id, - $sentry_exception: o.exception, - $sentry_exception_message: - (p = g[0]) === null || p === void 0 ? void 0 : p.value, - $sentry_exception_type: - (f = g[0]) === null || f === void 0 ? void 0 : f.type, - $sentry_tags: o.tags, - }; - return ( - n && - r && - (E.$sentry_url = - (i || "https://sentry.io/organizations/") + - n + - "/issues/?project=" + - r + - "&query=" + - o.event_id), - t.capture("$exception", E), - o - ); - }); - }); - }), - k0e = function (e) { - (Promise && Promise.resolve) || - console.warn( - "This browser does not have Promise support, and can not use the segment integration" - ); - var t = function (n, r) { - n.event.userId || - n.event.anonymousId === e.get_distinct_id() || - e.reset(), - n.event.userId && - n.event.userId !== e.get_distinct_id() && - (e.register({ distinct_id: n.event.userId }), e.reloadFeatureFlags()); - var i = e._calculate_event_properties(r, n.event.properties); - return (n.event.properties = Object.assign({}, i, n.event.properties)), n; - }; - return { - name: "PostHog JS", - type: "enrichment", - version: "1.0.0", - isLoaded: function () { - return !0; - }, - load: function () { - return Promise.resolve(); - }, - track: function (n) { - return t(n, n.event.event); - }, - page: function (n) { - return t(n, "$pageview"); - }, - identify: function (n) { - return t(n, "$identify"); - }, - screen: function (n) { - return t(n, "$screen"); - }, - }; - }, - I0e = (function () { - function e(t) { - Bn(this, e), ct(this, "_seenFirstPageView", !1), (this.uuidFn = t); - } - return ( - Un(e, [ - { - key: "onPageview", - value: function () { - this._seenFirstPageView && (this._pageViewId = this.uuidFn()), - (this._seenFirstPageView = !0); - }, - }, - { - key: "getPageViewId", - value: function () { - return ( - this._pageViewId || (this._pageViewId = this.uuidFn()), - this._pageViewId - ); - }, - }, - ]), - e - ); - })(); -function SI(e) { - return typeof Event < "u" && MF(e, Event); -} -function MF(e, t) { - try { - return e instanceof t; - } catch { - return !1; - } -} -function wI(e) { - return e === null || (ol(e) !== "object" && typeof e != "function"); -} -function _h(e, t) { - return Object.prototype.toString.call(e) === "[object ".concat(t, "]"); -} -function n4(e) { - return _h(e, "DOMError"); -} -var AI = /\(error: (.*)\)/, - CI = 50, - Th = "?"; -function r4(e, t, n, r) { - var i = { filename: e, function: t, in_app: !0 }; - return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i; -} -var R0e = - /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, - N0e = /\((\S*)(?::(\d+))(?::(\d+))\)/, - O0e = - /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, - D0e = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, - L0e = - /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i, - M0e = function () { - for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) - t[n] = arguments[n]; - var r = t - .sort(function (i, a) { - return i[0] - a[0]; - }) - .map(function (i) { - return i[1]; - }); - return function (i) { - for ( - var a = - arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, - o = [], - s = i.split(` -`), - u = a; - u < s.length; - u++ - ) { - var c = s[u]; - if (!(c.length > 1024)) { - var p = AI.test(c) ? c.replace(AI, "$1") : c; - if (!p.match(/\S*Error: /)) { - var f, - m = as(r); - try { - for (m.s(); !(f = m.n()).done; ) { - var g = (0, f.value)(p); - if (g) { - o.push(g); - break; - } - } - } catch (E) { - m.e(E); - } finally { - m.f(); - } - if (o.length >= CI) break; - } - } - } - return (function (E) { - if (!E.length) return []; - var b = E.slice(0, CI); - return ( - b.reverse(), - b.map(function (T) { - return yt( - yt({}, T), - {}, - { - filename: T.filename || b[b.length - 1].filename, - function: T.function || "?", - } - ); - }) - ); - })(o); - }; - }.apply(void 0, [ - [ - 30, - function (e) { - var t = R0e.exec(e); - if (t) { - if (t[2] && t[2].indexOf("eval") === 0) { - var n = N0e.exec(t[2]); - n && ((t[2] = n[1]), (t[3] = n[2]), (t[4] = n[3])); - } - var r = yo(xI(t[1] || Th, t[2]), 2), - i = r[0]; - return r4(r[1], i, t[3] ? +t[3] : void 0, t[4] ? +t[4] : void 0); - } - }, - ], - [ - 50, - function (e) { - var t = O0e.exec(e); - if (t) { - if (t[3] && t[3].indexOf(" > eval") > -1) { - var n = D0e.exec(t[3]); - n && - ((t[1] = t[1] || "eval"), - (t[3] = n[1]), - (t[4] = n[2]), - (t[5] = "")); - } - var r = t[3], - i = t[1] || Th, - a = yo(xI(i, r), 2); - return ( - (i = a[0]), - r4((r = a[1]), i, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0) - ); - } - }, - ], - [ - 40, - function (e) { - var t = L0e.exec(e); - return t ? r4(t[2], t[1] || Th, +t[3], t[4] ? +t[4] : void 0) : void 0; - }, - ], - ]), - xI = function (e, t) { - var n = e.indexOf("safari-extension") !== -1, - r = e.indexOf("safari-web-extension") !== -1; - return n || r - ? [ - e.indexOf("@") !== -1 ? e.split("@")[0] : Th, - n ? "safari-extension:".concat(t) : "safari-web-extension:".concat(t), - ] - : [e, t]; - }, - F0e = - /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i, - P0e = /Minified React error #\d+;/i; -function B0e(e) { - var t = e.stacktrace || e.stack || "", - n = (function (r) { - if (r) { - if (typeof r.framesToPop == "number") return r.framesToPop; - if (P0e.test(r.message)) return 1; - } - return 0; - })(e); - try { - return M0e(t, n); - } catch {} - return []; -} -function i4(e) { - var t = B0e(e); - return { - $exception_type: e.name, - $exception_message: e.message, - $exception_stack_trace_raw: JSON.stringify(t), - }; -} -function U0e(e) { - var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 40, - n = Object.keys(e); - if ((n.sort(), !n.length)) return "[object has no keys]"; - for (var r = n.length; r > 0; r--) { - var i = n.slice(0, r).join(", "); - if (!(i.length > t)) - return r === n.length || i.length <= t - ? i - : "".concat(i.slice(0, t), "..."); - } - return ""; -} -function kI(e) { - var t = yo(e, 5), - n = t[0], - r = t[1], - i = t[2], - a = t[3], - o = t[4], - s = {}; - if (o === void 0 && typeof n == "string") { - var u = "Error", - c = n, - p = n.match(F0e); - p && ((u = p[1]), (c = p[2])), - (s = { $exception_type: u, $exception_message: c }); - } - var f = o || n; - if ( - n4(f) || - (function (b) { - return _h(b, "DOMException"); - })(f) - ) { - var m = f; - if ( - (function (b) { - return "stack" in b; - })(f) - ) - s = i4(f); - else { - var g = m.name || (n4(m) ? "DOMError" : "DOMException"), - E = m.message ? "".concat(g, ": ").concat(m.message) : g; - (s = (function (b) { - return { $exception_type: "Error", $exception_message: b }; - })(E)), - (s.$exception_type = n4(m) ? "DOMError" : "DOMException"), - (s.$exception_message = s.$exception_message || E); - } - "code" in m && (s.$exception_DOMException_code = "".concat(m.code)); - } else - (function (b) { - return _h(b, "ErrorEvent"); - })(f) && f.error - ? (s = i4(f.error)) - : (function (b) { - switch (Object.prototype.toString.call(b)) { - case "[object Error]": - case "[object Exception]": - case "[object DOMException]": - return !0; - default: - return MF(b, Error); - } - })(f) - ? (s = i4(f)) - : (function (b) { - return _h(b, "Object"); - })(f) || SI(f) - ? ((s = (function (b) { - return { - $exception_type: SI(b) ? b.constructor.name : "Error", - $exception_message: "Non-Error ".concat( - "exception", - " captured with keys: ", - U0e(b) - ), - }; - })(f)), - (s.$exception_is_synthetic = !0)) - : ((s.$exception_type = s.$exception_type || "Error"), - (s.$exception_message = s.$exception_message || f), - (s.$exception_is_synthetic = !0)); - return yt( - yt( - yt( - yt({}, s), - {}, - { - $exception_type: s.$exception_type || "UnknownErrorType", - $exception_message: s.$exception_message || "", - }, - r ? { $exception_source: r } : {} - ), - i ? { $exception_lineno: i } : {} - ), - a ? { $exception_colno: a } : {} - ); -} -var II, - RI, - $0e = (function () { - function e(t) { - Bn(this, e), - ct(this, "originalOnErrorHandler", void 0), - ct(this, "originalOnUnhandledRejectionHandler", void 0), - ct(this, "errorsToIgnore", []), - (this.instance = t); - } - return ( - Un(e, [ - { - key: "debugLog", - value: function () { - if (this.instance.get_config("debug")) { - for ( - var t, n = arguments.length, r = new Array(n), i = 0; - i < n; - i++ - ) - r[i] = arguments[i]; - (t = console).log.apply( - t, - ["PostHog.js [PostHog.ExceptionObserver]"].concat(r) - ); - } - }, - }, - { - key: "startCapturing", - value: function () { - var t; - if ( - this.isEnabled() && - ((t = ht.onerror) === null || - t === void 0 || - !t.__POSTHOG_INSTRUMENTED__) - ) - try { - (this.originalOnErrorHandler = ht.onerror), - (ht.onerror = function () { - for ( - var n = arguments.length, r = new Array(n), i = 0; - i < n; - i++ - ) - r[i] = arguments[i]; - return ( - this.captureException(r), - !!this.originalOnErrorHandler && - this.originalOnErrorHandler.apply(this, r) - ); - }.bind(this)), - (ht.onerror.__POSTHOG_INSTRUMENTED__ = !0), - (this.originalOnUnhandledRejectionHandler = - ht.onunhandledrejection), - (ht.onunhandledrejection = function () { - for ( - var n = arguments.length, r = new Array(n), i = 0; - i < n; - i++ - ) - r[i] = arguments[i]; - var a = (function (o) { - var s = yo(o, 1)[0], - u = s; - try { - "reason" in s - ? (u = s.reason) - : "detail" in s && - "reason" in s.detail && - (u = s.detail.reason); - } catch {} - var c = {}; - return ( - ((c = wI(u) - ? { - $exception_message: - "Non-Error promise rejection captured with value: ".concat( - String(u) - ), - } - : kI([u])).$exception_handled = !1), - yt( - yt({}, c), - {}, - { - $exception_type: (c.$exception_type = - "UnhandledRejection"), - $exception_message: (c.$exception_message = - c.$exception_message || s.reason || String(u)), - } - ) - ); - })(r); - return ( - this.sendExceptionEvent(a), - !this.originalOnUnhandledRejectionHandler || - this.originalOnUnhandledRejectionHandler.apply(ht, r) - ); - }.bind(this)), - (ht.onunhandledrejection.__POSTHOG_INSTRUMENTED__ = !0); - } catch (n) { - console.error( - "PostHog failed to start exception autocapture", - n - ), - this.stopCapturing(); - } - }, - }, - { - key: "stopCapturing", - value: function () { - var t, n; - this.originalOnErrorHandler !== void 0 && - ((ht.onerror = this.originalOnErrorHandler), - (this.originalOnErrorHandler = null)), - (t = ht.onerror) === null || - t === void 0 || - delete t.__POSTHOG_INSTRUMENTED__, - this.originalOnUnhandledRejectionHandler !== void 0 && - ((ht.onunhandledrejection = - this.originalOnUnhandledRejectionHandler), - (this.originalOnUnhandledRejectionHandler = null)), - (n = ht.onunhandledrejection) === null || - n === void 0 || - delete n.__POSTHOG_INSTRUMENTED__; - }, - }, - { - key: "isCapturing", - value: function () { - var t; - return !( - (t = ht.onerror) === null || - t === void 0 || - !t.__POSTHOG_INSTRUMENTED__ - ); - }, - }, - { - key: "isEnabled", - value: function () { - var t; - return (t = this.remoteEnabled) !== null && t !== void 0 && t; - }, - }, - { - key: "afterDecideResponse", - value: function (t) { - var n = t.autocaptureExceptions; - if ( - ((this.remoteEnabled = !!n || !1), - !wI(n) && - "errors_to_ignore" in n && - Array.isArray(n.errors_to_ignore)) - ) { - var r = n.errors_to_ignore; - this.errorsToIgnore = r.map(function (i) { - return new RegExp(i); - }); - } - this.isEnabled() - ? (this.startCapturing(), - this.debugLog( - "Remote config for exception autocapture is enabled, starting", - n - )) - : this.debugLog( - "Remote config for exception autocapture is disabled, not starting", - n - ); - }, - }, - { - key: "captureException", - value: function (t, n) { - var r = kI(t); - if ( - this.errorsToIgnore.some(function (o) { - return o.test(r.$exception_message || ""); - }) - ) - this.debugLog("Ignoring exception based on remote config", r); - else { - var i = yt(yt({}, n), r), - a = - this.instance.get_config("ui_host") || - this.instance.get_config("api_host"); - (r.$exception_personURL = - a + "/person/" + this.instance.get_distinct_id()), - this.sendExceptionEvent(i); - } - }, - }, - { - key: "sendExceptionEvent", - value: function (t) { - this.instance.capture("$exception", t, { - transport: "XHR", - method: "POST", - endpoint: "/e/", - _noTruncate: !0, - _batchKey: "exceptionEvent", - }); - }, - }, - ]), - e - ); - })(); -(function (e) { - (e.Popover = "Popover"), - (e.Button = "Button"), - (e.Email = "Email"), - (e.FullScreen = "Fullscreen"); -})(II || (II = {})), - (function (e) { - (e.Open = "open"), - (e.MultipleChoiceSingle = "multiple_single"), - (e.MultipleChoiceMulti = "multiple_multi"), - (e.NPS = "nps"), - (e.Rating = "rating"), - (e.Link = "link"); - })(RI || (RI = {})); -var gp, - k7, - _r, - z0e = (function () { - function e(t) { - Bn(this, e), (this.instance = t); - } - return ( - Un(e, [ - { - key: "getSurveys", - value: function (t) { - var n = this, - r = - arguments.length > 1 && arguments[1] !== void 0 && arguments[1], - i = this.instance.get_property(i9); - if (i && !r) return t(i); - this.instance._send_request( - "" - .concat( - this.instance.get_config("api_host"), - "/api/surveys/?token=" - ) - .concat(this.instance.get_config("token")), - {}, - { method: "GET" }, - function (a) { - var o = a.surveys; - return n.instance.persistence.register(ct({}, i9, o)), t(o); - } - ); - }, - }, - { - key: "getActiveMatchingSurveys", - value: function (t) { - var n = this, - r = - arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; - this.getSurveys(function (i) { - var a = i - .filter(function (o) { - return !(!o.start_date || o.end_date); - }) - .filter(function (o) { - var s, u; - if (!o.conditions) return !0; - var c = - (s = o.conditions) === null || - s === void 0 || - !s.url || - window.location.href.indexOf(o.conditions.url) > -1, - p = - (u = o.conditions) === null || - u === void 0 || - !u.selector || - document.querySelector(o.conditions.selector); - return c && p; - }) - .filter(function (o) { - if (!o.linked_flag_key && !o.targeting_flag_key) return !0; - var s = - !o.linked_flag_key || - n.instance.featureFlags.isFeatureEnabled( - o.linked_flag_key - ), - u = - !o.targeting_flag_key || - n.instance.featureFlags.isFeatureEnabled( - o.targeting_flag_key - ); - return s && u; - }); - return t(a); - }, r); - }, - }, - ]), - e - ); - })(), - H0e = { - "X-PostHog-Retry-After-Recordings": CF, - "X-PostHog-Retry-After-Events": "events", - }, - j0e = (function () { - function e() { - Bn(this, e), ct(this, "limits", {}); - } - return ( - Un(e, [ - { - key: "isRateLimited", - value: function (t) { - var n = this.limits[t || "events"] || !1; - return n !== !1 && new Date().getTime() < n; - }, - }, - { - key: "on429Response", - value: function (t) { - var n = this; - t.status === 429 && - Object.entries(H0e).forEach(function (r) { - var i = yo(r, 2), - a = i[0], - o = i[1], - s = t.getResponseHeader(a); - if (s) { - var u = parseInt(s, 10); - if ((isNaN(u) && (u = 60), u)) { - var c = 1e3 * u; - n.limits[o] = new Date().getTime() + c; - } - } - }); - }, - }, - ]), - e - ); - })(); -(function (e) { - (e[(e.INIT_MODULE = 0)] = "INIT_MODULE"), - (e[(e.INIT_SNIPPET = 1)] = "INIT_SNIPPET"); -})(gp || (gp = {})); -var c9 = function () {}, - H0 = {}, - pi = "posthog", - Sh = ht.XMLHttpRequest && "withCredentials" in new XMLHttpRequest(), - FF = !Sh && ra.indexOf("MSIE") === -1 && ra.indexOf("Mozilla") === -1, - NI = function () { - var e, t, n; - return { - api_host: "https://app.posthog.com", - api_method: "POST", - api_transport: "XHR", - ui_host: null, - token: "", - autocapture: !0, - rageclick: !0, - cross_subdomain_cookie: - (Hn == null || - (e = Hn.location) === null || - e === void 0 || - (t = e.hostname) === null || - t === void 0 - ? void 0 - : t.indexOf("herokuapp.com")) === -1, - persistence: "cookie", - persistence_name: "", - cookie_name: "", - loaded: c9, - store_google: !0, - custom_campaign_params: [], - save_referrer: !0, - test: !1, - verbose: !1, - capture_pageview: !0, - capture_pageleave: !0, - debug: !1, - cookie_expiration: 365, - upgrade: !1, - disable_session_recording: !1, - disable_persistence: !1, - disable_cookie: !1, - enable_recording_console_log: void 0, - secure_cookie: - (ht == null || (n = ht.location) === null || n === void 0 - ? void 0 - : n.protocol) === "https:", - ip: !0, - opt_out_capturing_by_default: !1, - opt_out_persistence_by_default: !1, - opt_out_capturing_persistence_type: "localStorage", - opt_out_capturing_cookie_prefix: null, - opt_in_site_apps: !1, - property_blacklist: [], - respect_dnt: !1, - sanitize_properties: null, - xhr_headers: {}, - inapp_protocol: "//", - inapp_link_new_window: !1, - request_batching: !0, - properties_string_max_length: 65535, - session_recording: {}, - mask_all_element_attributes: !1, - mask_all_text: !1, - advanced_disable_decide: !1, - advanced_disable_feature_flags: !1, - advanced_disable_feature_flags_on_first_load: !1, - advanced_disable_toolbar_metrics: !1, - on_xhr_error: function (r) { - var i = "Bad HTTP status: " + r.status + " " + r.statusText; - console.error(i); - }, - get_device_id: function (r) { - return r; - }, - _onCapture: c9, - _capture_metrics: !1, - capture_performance: void 0, - name: "posthog", - callback_fn: "posthog._jsc", - bootstrap: {}, - disable_compression: !1, - session_idle_timeout_seconds: 1800, - uuid_version: "v7", - }; - }, - d9 = function (e, t, n, r) { - var i, - a = n !== pi && _r ? (n ? _r[n] : void 0) : _r, - o = { initComplete: !1, syncCode: !1 }, - s = function (u) { - return function (c) { - o[u] || - ((o[u] = !0), o.initComplete && o.syncCode && (r == null || r(c))); - }; - }; - if (a && k7 === gp.INIT_MODULE) i = a; - else { - if (a && !Wo(a)) - return void console.error("You have already initialized " + n); - i = new I7(); - } - return ( - i._init(e, t, n, s("initComplete")), - i.toolbar.maybeLoadToolbar(), - (i.sessionRecording = new qfe(i)), - i.sessionRecording.startRecordingIfEnabled(), - (i.webPerformance = new Xfe(i)), - i.webPerformance.startObservingIfEnabled(), - (i.exceptionAutocapture = new $0e(i)), - (i.__autocapture = i.get_config("autocapture")), - zs._setIsAutocaptureEnabled(i), - zs._isAutocaptureEnabled && - ((i.__autocapture = i.get_config("autocapture")), - zs.enabledForProject(i.get_config("token"), 100, 100) - ? zs.isBrowserSupported() - ? zs.init(i) - : ((i.__autocapture = !1), - kn.log( - "Disabling Automatic Event Collection because this browser is not supported" - )) - : ((i.__autocapture = !1), - kn.log( - "Not in active bucket: disabling Automatic Event Collection." - ))), - (fa.DEBUG = fa.DEBUG || i.get_config("debug")), - a !== void 0 && - Wo(a) && - (i._execute_array.call(i.people, a.people), i._execute_array(a)), - s("syncCode")(i), - i - ); - }, - I7 = (function () { - function e() { - var t = this; - Bn(this, e), - ct(this, "uuidFn", iI("og")), - (this.config = NI()), - (this.compression = {}), - (this.decideEndpointWasHit = !1), - (this.SentryIntegration = x0e), - (this.segmentIntegration = function () { - return k0e(t); - }), - (this.__captureHooks = []), - (this.__request_queue = []), - (this.__loaded = !1), - (this.__loaded_recorder_version = void 0), - (this.__autocapture = void 0), - (this._jsc = function () {}), - (this.featureFlags = new Pfe(this)), - (this.toolbar = new t0e(this)), - (this.pageViewIdManager = new I0e(this.uuidFn)), - (this.surveys = new z0e(this)), - (this._captureMetrics = void 0), - (this._requestQueue = void 0), - (this._retryQueue = void 0), - (this.persistence = void 0), - (this.sessionPersistence = void 0), - (this.sessionManager = void 0), - (this.rateLimiter = new j0e()), - (this.people = { - set: function (n, r, i) { - var a = typeof n == "string" ? ct({}, n, r) : n; - t.setPersonProperties(a), i == null || i({}); - }, - set_once: function (n, r, i) { - var a = typeof n == "string" ? ct({}, n, r) : n; - t.setPersonProperties(void 0, a), i == null || i({}); - }, - }); - } - return ( - Un(e, [ - { - key: "init", - value: function (t, n, r) { - if (Ua(r)) - console.error( - "You must name your new library: init(token, config, name)" - ); - else { - if (r !== pi) { - var i = d9(t, n, r, function (a) { - (_r[r] = a), a._loaded(); - }); - return (_r[r] = i), i; - } - console.error( - "You must initialize the main posthog object right after you include the PostHog js snippet" - ); - } - }, - }, - { - key: "_init", - value: function (t) { - var n, - r, - i = this, - a = - arguments.length > 1 && arguments[1] !== void 0 - ? arguments[1] - : {}, - o = arguments.length > 2 ? arguments[2] : void 0, - s = arguments.length > 3 ? arguments[3] : void 0; - (this.__loaded = !0), - (this.config = {}), - (this._triggered_notifs = []); - var u, - c = { segmentRegister: !1, syncCode: !1 }, - p = function (A) { - return function () { - c[A] || - ((c[A] = !0), - c.segmentRegister && c.syncCode && (s == null || s(i))); - }; - }; - if ( - (this.set_config( - Pr({}, NI(), a, { - name: o, - token: t, - callback_fn: (o === pi ? o : pi + "." + o) + "._jsc", - }) - ), - (this.uuidFn = iI(this.config.uuid_version || "og")), - (this._jsc = function () {}), - ((ht != null && - (n = ht.rrweb) !== null && - n !== void 0 && - n.record) || - (ht != null && ht.rrwebRecord)) && - (this.__loaded_recorder_version = - ht == null || (u = ht.rrweb) === null || u === void 0 - ? void 0 - : u.version), - (this.persistence = new fI(this.config)), - (this._captureMetrics = new l0e( - this.get_config("_capture_metrics") - )), - (this._requestQueue = new s0e( - this._captureMetrics, - this._handle_queued_event.bind(this) - )), - (this._retryQueue = new w0e( - this._captureMetrics, - this.get_config("on_xhr_error"), - this.rateLimiter - )), - (this.__captureHooks = []), - (this.__request_queue = []), - (this.sessionManager = new C0e( - this.config, - this.persistence, - this.uuidFn - )), - (this.sessionPersistence = - this.config.persistence === "sessionStorage" - ? this.persistence - : new fI( - yt( - yt({}, this.config), - {}, - { persistence: "sessionStorage" } - ) - )), - this._gdpr_init(), - a.segment - ? ((this.config.get_device_id = function () { - return a.segment.user().anonymousId(); - }), - a.segment.user().id() && - (this.register({ distinct_id: a.segment.user().id() }), - this.persistence.set_user_state("identified")), - a.segment - .register(this.segmentIntegration()) - .then(p("segmentRegister"))) - : p("segmentRegister")(), - ((r = a.bootstrap) === null || r === void 0 - ? void 0 - : r.distinctID) !== void 0) - ) { - var f, - m, - g = this.get_config("get_device_id")(this.uuidFn()), - E = - (f = a.bootstrap) !== null && f !== void 0 && f.isIdentifiedID - ? g - : a.bootstrap.distinctID; - this.persistence.set_user_state( - (m = a.bootstrap) !== null && m !== void 0 && m.isIdentifiedID - ? "identified" - : "anonymous" - ), - this.register({ - distinct_id: a.bootstrap.distinctID, - $device_id: E, - }); - } - if (this._hasBootstrappedFeatureFlags()) { - var b, - T, - v = Object.keys( - ((b = a.bootstrap) === null || b === void 0 - ? void 0 - : b.featureFlags) || {} - ) - .filter(function (A) { - var D, k; - return !( - (D = a.bootstrap) === null || - D === void 0 || - (k = D.featureFlags) === null || - k === void 0 || - !k[A] - ); - }) - .reduce(function (A, D) { - var k, R; - return ( - (A[D] = - ((k = a.bootstrap) === null || - k === void 0 || - (R = k.featureFlags) === null || - R === void 0 - ? void 0 - : R[D]) || !1), - A - ); - }, {}), - y = Object.keys( - ((T = a.bootstrap) === null || T === void 0 - ? void 0 - : T.featureFlagPayloads) || {} - ) - .filter(function (A) { - return v[A]; - }) - .reduce(function (A, D) { - var k, R, B, W; - return ( - (k = a.bootstrap) !== null && - k !== void 0 && - (R = k.featureFlagPayloads) !== null && - R !== void 0 && - R[D] && - (A[D] = - (B = a.bootstrap) === null || - B === void 0 || - (W = B.featureFlagPayloads) === null || - W === void 0 - ? void 0 - : W[D]), - A - ); - }, {}); - this.featureFlags.receivedFeatureFlags({ - featureFlags: v, - featureFlagPayloads: y, - }); - } - if (!this.get_distinct_id()) { - var w = this.get_config("get_device_id")(this.uuidFn()); - this.register_once({ distinct_id: w, $device_id: w }, ""), - this.persistence.set_user_state("anonymous"); - } - ht.addEventListener && - ht.addEventListener( - "onpagehide" in self ? "pagehide" : "unload", - this._handle_unload.bind(this) - ), - p("syncCode")(); - }, - }, - { - key: "_loaded", - value: function () { - this.featureFlags.setReloadingPaused(!0); - try { - this.get_config("loaded")(this); - } catch (t) { - console.error("`loaded` function failed", t); - } - this._start_queue_if_opted_in(), - this.get_config("capture_pageview") && - this.capture( - "$pageview", - { title: Hn.title }, - { send_instantly: !0 } - ), - this.get_config("advanced_disable_decide") || - new Qfe(this).call(), - this.featureFlags.resetRequestQueue(), - this.featureFlags.setReloadingPaused(!1); - }, - }, - { - key: "_start_queue_if_opted_in", - value: function () { - this.has_opted_out_capturing() || - (this.get_config("request_batching") && - this._requestQueue.poll()); - }, - }, - { - key: "_dom_loaded", - value: function () { - var t = this; - this.has_opted_out_capturing() || - Zo(this.__request_queue, function (n) { - t._send_request.apply(t, Yb(n)); - }), - (this.__request_queue = []), - this._start_queue_if_opted_in(); - }, - }, - { - key: "_prepare_callback", - value: function (t, n) { - if (Ua(t)) return null; - if (Sh) - return function (o) { - t(o, n); - }; - var r = this._jsc, - i = "" + Math.floor(1e8 * Math.random()), - a = this.get_config("callback_fn") + "[" + i + "]"; - return ( - (r[i] = function (o) { - delete r[i], t(o, n); - }), - a - ); - }, - }, - { - key: "_handle_unload", - value: function () { - this.get_config("request_batching") - ? (this.get_config("capture_pageview") && - this.get_config("capture_pageleave") && - this.capture("$pageleave"), - this.get_config("_capture_metrics") && - (this._requestQueue.updateUnloadMetrics(), - this.capture( - "$capture_metrics", - this._captureMetrics.metrics - )), - this._requestQueue.unload(), - this._retryQueue.unload()) - : this.get_config("capture_pageview") && - this.get_config("capture_pageleave") && - this.capture("$pageleave", null, { transport: "sendBeacon" }); - }, - }, - { - key: "_handle_queued_event", - value: function (t, n, r) { - var i = JSON.stringify(n); - this.__compress_and_send_json_request(t, i, r || H0, c9); - }, - }, - { - key: "__compress_and_send_json_request", - value: function (t, n, r, i) { - var a = (function (c, p, f) { - return c === Yl.GZipJS - ? [ - y0e(_0e(p), { mtime: 0 }), - yt( - yt({}, f), - {}, - { blob: !0, urlQueryArgs: { compression: Yl.GZipJS } } - ), - ] - : [{ data: _7(p) }, f]; - })(this.compression[Yl.GZipJS] ? Yl.GZipJS : Yl.Base64, n, r), - o = yo(a, 2), - s = o[0], - u = o[1]; - this._send_request(t, s, u, i); - }, - }, - { - key: "_send_request", - value: function (t, n, r, i) { - if (this.rateLimiter.isRateLimited(r._batchKey)) - this.get_config("debug") && - console.warn( - "[PostHog SendRequest] is quota limited. Dropping request." - ); - else if (FF) this.__request_queue.push([t, n, r, i]); - else { - var a = { - method: this.get_config("api_method"), - transport: this.get_config("api_transport"), - verbose: this.get_config("verbose"), - }; - (r = Pr(a, r || {})), Sh || (r.method = "GET"); - var o = - "sendBeacon" in ht.navigator && r.transport === "sendBeacon"; - if ( - ((t = T0e(t, r.urlQueryArgs || {}, { - ip: this.get_config("ip"), - })), - o) - ) - try { - ht.navigator.sendBeacon( - t, - x7(n, yt(yt({}, r), {}, { sendBeacon: !0 })) - ); - } catch {} - else if (Sh) - try { - LF({ - url: t, - data: n, - headers: this.get_config("xhr_headers"), - options: r, - captureMetrics: this._captureMetrics, - callback: i, - retriesPerformedSoFar: 0, - retryQueue: this._retryQueue, - onXHRError: this.get_config("on_xhr_error"), - onRateLimited: this.rateLimiter.on429Response, - }); - } catch (p) { - console.error(p); - } - else { - var s, - u = Hn.createElement("script"); - (u.type = "text/javascript"), - (u.async = !0), - (u.defer = !0), - (u.src = t); - var c = Hn.getElementsByTagName("script")[0]; - (s = c.parentNode) === null || - s === void 0 || - s.insertBefore(u, c); - } - } - }, - }, - { - key: "_execute_array", - value: function (t) { - var n, - r = this, - i = [], - a = [], - o = []; - Zo(t, function (u) { - u && - ((n = u[0]), - Wo(n) - ? o.push(u) - : typeof u == "function" - ? u.call(r) - : Wo(u) && n === "alias" - ? i.push(u) - : Wo(u) && - n.indexOf("capture") !== -1 && - typeof r[n] == "function" - ? o.push(u) - : a.push(u)); - }); - var s = function (u, c) { - Zo( - u, - function (p) { - if (Wo(p[0])) { - var f = c; - fn(p, function (m) { - f = f[m[0]].apply(f, m.slice(1)); - }); - } else this[p[0]].apply(this, p.slice(1)); - }, - c - ); - }; - s(i, this), s(a, this), s(o, this); - }, - }, - { - key: "_hasBootstrappedFeatureFlags", - value: function () { - var t, n; - return ( - (((t = this.config.bootstrap) === null || t === void 0 - ? void 0 - : t.featureFlags) && - Object.keys( - (n = this.config.bootstrap) === null || n === void 0 - ? void 0 - : n.featureFlags - ).length > 0) || - !1 - ); - }, - }, - { - key: "push", - value: function (t) { - this._execute_array([t]); - }, - }, - { - key: "captureException", - value: function (t, n) { - var r; - (r = this.exceptionAutocapture) === null || - r === void 0 || - r.captureException([t.name, void 0, void 0, void 0, t], n); - }, - }, - { - key: "capture", - value: function (t, n) { - var r = - arguments.length > 2 && arguments[2] !== void 0 - ? arguments[2] - : H0; - if ( - this.__loaded && - !(function (c, p) { - var f = !1; - try { - var m = c.get_config("token"), - g = c.get_config("respect_dnt"), - E = c.get_config("opt_out_capturing_persistence_type"), - b = - c.get_config("opt_out_capturing_cookie_prefix") || void 0, - T = c.get_config("window"); - m && - (f = bI(m, { - respectDnt: g, - persistenceType: E, - persistencePrefix: b, - window: T, - })); - } catch (v) { - p || - console.error( - "Unexpected error when checking capturing opt-out status: " + - v - ); - } - return f; - })(this, !1) - ) { - this._captureMetrics.incr("capture"), - t === "$snapshot" && this._captureMetrics.incr("snapshot"); - var i = (r = r || H0).transport; - if ((i && (r.transport = i), Ua(t) || typeof t != "string")) - console.error("No event name provided to posthog.capture"); - else if (!Nfe(ra)) { - this.sessionPersistence.update_search_keyword(), - this.get_config("store_google") && - this.sessionPersistence.update_campaign_params(), - this.get_config("save_referrer") && - this.sessionPersistence.update_referrer_info(); - var a = { - uuid: this.uuidFn("v7"), - event: t, - properties: this._calculate_event_properties(t, n || {}), - }; - t === "$identify" && - ((a.$set = r.$set), (a.$set_once = r.$set_once)), - ((a = Ife( - a, - r._noTruncate - ? null - : this.get_config("properties_string_max_length") - )).timestamp = r.timestamp || new Date()), - this.get_config("debug") && kn.log("PostHog.js send", a); - var o = JSON.stringify(a), - s = this.get_config("api_host") + (r.endpoint || "/e/"), - u = r !== H0; - return ( - !this.get_config("request_batching") || - (u && !r._batchKey) || - r.send_instantly - ? this.__compress_and_send_json_request(s, o, r) - : this._requestQueue.enqueue(s, a, r), - this._invokeCaptureHooks(t, a), - a - ); - } - } - }, - }, - { - key: "_addCaptureHook", - value: function (t) { - this.__captureHooks.push(t); - }, - }, - { - key: "_invokeCaptureHooks", - value: function (t, n) { - this.config._onCapture(t, n), - fn(this.__captureHooks, function (r) { - return r(t); - }); - }, - }, - { - key: "_calculate_event_properties", - value: function (t, n) { - var r, - i = this.persistence.remove_event_timer(t), - a = yt({}, n); - if (((a.token = this.get_config("token")), t === "$snapshot")) { - var o = yt( - yt({}, this.persistence.properties()), - this.sessionPersistence.properties() - ); - return (a.distinct_id = o.distinct_id), a; - } - var s = yr.properties(); - if (this.sessionManager) { - var u = this.sessionManager.checkAndGetSessionAndWindowId(), - c = u.sessionId, - p = u.windowId; - (a.$session_id = c), (a.$window_id = p); - } - if ( - ((r = this.webPerformance) !== null && - r !== void 0 && - r.isEnabled && - (t === "$pageview" && this.pageViewIdManager.onPageview(), - (a = Pr(a, { - $pageview_id: this.pageViewIdManager.getPageViewId(), - }))), - t === "$pageview" && (a.title = Hn.title), - t === "$performance_event") - ) { - var f = this.persistence.properties(); - return ( - (a.distinct_id = f.distinct_id), - (a.$current_url = s.$current_url), - a - ); - } - if (i !== void 0) { - var m = new Date().getTime() - i; - a.$duration = parseFloat((m / 1e3).toFixed(3)); - } - a = Pr( - {}, - yr.properties(), - this.persistence.properties(), - this.sessionPersistence.properties(), - a - ); - var g = this.get_config("property_blacklist"); - Wo(g) - ? fn(g, function (b) { - delete a[b]; - }) - : console.error( - "Invalid value for property_blacklist config: " + g - ); - var E = this.get_config("sanitize_properties"); - return E && (a = E(a, t)), a; - }, - }, - { - key: "register", - value: function (t, n) { - this.persistence.register(t, n); - }, - }, - { - key: "register_once", - value: function (t, n, r) { - this.persistence.register_once(t, n, r); - }, - }, - { - key: "register_for_session", - value: function (t) { - this.sessionPersistence.register(t); - }, - }, - { - key: "unregister", - value: function (t) { - this.persistence.unregister(t); - }, - }, - { - key: "unregister_for_session", - value: function (t) { - this.sessionPersistence.unregister(t); - }, - }, - { - key: "_register_single", - value: function (t, n) { - this.register(ct({}, t, n)); - }, - }, - { - key: "getFeatureFlag", - value: function (t, n) { - return this.featureFlags.getFeatureFlag(t, n); - }, - }, - { - key: "getFeatureFlagPayload", - value: function (t) { - var n = this.featureFlags.getFeatureFlagPayload(t); - try { - return JSON.parse(n); - } catch { - return n; - } - }, - }, - { - key: "isFeatureEnabled", - value: function (t, n) { - return this.featureFlags.isFeatureEnabled(t, n); - }, - }, - { - key: "reloadFeatureFlags", - value: function () { - this.featureFlags.reloadFeatureFlags(); - }, - }, - { - key: "updateEarlyAccessFeatureEnrollment", - value: function (t, n) { - this.featureFlags.updateEarlyAccessFeatureEnrollment(t, n); - }, - }, - { - key: "getEarlyAccessFeatures", - value: function (t) { - var n = - arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; - return this.featureFlags.getEarlyAccessFeatures(t, n); - }, - }, - { - key: "onFeatureFlags", - value: function (t) { - return this.featureFlags.onFeatureFlags(t); - }, - }, - { - key: "onSessionId", - value: function (t) { - return this.sessionManager.onSessionId(t); - }, - }, - { - key: "getSurveys", - value: function (t) { - var n = - arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; - this.surveys.getSurveys(t, n); - }, - }, - { - key: "getActiveMatchingSurveys", - value: function (t) { - var n = - arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; - this.surveys.getActiveMatchingSurveys(t, n); - }, - }, - { - key: "identify", - value: function (t, n, r) { - if (t) { - this._captureMetrics.incr("identify"); - var i = this.get_distinct_id(); - if ( - (this.register({ $user_id: t }), - !this.get_property("$device_id")) - ) { - var a = i; - this.register_once( - { $had_persisted_distinct_id: !0, $device_id: a }, - "" - ); - } - t !== i && - t !== this.get_property(vh) && - (this.unregister(vh), this.register({ distinct_id: t })); - var o = this.persistence.get_user_state() === "anonymous"; - t !== i && o - ? (this.persistence.set_user_state("identified"), - this.setPersonPropertiesForFlags(n || {}, !1), - this.capture( - "$identify", - { distinct_id: t, $anon_distinct_id: i }, - { $set: n || {}, $set_once: r || {} } - ), - this.featureFlags.setAnonymousDistinctId(i)) - : (n || r) && this.setPersonProperties(n, r), - t !== i && (this.reloadFeatureFlags(), this.unregister(Cg)); - } else - console.error( - "Unique user id has not been set in posthog.identify" - ); - }, - }, - { - key: "setPersonProperties", - value: function (t, n) { - (t || n) && - (this.setPersonPropertiesForFlags(t || {}), - this.capture("$set", { $set: t || {}, $set_once: n || {} })); - }, - }, - { - key: "group", - value: function (t, n, r) { - if (t && n) { - this._captureMetrics.incr("group"); - var i = this.getGroups(); - i[t] !== n && this.resetGroupPropertiesForFlags(t), - this.register({ $groups: yt(yt({}, i), {}, ct({}, t, n)) }), - r && - (this.capture("$groupidentify", { - $group_type: t, - $group_key: n, - $group_set: r, - }), - this.setGroupPropertiesForFlags(ct({}, t, r))), - i[t] === n || r || this.reloadFeatureFlags(); - } else - console.error( - "posthog.group requires a group type and group key" - ); - }, - }, - { - key: "resetGroups", - value: function () { - this.register({ $groups: {} }), - this.resetGroupPropertiesForFlags(), - this.reloadFeatureFlags(); - }, - }, - { - key: "setPersonPropertiesForFlags", - value: function (t) { - var n = - !(arguments.length > 1 && arguments[1] !== void 0) || - arguments[1]; - this.featureFlags.setPersonPropertiesForFlags(t, n); - }, - }, - { - key: "resetPersonPropertiesForFlags", - value: function () { - this.featureFlags.resetPersonPropertiesForFlags(); - }, - }, - { - key: "setGroupPropertiesForFlags", - value: function (t) { - var n = - !(arguments.length > 1 && arguments[1] !== void 0) || - arguments[1]; - this.featureFlags.setGroupPropertiesForFlags(t, n); - }, - }, - { - key: "resetGroupPropertiesForFlags", - value: function (t) { - this.featureFlags.resetGroupPropertiesForFlags(t); - }, - }, - { - key: "reset", - value: function (t) { - var n = this.get_property("$device_id"); - this.persistence.clear(), - this.sessionPersistence.clear(), - this.persistence.set_user_state("anonymous"), - this.sessionManager.resetSessionId(); - var r = this.get_config("get_device_id")(this.uuidFn()); - this.register_once({ distinct_id: r, $device_id: t ? r : n }, ""); - }, - }, - { - key: "get_distinct_id", - value: function () { - return this.get_property("distinct_id"); - }, - }, - { - key: "getGroups", - value: function () { - return this.get_property("$groups") || {}; - }, - }, - { - key: "get_session_id", - value: function () { - return this.sessionManager.checkAndGetSessionAndWindowId(!0) - .sessionId; - }, - }, - { - key: "get_session_replay_url", - value: function (t) { - var n = this.config.ui_host || this.config.api_host, - r = this.sessionManager.checkAndGetSessionAndWindowId(!0), - i = r.sessionId, - a = r.sessionStartTimestamp, - o = n + "/replay/" + i; - if (t != null && t.withTimestamp && a) { - var s, - u = (s = t.timestampLookBack) !== null && s !== void 0 ? s : 10; - if (!a) return o; - var c = Math.max( - Math.floor((new Date().getTime() - a) / 1e3) - u, - 0 - ); - o += "?t=".concat(c); - } - return o; - }, - }, - { - key: "alias", - value: function (t, n) { - return t === this.get_property(wF) - ? (kn.critical( - "Attempting to create alias for existing People user - aborting." - ), - -2) - : (Ua(n) && (n = this.get_distinct_id()), - t !== n - ? (this._register_single(vh, t), - this.capture("$create_alias", { alias: t, distinct_id: n })) - : (console.error( - "alias matches current distinct_id - skipping api call." - ), - this.identify(t), - -1)); - }, - }, - { - key: "set_config", - value: function (t) { - var n = yt({}, this.config); - Qb(t) && - (Pr(this.config, t), - this.get_config("persistence_name") || - (this.config.persistence_name = this.config.cookie_name), - this.get_config("disable_persistence") || - (this.config.disable_persistence = this.config.disable_cookie), - this.persistence && this.persistence.update_config(this.config), - this.sessionPersistence && - this.sessionPersistence.update_config(this.config), - qn.is_supported() && - qn.get("ph_debug") === "true" && - (this.config.debug = !0), - this.get_config("debug") && (fa.DEBUG = !0), - this.sessionRecording && - t.disable_session_recording !== void 0 && - n.disable_session_recording !== t.disable_session_recording && - (t.disable_session_recording - ? this.sessionRecording.stopRecording() - : this.sessionRecording.startRecordingIfEnabled())); - }, - }, - { - key: "startSessionRecording", - value: function () { - this.set_config({ disable_session_recording: !1 }); - }, - }, - { - key: "stopSessionRecording", - value: function () { - this.set_config({ disable_session_recording: !0 }); - }, - }, - { - key: "sessionRecordingStarted", - value: function () { - var t; - return !( - (t = this.sessionRecording) === null || - t === void 0 || - !t.started() - ); - }, - }, - { - key: "loadToolbar", - value: function (t) { - return this.toolbar.loadToolbar(t); - }, - }, - { - key: "get_config", - value: function (t) { - var n; - return (n = this.config) === null || n === void 0 ? void 0 : n[t]; - }, - }, - { - key: "get_property", - value: function (t) { - return this.persistence.props[t]; - }, - }, - { - key: "getSessionProperty", - value: function (t) { - return this.sessionPersistence.props[t]; - }, - }, - { - key: "toString", - value: function () { - var t, - n = - (t = this.get_config("name")) !== null && t !== void 0 ? t : pi; - return n !== pi && (n = pi + "." + n), n; - }, - }, - { - key: "_gdpr_init", - value: function () { - this.get_config("opt_out_capturing_persistence_type") === - "localStorage" && - qn.is_supported() && - (!this.has_opted_in_capturing() && - this.has_opted_in_capturing({ persistence_type: "cookie" }) && - this.opt_in_capturing({ enable_persistence: !1 }), - !this.has_opted_out_capturing() && - this.has_opted_out_capturing({ persistence_type: "cookie" }) && - this.opt_out_capturing({ clear_persistence: !1 }), - this.clear_opt_in_out_capturing({ - persistence_type: "cookie", - enable_persistence: !1, - })), - this.has_opted_out_capturing() - ? this._gdpr_update_persistence({ clear_persistence: !0 }) - : this.has_opted_in_capturing() || - (!this.get_config("opt_out_capturing_by_default") && - !po.get("ph_optout")) || - (po.remove("ph_optout"), - this.opt_out_capturing({ - clear_persistence: this.get_config( - "opt_out_persistence_by_default" - ), - })); - }, - }, - { - key: "_gdpr_update_persistence", - value: function (t) { - var n; - if (t && t.clear_persistence) n = !0; - else { - if (!t || !t.enable_persistence) return; - n = !1; - } - this.get_config("disable_persistence") || - this.persistence.disabled === n || - this.persistence.set_disabled(n), - this.get_config("disable_persistence") || - this.sessionPersistence.disabled === n || - this.sessionPersistence.set_disabled(n); - }, - }, - { - key: "_gdpr_call_func", - value: function (t, n) { - return ( - (n = Pr( - { - capture: this.capture.bind(this), - persistence_type: this.get_config( - "opt_out_capturing_persistence_type" - ), - cookie_prefix: this.get_config( - "opt_out_capturing_cookie_prefix" - ), - cookie_expiration: this.get_config("cookie_expiration"), - cross_subdomain_cookie: this.get_config( - "cross_subdomain_cookie" - ), - secure_cookie: this.get_config("secure_cookie"), - }, - n || {} - )), - qn.is_supported() || - n.persistence_type !== "localStorage" || - (n.persistence_type = "cookie"), - t(this.get_config("token"), { - capture: n.capture, - captureEventName: n.capture_event_name, - captureProperties: n.capture_properties, - persistenceType: n.persistence_type, - persistencePrefix: n.cookie_prefix, - cookieExpiration: n.cookie_expiration, - crossSubdomainCookie: n.cross_subdomain_cookie, - secureCookie: n.secure_cookie, - }) - ); - }, - }, - { - key: "opt_in_capturing", - value: function (t) { - (t = Pr({ enable_persistence: !0 }, t || {})), - this._gdpr_call_func(r0e, t), - this._gdpr_update_persistence(t); - }, - }, - { - key: "opt_out_capturing", - value: function (t) { - var n = Pr({ clear_persistence: !0 }, t || {}); - this._gdpr_call_func(i0e, n), this._gdpr_update_persistence(n); - }, - }, - { - key: "has_opted_in_capturing", - value: function (t) { - return this._gdpr_call_func(a0e, t); - }, - }, - { - key: "has_opted_out_capturing", - value: function (t) { - return this._gdpr_call_func(bI, t); - }, - }, - { - key: "clear_opt_in_out_capturing", - value: function (t) { - var n = Pr({ enable_persistence: !0 }, t ?? {}); - this._gdpr_call_func(o0e, n), this._gdpr_update_persistence(n); - }, - }, - { - key: "debug", - value: function (t) { - t === !1 - ? (ht.console.log("You've disabled debug mode."), - localStorage && localStorage.removeItem("ph_debug"), - this.set_config({ debug: !1 })) - : (ht.console.log( - "You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`." - ), - localStorage && localStorage.setItem("ph_debug", "true"), - this.set_config({ debug: !0 })); - }, - }, - ]), - e - ); - })(); -(function (e, t) { - for (var n = 0; n < t.length; n++) e.prototype[t[n]] = yF(e.prototype[t[n]]); -})(I7, ["identify"]); -var Ds = {}, - G0e = function () { - _r.init = function (e, t, n) { - if (n) - return ( - _r[n] || - (_r[n] = Ds[n] = - d9(e || "", t || {}, n, function (i) { - (_r[n] = Ds[n] = i), i._loaded(); - })), - _r[n] - ); - var r = _r; - return ( - Ds[pi] - ? (r = Ds[pi]) - : e && - ((r = d9(e, t || {}, pi, function (i) { - (Ds[pi] = i), i._loaded(); - })), - (Ds[pi] = r)), - (_r = r), - k7 === gp.INIT_SNIPPET && (ht[pi] = _r), - fn(Ds, function (i, a) { - a !== pi && (_r[a] = i); - }), - r - ); - }; - }, - V0e = function () { - function e() { - e.done || - ((e.done = !0), - (FF = !1), - fn(Ds, function (t) { - t._dom_loaded(); - })); - } - Hn.addEventListener && - (Hn.readyState === "complete" - ? e() - : Hn.addEventListener("DOMContentLoaded", e, !1)), - Fd(ht, "load", e, !0); - }, - Bd = ((k7 = gp.INIT_MODULE), (_r = new I7()), G0e(), _r.init(), V0e(), _r), - PF = C.createContext({ client: Bd }); -function W0e(e) { - var t = e.children, - n = e.client, - r = e.apiKey, - i = e.options, - a = C.useMemo( - function () { - return ( - n && - r && - console.warn( - "You have provided both a client and an apiKey to PostHogProvider. The apiKey will be ignored in favour of the client." - ), - n && - i && - console.warn( - "You have provided both a client and options to PostHogProvider. The options will be ignored in favour of the client." - ), - n || - (r && - (Bd.__loaded && - console.warn( - "posthog was already loaded elsewhere. This may cause issues." - ), - Bd.init(r, i)), - Bd) - ); - }, - [n, r] - ); - return ut.createElement(PF.Provider, { value: { client: a } }, t); -} -var R7 = function () { - var e = C.useContext(PF).client; - return e; -}; -const q0e = b2` + */Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e});var eI="0123456789abcdef",yfe=function(){function e(t){if(Bn(this,e),this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}return Un(e,[{key:"toString",value:function(){for(var t="",n=0;n>>4)+eI.charAt(15&this.bytes[n]),n!==3&&n!==5&&n!==7&&n!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}},{key:"clone",value:function(){return new e(this.bytes.slice(0))}},{key:"equals",value:function(t){return this.compareTo(t)===0}},{key:"compareTo",value:function(t){for(var n=0;n<16;n++){var r=this.bytes[n]-t.bytes[n];if(r!==0)return Math.sign(r)}return 0}}],[{key:"fromFieldsV7",value:function(t,n,r,i){if(!Number.isInteger(t)||!Number.isInteger(n)||!Number.isInteger(r)||!Number.isInteger(i)||t<0||n<0||r<0||i<0||t>0xffffffffffff||n>4095||r>1073741823||i>4294967295)throw new RangeError("invalid field value");var a=new Uint8Array(16);return a[0]=t/Math.pow(2,40),a[1]=t/Math.pow(2,32),a[2]=t/Math.pow(2,24),a[3]=t/Math.pow(2,16),a[4]=t/Math.pow(2,8),a[5]=t,a[6]=112|n>>>8,a[7]=n,a[8]=128|r>>>24,a[9]=r>>>16,a[10]=r>>>8,a[11]=r,a[12]=i>>>24,a[13]=i>>>16,a[14]=i>>>8,a[15]=i,new e(a)}}]),e}(),_fe=function(){function e(){Bn(this,e),ct(this,"timestamp",0),ct(this,"counter",0),ct(this,"random",new Tfe)}return Un(e,[{key:"generate",value:function(){var t=this.generateOrAbort();if(t!==void 0)return t;this.timestamp=0;var n=this.generateOrAbort();if(n===void 0)throw new Error("Could not generate UUID after timestamp reset");return n}},{key:"generateOrAbort",value:function(){var t=Date.now();if(t>this.timestamp)this.timestamp=t,this.resetCounter();else{if(!(t+1e4>this.timestamp))return;this.counter++,this.counter>4398046511103&&(this.timestamp++,this.resetCounter())}return yfe.fromFieldsV7(this.timestamp,Math.trunc(this.counter/Math.pow(2,30)),this.counter&Math.pow(2,30)-1,this.random.nextUint32())}},{key:"resetCounter",value:function(){this.counter=1024*this.random.nextUint32()+(1023&this.random.nextUint32())}}]),e}(),hF=function(e){if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;t=this.buffer.length&&(hF(this.buffer),this.cursor=0),this.buffer[this.cursor++]}}]),e}(),Sfe=function(){return(tI||(tI=new _fe)).generate()},gF=Array.prototype,mF=Object.prototype,v7=mF.toString,wfe=mF.hasOwnProperty,ht=typeof window<"u"?window:{},Wl=ht.navigator||{userAgent:""},Hn=ht.document||{},ra=Wl.userAgent,Afe=["localhost","127.0.0.1"],nI=gF.forEach,rI=gF.indexOf,Cfe=Array.isArray,y7={},kn={log:function(){if(fa.DEBUG&&!Ua(window.console)&&window.console){for(var e=("__rrweb_original__"in window.console.log)?window.console.log.__rrweb_original__:window.console.log,t=arguments.length,n=new Array(t),r=0;r1?t-1:0),r=1;r0&&(t[r]=n)}),t},kfe=["$performance_raw"];function Ife(e,t){return n=e,r=function(a,o){return o&&kfe.indexOf(o)>-1?a:typeof a=="string"&&t!==null?a.slice(0,t):a},i=new Set,function a(o,s){return o!==Object(o)?r?r(o,s):o:i.has(o)?void 0:(i.add(o),Wo(o)?(u=[],Zo(o,function(c){u.push(a(c))})):(u={},fn(o,function(c,p){i.has(c)||(u[p]=a(c,p))})),u);var u}(n);var n,r,i}function _7(e){var t,n,r,i,a,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,u=0,c="",p=[];if(!e)return e;e=Rfe(e);do t=(a=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,n=a>>12&63,r=a>>6&63,i=63&a,p[u++]=o.charAt(t)+o.charAt(n)+o.charAt(r)+o.charAt(i);while(s127&&o<2048?String.fromCharCode(o>>6|192,63&o|128):String.fromCharCode(o>>12|224,o>>6&63|128,63&o|128),s!==null&&(n>t&&(a+=e.substring(t,n)),a+=s,t=n=i+1)}return n>t&&(a+=e.substring(t,e.length)),a},iI=function(e){var t=function(){var n=new Date().valueOf(),r=0;if(ht.performance&&ht.performance.now)r=1e4*ht.performance.now();else for(;n==new Date().valueOf();)r++;return n.toString(16)+Math.floor(r).toString(16)};return function(n){if(n==="og"||e==="og"){var r=typeof window<"u"?(window.screen.height*window.screen.width).toString(16):"0";return t()+"-"+Math.random().toString(16).replace(".","")+"-"+function(){var i,a,o=ra,s=0,u=[];function c(p,f){var m,g=0;for(m=0;m=4&&(s=c(s,u),u=[]);return u.length>0&&(s=c(s,u)),s.toString(16)}()+"-"+r+"-"+t()}return Sfe().toString()}},Nfe=function(e){return!!/(google web preview|baiduspider|yandexbot|bingbot|googlebot|yahoo! slurp|ahrefsbot|facebookexternalhit|facebookcatalog|applebot|semrushbot|duckduckbot|twitterbot|rogerbot|linkedinbot|mj12bot|sitebulb|bot.htm|bot.php|hubspot|crawler|prerender)/i.test(e)},aI=function(e,t){var n=t.replace(/[[]/,"\\[").replace(/[\]]/,"\\]"),r=new RegExp("[\\?&]"+n+"=([^&#]*)").exec(e);if(r===null||r&&typeof r[1]!="string"&&r[1].length)return"";var i=r[1];try{i=decodeURIComponent(i)}catch{kn.error("Skipping decoding for malformed query param: "+i)}return i.replace(/\+/g," ")},oI=function(e,t){var n=e.match(new RegExp(t+"=([^&]*)"));return n?n[1]:null},Fd=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,n,r,i,a){if(t)if(t.addEventListener&&!i)t.addEventListener(n,r,!!a);else{var o="on"+n,s=t[o];t[o]=function(u,c,p){return function(f){if(f=f||e(window.event)){var m,g=!0;bF(p)&&(m=p(f));var E=c.call(u,f);return m!==!1&&E!==!1||(g=!1),g}}}(t,r,s)}else kn.error("No valid element provided to register_event")}}();function T7(e,t){var n=function(){var r=Hn.createElement("script");r.type="text/javascript",r.src=e,r.onload=function(o){return t(void 0,o)},r.onerror=function(o){return t(o)};var i,a=Hn.querySelectorAll("body > script");a.length>0?(i=a[0].parentNode)===null||i===void 0||i.insertBefore(r,a[0]):Hn.body.appendChild(r)};Hn.body?n():Hn.addEventListener("DOMContentLoaded",n)}var yr={campaignParams:function(e){var t=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gclid","fbclid","msclkid"].concat(e||[]),n={};return fn(t,function(r){var i=aI(Hn.URL,r);i.length&&(n[r]=i)}),n},searchEngine:function(){var e=Hn.referrer;return e?e.search("https?://(.*)google.([^/?]*)")===0?"google":e.search("https?://(.*)bing.com")===0?"bing":e.search("https?://(.*)yahoo.com")===0?"yahoo":e.search("https?://(.*)duckduckgo.com")===0?"duckduckgo":null:null},searchInfo:function(){var e=yr.searchEngine(),t=e!="yahoo"?"q":"p",n={};if(e!==null){n.$search_engine=e;var r=aI(Hn.referrer,t);r.length&&(n.ph_keyword=r)}return n},browser:function(e,t,n){return t=t||"",n||pn(e," OPR/")?pn(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":pn(e,"IEMobile")||pn(e,"WPDesktop")?"Internet Explorer Mobile":pn(e,"SamsungBrowser/")?"Samsung Internet":pn(e,"Edge")||pn(e,"Edg/")?"Microsoft Edge":pn(e,"FBIOS")?"Facebook Mobile":pn(e,"Chrome")?"Chrome":pn(e,"CriOS")?"Chrome iOS":pn(e,"UCWEB")||pn(e,"UCBrowser")?"UC Browser":pn(e,"FxiOS")?"Firefox iOS":pn(t,"Apple")?pn(e,"Mobile")?"Mobile Safari":"Safari":pn(e,"Android")?"Android Mobile":pn(e,"Konqueror")?"Konqueror":pn(e,"Firefox")?"Firefox":pn(e,"MSIE")||pn(e,"Trident/")?"Internet Explorer":pn(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,n){var r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[yr.browser(e,t,n)];if(r===void 0)return null;var i=e.match(r);return i?parseFloat(i[i.length-2]):null},browserLanguage:function(){return Wl.language||Wl.userLanguage},os:function(e){if(/Windows/i.test(e)){if(/Phone/.test(e)||/WPDesktop/.test(e))return{os_name:"Windows Phone",os_version:""};var t=/Windows NT ([0-9.]+)/i.exec(e);return t&&t[1]?{os_name:"Windows",os_version:t[1]}:{os_name:"Windows",os_version:""}}if(/(iPhone|iPad|iPod)/.test(e)){var n=/OS (\d+)_(\d+)_?(\d+)?/i.exec(e);return n&&n[1]?{os_name:"iOS",os_version:[n[1],n[2],n[3]||"0"].join(".")}:{os_name:"iOS",os_version:""}}if(/Android/.test(e)){var r=/Android (\d+)\.(\d+)\.?(\d+)?/i.exec(e);return r&&r[1]?{os_name:"Android",os_version:[r[1],r[2],r[3]||"0"].join(".")}:{os_name:"Android",os_version:""}}if(/(BlackBerry|PlayBook|BB10)/i.test(e))return{os_name:"BlackBerry",os_version:""};if(/Mac/i.test(e)){var i=/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i.exec(e);return i&&i[1]?{os_name:"Mac OS X",os_version:[i[1],i[2],i[3]||"0"].join(".")}:{os_name:"Mac OS X",os_version:""}}return/Linux/.test(e)?{os_name:"Linux",os_version:""}:/CrOS/.test(e)?{os_name:"Chrome OS",os_version:""}:{os_name:"",os_version:""}},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)&&!/Mobile/.test(e)?"Android Tablet":/Android/.test(e)?"Android":""},deviceType:function(e){var t=this.device(e);return t==="iPad"||t==="Android Tablet"?"Tablet":t?"Mobile":"Desktop"},referrer:function(){return Hn.referrer||"$direct"},referringDomain:function(){if(!Hn.referrer)return"$direct";var e=Hn.createElement("a");return e.href=Hn.referrer,e.host},properties:function(){var e=yr.os(ra),t=e.os_name,n=e.os_version;return Pr(Jb({$os:t,$os_version:n,$browser:yr.browser(ra,Wl.vendor,ht.opera),$device:yr.device(ra),$device_type:yr.deviceType(ra)}),{$current_url:ht==null?void 0:ht.location.href,$host:ht==null?void 0:ht.location.host,$pathname:ht==null?void 0:ht.location.pathname,$browser_version:yr.browserVersion(ra,Wl.vendor,ht.opera),$browser_language:yr.browserLanguage(),$screen_height:ht==null?void 0:ht.screen.height,$screen_width:ht==null?void 0:ht.screen.width,$viewport_height:ht==null?void 0:ht.innerHeight,$viewport_width:ht==null?void 0:ht.innerWidth,$lib:"web",$lib_version:fa.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:vF()/1e3})},people_properties:function(){var e=yr.os(ra),t=e.os_name,n=e.os_version;return Pr(Jb({$os:t,$os_version:n,$browser:yr.browser(ra,Wl.vendor,ht.opera)}),{$browser_version:yr.browserVersion(ra,Wl.vendor,ht.opera)})}};function wg(e){switch(ol(e.className)){case"string":return e.className;case"object":return("baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";default:return""}}function Ag(e){var t="";return Eh(e)&&!TF(e)&&e.childNodes&&e.childNodes.length&&fn(e.childNodes,function(n){_F(n)&&n.textContent&&(t+=Zb(n.textContent).split(/(\s+)/).filter(S1).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),Zb(t)}function sI(e){return!!e&&e.nodeType===1}function ou(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function _F(e){return!!e&&e.nodeType===3}function lI(e){return!!e&&e.nodeType===11}var Q3=["a","button","form","input","select","textarea","label"];function Eh(e){for(var t=e;t.parentNode&&!ou(t,"body");t=t.parentNode){var n=wg(t).split(" ");if(pn(n,"ph-sensitive")||pn(n,"ph-no-capture"))return!1}if(pn(wg(e).split(" "),"ph-include"))return!0;var r=e.type||"";if(typeof r=="string")switch(r.toLowerCase()){case"hidden":case"password":return!1}var i=e.name||e.id||"";return!(typeof i=="string"&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,"")))}function TF(e){return!!(ou(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||ou(e,"select")||ou(e,"textarea")||e.getAttribute("contenteditable")==="true")}function S1(e){return!(e===null||Ua(e)||typeof e=="string"&&(e=Zb(e),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,""))||/(^\d{3}-?\d{2}-?\d{4}$)/.test(e)))}function uI(e){var t=Ag(e);return S1(t="".concat(t," ").concat(SF(e)).trim())?t:""}function SF(e){var t="";return e&&e.childNodes&&e.childNodes.length&&fn(e.childNodes,function(n){var r;if(n&&((r=n.tagName)===null||r===void 0?void 0:r.toLowerCase())==="span")try{var i=Ag(n);t="".concat(t," ").concat(i).trim(),n.childNodes&&n.childNodes.length&&(t="".concat(t," ").concat(SF(n)).trim())}catch(a){console.error(a)}}),t}var Ofe=function(){function e(t){Bn(this,e),this.clicks=[],this.enabled=t}return Un(e,[{key:"isRageClick",value:function(t,n,r){if(!this.enabled)return!1;var i=this.clicks[this.clicks.length-1];if(i&&Math.abs(t-i.x)+Math.abs(n-i.y)<30&&r-i.timestamp<1e3){if(this.clicks.push({x:t,y:n,timestamp:r}),this.clicks.length===3)return!0}else this.clicks=[{x:t,y:n,timestamp:r}];return!1}}]),e}(),Dfe=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,po={is_supported:function(){return!0},error:function(e){kn.error("cookieStore error: "+e)},get:function(e){try{for(var t=e+"=",n=document.cookie.split(";"),r=0;r-1&&!n&&(r.toLowerCase()==="a"||r.toLowerCase()==="button"?i.$el_text=uI(e):i.$el_text=Ag(e));var a=wg(e);a.length>0&&(i.classes=a.split(" ").filter(function(c){return c!==""})),fn(e.attributes,function(c){var p;TF(e)&&["name","id","class"].indexOf(c.name)===-1||!t&&S1(c.value)&&(typeof(p=c.name)!="string"||p.substring(0,10)!=="_ngcontent"&&p.substring(0,7)!=="_nghost")&&(i["attr__"+c.name]=c.value)});for(var o=1,s=1,u=e;u=this._previousElementSibling(u);)o++,u.tagName===e.tagName&&s++;return i.nth_child=o,i.nth_of_type=s,i},_getDefaultProperties:function(e){return{$event_type:e,$ce_version:1}},_extractCustomPropertyValue:function(e){var t=[];return fn(document.querySelectorAll(e.css_selector),function(n){var r;["input","select"].indexOf(n.tagName.toLowerCase())>-1?r=n.value:n.textContent&&(r=n.textContent),S1(r)&&t.push(r)}),t.join(", ")},_getCustomProperties:function(e){var t=this,n={};return fn(this._customProperties,function(r){fn(r.event_selectors,function(i){fn(document.querySelectorAll(i),function(a){pn(e,a)&&Eh(a)&&(n[r.name]=t._extractCustomPropertyValue(r))})})}),n},_getEventTarget:function(e){return e.target===void 0?e.srcElement||null:(t=e.target)!==null&&t!==void 0&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t},_captureEvent:function(e,t){var n,r=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"$autocapture",a=this._getEventTarget(e);if(_F(a)&&(a=a.parentNode||null),i==="$autocapture"&&e.type==="click"&&e instanceof MouseEvent&&(n=this.rageclicks)!==null&&n!==void 0&&n.isRageClick(e.clientX,e.clientY,new Date().getTime())&&this._captureEvent(e,t,"$rageclick"),a&&function(g,E){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(!g||ou(g,"html")||!sI(g))return!1;if(b!=null&&b.url_allowlist){var T=window.location.href,v=b.url_allowlist;if(v&&!v.some(function(z){return T.match(z)}))return!1}if(b!=null&&b.dom_event_allowlist){var y=b.dom_event_allowlist;if(y&&!y.some(function(z){return E.type===z}))return!1}if(b!=null&&b.element_allowlist){var w=b.element_allowlist;if(w&&!w.some(function(z){return g.tagName.toLowerCase()===z}))return!1}if(b!=null&&b.css_selector_allowlist){var A=b.css_selector_allowlist;if(A&&!A.some(function(z){return g.matches(z)}))return!1}for(var D=!1,k=[g],R=!0,B=g;B.parentNode&&!ou(B,"body");)if(lI(B.parentNode))k.push(B.parentNode.host),B=B.parentNode.host;else{if(!(R=B.parentNode||!1))break;if(Q3.indexOf(R.tagName.toLowerCase())>-1)D=!0;else{var W=window.getComputedStyle(R);W&&W.getPropertyValue("cursor")==="pointer"&&(D=!0)}k.push(R),B=R}var P=window.getComputedStyle(g);if(P&&P.getPropertyValue("cursor")==="pointer"&&E.type==="click")return!0;var Q=g.tagName.toLowerCase();switch(Q){case"html":return!1;case"form":return E.type==="submit";case"input":case"select":case"textarea":return E.type==="change"||E.type==="click";default:return D?E.type==="click":E.type==="click"&&(Q3.indexOf(Q)>-1||g.getAttribute("contenteditable")==="true")}}(a,e,this.config)){for(var o=[a],s=a;s.parentNode&&!ou(s,"body");)lI(s.parentNode)?(o.push(s.parentNode.host),s=s.parentNode.host):(o.push(s.parentNode),s=s.parentNode);var u,c=[],p={},f=!1;if(fn(o,function(g){var E=Eh(g);g.tagName.toLowerCase()==="a"&&(u=g.getAttribute("href"),u=E&&S1(u)&&u),pn(wg(g).split(" "),"ph-no-capture")&&(f=!0),c.push(r._getPropertiesFromElement(g,t.get_config("mask_all_element_attributes"),t.get_config("mask_all_text")));var b=r._getAugmentPropertiesFromElement(g);Pr(p,b)}),t.get_config("mask_all_text")||(a.tagName.toLowerCase()==="a"||a.tagName.toLowerCase()==="button"?c[0].$el_text=uI(a):c[0].$el_text=Ag(a)),u&&(c[0].attr__href=u),f)return!1;var m=Pr(this._getDefaultProperties(e.type),{$elements:c},this._getCustomProperties(o),p);return t.capture(i,m),!0}},_navigate:function(e){window.location.href=e},_addDomEventHandlers:function(e){var t=this,n=function(r){r=r||window.event,t._captureEvent(r,e)};Fd(document,"submit",n,!1,!0),Fd(document,"change",n,!1,!0),Fd(document,"click",n,!1,!0)},_customProperties:[],rageclicks:null,config:void 0,init:function(e){var t;typeof e.__autocapture!="boolean"&&(this.config=e.__autocapture),(t=this.config)!==null&&t!==void 0&&t.url_allowlist&&(this.config.url_allowlist=this.config.url_allowlist.map(function(n){return new RegExp(n)})),this.rageclicks=new Ofe(e.get_config("rageclick"))},afterDecideResponse:function(e,t){var n=t.get_config("token");this._initializedTokens.indexOf(n)>-1?kn.log('autocapture already initialized for token "'+n+'"'):(t.persistence&&t.persistence.register(ct({},cI,!!e.autocapture_opt_out)),this._isDisabledServerSide=!!e.autocapture_opt_out,this._setIsAutocaptureEnabled(t),this._initializedTokens.push(n),e&&e.config&&e.config.enable_collect_everything&&this._isAutocaptureEnabled?(e.custom_properties&&(this._customProperties=e.custom_properties),this._addDomEventHandlers(t)):t.__autocapture=!1)},enabledForProject:function(e,t,n){if(!e)return!0;t=Ua(t)?10:t,n=Ua(n)?10:n;for(var r=0,i=0;i1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0){var r=this.getFlagVariants()[t],i="".concat(r),a=this.instance.get_property(Cg)||{};return!n.send_event&&"send_event"in n||t in a&&a[t].includes(i)||(Array.isArray(a[t])?a[t].push(i):a[t]=[i],this.instance.persistence.register(ct({},Cg,a)),this.instance.capture("$feature_flag_called",{$feature_flag:t,$feature_flag_response:r})),r}console.warn('getFeatureFlag for key "'+t+`" failed. Feature flags didn't load in time.`)}},{key:"getFeatureFlagPayload",value:function(t){return this.getFlagPayloads()[t]}},{key:"isFeatureEnabled",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.instance.decideEndpointWasHit||this.getFlags()&&this.getFlags().length>0)return!!this.getFeatureFlag(t,n);console.warn('isFeatureEnabled for key "'+t+`" failed. Feature flags didn't load in time.`)}},{key:"addFeatureFlagsHandler",value:function(t){this.featureFlagEventHandlers.push(t)}},{key:"removeFeatureFlagsHandler",value:function(t){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter(function(n){return n!==t})}},{key:"receivedFeatureFlags",value:function(t){this.instance.decideEndpointWasHit=!0;var n=this.getFlagVariants(),r=this.getFlagPayloads();(function(i,a){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=i.featureFlags,c=i.featureFlagPayloads;if(u)if(Array.isArray(u)){var p,f={};if(u)for(var m=0;m1&&arguments[1]!==void 0&&arguments[1],i=this.instance.get_property(r9);if(i&&!r)return t(i);this.instance._send_request("".concat(this.instance.get_config("api_host"),"/api/early_access_features/?token=").concat(this.instance.get_config("token")),{},{method:"GET"},function(a){var o=a.earlyAccessFeatures;return n.instance.persistence.register(ct({},r9,o)),t(o)})}},{key:"_prepareFeatureFlagsForCallbacks",value:function(){var t=this.getFlags(),n=this.getFlagVariants();return{flags:t.filter(function(r){return n[r]}),flagVariants:Object.keys(n).filter(function(r){return n[r]}).reduce(function(r,i){return r[i]=n[i],r},{})}}},{key:"_fireFeatureFlagsCallbacks",value:function(){var t=this._prepareFeatureFlagsForCallbacks(),n=t.flags,r=t.flagVariants;this.featureFlagEventHandlers.forEach(function(i){return i(n,r)})}},{key:"setPersonPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=this.instance.get_property(A1)||{};this.instance.register(ct({},A1,yt(yt({},r),t))),n&&this.instance.reloadFeatureFlags()}},{key:"resetPersonPropertiesForFlags",value:function(){this.instance.unregister(A1)}},{key:"setGroupPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=this.instance.get_property(Ps)||{};Object.keys(r).length!==0&&Object.keys(r).forEach(function(i){r[i]=yt(yt({},r[i]),t[i]),delete t[i]}),this.instance.register(ct({},Ps,yt(yt({},r),t))),n&&this.instance.reloadFeatureFlags()}},{key:"resetGroupPropertiesForFlags",value:function(t){if(t){var n=this.instance.get_property(Ps)||{};this.instance.register(ct({},Ps,yt(yt({},n),{},ct({},t,{}))))}else this.instance.unregister(Ps)}}]),e}(),Bfe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNOCAwSDE2TDAgMTZWOEw4IDBaIiBmaWxsPSIjMkQyRDJEIi8+CjxwYXRoIGQ9Ik0xNiA4VjE2SDhMMTYgOFoiIGZpbGw9IiMyRDJEMkQiLz4KPC9zdmc+Cg==",mI=2,Ufe=4,AF=3,$fe=6,zfe=0,Hfe=5e6,jfe="rrweb/console@1",oo,Gfe=Un(function e(t){var n,r,i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Bn(this,e),ct(this,"bucketSize",100),ct(this,"refillRate",10),ct(this,"mutationBuckets",{}),ct(this,"loggedTracker",{}),ct(this,"refillBuckets",function(){Object.keys(i.mutationBuckets).forEach(function(o){i.mutationBuckets[o]=i.mutationBuckets[o]+i.refillRate,i.mutationBuckets[o]>=i.bucketSize&&delete i.mutationBuckets[o]})}),ct(this,"getNodeOrRelevantParent",function(o){var s=i.rrweb.mirror.getNode(o);if((s==null?void 0:s.nodeName)!=="svg"&&s instanceof Element){var u=s.closest("svg");if(u)return[i.rrweb.mirror.getId(u),u]}return[o,s]}),ct(this,"numberOfChanges",function(o){var s,u,c,p,f,m,g,E;return((s=(u=o.removes)===null||u===void 0?void 0:u.length)!==null&&s!==void 0?s:0)+((c=(p=o.attributes)===null||p===void 0?void 0:p.length)!==null&&c!==void 0?c:0)+((f=(m=o.texts)===null||m===void 0?void 0:m.length)!==null&&f!==void 0?f:0)+((g=(E=o.adds)===null||E===void 0?void 0:E.length)!==null&&g!==void 0?g:0)}),ct(this,"throttleMutations",function(o){if(o.type!==AF||o.data.source!==zfe)return o;var s=o.data,u=i.numberOfChanges(s);s.attributes&&(s.attributes=s.attributes.filter(function(p){var f,m,g,E=yo(i.getNodeOrRelevantParent(p.id),2),b=E[0],T=E[1];return i.mutationBuckets[b]===0?!1:(i.mutationBuckets[b]=(f=i.mutationBuckets[b])!==null&&f!==void 0?f:i.bucketSize,i.mutationBuckets[b]=Math.max(i.mutationBuckets[b]-1,0),i.mutationBuckets[b]===0&&(i.loggedTracker[b]||(i.loggedTracker[b]=!0,(m=(g=i.options).onBlockedNode)===null||m===void 0||m.call(g,b,T))),p)}));var c=i.numberOfChanges(s);return c!==0||u===c?o:void 0}),this.rrweb=t,this.options=a,this.refillRate=(n=this.options.refillRate)!==null&&n!==void 0?n:this.refillRate,this.bucketSize=(r=this.options.bucketSize)!==null&&r!==void 0?r:this.bucketSize,setInterval(function(){i.refillBuckets()},1e3)}),Vfe="/s/",CF="sessionRecording";(function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet"})(oo||(oo={}));var Wfe=[oo.MouseMove,oo.MouseInteraction,oo.Scroll,oo.ViewportResize,oo.Input,oo.TouchMove,oo.MediaInteraction,oo.Drag],qfe=function(){function e(t){var n=this;Bn(this,e),ct(this,"lastActivityTimestamp",Date.now()),ct(this,"isIdle",!1),this.instance=t,this.captureStarted=!1,this.snapshots=[],this.emit=!1,this.endpoint=Vfe,this.stopRrweb=void 0,this.windowId=null,this.sessionId=null,this.receivedDecide=!1,window.addEventListener("beforeunload",function(){n._flushBuffer()})}return Un(e,[{key:"startRecordingIfEnabled",value:function(){this.isRecordingEnabled()?this.startCaptureAndTrySendingQueuedSnapshots():this.stopRecording()}},{key:"started",value:function(){return this.captureStarted}},{key:"stopRecording",value:function(){this.captureStarted&&this.stopRrweb&&(this.stopRrweb(),this.stopRrweb=void 0,this.captureStarted=!1)}},{key:"isRecordingEnabled",value:function(){var t=!!this.instance.get_property(t9),n=!this.instance.get_config("disable_session_recording");return t&&n}},{key:"isConsoleLogCaptureEnabled",value:function(){var t=!!this.instance.get_property(dI),n=this.instance.get_config("enable_recording_console_log");return n??t}},{key:"getRecordingVersion",value:function(){var t,n=this.instance.get_property(pI);return((t=this.instance.get_config("session_recording"))===null||t===void 0?void 0:t.recorderVersion)||n||"v1"}},{key:"afterDecideResponse",value:function(t){var n,r,i,a,o,s;this.receivedDecide=!0,this.instance.persistence&&this.instance.persistence.register((ct(o={},t9,!!t.sessionRecording),ct(o,dI,(i=t.sessionRecording)===null||i===void 0?void 0:i.consoleLogRecordingEnabled),ct(o,pI,(a=t.sessionRecording)===null||a===void 0?void 0:a.recorderVersion),o)),(n=t.sessionRecording)!==null&&n!==void 0&&n.endpoint&&(this.endpoint=(s=t.sessionRecording)===null||s===void 0?void 0:s.endpoint),(r=t.sessionRecording)!==null&&r!==void 0&&r.recorderVersion&&(this.recorderVersion=t.sessionRecording.recorderVersion),this.startRecordingIfEnabled()}},{key:"log",value:function(t){var n,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"log";(n=this.instance.sessionRecording)===null||n===void 0||n.onRRwebEmit({type:6,data:{plugin:"rrweb/console@1",payload:{level:r,trace:[],payload:[JSON.stringify(t)]}},timestamp:vF()})}},{key:"startCaptureAndTrySendingQueuedSnapshots",value:function(){var t=this;this.receivedDecide&&(this.emit=!0,this.snapshots.forEach(function(n){return t._captureSnapshotBuffered(n)})),this._startCapture()}},{key:"_startCapture",value:function(){var t=this;if(Object.assign!==void 0&&!this.captureStarted&&!this.instance.get_config("disable_session_recording")){this.captureStarted=!0,this.instance.sessionManager.checkAndGetSessionAndWindowId();var n=this.getRecordingVersion()==="v2"?"recorder-v2.js":"recorder.js";this.instance.__loaded_recorder_version!==this.getRecordingVersion()?T7(this.instance.get_config("api_host")+"/static/".concat(n,"?v=").concat(fa.LIB_VERSION),function(r){if(r)return kn.error("Could not load ".concat(n),r);t._onScriptLoaded()}):this._onScriptLoaded()}}},{key:"_isInteractiveEvent",value:function(t){var n;return t.type===AF&&Wfe.indexOf((n=t.data)===null||n===void 0?void 0:n.source)!==-1}},{key:"_updateWindowAndSessionIds",value:function(t){var n=this._isInteractiveEvent(t);if(n||this.isIdle||t.timestamp-this.lastActivityTimestamp>3e5&&(this.isIdle=!0),n&&(this.lastActivityTimestamp=t.timestamp,this.isIdle&&(this.isIdle=!1,this._tryTakeFullSnapshot())),!this.isIdle){var r=this.instance.sessionManager.checkAndGetSessionAndWindowId(!n,t.timestamp),i=r.windowId,a=r.sessionId;[mI,Ufe].indexOf(t.type)!==-1||this.windowId===i&&this.sessionId===a||this._tryTakeFullSnapshot(),this.windowId=i,this.sessionId=a}}},{key:"_tryTakeFullSnapshot",value:function(){if(!this.captureStarted)return!1;try{var t;return(t=this.rrwebRecord)===null||t===void 0||t.takeFullSnapshot(),!0}catch(n){return kn.error("Error taking full snapshot.",n),!1}}},{key:"_onScriptLoaded",value:function(){var t,n=this,r={blockClass:"ph-no-capture",blockSelector:void 0,ignoreClass:"ph-ignore-input",maskTextClass:"ph-mask",maskTextSelector:void 0,maskTextFn:void 0,maskAllInputs:!0,maskInputOptions:{},maskInputFn:void 0,slimDOMOptions:{},collectFonts:!1,inlineStylesheet:!0,recordCrossOriginIframes:!1};this.rrwebRecord=window.rrweb?window.rrweb.record:window.rrwebRecord;for(var i=this.instance.get_config("session_recording"),a=0,o=Object.entries(i||{});aHfe){var c,p=as(u.matchAll(/data:([\w\/\-\.]+);(\w+),([^)"]*)/gim));try{for(p.s();!(c=p.n()).done;){var f=c.value;u=f[1].toLocaleLowerCase().slice(0,6)==="image/"?u.replace(f[0],Bfe):u.replace(f[0],"")}}catch(m){p.e(m)}finally{p.f()}}return{event:JSON.parse(u),size:u.length}}(function(s){var u=s;if(u&&ol(u)==="object"&&u.type===$fe&&ol(u.data)==="object"&&u.data.plugin===jfe){u.data.payload.payload.length>10&&(u.data.payload.payload=u.data.payload.payload.slice(0,10),u.data.payload.payload.push("...[truncated]"));for(var c=[],p=0;p2e3?c.push(u.data.payload.payload[p].slice(0,2e3)+"...[truncated]"):c.push(u.data.payload.payload[p]);return u.data.payload.payload=c,s}return s}(n)),i=r.event,a=r.size;if(this._updateWindowAndSessionIds(i),!this.isIdle){var o={$snapshot_bytes:a,$snapshot_data:i,$session_id:this.sessionId,$window_id:this.windowId};this.instance._captureMetrics.incr("rrweb-record"),this.instance._captureMetrics.incr("rrweb-record-".concat(i.type)),this.emit?this._captureSnapshotBuffered(o):this.snapshots.push(o)}}}}},{key:"_flushBuffer",value:function(){return this.flushBufferTimer&&(clearTimeout(this.flushBufferTimer),this.flushBufferTimer=void 0),this.buffer&&this.buffer.data.length!==0&&this._captureSnapshot({$snapshot_bytes:this.buffer.size,$snapshot_data:this.buffer.data,$session_id:this.buffer.sessionId,$window_id:this.buffer.windowId}),this.buffer=void 0,{size:0,data:[],sessionId:this.sessionId,windowId:this.windowId}}},{key:"_captureSnapshotBuffered",value:function(t){var n,r=this,i=2+(((n=this.buffer)===null||n===void 0?void 0:n.data.length)||0);(!this.buffer||this.buffer.size+t.$snapshot_bytes+i>943718.4||this.buffer.sessionId!==this.sessionId)&&(this.buffer=this._flushBuffer()),this.buffer.size+=t.$snapshot_bytes,this.buffer.data.push(t.$snapshot_data),this.flushBufferTimer||(this.flushBufferTimer=setTimeout(function(){r._flushBuffer()},2e3))}},{key:"_captureSnapshot",value:function(t){this.instance.capture("$snapshot",t,{transport:"XHR",method:"POST",endpoint:this.endpoint,_noTruncate:!0,_batchKey:CF,_metrics:{rrweb_full_snapshot:t.$snapshot_data.type===mI}})}}]),e}(),no={entryType:0,timeOrigin:1,name:2,startTime:3,redirectStart:4,redirectEnd:5,workerStart:6,fetchStart:7,domainLookupStart:8,domainLookupEnd:9,connectStart:10,secureConnectionStart:11,connectEnd:12,requestStart:13,responseStart:14,responseEnd:15,decodedBodySize:16,encodedBodySize:17,initiatorType:18,nextHopProtocol:19,renderBlockingStatus:20,responseStatus:21,transferSize:22,element:23,renderTime:24,loadTime:25,size:26,id:27,url:28,domComplete:29,domContentLoadedEvent:30,domInteractive:31,loadEventEnd:32,loadEventStart:33,redirectCount:34,navigationType:35,unloadEventEnd:36,unloadEventStart:37,duration:39,timestamp:40},Kfe=["first-input","navigation","paint","resource"],Yfe=["/s/","/e/"],Xfe=function(){function e(t){Bn(this,e),ct(this,"_forceAllowLocalhost",!1),this.instance=t}return Un(e,[{key:"startObservingIfEnabled",value:function(){this.isEnabled()?this.startObserving():this.stopObserving()}},{key:"startObserving",value:function(){var t,n,r=this;if(!this.observer)if(((t=window)===null||t===void 0||(n=t.PerformanceObserver)===null||n===void 0?void 0:n.supportedEntryTypes)!==void 0)if(!Afe.includes(location.hostname)||this._forceAllowLocalhost)try{this.observer=new PerformanceObserver(function(a){a.getEntries().forEach(function(o){r._capturePerformanceEvent(o)})});var i=PerformanceObserver.supportedEntryTypes.filter(function(a){return Kfe.includes(a)});i.forEach(function(a){var o;(o=r.observer)===null||o===void 0||o.observe({type:a,buffered:!0})})}catch(a){console.error("PostHog failed to start performance observer",a),this.stopObserving()}else kn.log("PostHog Peformance observer not started because we are on localhost.");else kn.log("PostHog Performance observer not started because PerformanceObserver is not supported by this browser.")}},{key:"stopObserving",value:function(){this.observer&&(this.observer.disconnect(),this.observer=void 0)}},{key:"isObserving",value:function(){return!!this.observer}},{key:"isEnabled",value:function(){var t,n;return(t=(n=this.instance.get_config("capture_performance"))!==null&&n!==void 0?n:this.remoteEnabled)!==null&&t!==void 0&&t}},{key:"afterDecideResponse",value:function(t){this.remoteEnabled=t.capturePerformance||!1,this.isEnabled()&&this.startObserving()}},{key:"_capturePerformanceEvent",value:function(t){if(t.name.indexOf(this.instance.get_config("api_host"))===0){var n=t.name.replace(this.instance.get_config("api_host"),"");if(Yfe.find(function(g){return n.indexOf(g)===0}))return}var r={url:t.name},i=this.instance.get_config("session_recording");if(i.maskNetworkRequestFn&&(r=i.maskNetworkRequestFn(r)),r){var a=t.toJSON();a.name=r.url;var o={},s=Math.floor(Date.now()-performance.now());for(var u in o[no.timeOrigin]=s,o[no.timestamp]=Math.floor(s+t.startTime),no)a[u]!==void 0&&(o[no[u]]=a[u]);if(this.capturePerformanceEvent(o),Zfe(t)){var c,p=as(t.serverTiming||[]);try{for(p.s();!(c=p.n()).done;){var f,m=c.value;this.capturePerformanceEvent((ct(f={},no.timeOrigin,s),ct(f,no.timestamp,Math.floor(s+t.startTime)),ct(f,no.name,m.name),ct(f,no.duration,m.duration),ct(f,no.entryType,"serverTiming"),f))}}catch(g){p.e(g)}finally{p.f()}}}}},{key:"capturePerformanceEvent",value:function(t){var n,r=t[no.timestamp];(n=this.instance.sessionRecording)===null||n===void 0||n.onRRwebEmit({type:6,data:{plugin:"posthog/network@1",payload:t},timestamp:r})}}]),e}(),Zfe=function(e){return e.entryType==="navigation"||e.entryType==="resource"},Qfe=function(){function e(t){Bn(this,e),this.instance=t,this.instance.decideEndpointWasHit=this.instance._hasBootstrappedFeatureFlags()}return Un(e,[{key:"call",value:function(){var t=this,n=_7(JSON.stringify({token:this.instance.get_config("token"),distinct_id:this.instance.get_distinct_id(),groups:this.instance.getGroups(),person_properties:this.instance.get_property(A1),group_properties:this.instance.get_property(Ps),disable_flags:this.instance.get_config("advanced_disable_feature_flags")||this.instance.get_config("advanced_disable_feature_flags_on_first_load")||void 0}));this.instance._send_request("".concat(this.instance.get_config("api_host"),"/decide/?v=3"),{data:n,verbose:!0},{method:"POST"},function(r){return t.parseDecideResponse(r)})}},{key:"parseDecideResponse",value:function(t){var n,r,i,a=this;if((t==null?void 0:t.status)!==0){if(!document||!document.body)return console.log("document not ready yet, trying again in 500 milliseconds..."),void setTimeout(function(){a.parseDecideResponse(t)},500);if(this.instance.toolbar.afterDecideResponse(t),(n=this.instance.sessionRecording)===null||n===void 0||n.afterDecideResponse(t),zs.afterDecideResponse(t,this.instance),(r=this.instance.webPerformance)===null||r===void 0||r.afterDecideResponse(t),(i=this.instance.exceptionAutocapture)===null||i===void 0||i.afterDecideResponse(t),this.instance.get_config("advanced_disable_feature_flags_on_first_load")||this.instance.featureFlags.receivedFeatureFlags(t),this.instance.compression={},t.supportedCompression&&!this.instance.get_config("disable_compression")){var o,s={},u=as(t.supportedCompression);try{for(u.s();!(o=u.n()).done;)s[o.value]=!0}catch(g){u.e(g)}finally{u.f()}this.instance.compression=s}if(t.siteApps)if(this.instance.get_config("opt_in_site_apps")){var c,p=this.instance.get_config("api_host"),f=as(t.siteApps);try{var m=function(){var g=c.value,E=g.id,b=g.url,T=[p,p[p.length-1]==="/"&&b[0]==="/"?b.substring(1):b].join("");window["__$$ph_site_app_".concat(E)]=a.instance,T7(T,function(v){v&&console.error("Error while initializing PostHog app with config id ".concat(E),v)})};for(f.s();!(c=f.n()).done;)m()}catch(g){f.e(g)}finally{f.f()}}else t.siteApps.length>0&&console.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}else console.error("Failed to fetch feature flags from PostHog.")}}]),e}(),Jfe=["https://app.posthog.com","https://eu.posthog.com"],e0e=["source"],t0e=function(){function e(t){Bn(this,e),this.instance=t}return Un(e,[{key:"afterDecideResponse",value:function(t){var n=t.toolbarParams||t.editorParams||(t.toolbarVersion?{toolbarVersion:t.toolbarVersion}:{});t.isAuthenticated&&n.toolbarVersion&&n.toolbarVersion.indexOf("toolbar")===0&&this.loadToolbar(yt({},n))}},{key:"maybeLoadToolbar",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.location,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:window.history;try{if(!n){try{window.localStorage.setItem("test","test"),window.localStorage.removeItem("test")}catch{return!1}n=window.localStorage}var i,a=oI(t.hash,"__posthog")||oI(t.hash,"state"),o=a?JSON.parse(decodeURIComponent(a)):null;return o&&o.action==="ph_authorize"?((i=o).source="url",i&&Object.keys(i).length>0&&(o.desiredHash?t.hash=o.desiredHash:r?r.replaceState("",document.title,t.pathname+t.search):t.hash="")):((i=JSON.parse(n.getItem("_postHogToolbarParams")||"{}")).source="localstorage",delete i.userIntent),!(!i.token||this.instance.get_config("token")!==i.token)&&(this.loadToolbar(i),!0)}catch{return!1}}},{key:"loadToolbar",value:function(t){var n=this;if(window._postHogToolbarLoaded)return!1;window._postHogToolbarLoaded=!0;var r=this.instance.get_config("api_host"),i=3e4*Math.floor(Date.now()/3e4),a="".concat(r).concat(r.endsWith("/")?"":"/","static/toolbar.js?_ts=").concat(i),o=!Jfe.includes(this.instance.get_config("api_host"))&&this.instance.get_config("advanced_disable_toolbar_metrics"),s=yt(yt({token:this.instance.get_config("token")},t),{},{apiURL:r},o?{instrument:!1}:{});s.source;var u=Efe(s,e0e);return window.localStorage.setItem("_postHogToolbarParams",JSON.stringify(u)),T7(a,function(c){c?kn.error("Failed to load toolbar",c):(window.ph_load_toolbar||window.ph_load_editor)(s,n.instance)}),Fd(window,"turbolinks:load",function(){window._postHogToolbarLoaded=!1,n.loadToolbar(s)}),!0}},{key:"_loadEditor",value:function(t){return this.loadToolbar(t)}},{key:"maybeLoadEditor",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.location,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:window.history;return this.maybeLoadToolbar(t,n,r)}}]),e}(),n0e="__ph_opt_in_out_";function r0e(e,t){kF(!0,e,t)}function i0e(e,t){kF(!1,e,t)}function a0e(e,t){return xF(e,t)==="1"}function bI(e,t){return!!function(n){if(n&&n.respectDnt){var r=n&&n.window||ht,i=r.navigator||{},a=!1;return fn([i.doNotTrack,i.msDoNotTrack,r.doNotTrack],function(o){pn([!0,1,"1","yes"],o)&&(a=!0)}),a}return!1}(t)||xF(e,t)==="0"}function o0e(e,t){S7(t=t||{}).remove(w7(e,t),!!t.crossSubdomainCookie)}function S7(e){return(e=e||{}).persistenceType==="localStorage"?qn:e.persistenceType==="localStorage+cookie"?e9:po}function w7(e,t){return((t=t||{}).persistencePrefix||n0e)+e}function xF(e,t){return S7(t).get(w7(e,t))}function kF(e,t,n){EF(t)&&t.length?(S7(n=n||{}).set(w7(t,n),e?1:0,xfe(n.cookieExpiration)?n.cookieExpiration:null,n.crossSubdomainCookie,n.secureCookie),n.capture&&e&&n.capture(n.captureEventName||"$opt_in",n.captureProperties||{},{send_instantly:!0})):console.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}var IF=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:3e3;Bn(this,e),this.isPolling=!0,this._event_queue=[],this._empty_queue_count=0,this._poller=void 0,this._pollInterval=t}return Un(e,[{key:"setPollInterval",value:function(t){this._pollInterval=t,this.isPolling&&this.poll()}},{key:"poll",value:function(){}},{key:"unload",value:function(){}},{key:"getTime",value:function(){return new Date().getTime()}}]),e}(),s0e=function(e){pF(n,IF);var t=fF(n);function n(r,i){var a,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3e3;return Bn(this,n),(a=t.call(this,o)).handlePollRequest=i,a.captureMetrics=r,a}return Un(n,[{key:"enqueue",value:function(r,i,a){this.captureMetrics.incr("batch-enqueue"),this._event_queue.push({url:r,data:i,options:a}),this.isPolling||(this.isPolling=!0,this.poll())}},{key:"poll",value:function(){var r=this;clearTimeout(this._poller),this._poller=setTimeout(function(){if(r._event_queue.length>0){var i=r.formatQueue(),a=function(s){var u=i[s],c=u.url,p=u.data,f=u.options;fn(p,function(m,g){p[g].offset=Math.abs(p[g].timestamp-r.getTime()),delete p[g].timestamp}),r.handlePollRequest(c,p,f),r.captureMetrics.incr("batch-requests"),r.captureMetrics.incr("batch-requests-".concat(c.slice(c.length-2))),r.captureMetrics.incr("batch-handle",p.length),r.captureMetrics.incr("batch-handle-".concat(c.slice(c.length-2)),p.length)};for(var o in i)a(o);r._event_queue.length=0,r._empty_queue_count=0}else r._empty_queue_count++;r._empty_queue_count>4&&(r.isPolling=!1,r._empty_queue_count=0),r.isPolling&&r.poll()},this._pollInterval)}},{key:"updateUnloadMetrics",value:function(){var r=this.formatQueue();for(var i in r){var a=r[i],o=a.url,s=a.data;this.captureMetrics.incr("batch-unload-requests"),this.captureMetrics.incr("batch-unload-requests-".concat(o.slice(o.length-2))),this.captureMetrics.incr("batch-unload",s.length),this.captureMetrics.incr("batch-unload-".concat(o.slice(o.length-2)),s.length)}}},{key:"unload",value:function(){var r=this;clearTimeout(this._poller);var i=this._event_queue.length>0?this.formatQueue():{};this._event_queue.length=0;var a=Object.values(i);[].concat(Yb(a.filter(function(o){return o.url.indexOf("/e")===0})),Yb(a.filter(function(o){return o.url.indexOf("/e")!==0}))).map(function(o){var s=o.url,u=o.data,c=o.options;r.handlePollRequest(s,u,yt(yt({},c),{},{transport:"sendBeacon"}))})}},{key:"formatQueue",value:function(){var r={};return fn(this._event_queue,function(i){var a=i.url,o=i.data,s=i.options,u=(s?s._batchKey:null)||a;r[u]===void 0&&(r[u]={data:[],url:a,options:s}),s&&r[u].options&&r[u].options._metrics&&!r[u].options._metrics.rrweb_full_snapshot&&(r[u].options._metrics.rrweb_full_snapshot=s._metrics.rrweb_full_snapshot),r[u].data.push(o)}),r}}]),n}(),l0e=function(){function e(t){Bn(this,e),this.enabled=t,this.metrics={}}return Un(e,[{key:"incr",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.enabled&&(t="phjs-".concat(t),this.metrics[t]=(this.metrics[t]||0)+n)}},{key:"decr",value:function(t){this.enabled&&(t="phjs-".concat(t),this.metrics[t]=(this.metrics[t]||0)-1)}}]),e}(),Pi=Uint8Array,Jr=Uint16Array,ec=Uint32Array,A7=new Pi([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),C7=new Pi([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),EI=new Pi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),RF=function(e,t){for(var n=new Jr(31),r=0;r<31;++r)n[r]=t+=1<>>1|(21845&Tn)<<1;zl=(61680&(zl=(52428&zl)>>>2|(13107&zl)<<2))>>>4|(3855&zl)<<4,l9[Tn]=((65280&zl)>>>8|(255&zl)<<8)>>>1}var Pd=function(e,t,n){for(var r=e.length,i=0,a=new Jr(t);i>>u]=c}else for(o=new Jr(r),i=0;i>>15-e[i];return o},bu=new Pi(288);for(Tn=0;Tn<144;++Tn)bu[Tn]=8;for(Tn=144;Tn<256;++Tn)bu[Tn]=9;for(Tn=256;Tn<280;++Tn)bu[Tn]=7;for(Tn=280;Tn<288;++Tn)bu[Tn]=8;var xg=new Pi(32);for(Tn=0;Tn<32;++Tn)xg[Tn]=5;var Yl,c0e=Pd(bu,9,0),d0e=Pd(xg,5,0),OF=function(e){return(e/8>>0)+(7&e&&1)},DF=function(e,t,n){(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length);var r=new(e instanceof Jr?Jr:e instanceof ec?ec:Pi)(n-t);return r.set(e.subarray(t,n)),r},$o=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},Jc=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},t4=function(e,t){for(var n=[],r=0;rm&&(m=a[r].s);var g=new Jr(m+1),E=p0e(n[p-1],g,0);if(E>t){r=0;var b=0,T=E-t,v=1<t))break;b+=v-(1<>>=T;b>0;){var w=a[r].s;g[w]=0&&b;--r){var A=a[r].s;g[A]==t&&(--g[A],++b)}E=t}return[new Pi(g),E]},p0e=function e(t,n,r){return t.s==-1?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},yI=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Jr(++t),r=0,i=e[0],a=1,o=function(u){n[r++]=u},s=1;s<=t;++s)if(e[s]==i&&s!=t)++a;else{if(!i&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(i),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(i);a=1,i=e[s]}return[n.subarray(0,r),t]},ed=function(e,t){for(var n=0,r=0;r>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a4&&!P[EI[z-1]];--z);var le,he,de,fe,Z=c+5<<3,V=ed(i,bu)+ed(a,xg)+o,ce=ed(i,m)+ed(a,b)+o+14+3*z+ed(R,P)+(2*R[16]+3*R[17]+7*R[18]);if(Z<=V&&Z<=ce)return yh(t,p,e.subarray(u,u+c));if($o(t,p,1+(ce15&&($o(t,p,O[B]>>>5&127),p+=O[B]>>>12)}}}else le=c0e,he=bu,de=d0e,fe=xg;for(B=0;B255){re=r[B]>>>18&31,Jc(t,p,le[re+257]),p+=he[re+257],re>7&&($o(t,p,r[B]>>>23&31),p+=A7[re]);var Te=31&r[B];Jc(t,p,de[Te]),p+=fe[Te],Te>3&&(Jc(t,p,r[B]>>>5&8191),p+=C7[Te])}else Jc(t,p,le[r[B]]),p+=he[r[B]];return Jc(t,p,le[256]),p+he[256]},f0e=new ec([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),h0e=new Pi(0),g0e=function(){for(var e=new ec(256),t=0;t<256;++t){for(var n=t,r=9;--r;)n=(1&n&&3988292384)^n>>>1;e[t]=n}return e}(),m0e=function(){var e=4294967295;return{p:function(t){for(var n=e,r=0;r>>8;e=n},d:function(){return 4294967295^e}}},b0e=function(e,t,n,r,i){return function(a,o,s,u,c,p){var f=a.length,m=new Pi(u+f+5*(1+Math.floor(f/7e3))+c),g=m.subarray(u,m.length-c),E=0;if(!o||f<8)for(var b=0;b<=f;b+=65535){var T=b+65535;T>>13,w=8191&v,A=(1<7e3||de>24576)&&me>423){E=_I(a,g,0,P,Q,z,he,de,Z,b-Z,E),de=le=he=0,Z=b;for(var oe=0;oe<286;++oe)Q[oe]=0;for(oe=0;oe<30;++oe)z[oe]=0}var O=2,re=0,Te=w,K=ce-N&32767;if(me>2&&V==W(b-K))for(var xe=Math.min(y,me)-1,ne=Math.min(32767,b),Le=Math.min(258,me);K<=ne&&--Te&&ce!=N;){if(a[b+O]==a[b+O-K]){for(var Re=0;ReO){if(O=Re,re=K,Re>xe)break;var Xe=Math.min(K,Re-2),Ve=0;for(oe=0;oeVe&&(Ve=ot,N=dt)}}}K+=(ce=N)-(N=D[ce])+32768&32767}if(re){P[de++]=268435456|s9[O]<<18|vI[re];var Ge=31&s9[O],pt=31&vI[re];he+=A7[Ge]+C7[pt],++Q[257+Ge],++z[pt],fe=b+O,++le}else P[de++]=a[b],++Q[a[b]]}}E=_I(a,g,p,P,Q,z,he,de,Z,b-Z,E),p||(E=yh(g,E,h0e))}return DF(m,0,u+OF(E)+c)}(e,t.level==null?6:t.level,t.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!i)},u9=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},E0e=function(e,t){var n=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:t.level==9?2:0,e[9]=3,t.mtime!=0&&u9(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),n){e[3]=8;for(var r=0;r<=n.length;++r)e[r+10]=n.charCodeAt(r)}},v0e=function(e){return 10+(e.filename&&e.filename.length+1||0)};function y0e(e,t){t===void 0&&(t={});var n=m0e(),r=e.length;n.p(e);var i=b0e(e,t,v0e(t),8),a=i.length;return E0e(i,t),u9(i,a-8,n.d()),u9(i,a-4,r),i}function _0e(e,t){var n=e.length;if(!t&&typeof TextEncoder<"u")return new TextEncoder().encode(e);for(var r=new Pi(e.length+(e.length>>>1)),i=0,a=function(c){r[i++]=c},o=0;or.length){var s=new Pi(i+8+(n-o<<1));s.set(r),r=s}var u=e.charCodeAt(o);u<128||t?a(u):u<2048?(a(192|u>>>6),a(128|63&u)):u>55295&&u<57344?(a(240|(u=65536+(1047552&u)|1023&e.charCodeAt(++o))>>>18),a(128|u>>>12&63),a(128|u>>>6&63),a(128|63&u)):(a(224|u>>>12),a(128|u>>>6&63),a(128|63&u))}return DF(r,0,i)}(function(e){e.GZipJS="gzip-js",e.Base64="base64"})(Yl||(Yl={}));var T0e=function(e,t,n){var r=t||{};r.ip=n.ip?1:0,r._=new Date().getTime().toString(),r.ver=fa.LIB_VERSION;var i=e.split("?");if(i.length>1){var a,o=as(i[1].split("&"));try{for(o.s();!(a=o.n()).done;){var s=a.value.split("=")[0];r[s]&&delete r[s]}}catch(c){o.e(c)}finally{o.f()}}var u=e.indexOf("?")>-1?"&":"?";return e+u+function(c){var p,f,m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"&",g=[];return fn(c,function(E,b){p=encodeURIComponent(E.toString()),f=encodeURIComponent(b),g[g.length]=f+"="+p}),g.join(m)}(r)},x7=function e(t,n){if(n.blob&&t.buffer)return new Blob([t.buffer],{type:"text/plain"});if(n.sendBeacon||n.blob){var r=e(t,{method:"POST"});return new Blob([r],{type:"application/x-www-form-urlencoded"})}if(n.method!=="POST")return null;var i,a;return i=Array.isArray(t)||(a=t,Object.prototype.toString.call(a)==="[object Uint8Array]")?"data="+encodeURIComponent(t):"data="+encodeURIComponent(t.data),"compression"in t&&t.compression&&(i+="&compression="+t.compression),i},LF=function(e){var t=e.url,n=e.data,r=e.headers,i=e.options,a=e.captureMetrics,o=e.callback,s=e.retriesPerformedSoFar,u=e.retryQueue,c=e.onXHRError,p=e.timeout,f=p===void 0?1e4:p,m=e.onRateLimited,g=new XMLHttpRequest;g.open(i.method||"GET",t,!0);var E=x7(n,i);a.incr("_send_request"),a.incr("_send_request_inflight"),fn(r,function(b,T){g.setRequestHeader(T,b)}),i.method!=="POST"||i.blob||g.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),g.timeout=f,g.withCredentials=!0,g.onreadystatechange=function(){if(g.readyState===4)if(a.incr("xhr-response"),a.incr("xhr-response-".concat(g.status)),a.decr("_send_request_inflight"),g.status===200){if(o){var b;try{b=JSON.parse(g.responseText)}catch(T){return void kn.error(T)}o(b)}}else typeof c=="function"&&c(g),[401,403,404,500].indexOf(g.status)<0&&u.enqueue({url:t,data:n,options:i,headers:r,retriesPerformedSoFar:(s||0)+1,callback:o}),g.status===429&&(m==null||m(g)),o&&o({status:0})},g.send(E)},S0e=18e5,w0e=function(e){pF(n,IF);var t=fF(n);function n(r,i,a){var o;return Bn(this,n),(o=t.call(this)).captureMetrics=r,o.isPolling=!1,o.queue=[],o.areWeOnline=!0,o.onXHRError=i,o.rateLimiter=a,typeof window<"u"&&"onLine"in window.navigator&&(o.areWeOnline=window.navigator.onLine,window.addEventListener("online",function(){o._handleWeAreNowOnline()}),window.addEventListener("offline",function(){o.areWeOnline=!1})),o}return Un(n,[{key:"enqueue",value:function(r){var i=r.retriesPerformedSoFar||0;if(!(i>=10)){var a=function(s){var u=3e3*Math.pow(2,s),c=u/2,p=Math.min(S0e,u),f=(Math.random()-.5)*(p-c);return Math.ceil(p+f)}(i),o=new Date(Date.now()+a);this.queue.push({retryAt:o,requestData:r}),console.warn("Enqueued failed request for retry in ".concat(a)),this.isPolling||(this.isPolling=!0,this.poll())}}},{key:"poll",value:function(){var r=this;this._poller&&clearTimeout(this._poller),this._poller=setTimeout(function(){r.areWeOnline&&r.queue.length>0&&r.flush(),r.poll()},this._pollInterval)}},{key:"flush",value:function(){var r=new Date(Date.now()),i=this.queue.filter(function(u){return u.retryAt0){this.queue=this.queue.filter(function(u){return u.retryAt>=r});var a,o=as(i);try{for(o.s();!(a=o.n()).done;){var s=a.value.requestData;this._executeXhrRequest(s)}}catch(u){o.e(u)}finally{o.f()}}}},{key:"unload",value:function(){this._poller&&(clearTimeout(this._poller),this._poller=void 0);var r,i=as(this.queue);try{for(i.s();!(r=i.n()).done;){var a=r.value.requestData,o=a.url,s=a.data,u=a.options;if(this.rateLimiter.isRateLimited(u._batchKey))fa.DEBUG&&console.warn("[PostHog RetryQueue] is quota limited. Dropping request.");else try{window.navigator.sendBeacon(o,x7(s,yt(yt({},u),{},{sendBeacon:!0})))}catch(c){fa.DEBUG&&console.error(c)}}}catch(c){i.e(c)}finally{i.f()}this.queue=[]}},{key:"_executeXhrRequest",value:function(r){var i=r.url,a=r.data,o=r.options,s=r.headers,u=r.callback,c=r.retriesPerformedSoFar;this.rateLimiter.isRateLimited(o._batchKey)?fa.DEBUG&&console.warn("[PostHog RetryQueue] in quota limited mode. Dropping request."):LF({url:i,data:a||{},options:o||{},headers:s||{},retriesPerformedSoFar:c||0,callback:u,captureMetrics:this.captureMetrics,retryQueue:this,onXHRError:this.onXHRError,onRateLimited:this.rateLimiter.on429Response})}},{key:"_handleWeAreNowOnline",value:function(){this.areWeOnline=!0,this.flush()}}]),n}(),z0=1800,TI=60,A0e=864e5,C0e=function(){function e(t,n,r){Bn(this,e),ct(this,"_sessionIdChangedHandlers",[]),this.uuidFn=r,this.config=t,this.persistence=n,this._windowId=void 0,this._sessionId=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null;var i=t.persistence_name||t.token,a=t.session_idle_timeout_seconds||z0;if(typeof a!="number"?(console.warn("[PostHog] session_idle_timeout_seconds must be a number. Defaulting to 30 minutes."),a=z0):a>z0?console.warn("[PostHog] session_idle_timeout_seconds cannot be greater than 30 minutes. Using 30 minutes instead."):a0&&arguments[0]!==void 0&&arguments[0],n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:null)||new Date().getTime(),r=yo(this._getSessionId(),3),i=r[0],a=r[1],o=r[2],s=this._getWindowId(),u=o&&o>0&&Math.abs(n-o)>A0e,c=!1;!a||!t&&Math.abs(n-i)>this._sessionTimeoutMs||u?(a=this.uuidFn(),s=this.uuidFn(),o=n,c=!0):s||(s=this.uuidFn(),c=!0);var p=i===0||!t||u?n:i,f=o===0?new Date().getTime():o;return this._setWindowId(s),this._setSessionId(a,p,f),c&&this._sessionIdChangedHandlers.forEach(function(m){return m(a,s)}),{sessionId:a,windowId:s,sessionStartTimestamp:f}}}]),e}(),x0e=Un(function e(t,n,r,i){Bn(this,e),this.name="posthog-js",this.setupOnce=function(a){a(function(o){var s,u,c,p,f;if(o.level!=="error"||!t.__loaded)return o;o.tags||(o.tags={});var m=t.config.ui_host||t.config.api_host;o.tags["PostHog Person URL"]=m+"/person/"+t.get_distinct_id(),t.sessionRecordingStarted()&&(o.tags["PostHog Recording URL"]=t.get_session_replay_url({withTimestamp:!0}));var g=((s=o.exception)===null||s===void 0?void 0:s.values)||[],E={$exception_message:(u=g[0])===null||u===void 0?void 0:u.value,$exception_type:(c=g[0])===null||c===void 0?void 0:c.type,$exception_personURL:m+"/person/"+t.get_distinct_id(),$sentry_event_id:o.event_id,$sentry_exception:o.exception,$sentry_exception_message:(p=g[0])===null||p===void 0?void 0:p.value,$sentry_exception_type:(f=g[0])===null||f===void 0?void 0:f.type,$sentry_tags:o.tags};return n&&r&&(E.$sentry_url=(i||"https://sentry.io/organizations/")+n+"/issues/?project="+r+"&query="+o.event_id),t.capture("$exception",E),o})}}),k0e=function(e){Promise&&Promise.resolve||console.warn("This browser does not have Promise support, and can not use the segment integration");var t=function(n,r){n.event.userId||n.event.anonymousId===e.get_distinct_id()||e.reset(),n.event.userId&&n.event.userId!==e.get_distinct_id()&&(e.register({distinct_id:n.event.userId}),e.reloadFeatureFlags());var i=e._calculate_event_properties(r,n.event.properties);return n.event.properties=Object.assign({},i,n.event.properties),n};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:function(n){return t(n,n.event.event)},page:function(n){return t(n,"$pageview")},identify:function(n){return t(n,"$identify")},screen:function(n){return t(n,"$screen")}}},I0e=function(){function e(t){Bn(this,e),ct(this,"_seenFirstPageView",!1),this.uuidFn=t}return Un(e,[{key:"onPageview",value:function(){this._seenFirstPageView&&(this._pageViewId=this.uuidFn()),this._seenFirstPageView=!0}},{key:"getPageViewId",value:function(){return this._pageViewId||(this._pageViewId=this.uuidFn()),this._pageViewId}}]),e}();function SI(e){return typeof Event<"u"&&MF(e,Event)}function MF(e,t){try{return e instanceof t}catch{return!1}}function wI(e){return e===null||ol(e)!=="object"&&typeof e!="function"}function _h(e,t){return Object.prototype.toString.call(e)==="[object ".concat(t,"]")}function n4(e){return _h(e,"DOMError")}var AI=/\(error: (.*)\)/,CI=50,Th="?";function r4(e,t,n,r){var i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var R0e=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,N0e=/\((\S*)(?::(\d+))(?::(\d+))\)/,O0e=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,D0e=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,L0e=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,M0e=(function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:0,o=[],s=i.split(` +`),u=a;u1024)){var p=AI.test(c)?c.replace(AI,"$1"):c;if(!p.match(/\S*Error: /)){var f,m=as(r);try{for(m.s();!(f=m.n()).done;){var g=(0,f.value)(p);if(g){o.push(g);break}}}catch(E){m.e(E)}finally{m.f()}if(o.length>=CI)break}}}return function(E){if(!E.length)return[];var b=E.slice(0,CI);return b.reverse(),b.map(function(T){return yt(yt({},T),{},{filename:T.filename||b[b.length-1].filename,function:T.function||"?"})})}(o)}}).apply(void 0,[[30,function(e){var t=R0e.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){var n=N0e.exec(t[2]);n&&(t[2]=n[1],t[3]=n[2],t[4]=n[3])}var r=yo(xI(t[1]||Th,t[2]),2),i=r[0];return r4(r[1],i,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,function(e){var t=O0e.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var n=D0e.exec(t[3]);n&&(t[1]=t[1]||"eval",t[3]=n[1],t[4]=n[2],t[5]="")}var r=t[3],i=t[1]||Th,a=yo(xI(i,r),2);return i=a[0],r4(r=a[1],i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],[40,function(e){var t=L0e.exec(e);return t?r4(t[2],t[1]||Th,+t[3],t[4]?+t[4]:void 0):void 0}]]),xI=function(e,t){var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Th,n?"safari-extension:".concat(t):"safari-web-extension:".concat(t)]:[e,t]},F0e=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,P0e=/Minified React error #\d+;/i;function B0e(e){var t=e.stacktrace||e.stack||"",n=function(r){if(r){if(typeof r.framesToPop=="number")return r.framesToPop;if(P0e.test(r.message))return 1}return 0}(e);try{return M0e(t,n)}catch{}return[]}function i4(e){var t=B0e(e);return{$exception_type:e.name,$exception_message:e.message,$exception_stack_trace_raw:JSON.stringify(t)}}function U0e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:40,n=Object.keys(e);if(n.sort(),!n.length)return"[object has no keys]";for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length||i.length<=t?i:"".concat(i.slice(0,t),"...")}return""}function kI(e){var t=yo(e,5),n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s={};if(o===void 0&&typeof n=="string"){var u="Error",c=n,p=n.match(F0e);p&&(u=p[1],c=p[2]),s={$exception_type:u,$exception_message:c}}var f=o||n;if(n4(f)||function(b){return _h(b,"DOMException")}(f)){var m=f;if(function(b){return"stack"in b}(f))s=i4(f);else{var g=m.name||(n4(m)?"DOMError":"DOMException"),E=m.message?"".concat(g,": ").concat(m.message):g;s=function(b){return{$exception_type:"Error",$exception_message:b}}(E),s.$exception_type=n4(m)?"DOMError":"DOMException",s.$exception_message=s.$exception_message||E}"code"in m&&(s.$exception_DOMException_code="".concat(m.code))}else(function(b){return _h(b,"ErrorEvent")})(f)&&f.error?s=i4(f.error):function(b){switch(Object.prototype.toString.call(b)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return MF(b,Error)}}(f)?s=i4(f):function(b){return _h(b,"Object")}(f)||SI(f)?(s=function(b){return{$exception_type:SI(b)?b.constructor.name:"Error",$exception_message:"Non-Error ".concat("exception"," captured with keys: ",U0e(b))}}(f),s.$exception_is_synthetic=!0):(s.$exception_type=s.$exception_type||"Error",s.$exception_message=s.$exception_message||f,s.$exception_is_synthetic=!0);return yt(yt(yt(yt({},s),{},{$exception_type:s.$exception_type||"UnknownErrorType",$exception_message:s.$exception_message||""},r?{$exception_source:r}:{}),i?{$exception_lineno:i}:{}),a?{$exception_colno:a}:{})}var II,RI,$0e=function(){function e(t){Bn(this,e),ct(this,"originalOnErrorHandler",void 0),ct(this,"originalOnUnhandledRejectionHandler",void 0),ct(this,"errorsToIgnore",[]),this.instance=t}return Un(e,[{key:"debugLog",value:function(){if(this.instance.get_config("debug")){for(var t,n=arguments.length,r=new Array(n),i=0;i1&&arguments[1]!==void 0&&arguments[1],i=this.instance.get_property(i9);if(i&&!r)return t(i);this.instance._send_request("".concat(this.instance.get_config("api_host"),"/api/surveys/?token=").concat(this.instance.get_config("token")),{},{method:"GET"},function(a){var o=a.surveys;return n.instance.persistence.register(ct({},i9,o)),t(o)})}},{key:"getActiveMatchingSurveys",value:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.getSurveys(function(i){var a=i.filter(function(o){return!(!o.start_date||o.end_date)}).filter(function(o){var s,u;if(!o.conditions)return!0;var c=(s=o.conditions)===null||s===void 0||!s.url||window.location.href.indexOf(o.conditions.url)>-1,p=(u=o.conditions)===null||u===void 0||!u.selector||document.querySelector(o.conditions.selector);return c&&p}).filter(function(o){if(!o.linked_flag_key&&!o.targeting_flag_key)return!0;var s=!o.linked_flag_key||n.instance.featureFlags.isFeatureEnabled(o.linked_flag_key),u=!o.targeting_flag_key||n.instance.featureFlags.isFeatureEnabled(o.targeting_flag_key);return s&&u});return t(a)},r)}}]),e}(),H0e={"X-PostHog-Retry-After-Recordings":CF,"X-PostHog-Retry-After-Events":"events"},j0e=function(){function e(){Bn(this,e),ct(this,"limits",{})}return Un(e,[{key:"isRateLimited",value:function(t){var n=this.limits[t||"events"]||!1;return n!==!1&&new Date().getTime()1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;this.__loaded=!0,this.config={},this._triggered_notifs=[];var u,c={segmentRegister:!1,syncCode:!1},p=function(A){return function(){c[A]||(c[A]=!0,c.segmentRegister&&c.syncCode&&(s==null||s(i)))}};if(this.set_config(Pr({},NI(),a,{name:o,token:t,callback_fn:(o===pi?o:pi+"."+o)+"._jsc"})),this.uuidFn=iI(this.config.uuid_version||"og"),this._jsc=function(){},(ht!=null&&(n=ht.rrweb)!==null&&n!==void 0&&n.record||ht!=null&&ht.rrwebRecord)&&(this.__loaded_recorder_version=ht==null||(u=ht.rrweb)===null||u===void 0?void 0:u.version),this.persistence=new fI(this.config),this._captureMetrics=new l0e(this.get_config("_capture_metrics")),this._requestQueue=new s0e(this._captureMetrics,this._handle_queued_event.bind(this)),this._retryQueue=new w0e(this._captureMetrics,this.get_config("on_xhr_error"),this.rateLimiter),this.__captureHooks=[],this.__request_queue=[],this.sessionManager=new C0e(this.config,this.persistence,this.uuidFn),this.sessionPersistence=this.config.persistence==="sessionStorage"?this.persistence:new fI(yt(yt({},this.config),{},{persistence:"sessionStorage"})),this._gdpr_init(),a.segment?(this.config.get_device_id=function(){return a.segment.user().anonymousId()},a.segment.user().id()&&(this.register({distinct_id:a.segment.user().id()}),this.persistence.set_user_state("identified")),a.segment.register(this.segmentIntegration()).then(p("segmentRegister"))):p("segmentRegister")(),((r=a.bootstrap)===null||r===void 0?void 0:r.distinctID)!==void 0){var f,m,g=this.get_config("get_device_id")(this.uuidFn()),E=(f=a.bootstrap)!==null&&f!==void 0&&f.isIdentifiedID?g:a.bootstrap.distinctID;this.persistence.set_user_state((m=a.bootstrap)!==null&&m!==void 0&&m.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:a.bootstrap.distinctID,$device_id:E})}if(this._hasBootstrappedFeatureFlags()){var b,T,v=Object.keys(((b=a.bootstrap)===null||b===void 0?void 0:b.featureFlags)||{}).filter(function(A){var D,k;return!((D=a.bootstrap)===null||D===void 0||(k=D.featureFlags)===null||k===void 0||!k[A])}).reduce(function(A,D){var k,R;return A[D]=((k=a.bootstrap)===null||k===void 0||(R=k.featureFlags)===null||R===void 0?void 0:R[D])||!1,A},{}),y=Object.keys(((T=a.bootstrap)===null||T===void 0?void 0:T.featureFlagPayloads)||{}).filter(function(A){return v[A]}).reduce(function(A,D){var k,R,B,W;return(k=a.bootstrap)!==null&&k!==void 0&&(R=k.featureFlagPayloads)!==null&&R!==void 0&&R[D]&&(A[D]=(B=a.bootstrap)===null||B===void 0||(W=B.featureFlagPayloads)===null||W===void 0?void 0:W[D]),A},{});this.featureFlags.receivedFeatureFlags({featureFlags:v,featureFlagPayloads:y})}if(!this.get_distinct_id()){var w=this.get_config("get_device_id")(this.uuidFn());this.register_once({distinct_id:w,$device_id:w},""),this.persistence.set_user_state("anonymous")}ht.addEventListener&&ht.addEventListener("onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this)),p("syncCode")()}},{key:"_loaded",value:function(){this.featureFlags.setReloadingPaused(!0);try{this.get_config("loaded")(this)}catch(t){console.error("`loaded` function failed",t)}this._start_queue_if_opted_in(),this.get_config("capture_pageview")&&this.capture("$pageview",{title:Hn.title},{send_instantly:!0}),this.get_config("advanced_disable_decide")||new Qfe(this).call(),this.featureFlags.resetRequestQueue(),this.featureFlags.setReloadingPaused(!1)}},{key:"_start_queue_if_opted_in",value:function(){this.has_opted_out_capturing()||this.get_config("request_batching")&&this._requestQueue.poll()}},{key:"_dom_loaded",value:function(){var t=this;this.has_opted_out_capturing()||Zo(this.__request_queue,function(n){t._send_request.apply(t,Yb(n))}),this.__request_queue=[],this._start_queue_if_opted_in()}},{key:"_prepare_callback",value:function(t,n){if(Ua(t))return null;if(Sh)return function(o){t(o,n)};var r=this._jsc,i=""+Math.floor(1e8*Math.random()),a=this.get_config("callback_fn")+"["+i+"]";return r[i]=function(o){delete r[i],t(o,n)},a}},{key:"_handle_unload",value:function(){this.get_config("request_batching")?(this.get_config("capture_pageview")&&this.get_config("capture_pageleave")&&this.capture("$pageleave"),this.get_config("_capture_metrics")&&(this._requestQueue.updateUnloadMetrics(),this.capture("$capture_metrics",this._captureMetrics.metrics)),this._requestQueue.unload(),this._retryQueue.unload()):this.get_config("capture_pageview")&&this.get_config("capture_pageleave")&&this.capture("$pageleave",null,{transport:"sendBeacon"})}},{key:"_handle_queued_event",value:function(t,n,r){var i=JSON.stringify(n);this.__compress_and_send_json_request(t,i,r||H0,c9)}},{key:"__compress_and_send_json_request",value:function(t,n,r,i){var a=function(c,p,f){return c===Yl.GZipJS?[y0e(_0e(p),{mtime:0}),yt(yt({},f),{},{blob:!0,urlQueryArgs:{compression:Yl.GZipJS}})]:[{data:_7(p)},f]}(this.compression[Yl.GZipJS]?Yl.GZipJS:Yl.Base64,n,r),o=yo(a,2),s=o[0],u=o[1];this._send_request(t,s,u,i)}},{key:"_send_request",value:function(t,n,r,i){if(this.rateLimiter.isRateLimited(r._batchKey))this.get_config("debug")&&console.warn("[PostHog SendRequest] is quota limited. Dropping request.");else if(FF)this.__request_queue.push([t,n,r,i]);else{var a={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")};r=Pr(a,r||{}),Sh||(r.method="GET");var o="sendBeacon"in ht.navigator&&r.transport==="sendBeacon";if(t=T0e(t,r.urlQueryArgs||{},{ip:this.get_config("ip")}),o)try{ht.navigator.sendBeacon(t,x7(n,yt(yt({},r),{},{sendBeacon:!0})))}catch{}else if(Sh)try{LF({url:t,data:n,headers:this.get_config("xhr_headers"),options:r,captureMetrics:this._captureMetrics,callback:i,retriesPerformedSoFar:0,retryQueue:this._retryQueue,onXHRError:this.get_config("on_xhr_error"),onRateLimited:this.rateLimiter.on429Response})}catch(p){console.error(p)}else{var s,u=Hn.createElement("script");u.type="text/javascript",u.async=!0,u.defer=!0,u.src=t;var c=Hn.getElementsByTagName("script")[0];(s=c.parentNode)===null||s===void 0||s.insertBefore(u,c)}}}},{key:"_execute_array",value:function(t){var n,r=this,i=[],a=[],o=[];Zo(t,function(u){u&&(n=u[0],Wo(n)?o.push(u):typeof u=="function"?u.call(r):Wo(u)&&n==="alias"?i.push(u):Wo(u)&&n.indexOf("capture")!==-1&&typeof r[n]=="function"?o.push(u):a.push(u))});var s=function(u,c){Zo(u,function(p){if(Wo(p[0])){var f=c;fn(p,function(m){f=f[m[0]].apply(f,m.slice(1))})}else this[p[0]].apply(this,p.slice(1))},c)};s(i,this),s(a,this),s(o,this)}},{key:"_hasBootstrappedFeatureFlags",value:function(){var t,n;return((t=this.config.bootstrap)===null||t===void 0?void 0:t.featureFlags)&&Object.keys((n=this.config.bootstrap)===null||n===void 0?void 0:n.featureFlags).length>0||!1}},{key:"push",value:function(t){this._execute_array([t])}},{key:"captureException",value:function(t,n){var r;(r=this.exceptionAutocapture)===null||r===void 0||r.captureException([t.name,void 0,void 0,void 0,t],n)}},{key:"capture",value:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:H0;if(this.__loaded&&!function(c,p){var f=!1;try{var m=c.get_config("token"),g=c.get_config("respect_dnt"),E=c.get_config("opt_out_capturing_persistence_type"),b=c.get_config("opt_out_capturing_cookie_prefix")||void 0,T=c.get_config("window");m&&(f=bI(m,{respectDnt:g,persistenceType:E,persistencePrefix:b,window:T}))}catch(v){p||console.error("Unexpected error when checking capturing opt-out status: "+v)}return f}(this,!1)){this._captureMetrics.incr("capture"),t==="$snapshot"&&this._captureMetrics.incr("snapshot");var i=(r=r||H0).transport;if(i&&(r.transport=i),Ua(t)||typeof t!="string")console.error("No event name provided to posthog.capture");else if(!Nfe(ra)){this.sessionPersistence.update_search_keyword(),this.get_config("store_google")&&this.sessionPersistence.update_campaign_params(),this.get_config("save_referrer")&&this.sessionPersistence.update_referrer_info();var a={uuid:this.uuidFn("v7"),event:t,properties:this._calculate_event_properties(t,n||{})};t==="$identify"&&(a.$set=r.$set,a.$set_once=r.$set_once),(a=Ife(a,r._noTruncate?null:this.get_config("properties_string_max_length"))).timestamp=r.timestamp||new Date,this.get_config("debug")&&kn.log("PostHog.js send",a);var o=JSON.stringify(a),s=this.get_config("api_host")+(r.endpoint||"/e/"),u=r!==H0;return!this.get_config("request_batching")||u&&!r._batchKey||r.send_instantly?this.__compress_and_send_json_request(s,o,r):this._requestQueue.enqueue(s,a,r),this._invokeCaptureHooks(t,a),a}}}},{key:"_addCaptureHook",value:function(t){this.__captureHooks.push(t)}},{key:"_invokeCaptureHooks",value:function(t,n){this.config._onCapture(t,n),fn(this.__captureHooks,function(r){return r(t)})}},{key:"_calculate_event_properties",value:function(t,n){var r,i=this.persistence.remove_event_timer(t),a=yt({},n);if(a.token=this.get_config("token"),t==="$snapshot"){var o=yt(yt({},this.persistence.properties()),this.sessionPersistence.properties());return a.distinct_id=o.distinct_id,a}var s=yr.properties();if(this.sessionManager){var u=this.sessionManager.checkAndGetSessionAndWindowId(),c=u.sessionId,p=u.windowId;a.$session_id=c,a.$window_id=p}if((r=this.webPerformance)!==null&&r!==void 0&&r.isEnabled&&(t==="$pageview"&&this.pageViewIdManager.onPageview(),a=Pr(a,{$pageview_id:this.pageViewIdManager.getPageViewId()})),t==="$pageview"&&(a.title=Hn.title),t==="$performance_event"){var f=this.persistence.properties();return a.distinct_id=f.distinct_id,a.$current_url=s.$current_url,a}if(i!==void 0){var m=new Date().getTime()-i;a.$duration=parseFloat((m/1e3).toFixed(3))}a=Pr({},yr.properties(),this.persistence.properties(),this.sessionPersistence.properties(),a);var g=this.get_config("property_blacklist");Wo(g)?fn(g,function(b){delete a[b]}):console.error("Invalid value for property_blacklist config: "+g);var E=this.get_config("sanitize_properties");return E&&(a=E(a,t)),a}},{key:"register",value:function(t,n){this.persistence.register(t,n)}},{key:"register_once",value:function(t,n,r){this.persistence.register_once(t,n,r)}},{key:"register_for_session",value:function(t){this.sessionPersistence.register(t)}},{key:"unregister",value:function(t){this.persistence.unregister(t)}},{key:"unregister_for_session",value:function(t){this.sessionPersistence.unregister(t)}},{key:"_register_single",value:function(t,n){this.register(ct({},t,n))}},{key:"getFeatureFlag",value:function(t,n){return this.featureFlags.getFeatureFlag(t,n)}},{key:"getFeatureFlagPayload",value:function(t){var n=this.featureFlags.getFeatureFlagPayload(t);try{return JSON.parse(n)}catch{return n}}},{key:"isFeatureEnabled",value:function(t,n){return this.featureFlags.isFeatureEnabled(t,n)}},{key:"reloadFeatureFlags",value:function(){this.featureFlags.reloadFeatureFlags()}},{key:"updateEarlyAccessFeatureEnrollment",value:function(t,n){this.featureFlags.updateEarlyAccessFeatureEnrollment(t,n)}},{key:"getEarlyAccessFeatures",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return this.featureFlags.getEarlyAccessFeatures(t,n)}},{key:"onFeatureFlags",value:function(t){return this.featureFlags.onFeatureFlags(t)}},{key:"onSessionId",value:function(t){return this.sessionManager.onSessionId(t)}},{key:"getSurveys",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getSurveys(t,n)}},{key:"getActiveMatchingSurveys",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];this.surveys.getActiveMatchingSurveys(t,n)}},{key:"identify",value:function(t,n,r){if(t){this._captureMetrics.incr("identify");var i=this.get_distinct_id();if(this.register({$user_id:t}),!this.get_property("$device_id")){var a=i;this.register_once({$had_persisted_distinct_id:!0,$device_id:a},"")}t!==i&&t!==this.get_property(vh)&&(this.unregister(vh),this.register({distinct_id:t}));var o=this.persistence.get_user_state()==="anonymous";t!==i&&o?(this.persistence.set_user_state("identified"),this.setPersonPropertiesForFlags(n||{},!1),this.capture("$identify",{distinct_id:t,$anon_distinct_id:i},{$set:n||{},$set_once:r||{}}),this.featureFlags.setAnonymousDistinctId(i)):(n||r)&&this.setPersonProperties(n,r),t!==i&&(this.reloadFeatureFlags(),this.unregister(Cg))}else console.error("Unique user id has not been set in posthog.identify")}},{key:"setPersonProperties",value:function(t,n){(t||n)&&(this.setPersonPropertiesForFlags(t||{}),this.capture("$set",{$set:t||{},$set_once:n||{}}))}},{key:"group",value:function(t,n,r){if(t&&n){this._captureMetrics.incr("group");var i=this.getGroups();i[t]!==n&&this.resetGroupPropertiesForFlags(t),this.register({$groups:yt(yt({},i),{},ct({},t,n))}),r&&(this.capture("$groupidentify",{$group_type:t,$group_key:n,$group_set:r}),this.setGroupPropertiesForFlags(ct({},t,r))),i[t]===n||r||this.reloadFeatureFlags()}else console.error("posthog.group requires a group type and group key")}},{key:"resetGroups",value:function(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}},{key:"setPersonPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.featureFlags.setPersonPropertiesForFlags(t,n)}},{key:"resetPersonPropertiesForFlags",value:function(){this.featureFlags.resetPersonPropertiesForFlags()}},{key:"setGroupPropertiesForFlags",value:function(t){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];this.featureFlags.setGroupPropertiesForFlags(t,n)}},{key:"resetGroupPropertiesForFlags",value:function(t){this.featureFlags.resetGroupPropertiesForFlags(t)}},{key:"reset",value:function(t){var n=this.get_property("$device_id");this.persistence.clear(),this.sessionPersistence.clear(),this.persistence.set_user_state("anonymous"),this.sessionManager.resetSessionId();var r=this.get_config("get_device_id")(this.uuidFn());this.register_once({distinct_id:r,$device_id:t?r:n},"")}},{key:"get_distinct_id",value:function(){return this.get_property("distinct_id")}},{key:"getGroups",value:function(){return this.get_property("$groups")||{}}},{key:"get_session_id",value:function(){return this.sessionManager.checkAndGetSessionAndWindowId(!0).sessionId}},{key:"get_session_replay_url",value:function(t){var n=this.config.ui_host||this.config.api_host,r=this.sessionManager.checkAndGetSessionAndWindowId(!0),i=r.sessionId,a=r.sessionStartTimestamp,o=n+"/replay/"+i;if(t!=null&&t.withTimestamp&&a){var s,u=(s=t.timestampLookBack)!==null&&s!==void 0?s:10;if(!a)return o;var c=Math.max(Math.floor((new Date().getTime()-a)/1e3)-u,0);o+="?t=".concat(c)}return o}},{key:"alias",value:function(t,n){return t===this.get_property(wF)?(kn.critical("Attempting to create alias for existing People user - aborting."),-2):(Ua(n)&&(n=this.get_distinct_id()),t!==n?(this._register_single(vh,t),this.capture("$create_alias",{alias:t,distinct_id:n})):(console.error("alias matches current distinct_id - skipping api call."),this.identify(t),-1))}},{key:"set_config",value:function(t){var n=yt({},this.config);Qb(t)&&(Pr(this.config,t),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),this.sessionPersistence&&this.sessionPersistence.update_config(this.config),qn.is_supported()&&qn.get("ph_debug")==="true"&&(this.config.debug=!0),this.get_config("debug")&&(fa.DEBUG=!0),this.sessionRecording&&t.disable_session_recording!==void 0&&n.disable_session_recording!==t.disable_session_recording&&(t.disable_session_recording?this.sessionRecording.stopRecording():this.sessionRecording.startRecordingIfEnabled()))}},{key:"startSessionRecording",value:function(){this.set_config({disable_session_recording:!1})}},{key:"stopSessionRecording",value:function(){this.set_config({disable_session_recording:!0})}},{key:"sessionRecordingStarted",value:function(){var t;return!((t=this.sessionRecording)===null||t===void 0||!t.started())}},{key:"loadToolbar",value:function(t){return this.toolbar.loadToolbar(t)}},{key:"get_config",value:function(t){var n;return(n=this.config)===null||n===void 0?void 0:n[t]}},{key:"get_property",value:function(t){return this.persistence.props[t]}},{key:"getSessionProperty",value:function(t){return this.sessionPersistence.props[t]}},{key:"toString",value:function(){var t,n=(t=this.get_config("name"))!==null&&t!==void 0?t:pi;return n!==pi&&(n=pi+"."+n),n}},{key:"_gdpr_init",value:function(){this.get_config("opt_out_capturing_persistence_type")==="localStorage"&&qn.is_supported()&&(!this.has_opted_in_capturing()&&this.has_opted_in_capturing({persistence_type:"cookie"})&&this.opt_in_capturing({enable_persistence:!1}),!this.has_opted_out_capturing()&&this.has_opted_out_capturing({persistence_type:"cookie"})&&this.opt_out_capturing({clear_persistence:!1}),this.clear_opt_in_out_capturing({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_capturing()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_capturing()||!this.get_config("opt_out_capturing_by_default")&&!po.get("ph_optout")||(po.remove("ph_optout"),this.opt_out_capturing({clear_persistence:this.get_config("opt_out_persistence_by_default")}))}},{key:"_gdpr_update_persistence",value:function(t){var n;if(t&&t.clear_persistence)n=!0;else{if(!t||!t.enable_persistence)return;n=!1}this.get_config("disable_persistence")||this.persistence.disabled===n||this.persistence.set_disabled(n),this.get_config("disable_persistence")||this.sessionPersistence.disabled===n||this.sessionPersistence.set_disabled(n)}},{key:"_gdpr_call_func",value:function(t,n){return n=Pr({capture:this.capture.bind(this),persistence_type:this.get_config("opt_out_capturing_persistence_type"),cookie_prefix:this.get_config("opt_out_capturing_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),secure_cookie:this.get_config("secure_cookie")},n||{}),qn.is_supported()||n.persistence_type!=="localStorage"||(n.persistence_type="cookie"),t(this.get_config("token"),{capture:n.capture,captureEventName:n.capture_event_name,captureProperties:n.capture_properties,persistenceType:n.persistence_type,persistencePrefix:n.cookie_prefix,cookieExpiration:n.cookie_expiration,crossSubdomainCookie:n.cross_subdomain_cookie,secureCookie:n.secure_cookie})}},{key:"opt_in_capturing",value:function(t){t=Pr({enable_persistence:!0},t||{}),this._gdpr_call_func(r0e,t),this._gdpr_update_persistence(t)}},{key:"opt_out_capturing",value:function(t){var n=Pr({clear_persistence:!0},t||{});this._gdpr_call_func(i0e,n),this._gdpr_update_persistence(n)}},{key:"has_opted_in_capturing",value:function(t){return this._gdpr_call_func(a0e,t)}},{key:"has_opted_out_capturing",value:function(t){return this._gdpr_call_func(bI,t)}},{key:"clear_opt_in_out_capturing",value:function(t){var n=Pr({enable_persistence:!0},t??{});this._gdpr_call_func(o0e,n),this._gdpr_update_persistence(n)}},{key:"debug",value:function(t){t===!1?(ht.console.log("You've disabled debug mode."),localStorage&&localStorage.removeItem("ph_debug"),this.set_config({debug:!1})):(ht.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),localStorage&&localStorage.setItem("ph_debug","true"),this.set_config({debug:!0}))}}]),e}();(function(e,t){for(var n=0;n - I.jsx("div", { - className: "m-auto w-full text-center mt-2", - children: I.jsx(K0e, { - viewBox: "0 0 32 32", - children: I.jsx("circle", { cx: "16", cy: "16", r: "14" }), - }), - }), - X0e = He.div` +`,Y0e=()=>I.jsx("div",{className:"m-auto w-full text-center mt-2",children:I.jsx(K0e,{viewBox:"0 0 32 32",children:I.jsx("circle",{cx:"16",cy:"16",r:"14"})})}),X0e=He.div` background-color: ${Kt}; display: flex; justify-content: center; @@ -66840,85 +655,22 @@ const q0e = b2` flex-grow: 0; margin-left: 13px; cursor: pointer; -`, - Z0e = He.div` +`,Z0e=He.div` margin-top: 8px; margin-bottom: 8px; margin-left: 8px; display: flex; align-items: center; gap: 4px; - font-size: ${(e) => e.fontSize || nr()}px; + font-size: ${e=>e.fontSize||nr()}px; min-height: 16px; -`; -function Q0e(e) { - var t, n; - return e.open - ? e.children - : I.jsxs(Z0e, { - fontSize: nr(), - children: [ - I.jsx(X0e, { - onClick: () => { - e.onToggle(); - }, - children: - e.iconElement || I.jsx(sD, { width: "16px", height: "16px" }), - }), - I.jsx("span", { - style: { color: vt }, - children: - (t = e.historyNode.observation) != null && t.error - ? (n = e.historyNode.observation) == null - ? void 0 - : n.title - : e.historyNode.step.name, - }), - ], - }); -} -const J0e = He.div` +`;function Q0e(e){var t,n;return e.open?e.children:I.jsxs(Z0e,{fontSize:nr(),children:[I.jsx(X0e,{onClick:()=>{e.onToggle()},children:e.iconElement||I.jsx(sD,{width:"16px",height:"16px"})}),I.jsx("span",{style:{color:vt},children:(t=e.historyNode.observation)!=null&&t.error?(n=e.historyNode.observation)==null?void 0:n.title:e.historyNode.step.name})]})}const J0e=He.div` padding: 8px; background-color: #ff000011; border-radius: ${wt}; border: 1px solid #cc0000; margin: 8px; -`; -function ehe(e) { - var t; - return I.jsxs("div", { - style: { backgroundColor: Kt, position: "relative" }, - children: [ - I.jsxs("div", { - style: { - position: "absolute", - right: "12px", - top: "12px", - display: "flex", - }, - children: [ - I.jsx(vi, { - text: "Collapse", - onClick: () => e.onClose(), - children: I.jsx(VY, { width: "1.3em", height: "1.3em" }), - }), - I.jsx(vi, { - text: "Delete", - onClick: () => e.onDelete(), - children: I.jsx(T2, { width: "1.3em", height: "1.3em" }), - }), - ], - }), - I.jsx(J0e, { - children: I.jsx("pre", { - style: { whiteSpace: "pre-wrap", wordWrap: "break-word" }, - children: (t = e.historyNode.observation) == null ? void 0 : t.error, - }), - }), - ], - }); -} -/** +`;function ehe(e){var t;return I.jsxs("div",{style:{backgroundColor:Kt,position:"relative"},children:[I.jsxs("div",{style:{position:"absolute",right:"12px",top:"12px",display:"flex"},children:[I.jsx(vi,{text:"Collapse",onClick:()=>e.onClose(),children:I.jsx(VY,{width:"1.3em",height:"1.3em"})}),I.jsx(vi,{text:"Delete",onClick:()=>e.onDelete(),children:I.jsx(T2,{width:"1.3em",height:"1.3em"})})]}),I.jsx(J0e,{children:I.jsx("pre",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},children:(t=e.historyNode.observation)==null?void 0:t.error})})]})}/** * @remix-run/router v1.7.2 * * Copyright (c) Remix Software Inc. @@ -66927,2167 +679,8 @@ function ehe(e) { * LICENSE.md file in the root directory of this source tree. * * @license MIT - */ function Rn() { - return ( - (Rn = Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var r in n) - Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); - } - return e; - }), - Rn.apply(this, arguments) - ); -} -var Vn; -(function (e) { - (e.Pop = "POP"), (e.Push = "PUSH"), (e.Replace = "REPLACE"); -})(Vn || (Vn = {})); -function the(e) { - e === void 0 && (e = {}); - let { initialEntries: t = ["/"], initialIndex: n, v5Compat: r = !1 } = e, - i; - i = t.map((g, E) => - p(g, typeof g == "string" ? null : g.state, E === 0 ? "default" : void 0) - ); - let a = u(n ?? i.length - 1), - o = Vn.Pop, - s = null; - function u(g) { - return Math.min(Math.max(g, 0), i.length - 1); - } - function c() { - return i[a]; - } - function p(g, E, b) { - E === void 0 && (E = null); - let T = p9(i ? c().pathname : "/", g, E, b); - return ( - Eu( - T.pathname.charAt(0) === "/", - "relative pathnames are not supported in memory history: " + - JSON.stringify(g) - ), - T - ); - } - function f(g) { - return typeof g == "string" ? g : lm(g); - } - return { - get index() { - return a; - }, - get action() { - return o; - }, - get location() { - return c(); - }, - createHref: f, - createURL(g) { - return new URL(f(g), "http://localhost"); - }, - encodeLocation(g) { - let E = typeof g == "string" ? So(g) : g; - return { - pathname: E.pathname || "", - search: E.search || "", - hash: E.hash || "", - }; - }, - push(g, E) { - o = Vn.Push; - let b = p(g, E); - (a += 1), - i.splice(a, i.length, b), - r && s && s({ action: o, location: b, delta: 1 }); - }, - replace(g, E) { - o = Vn.Replace; - let b = p(g, E); - (i[a] = b), r && s && s({ action: o, location: b, delta: 0 }); - }, - go(g) { - o = Vn.Pop; - let E = u(a + g), - b = i[E]; - (a = E), s && s({ action: o, location: b, delta: g }); - }, - listen(g) { - return ( - (s = g), - () => { - s = null; - } - ); - }, - }; -} -function $t(e, t) { - if (e === !1 || e === null || typeof e > "u") throw new Error(t); -} -function Eu(e, t) { - if (!e) { - typeof console < "u" && console.warn(t); - try { - throw new Error(t); - } catch {} - } -} -function nhe() { - return Math.random().toString(36).substr(2, 8); -} -function p9(e, t, n, r) { - return ( - n === void 0 && (n = null), - Rn( - { pathname: typeof e == "string" ? e : e.pathname, search: "", hash: "" }, - typeof t == "string" ? So(t) : t, - { state: n, key: (t && t.key) || r || nhe() } - ) - ); -} -function lm(e) { - let { pathname: t = "/", search: n = "", hash: r = "" } = e; - return ( - n && n !== "?" && (t += n.charAt(0) === "?" ? n : "?" + n), - r && r !== "#" && (t += r.charAt(0) === "#" ? r : "#" + r), - t - ); -} -function So(e) { - let t = {}; - if (e) { - let n = e.indexOf("#"); - n >= 0 && ((t.hash = e.substr(n)), (e = e.substr(0, n))); - let r = e.indexOf("?"); - r >= 0 && ((t.search = e.substr(r)), (e = e.substr(0, r))), - e && (t.pathname = e); - } - return t; -} -var Jn; -(function (e) { - (e.data = "data"), - (e.deferred = "deferred"), - (e.redirect = "redirect"), - (e.error = "error"); -})(Jn || (Jn = {})); -const rhe = new Set([ - "lazy", - "caseSensitive", - "path", - "id", - "index", - "children", -]); -function ihe(e) { - return e.index === !0; -} -function f9(e, t, n, r) { - return ( - n === void 0 && (n = []), - r === void 0 && (r = {}), - e.map((i, a) => { - let o = [...n, a], - s = typeof i.id == "string" ? i.id : o.join("-"); - if ( - ($t( - i.index !== !0 || !i.children, - "Cannot specify children on an index route" - ), - $t( - !r[s], - 'Found a route id collision on id "' + - s + - `". Route id's must be globally unique within Data Router usages` - ), - ihe(i)) - ) { - let u = Rn({}, i, t(i), { id: s }); - return (r[s] = u), u; - } else { - let u = Rn({}, i, t(i), { id: s, children: void 0 }); - return ( - (r[s] = u), i.children && (u.children = f9(i.children, t, o, r)), u - ); - } - }) - ); -} -function C1(e, t, n) { - n === void 0 && (n = "/"); - let r = typeof t == "string" ? So(t) : t, - i = Qp(r.pathname || "/", n); - if (i == null) return null; - let a = BF(e); - ahe(a); - let o = null; - for (let s = 0; o == null && s < a.length; ++s) o = hhe(a[s], bhe(i)); - return o; -} -function BF(e, t, n, r) { - t === void 0 && (t = []), n === void 0 && (n = []), r === void 0 && (r = ""); - let i = (a, o, s) => { - let u = { - relativePath: s === void 0 ? a.path || "" : s, - caseSensitive: a.caseSensitive === !0, - childrenIndex: o, - route: a, - }; - u.relativePath.startsWith("/") && - ($t( - u.relativePath.startsWith(r), - 'Absolute route path "' + - u.relativePath + - '" nested under path ' + - ('"' + r + '" is not valid. An absolute child route path ') + - "must start with the combined path of all its parent routes." - ), - (u.relativePath = u.relativePath.slice(r.length))); - let c = sl([r, u.relativePath]), - p = n.concat(u); - a.children && - a.children.length > 0 && - ($t( - a.index !== !0, - "Index routes must not have child routes. Please remove " + - ('all child routes from route path "' + c + '".') - ), - BF(a.children, t, p, c)), - !(a.path == null && !a.index) && - t.push({ path: c, score: phe(c, a.index), routesMeta: p }); - }; - return ( - e.forEach((a, o) => { - var s; - if (a.path === "" || !((s = a.path) != null && s.includes("?"))) i(a, o); - else for (let u of UF(a.path)) i(a, o, u); - }), - t - ); -} -function UF(e) { - let t = e.split("/"); - if (t.length === 0) return []; - let [n, ...r] = t, - i = n.endsWith("?"), - a = n.replace(/\?$/, ""); - if (r.length === 0) return i ? [a, ""] : [a]; - let o = UF(r.join("/")), - s = []; - return ( - s.push(...o.map((u) => (u === "" ? a : [a, u].join("/")))), - i && s.push(...o), - s.map((u) => (e.startsWith("/") && u === "" ? "/" : u)) - ); -} -function ahe(e) { - e.sort((t, n) => - t.score !== n.score - ? n.score - t.score - : fhe( - t.routesMeta.map((r) => r.childrenIndex), - n.routesMeta.map((r) => r.childrenIndex) - ) - ); -} -const ohe = /^:\w+$/, - she = 3, - lhe = 2, - uhe = 1, - che = 10, - dhe = -2, - OI = (e) => e === "*"; -function phe(e, t) { - let n = e.split("/"), - r = n.length; - return ( - n.some(OI) && (r += dhe), - t && (r += lhe), - n - .filter((i) => !OI(i)) - .reduce((i, a) => i + (ohe.test(a) ? she : a === "" ? uhe : che), r) - ); -} -function fhe(e, t) { - return e.length === t.length && e.slice(0, -1).every((r, i) => r === t[i]) - ? e[e.length - 1] - t[t.length - 1] - : 0; -} -function hhe(e, t) { - let { routesMeta: n } = e, - r = {}, - i = "/", - a = []; - for (let o = 0; o < n.length; ++o) { - let s = n[o], - u = o === n.length - 1, - c = i === "/" ? t : t.slice(i.length) || "/", - p = ghe( - { path: s.relativePath, caseSensitive: s.caseSensitive, end: u }, - c - ); - if (!p) return null; - Object.assign(r, p.params); - let f = s.route; - a.push({ - params: r, - pathname: sl([i, p.pathname]), - pathnameBase: _he(sl([i, p.pathnameBase])), - route: f, - }), - p.pathnameBase !== "/" && (i = sl([i, p.pathnameBase])); - } - return a; -} -function ghe(e, t) { - typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 }); - let [n, r] = mhe(e.path, e.caseSensitive, e.end), - i = t.match(n); - if (!i) return null; - let a = i[0], - o = a.replace(/(.)\/+$/, "$1"), - s = i.slice(1); - return { - params: r.reduce((c, p, f) => { - if (p === "*") { - let m = s[f] || ""; - o = a.slice(0, a.length - m.length).replace(/(.)\/+$/, "$1"); - } - return (c[p] = Ehe(s[f] || "", p)), c; - }, {}), - pathname: a, - pathnameBase: o, - pattern: e, - }; -} -function mhe(e, t, n) { - t === void 0 && (t = !1), - n === void 0 && (n = !0), - Eu( - e === "*" || !e.endsWith("*") || e.endsWith("/*"), - 'Route path "' + - e + - '" will be treated as if it were ' + - ('"' + e.replace(/\*$/, "/*") + '" because the `*` character must ') + - "always follow a `/` in the pattern. To get rid of this warning, " + - ('please change the route path to "' + e.replace(/\*$/, "/*") + '".') - ); - let r = [], - i = - "^" + - e - .replace(/\/*\*?$/, "") - .replace(/^\/*/, "/") - .replace(/[\\.*+^$?{}|()[\]]/g, "\\$&") - .replace(/\/:(\w+)/g, (o, s) => (r.push(s), "/([^\\/]+)")); - return ( - e.endsWith("*") - ? (r.push("*"), - (i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$")) - : n - ? (i += "\\/*$") - : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), - [new RegExp(i, t ? void 0 : "i"), r] - ); -} -function bhe(e) { - try { - return decodeURI(e); - } catch (t) { - return ( - Eu( - !1, - 'The URL path "' + - e + - '" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent ' + - ("encoding (" + t + ").") - ), - e - ); - } -} -function Ehe(e, t) { - try { - return decodeURIComponent(e); - } catch (n) { - return ( - Eu( - !1, - 'The value for the URL param "' + - t + - '" will not be decoded because' + - (' the string "' + - e + - '" is a malformed URL segment. This is probably') + - (" due to a bad percent encoding (" + n + ").") - ), - e - ); - } -} -function Qp(e, t) { - if (t === "/") return e; - if (!e.toLowerCase().startsWith(t.toLowerCase())) return null; - let n = t.endsWith("/") ? t.length - 1 : t.length, - r = e.charAt(n); - return r && r !== "/" ? null : e.slice(n) || "/"; -} -function vhe(e, t) { - t === void 0 && (t = "/"); - let { - pathname: n, - search: r = "", - hash: i = "", - } = typeof e == "string" ? So(e) : e; - return { - pathname: n ? (n.startsWith("/") ? n : yhe(n, t)) : t, - search: The(r), - hash: She(i), - }; -} -function yhe(e, t) { - let n = t.replace(/\/+$/, "").split("/"); - return ( - e.split("/").forEach((i) => { - i === ".." ? n.length > 1 && n.pop() : i !== "." && n.push(i); - }), - n.length > 1 ? n.join("/") : "/" - ); -} -function a4(e, t, n, r) { - return ( - "Cannot include a '" + - e + - "' character in a manually specified " + - ("`to." + - t + - "` field [" + - JSON.stringify(r) + - "]. Please separate it out to the ") + - ("`to." + n + "` field. Alternatively you may provide the full path as ") + - 'a string in and the router will parse it for you.' - ); -} -function N7(e) { - return e.filter( - (t, n) => n === 0 || (t.route.path && t.route.path.length > 0) - ); -} -function $F(e, t, n, r) { - r === void 0 && (r = !1); - let i; - typeof e == "string" - ? (i = So(e)) - : ((i = Rn({}, e)), - $t( - !i.pathname || !i.pathname.includes("?"), - a4("?", "pathname", "search", i) - ), - $t( - !i.pathname || !i.pathname.includes("#"), - a4("#", "pathname", "hash", i) - ), - $t(!i.search || !i.search.includes("#"), a4("#", "search", "hash", i))); - let a = e === "" || i.pathname === "", - o = a ? "/" : i.pathname, - s; - if (r || o == null) s = n; - else { - let f = t.length - 1; - if (o.startsWith("..")) { - let m = o.split("/"); - for (; m[0] === ".."; ) m.shift(), (f -= 1); - i.pathname = m.join("/"); - } - s = f >= 0 ? t[f] : "/"; - } - let u = vhe(i, s), - c = o && o !== "/" && o.endsWith("/"), - p = (a || o === ".") && n.endsWith("/"); - return !u.pathname.endsWith("/") && (c || p) && (u.pathname += "/"), u; -} -const sl = (e) => e.join("/").replace(/\/\/+/g, "/"), - _he = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), - The = (e) => (!e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e), - She = (e) => (!e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e); -class zF { - constructor(t, n, r, i) { - i === void 0 && (i = !1), - (this.status = t), - (this.statusText = n || ""), - (this.internal = i), - r instanceof Error - ? ((this.data = r.toString()), (this.error = r)) - : (this.data = r); - } -} -function HF(e) { - return ( - e != null && - typeof e.status == "number" && - typeof e.statusText == "string" && - typeof e.internal == "boolean" && - "data" in e - ); -} -const jF = ["post", "put", "patch", "delete"], - whe = new Set(jF), - Ahe = ["get", ...jF], - Che = new Set(Ahe), - xhe = new Set([301, 302, 303, 307, 308]), - khe = new Set([307, 308]), - o4 = { - state: "idle", - location: void 0, - formMethod: void 0, - formAction: void 0, - formEncType: void 0, - formData: void 0, - json: void 0, - text: void 0, - }, - Ihe = { - state: "idle", - data: void 0, - formMethod: void 0, - formAction: void 0, - formEncType: void 0, - formData: void 0, - json: void 0, - text: void 0, - }, - td = { state: "unblocked", proceed: void 0, reset: void 0, location: void 0 }, - GF = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, - Rhe = (e) => ({ hasErrorBoundary: !!e.hasErrorBoundary }); -function Nhe(e) { - const t = e.window ? e.window : typeof window < "u" ? window : void 0, - n = - typeof t < "u" && - typeof t.document < "u" && - typeof t.document.createElement < "u", - r = !n; - $t( - e.routes.length > 0, - "You must provide a non-empty routes array to createRouter" - ); - let i; - if (e.mapRouteProperties) i = e.mapRouteProperties; - else if (e.detectErrorBoundary) { - let j = e.detectErrorBoundary; - i = ($) => ({ hasErrorBoundary: j($) }); - } else i = Rhe; - let a = {}, - o = f9(e.routes, i, void 0, a), - s, - u = e.basename || "/", - c = Rn({ v7_normalizeFormMethod: !1, v7_prependBasename: !1 }, e.future), - p = null, - f = new Set(), - m = null, - g = null, - E = null, - b = e.hydrationData != null, - T = C1(o, e.history.location, u), - v = null; - if (T == null) { - let j = ia(404, { pathname: e.history.location.pathname }), - { matches: $, route: J } = $I(o); - (T = $), (v = { [J.id]: j }); - } - let y = - !T.some((j) => j.route.lazy) && - (!T.some((j) => j.route.loader) || e.hydrationData != null), - w, - A = { - historyAction: e.history.action, - location: e.history.location, - matches: T, - initialized: y, - navigation: o4, - restoreScrollPosition: e.hydrationData != null ? !1 : null, - preventScrollReset: !1, - revalidation: "idle", - loaderData: (e.hydrationData && e.hydrationData.loaderData) || {}, - actionData: (e.hydrationData && e.hydrationData.actionData) || null, - errors: (e.hydrationData && e.hydrationData.errors) || v, - fetchers: new Map(), - blockers: new Map(), - }, - D = Vn.Pop, - k = !1, - R, - B = !1, - W = !1, - P = [], - Q = [], - z = new Map(), - le = 0, - he = -1, - de = new Map(), - fe = new Set(), - Z = new Map(), - V = new Map(), - ce = new Map(), - N = !1; - function me() { - return ( - (p = e.history.listen((j) => { - let { action: $, location: J, delta: be } = j; - if (N) { - N = !1; - return; - } - Eu( - ce.size === 0 || be != null, - "You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL." - ); - let Fe = ue({ - currentLocation: A.location, - nextLocation: J, - historyAction: $, - }); - if (Fe && be != null) { - (N = !0), - e.history.go(be * -1), - jt(Fe, { - state: "blocked", - location: J, - proceed() { - jt(Fe, { - state: "proceeding", - proceed: void 0, - reset: void 0, - location: J, - }), - e.history.go(be); - }, - reset() { - let De = new Map(A.blockers); - De.set(Fe, td), re({ blockers: De }); - }, - }); - return; - } - return ne($, J); - })), - A.initialized || ne(Vn.Pop, A.location), - w - ); - } - function oe() { - p && p(), - f.clear(), - R && R.abort(), - A.fetchers.forEach((j, $) => pe($)), - A.blockers.forEach((j, $) => Ke($)); - } - function O(j) { - return f.add(j), () => f.delete(j); - } - function re(j) { - (A = Rn({}, A, j)), f.forEach(($) => $(A)); - } - function Te(j, $) { - var J, be; - let Fe = - A.actionData != null && - A.navigation.formMethod != null && - Ma(A.navigation.formMethod) && - A.navigation.state === "loading" && - ((J = j.state) == null ? void 0 : J._isRedirect) !== !0, - De; - $.actionData - ? Object.keys($.actionData).length > 0 - ? (De = $.actionData) - : (De = null) - : Fe - ? (De = A.actionData) - : (De = null); - let tt = $.loaderData - ? UI(A.loaderData, $.loaderData, $.matches || [], $.errors) - : A.loaderData, - Je = A.blockers; - Je.size > 0 && ((Je = new Map(Je)), Je.forEach((Rt, Zt) => Je.set(Zt, td))); - let Ze = - k === !0 || - (A.navigation.formMethod != null && - Ma(A.navigation.formMethod) && - ((be = j.state) == null ? void 0 : be._isRedirect) !== !0); - s && ((o = s), (s = void 0)), - B || - D === Vn.Pop || - (D === Vn.Push - ? e.history.push(j, j.state) - : D === Vn.Replace && e.history.replace(j, j.state)), - re( - Rn({}, $, { - actionData: De, - loaderData: tt, - historyAction: D, - location: j, - initialized: !0, - navigation: o4, - revalidation: "idle", - restoreScrollPosition: Y(j, $.matches || A.matches), - preventScrollReset: Ze, - blockers: Je, - }) - ), - (D = Vn.Pop), - (k = !1), - (B = !1), - (W = !1), - (P = []), - (Q = []); - } - async function K(j, $) { - if (typeof j == "number") { - e.history.go(j); - return; - } - let J = h9( - A.location, - A.matches, - u, - c.v7_prependBasename, - j, - $ == null ? void 0 : $.fromRouteId, - $ == null ? void 0 : $.relative - ), - { - path: be, - submission: Fe, - error: De, - } = DI(c.v7_normalizeFormMethod, !1, J, $), - tt = A.location, - Je = p9(A.location, be, $ && $.state); - Je = Rn({}, Je, e.history.encodeLocation(Je)); - let Ze = $ && $.replace != null ? $.replace : void 0, - Rt = Vn.Push; - Ze === !0 - ? (Rt = Vn.Replace) - : Ze === !1 || - (Fe != null && - Ma(Fe.formMethod) && - Fe.formAction === A.location.pathname + A.location.search && - (Rt = Vn.Replace)); - let Zt = - $ && "preventScrollReset" in $ ? $.preventScrollReset === !0 : void 0, - kt = ue({ currentLocation: tt, nextLocation: Je, historyAction: Rt }); - if (kt) { - jt(kt, { - state: "blocked", - location: Je, - proceed() { - jt(kt, { - state: "proceeding", - proceed: void 0, - reset: void 0, - location: Je, - }), - K(j, $); - }, - reset() { - let nn = new Map(A.blockers); - nn.set(kt, td), re({ blockers: nn }); - }, - }); - return; - } - return await ne(Rt, Je, { - submission: Fe, - pendingError: De, - preventScrollReset: Zt, - replace: $ && $.replace, - }); - } - function xe() { - if ( - (U(), - re({ revalidation: "loading" }), - A.navigation.state !== "submitting") - ) { - if (A.navigation.state === "idle") { - ne(A.historyAction, A.location, { startUninterruptedRevalidation: !0 }); - return; - } - ne(D || A.historyAction, A.navigation.location, { - overrideNavigation: A.navigation, - }); - } - } - async function ne(j, $, J) { - R && R.abort(), - (R = null), - (D = j), - (B = (J && J.startUninterruptedRevalidation) === !0), - Qe(A.location, A.matches), - (k = (J && J.preventScrollReset) === !0); - let be = s || o, - Fe = J && J.overrideNavigation, - De = C1(be, $, u); - if (!De) { - let nn = ia(404, { pathname: $.pathname }), - { matches: Yt, route: jr } = $I(be); - ye(), Te($, { matches: Yt, loaderData: {}, errors: { [jr.id]: nn } }); - return; - } - if ( - A.initialized && - !W && - Fhe(A.location, $) && - !(J && J.submission && Ma(J.submission.formMethod)) - ) { - Te($, { matches: De }); - return; - } - R = new AbortController(); - let tt = rd(e.history, $, R.signal, J && J.submission), - Je, - Ze; - if (J && J.pendingError) Ze = { [x1(De).route.id]: J.pendingError }; - else if (J && J.submission && Ma(J.submission.formMethod)) { - let nn = await Le(tt, $, J.submission, De, { replace: J.replace }); - if (nn.shortCircuited) return; - (Je = nn.pendingActionData), - (Ze = nn.pendingActionError), - (Fe = j0($, J.submission)), - (tt = new Request(tt.url, { signal: tt.signal })); - } - let { - shortCircuited: Rt, - loaderData: Zt, - errors: kt, - } = await Re( - tt, - $, - De, - Fe, - J && J.submission, - J && J.fetcherSubmission, - J && J.replace, - Je, - Ze - ); - Rt || - ((R = null), - Te( - $, - Rn({ matches: De }, Je ? { actionData: Je } : {}, { - loaderData: Zt, - errors: kt, - }) - )); - } - async function Le(j, $, J, be, Fe) { - Fe === void 0 && (Fe = {}), U(); - let De = zhe($, J); - re({ navigation: De }); - let tt, - Je = m9(be, $); - if (!Je.route.action && !Je.route.lazy) - tt = { - type: Jn.error, - error: ia(405, { - method: j.method, - pathname: $.pathname, - routeId: Je.route.id, - }), - }; - else if (((tt = await nd("action", j, Je, be, a, i, u)), j.signal.aborted)) - return { shortCircuited: !0 }; - if ($1(tt)) { - let Ze; - return ( - Fe && Fe.replace != null - ? (Ze = Fe.replace) - : (Ze = tt.location === A.location.pathname + A.location.search), - await Ge(A, tt, { submission: J, replace: Ze }), - { shortCircuited: !0 } - ); - } - if (Ud(tt)) { - let Ze = x1(be, Je.route.id); - return ( - (Fe && Fe.replace) !== !0 && (D = Vn.Push), - { - pendingActionData: {}, - pendingActionError: { [Ze.route.id]: tt.error }, - } - ); - } - if (eu(tt)) throw ia(400, { type: "defer-action" }); - return { pendingActionData: { [Je.route.id]: tt.data } }; - } - async function Re(j, $, J, be, Fe, De, tt, Je, Ze) { - let Rt = be || j0($, Fe), - Zt = Fe || De || jI(Rt), - kt = s || o, - [nn, Yt] = LI(e.history, A, J, Zt, $, W, P, Q, Z, fe, kt, u, Je, Ze); - if ( - (ye( - (Wt) => - !(J && J.some((Rr) => Rr.route.id === Wt)) || - (nn && nn.some((Rr) => Rr.route.id === Wt)) - ), - (he = ++le), - nn.length === 0 && Yt.length === 0) - ) { - let Wt = Se(); - return ( - Te( - $, - Rn( - { matches: J, loaderData: {}, errors: Ze || null }, - Je ? { actionData: Je } : {}, - Wt ? { fetchers: new Map(A.fetchers) } : {} - ) - ), - { shortCircuited: !0 } - ); - } - if (!B) { - Yt.forEach((Rr) => { - let _i = A.fetchers.get(Rr.key), - Al = id(void 0, _i ? _i.data : void 0); - A.fetchers.set(Rr.key, Al); - }); - let Wt = Je || A.actionData; - re( - Rn( - { navigation: Rt }, - Wt - ? Object.keys(Wt).length === 0 - ? { actionData: null } - : { actionData: Wt } - : {}, - Yt.length > 0 ? { fetchers: new Map(A.fetchers) } : {} - ) - ); - } - Yt.forEach((Wt) => { - z.has(Wt.key) && ke(Wt.key), - Wt.controller && z.set(Wt.key, Wt.controller); - }); - let jr = () => Yt.forEach((Wt) => ke(Wt.key)); - R && R.signal.addEventListener("abort", jr); - let { - results: Gr, - loaderResults: Vr, - fetcherResults: Ta, - } = await pt(A.matches, J, nn, Yt, j); - if (j.signal.aborted) return { shortCircuited: !0 }; - R && R.signal.removeEventListener("abort", jr), - Yt.forEach((Wt) => z.delete(Wt.key)); - let ii = zI(Gr); - if (ii) { - if (ii.idx >= nn.length) { - let Wt = Yt[ii.idx - nn.length].key; - fe.add(Wt); - } - return await Ge(A, ii.result, { replace: tt }), { shortCircuited: !0 }; - } - let { loaderData: Ir, errors: ps } = BI(A, J, nn, Vr, Ze, Yt, Ta, V); - V.forEach((Wt, Rr) => { - Wt.subscribe((_i) => { - (_i || Wt.done) && V.delete(Rr); - }); - }); - let fs = Se(), - Wr = Me(he), - hs = fs || Wr || Yt.length > 0; - return Rn( - { loaderData: Ir, errors: ps }, - hs ? { fetchers: new Map(A.fetchers) } : {} - ); - } - function Xe(j) { - return A.fetchers.get(j) || Ihe; - } - function Ve(j, $, J, be) { - if (r) - throw new Error( - "router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback." - ); - z.has(j) && ke(j); - let Fe = s || o, - De = h9( - A.location, - A.matches, - u, - c.v7_prependBasename, - J, - $, - be == null ? void 0 : be.relative - ), - tt = C1(Fe, De, u); - if (!tt) { - ie(j, $, ia(404, { pathname: De })); - return; - } - let { - path: Je, - submission: Ze, - error: Rt, - } = DI(c.v7_normalizeFormMethod, !0, De, be); - if (Rt) { - ie(j, $, Rt); - return; - } - let Zt = m9(tt, Je); - if (((k = (be && be.preventScrollReset) === !0), Ze && Ma(Ze.formMethod))) { - dt(j, $, Je, Zt, tt, Ze); - return; - } - Z.set(j, { routeId: $, path: Je }), ot(j, $, Je, Zt, tt, Ze); - } - async function dt(j, $, J, be, Fe, De) { - if ((U(), Z.delete(j), !be.route.action && !be.route.lazy)) { - let qe = ia(405, { method: De.formMethod, pathname: J, routeId: $ }); - ie(j, $, qe); - return; - } - let tt = A.fetchers.get(j), - Je = Hhe(De, tt); - A.fetchers.set(j, Je), re({ fetchers: new Map(A.fetchers) }); - let Ze = new AbortController(), - Rt = rd(e.history, J, Ze.signal, De); - z.set(j, Ze); - let Zt = le, - kt = await nd("action", Rt, be, Fe, a, i, u); - if (Rt.signal.aborted) { - z.get(j) === Ze && z.delete(j); - return; - } - if ($1(kt)) - if ((z.delete(j), he > Zt)) { - let qe = i1(void 0); - A.fetchers.set(j, qe), re({ fetchers: new Map(A.fetchers) }); - return; - } else { - fe.add(j); - let qe = id(De); - return ( - A.fetchers.set(j, qe), - re({ fetchers: new Map(A.fetchers) }), - Ge(A, kt, { submission: De, isFetchActionRedirect: !0 }) - ); - } - if (Ud(kt)) { - ie(j, $, kt.error); - return; - } - if (eu(kt)) throw ia(400, { type: "defer-action" }); - let nn = A.navigation.location || A.location, - Yt = rd(e.history, nn, Ze.signal), - jr = s || o, - Gr = - A.navigation.state !== "idle" - ? C1(jr, A.navigation.location, u) - : A.matches; - $t(Gr, "Didn't find any matches after fetcher action"); - let Vr = ++le; - de.set(j, Vr); - let Ta = id(De, kt.data); - A.fetchers.set(j, Ta); - let [ii, Ir] = LI( - e.history, - A, - Gr, - De, - nn, - W, - P, - Q, - Z, - fe, - jr, - u, - { [be.route.id]: kt.data }, - void 0 - ); - Ir.filter((qe) => qe.key !== j).forEach((qe) => { - let ee = qe.key, - Be = A.fetchers.get(ee), - it = id(void 0, Be ? Be.data : void 0); - A.fetchers.set(ee, it), - z.has(ee) && ke(ee), - qe.controller && z.set(ee, qe.controller); - }), - re({ fetchers: new Map(A.fetchers) }); - let ps = () => Ir.forEach((qe) => ke(qe.key)); - Ze.signal.addEventListener("abort", ps); - let { - results: fs, - loaderResults: Wr, - fetcherResults: hs, - } = await pt(A.matches, Gr, ii, Ir, Yt); - if (Ze.signal.aborted) return; - Ze.signal.removeEventListener("abort", ps), - de.delete(j), - z.delete(j), - Ir.forEach((qe) => z.delete(qe.key)); - let Wt = zI(fs); - if (Wt) { - if (Wt.idx >= ii.length) { - let qe = Ir[Wt.idx - ii.length].key; - fe.add(qe); - } - return Ge(A, Wt.result); - } - let { loaderData: Rr, errors: _i } = BI( - A, - A.matches, - ii, - Wr, - void 0, - Ir, - hs, - V - ); - if (A.fetchers.has(j)) { - let qe = i1(kt.data); - A.fetchers.set(j, qe); - } - let Al = Me(Vr); - A.navigation.state === "loading" && Vr > he - ? ($t(D, "Expected pending action"), - R && R.abort(), - Te(A.navigation.location, { - matches: Gr, - loaderData: Rr, - errors: _i, - fetchers: new Map(A.fetchers), - })) - : (re( - Rn( - { errors: _i, loaderData: UI(A.loaderData, Rr, Gr, _i) }, - Al || Ir.length > 0 ? { fetchers: new Map(A.fetchers) } : {} - ) - ), - (W = !1)); - } - async function ot(j, $, J, be, Fe, De) { - let tt = A.fetchers.get(j), - Je = id(De, tt ? tt.data : void 0); - A.fetchers.set(j, Je), re({ fetchers: new Map(A.fetchers) }); - let Ze = new AbortController(), - Rt = rd(e.history, J, Ze.signal); - z.set(j, Ze); - let Zt = le, - kt = await nd("loader", Rt, be, Fe, a, i, u); - if ( - (eu(kt) && (kt = (await qF(kt, Rt.signal, !0)) || kt), - z.get(j) === Ze && z.delete(j), - Rt.signal.aborted) - ) - return; - if ($1(kt)) - if (he > Zt) { - let Yt = i1(void 0); - A.fetchers.set(j, Yt), re({ fetchers: new Map(A.fetchers) }); - return; - } else { - fe.add(j), await Ge(A, kt); - return; - } - if (Ud(kt)) { - let Yt = x1(A.matches, $); - A.fetchers.delete(j), - re({ - fetchers: new Map(A.fetchers), - errors: { [Yt.route.id]: kt.error }, - }); - return; - } - $t(!eu(kt), "Unhandled fetcher deferred data"); - let nn = i1(kt.data); - A.fetchers.set(j, nn), re({ fetchers: new Map(A.fetchers) }); - } - async function Ge(j, $, J) { - let { - submission: be, - replace: Fe, - isFetchActionRedirect: De, - } = J === void 0 ? {} : J; - $.revalidate && (W = !0); - let tt = p9( - j.location, - $.location, - Rn({ _isRedirect: !0 }, De ? { _isFetchActionRedirect: !0 } : {}) - ); - if ( - ($t(tt, "Expected a location on the redirect navigation"), - GF.test($.location) && n) - ) { - let Rt = e.history.createURL($.location), - Zt = Qp(Rt.pathname, u) == null; - if (t.location.origin !== Rt.origin || Zt) { - Fe ? t.location.replace($.location) : t.location.assign($.location); - return; - } - } - R = null; - let Je = Fe === !0 ? Vn.Replace : Vn.Push, - Ze = be || jI(j.navigation); - if (khe.has($.status) && Ze && Ma(Ze.formMethod)) - await ne(Je, tt, { - submission: Rn({}, Ze, { formAction: $.location }), - preventScrollReset: k, - }); - else if (De) - await ne(Je, tt, { - overrideNavigation: j0(tt), - fetcherSubmission: Ze, - preventScrollReset: k, - }); - else { - let Rt = j0(tt, Ze); - await ne(Je, tt, { overrideNavigation: Rt, preventScrollReset: k }); - } - } - async function pt(j, $, J, be, Fe) { - let De = await Promise.all([ - ...J.map((Ze) => nd("loader", Fe, Ze, $, a, i, u)), - ...be.map((Ze) => - Ze.matches && Ze.match && Ze.controller - ? nd( - "loader", - rd(e.history, Ze.path, Ze.controller.signal), - Ze.match, - Ze.matches, - a, - i, - u - ) - : { type: Jn.error, error: ia(404, { pathname: Ze.path }) } - ), - ]), - tt = De.slice(0, J.length), - Je = De.slice(J.length); - return ( - await Promise.all([ - HI( - j, - J, - tt, - tt.map(() => Fe.signal), - !1, - A.loaderData - ), - HI( - j, - be.map((Ze) => Ze.match), - Je, - be.map((Ze) => (Ze.controller ? Ze.controller.signal : null)), - !0 - ), - ]), - { results: De, loaderResults: tt, fetcherResults: Je } - ); - } - function U() { - (W = !0), - P.push(...ye()), - Z.forEach((j, $) => { - z.has($) && (Q.push($), ke($)); - }); - } - function ie(j, $, J) { - let be = x1(A.matches, $); - pe(j), re({ errors: { [be.route.id]: J }, fetchers: new Map(A.fetchers) }); - } - function pe(j) { - let $ = A.fetchers.get(j); - z.has(j) && !($ && $.state === "loading" && de.has(j)) && ke(j), - Z.delete(j), - de.delete(j), - fe.delete(j), - A.fetchers.delete(j); - } - function ke(j) { - let $ = z.get(j); - $t($, "Expected fetch controller: " + j), $.abort(), z.delete(j); - } - function ve(j) { - for (let $ of j) { - let J = Xe($), - be = i1(J.data); - A.fetchers.set($, be); - } - } - function Se() { - let j = [], - $ = !1; - for (let J of fe) { - let be = A.fetchers.get(J); - $t(be, "Expected fetcher: " + J), - be.state === "loading" && (fe.delete(J), j.push(J), ($ = !0)); - } - return ve(j), $; - } - function Me(j) { - let $ = []; - for (let [J, be] of de) - if (be < j) { - let Fe = A.fetchers.get(J); - $t(Fe, "Expected fetcher: " + J), - Fe.state === "loading" && (ke(J), de.delete(J), $.push(J)); - } - return ve($), $.length > 0; - } - function ze(j, $) { - let J = A.blockers.get(j) || td; - return ce.get(j) !== $ && ce.set(j, $), J; - } - function Ke(j) { - A.blockers.delete(j), ce.delete(j); - } - function jt(j, $) { - let J = A.blockers.get(j) || td; - $t( - (J.state === "unblocked" && $.state === "blocked") || - (J.state === "blocked" && $.state === "blocked") || - (J.state === "blocked" && $.state === "proceeding") || - (J.state === "blocked" && $.state === "unblocked") || - (J.state === "proceeding" && $.state === "unblocked"), - "Invalid blocker state transition: " + J.state + " -> " + $.state - ); - let be = new Map(A.blockers); - be.set(j, $), re({ blockers: be }); - } - function ue(j) { - let { currentLocation: $, nextLocation: J, historyAction: be } = j; - if (ce.size === 0) return; - ce.size > 1 && Eu(!1, "A router only supports one blocker at a time"); - let Fe = Array.from(ce.entries()), - [De, tt] = Fe[Fe.length - 1], - Je = A.blockers.get(De); - if ( - !(Je && Je.state === "proceeding") && - tt({ currentLocation: $, nextLocation: J, historyAction: be }) - ) - return De; - } - function ye(j) { - let $ = []; - return ( - V.forEach((J, be) => { - (!j || j(be)) && (J.cancel(), $.push(be), V.delete(be)); - }), - $ - ); - } - function We(j, $, J) { - if (((m = j), (E = $), (g = J || null), !b && A.navigation === o4)) { - b = !0; - let be = Y(A.location, A.matches); - be != null && re({ restoreScrollPosition: be }); - } - return () => { - (m = null), (E = null), (g = null); - }; - } - function at(j, $) { - return ( - (g && - g( - j, - $.map((be) => $he(be, A.loaderData)) - )) || - j.key - ); - } - function Qe(j, $) { - if (m && E) { - let J = at(j, $); - m[J] = E(); - } - } - function Y(j, $) { - if (m) { - let J = at(j, $), - be = m[J]; - if (typeof be == "number") return be; - } - return null; - } - function se(j) { - (a = {}), (s = f9(j, i, void 0, a)); - } - return ( - (w = { - get basename() { - return u; - }, - get state() { - return A; - }, - get routes() { - return o; - }, - initialize: me, - subscribe: O, - enableScrollRestoration: We, - navigate: K, - fetch: Ve, - revalidate: xe, - createHref: (j) => e.history.createHref(j), - encodeLocation: (j) => e.history.encodeLocation(j), - getFetcher: Xe, - deleteFetcher: pe, - dispose: oe, - getBlocker: ze, - deleteBlocker: Ke, - _internalFetchControllers: z, - _internalActiveDeferreds: V, - _internalSetRoutes: se, - }), - w - ); -} -function Ohe(e) { - return ( - e != null && - (("formData" in e && e.formData != null) || - ("body" in e && e.body !== void 0)) - ); -} -function h9(e, t, n, r, i, a, o) { - let s, u; - if (a != null && o !== "path") { - s = []; - for (let p of t) - if ((s.push(p), p.route.id === a)) { - u = p; - break; - } - } else (s = t), (u = t[t.length - 1]); - let c = $F( - i || ".", - N7(s).map((p) => p.pathnameBase), - Qp(e.pathname, n) || e.pathname, - o === "path" - ); - return ( - i == null && ((c.search = e.search), (c.hash = e.hash)), - (i == null || i === "" || i === ".") && - u && - u.route.index && - !O7(c.search) && - (c.search = c.search ? c.search.replace(/^\?/, "?index&") : "?index"), - r && - n !== "/" && - (c.pathname = c.pathname === "/" ? n : sl([n, c.pathname])), - lm(c) - ); -} -function DI(e, t, n, r) { - if (!r || !Ohe(r)) return { path: n }; - if (r.formMethod && !Uhe(r.formMethod)) - return { path: n, error: ia(405, { method: r.formMethod }) }; - let i = () => ({ path: n, error: ia(400, { type: "invalid-body" }) }), - a = r.formMethod || "get", - o = e ? a.toUpperCase() : a.toLowerCase(), - s = WF(n); - if (r.body !== void 0) { - if (r.formEncType === "text/plain") { - if (!Ma(o)) return i(); - let m = - typeof r.body == "string" - ? r.body - : r.body instanceof FormData || r.body instanceof URLSearchParams - ? Array.from(r.body.entries()).reduce((g, E) => { - let [b, T] = E; - return ( - "" + - g + - b + - "=" + - T + - ` -` - ); - }, "") - : String(r.body); - return { - path: n, - submission: { - formMethod: o, - formAction: s, - formEncType: r.formEncType, - formData: void 0, - json: void 0, - text: m, - }, - }; - } else if (r.formEncType === "application/json") { - if (!Ma(o)) return i(); - try { - let m = typeof r.body == "string" ? JSON.parse(r.body) : r.body; - return { - path: n, - submission: { - formMethod: o, - formAction: s, - formEncType: r.formEncType, - formData: void 0, - json: m, - text: void 0, - }, - }; - } catch { - return i(); - } - } - } - $t( - typeof FormData == "function", - "FormData is not available in this environment" - ); - let u, c; - if (r.formData) (u = g9(r.formData)), (c = r.formData); - else if (r.body instanceof FormData) (u = g9(r.body)), (c = r.body); - else if (r.body instanceof URLSearchParams) (u = r.body), (c = PI(u)); - else if (r.body == null) (u = new URLSearchParams()), (c = new FormData()); - else - try { - (u = new URLSearchParams(r.body)), (c = PI(u)); - } catch { - return i(); - } - let p = { - formMethod: o, - formAction: s, - formEncType: (r && r.formEncType) || "application/x-www-form-urlencoded", - formData: c, - json: void 0, - text: void 0, - }; - if (Ma(p.formMethod)) return { path: n, submission: p }; - let f = So(n); - return ( - t && f.search && O7(f.search) && u.append("index", ""), - (f.search = "?" + u), - { path: lm(f), submission: p } - ); -} -function Dhe(e, t) { - let n = e; - if (t) { - let r = e.findIndex((i) => i.route.id === t); - r >= 0 && (n = e.slice(0, r)); - } - return n; -} -function LI(e, t, n, r, i, a, o, s, u, c, p, f, m, g) { - let E = g ? Object.values(g)[0] : m ? Object.values(m)[0] : void 0, - b = e.createURL(t.location), - T = e.createURL(i), - v = g ? Object.keys(g)[0] : void 0, - w = Dhe(n, v).filter((D, k) => { - if (D.route.lazy) return !0; - if (D.route.loader == null) return !1; - if (Lhe(t.loaderData, t.matches[k], D) || o.some((W) => W === D.route.id)) - return !0; - let R = t.matches[k], - B = D; - return MI( - D, - Rn( - { - currentUrl: b, - currentParams: R.params, - nextUrl: T, - nextParams: B.params, - }, - r, - { - actionResult: E, - defaultShouldRevalidate: - a || - b.pathname + b.search === T.pathname + T.search || - b.search !== T.search || - VF(R, B), - } - ) - ); - }), - A = []; - return ( - u.forEach((D, k) => { - if (!n.some((Q) => Q.route.id === D.routeId)) return; - let R = C1(p, D.path, f); - if (!R) { - A.push({ - key: k, - routeId: D.routeId, - path: D.path, - matches: null, - match: null, - controller: null, - }); - return; - } - let B = t.fetchers.get(k), - W = m9(R, D.path), - P = !1; - c.has(k) - ? (P = !1) - : s.includes(k) - ? (P = !0) - : B && B.state !== "idle" && B.data === void 0 - ? (P = a) - : (P = MI( - W, - Rn( - { - currentUrl: b, - currentParams: t.matches[t.matches.length - 1].params, - nextUrl: T, - nextParams: n[n.length - 1].params, - }, - r, - { actionResult: E, defaultShouldRevalidate: a } - ) - )), - P && - A.push({ - key: k, - routeId: D.routeId, - path: D.path, - matches: R, - match: W, - controller: new AbortController(), - }); - }), - [w, A] - ); -} -function Lhe(e, t, n) { - let r = !t || n.route.id !== t.route.id, - i = e[n.route.id] === void 0; - return r || i; -} -function VF(e, t) { - let n = e.route.path; - return ( - e.pathname !== t.pathname || - (n != null && n.endsWith("*") && e.params["*"] !== t.params["*"]) - ); -} -function MI(e, t) { - if (e.route.shouldRevalidate) { - let n = e.route.shouldRevalidate(t); - if (typeof n == "boolean") return n; - } - return t.defaultShouldRevalidate; -} -async function FI(e, t, n) { - if (!e.lazy) return; - let r = await e.lazy(); - if (!e.lazy) return; - let i = n[e.id]; - $t(i, "No route found in manifest"); - let a = {}; - for (let o in r) { - let u = i[o] !== void 0 && o !== "hasErrorBoundary"; - Eu( - !u, - 'Route "' + - i.id + - '" has a static property "' + - o + - '" defined but its lazy function is also returning a value for this property. ' + - ('The lazy route property "' + o + '" will be ignored.') - ), - !u && !rhe.has(o) && (a[o] = r[o]); - } - Object.assign(i, a), Object.assign(i, Rn({}, t(i), { lazy: void 0 })); -} -async function nd(e, t, n, r, i, a, o, s) { - s === void 0 && (s = {}); - let u, - c, - p, - f = (E) => { - let b, - T = new Promise((v, y) => (b = y)); - return ( - (p = () => b()), - t.signal.addEventListener("abort", p), - Promise.race([ - E({ request: t, params: n.params, context: s.requestContext }), - T, - ]) - ); - }; - try { - let E = n.route[e]; - if (n.route.lazy) - if (E) c = (await Promise.all([f(E), FI(n.route, a, i)]))[0]; - else if ((await FI(n.route, a, i), (E = n.route[e]), E)) c = await f(E); - else if (e === "action") { - let b = new URL(t.url), - T = b.pathname + b.search; - throw ia(405, { method: t.method, pathname: T, routeId: n.route.id }); - } else return { type: Jn.data, data: void 0 }; - else if (E) c = await f(E); - else { - let b = new URL(t.url), - T = b.pathname + b.search; - throw ia(404, { pathname: T }); - } - $t( - c !== void 0, - "You defined " + - (e === "action" ? "an action" : "a loader") + - " for route " + - ('"' + - n.route.id + - "\" but didn't return anything from your `" + - e + - "` ") + - "function. Please return a value or `null`." - ); - } catch (E) { - (u = Jn.error), (c = E); - } finally { - p && t.signal.removeEventListener("abort", p); - } - if (Bhe(c)) { - let E = c.status; - if (xhe.has(E)) { - let v = c.headers.get("Location"); - if ( - ($t( - v, - "Redirects returned/thrown from loaders/actions must have a Location header" - ), - !GF.test(v)) - ) - v = h9(new URL(t.url), r.slice(0, r.indexOf(n) + 1), o, !0, v); - else if (!s.isStaticRequest) { - let y = new URL(t.url), - w = v.startsWith("//") ? new URL(y.protocol + v) : new URL(v), - A = Qp(w.pathname, o) != null; - w.origin === y.origin && A && (v = w.pathname + w.search + w.hash); - } - if (s.isStaticRequest) throw (c.headers.set("Location", v), c); - return { - type: Jn.redirect, - status: E, - location: v, - revalidate: c.headers.get("X-Remix-Revalidate") !== null, - }; - } - if (s.isRouteRequest) throw { type: u || Jn.data, response: c }; - let b, - T = c.headers.get("Content-Type"); - return ( - T && /\bapplication\/json\b/.test(T) - ? (b = await c.json()) - : (b = await c.text()), - u === Jn.error - ? { type: u, error: new zF(E, c.statusText, b), headers: c.headers } - : { type: Jn.data, data: b, statusCode: c.status, headers: c.headers } - ); - } - if (u === Jn.error) return { type: u, error: c }; - if (Phe(c)) { - var m, g; - return { - type: Jn.deferred, - deferredData: c, - statusCode: (m = c.init) == null ? void 0 : m.status, - headers: - ((g = c.init) == null ? void 0 : g.headers) && - new Headers(c.init.headers), - }; - } - return { type: Jn.data, data: c }; -} -function rd(e, t, n, r) { - let i = e.createURL(WF(t)).toString(), - a = { signal: n }; - if (r && Ma(r.formMethod)) { - let { formMethod: o, formEncType: s } = r; - (a.method = o.toUpperCase()), - s === "application/json" - ? ((a.headers = new Headers({ "Content-Type": s })), - (a.body = JSON.stringify(r.json))) - : s === "text/plain" - ? (a.body = r.text) - : s === "application/x-www-form-urlencoded" && r.formData - ? (a.body = g9(r.formData)) - : (a.body = r.formData); - } - return new Request(i, a); -} -function g9(e) { - let t = new URLSearchParams(); - for (let [n, r] of e.entries()) - t.append(n, typeof r == "string" ? r : r.name); - return t; -} -function PI(e) { - let t = new FormData(); - for (let [n, r] of e.entries()) t.append(n, r); - return t; -} -function Mhe(e, t, n, r, i) { - let a = {}, - o = null, - s, - u = !1, - c = {}; - return ( - n.forEach((p, f) => { - let m = t[f].route.id; - if ( - ($t(!$1(p), "Cannot handle redirect results in processLoaderData"), - Ud(p)) - ) { - let g = x1(e, m), - E = p.error; - r && ((E = Object.values(r)[0]), (r = void 0)), - (o = o || {}), - o[g.route.id] == null && (o[g.route.id] = E), - (a[m] = void 0), - u || ((u = !0), (s = HF(p.error) ? p.error.status : 500)), - p.headers && (c[m] = p.headers); - } else - eu(p) - ? (i.set(m, p.deferredData), (a[m] = p.deferredData.data)) - : (a[m] = p.data), - p.statusCode != null && - p.statusCode !== 200 && - !u && - (s = p.statusCode), - p.headers && (c[m] = p.headers); - }), - r && ((o = r), (a[Object.keys(r)[0]] = void 0)), - { loaderData: a, errors: o, statusCode: s || 200, loaderHeaders: c } - ); -} -function BI(e, t, n, r, i, a, o, s) { - let { loaderData: u, errors: c } = Mhe(t, n, r, i, s); - for (let p = 0; p < a.length; p++) { - let { key: f, match: m, controller: g } = a[p]; - $t( - o !== void 0 && o[p] !== void 0, - "Did not find corresponding fetcher result" - ); - let E = o[p]; - if (!(g && g.signal.aborted)) - if (Ud(E)) { - let b = x1(e.matches, m == null ? void 0 : m.route.id); - (c && c[b.route.id]) || (c = Rn({}, c, { [b.route.id]: E.error })), - e.fetchers.delete(f); - } else if ($1(E)) $t(!1, "Unhandled fetcher revalidation redirect"); - else if (eu(E)) $t(!1, "Unhandled fetcher deferred data"); - else { - let b = i1(E.data); - e.fetchers.set(f, b); - } - } - return { loaderData: u, errors: c }; -} -function UI(e, t, n, r) { - let i = Rn({}, t); - for (let a of n) { - let o = a.route.id; - if ( - (t.hasOwnProperty(o) - ? t[o] !== void 0 && (i[o] = t[o]) - : e[o] !== void 0 && a.route.loader && (i[o] = e[o]), - r && r.hasOwnProperty(o)) - ) - break; - } - return i; -} -function x1(e, t) { - return ( - (t ? e.slice(0, e.findIndex((r) => r.route.id === t) + 1) : [...e]) - .reverse() - .find((r) => r.route.hasErrorBoundary === !0) || e[0] - ); -} -function $I(e) { - let t = e.find((n) => n.index || !n.path || n.path === "/") || { - id: "__shim-error-route__", - }; - return { - matches: [{ params: {}, pathname: "", pathnameBase: "", route: t }], - route: t, - }; -} -function ia(e, t) { - let { pathname: n, routeId: r, method: i, type: a } = t === void 0 ? {} : t, - o = "Unknown Server Error", - s = "Unknown @remix-run/router error"; - return ( - e === 400 - ? ((o = "Bad Request"), - i && n && r - ? (s = - "You made a " + - i + - ' request to "' + - n + - '" but ' + - ('did not provide a `loader` for route "' + r + '", ') + - "so there is no way to handle the request.") - : a === "defer-action" - ? (s = "defer() is not supported in actions") - : a === "invalid-body" && (s = "Unable to encode submission body")) - : e === 403 - ? ((o = "Forbidden"), - (s = 'Route "' + r + '" does not match URL "' + n + '"')) - : e === 404 - ? ((o = "Not Found"), (s = 'No route matches URL "' + n + '"')) - : e === 405 && - ((o = "Method Not Allowed"), - i && n && r - ? (s = - "You made a " + - i.toUpperCase() + - ' request to "' + - n + - '" but ' + - ('did not provide an `action` for route "' + r + '", ') + - "so there is no way to handle the request.") - : i && (s = 'Invalid request method "' + i.toUpperCase() + '"')), - new zF(e || 500, o, new Error(s), !0) - ); -} -function zI(e) { - for (let t = e.length - 1; t >= 0; t--) { - let n = e[t]; - if ($1(n)) return { result: n, idx: t }; - } -} -function WF(e) { - let t = typeof e == "string" ? So(e) : e; - return lm(Rn({}, t, { hash: "" })); -} -function Fhe(e, t) { - return e.pathname !== t.pathname || e.search !== t.search - ? !1 - : e.hash === "" - ? t.hash !== "" - : e.hash === t.hash - ? !0 - : t.hash !== ""; -} -function eu(e) { - return e.type === Jn.deferred; -} -function Ud(e) { - return e.type === Jn.error; -} -function $1(e) { - return (e && e.type) === Jn.redirect; -} -function Phe(e) { - let t = e; - return ( - t && - typeof t == "object" && - typeof t.data == "object" && - typeof t.subscribe == "function" && - typeof t.cancel == "function" && - typeof t.resolveData == "function" - ); -} -function Bhe(e) { - return ( - e != null && - typeof e.status == "number" && - typeof e.statusText == "string" && - typeof e.headers == "object" && - typeof e.body < "u" - ); -} -function Uhe(e) { - return Che.has(e.toLowerCase()); -} -function Ma(e) { - return whe.has(e.toLowerCase()); -} -async function HI(e, t, n, r, i, a) { - for (let o = 0; o < n.length; o++) { - let s = n[o], - u = t[o]; - if (!u) continue; - let c = e.find((f) => f.route.id === u.route.id), - p = c != null && !VF(c, u) && (a && a[u.route.id]) !== void 0; - if (eu(s) && (i || p)) { - let f = r[o]; - $t(f, "Expected an AbortSignal for revalidating fetcher deferred result"), - await qF(s, f, i).then((m) => { - m && (n[o] = m || n[o]); - }); - } - } -} -async function qF(e, t, n) { - if ((n === void 0 && (n = !1), !(await e.deferredData.resolveData(t)))) { - if (n) - try { - return { type: Jn.data, data: e.deferredData.unwrappedData }; - } catch (i) { - return { type: Jn.error, error: i }; - } - return { type: Jn.data, data: e.deferredData.data }; - } -} -function O7(e) { - return new URLSearchParams(e).getAll("index").some((t) => t === ""); -} -function $he(e, t) { - let { route: n, pathname: r, params: i } = e; - return { id: n.id, pathname: r, params: i, data: t[n.id], handle: n.handle }; -} -function m9(e, t) { - let n = typeof t == "string" ? So(t).search : t.search; - if (e[e.length - 1].route.index && O7(n || "")) return e[e.length - 1]; - let r = N7(e); - return r[r.length - 1]; -} -function jI(e) { - let { - formMethod: t, - formAction: n, - formEncType: r, - text: i, - formData: a, - json: o, - } = e; - if (!(!t || !n || !r)) { - if (i != null) - return { - formMethod: t, - formAction: n, - formEncType: r, - formData: void 0, - json: void 0, - text: i, - }; - if (a != null) - return { - formMethod: t, - formAction: n, - formEncType: r, - formData: a, - json: void 0, - text: void 0, - }; - if (o !== void 0) - return { - formMethod: t, - formAction: n, - formEncType: r, - formData: void 0, - json: o, - text: void 0, - }; - } -} -function j0(e, t) { - return t - ? { - state: "loading", - location: e, - formMethod: t.formMethod, - formAction: t.formAction, - formEncType: t.formEncType, - formData: t.formData, - json: t.json, - text: t.text, - } - : { - state: "loading", - location: e, - formMethod: void 0, - formAction: void 0, - formEncType: void 0, - formData: void 0, - json: void 0, - text: void 0, - }; -} -function zhe(e, t) { - return { - state: "submitting", - location: e, - formMethod: t.formMethod, - formAction: t.formAction, - formEncType: t.formEncType, - formData: t.formData, - json: t.json, - text: t.text, - }; -} -function id(e, t) { - return e - ? { - state: "loading", - formMethod: e.formMethod, - formAction: e.formAction, - formEncType: e.formEncType, - formData: e.formData, - json: e.json, - text: e.text, - data: t, - " _hasFetcherDoneAnything ": !0, - } - : { - state: "loading", - formMethod: void 0, - formAction: void 0, - formEncType: void 0, - formData: void 0, - json: void 0, - text: void 0, - data: t, - " _hasFetcherDoneAnything ": !0, - }; -} -function Hhe(e, t) { - return { - state: "submitting", - formMethod: e.formMethod, - formAction: e.formAction, - formEncType: e.formEncType, - formData: e.formData, - json: e.json, - text: e.text, - data: t ? t.data : void 0, - " _hasFetcherDoneAnything ": !0, - }; -} -function i1(e) { - return { - state: "idle", - formMethod: void 0, - formAction: void 0, - formEncType: void 0, - formData: void 0, - json: void 0, - text: void 0, - data: e, - " _hasFetcherDoneAnything ": !0, - }; -} -/** + */function Rn(){return Rn=Object.assign?Object.assign.bind():function(e){for(var t=1;tp(g,typeof g=="string"?null:g.state,E===0?"default":void 0));let a=u(n??i.length-1),o=Vn.Pop,s=null;function u(g){return Math.min(Math.max(g,0),i.length-1)}function c(){return i[a]}function p(g,E,b){E===void 0&&(E=null);let T=p9(i?c().pathname:"/",g,E,b);return Eu(T.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(g)),T}function f(g){return typeof g=="string"?g:lm(g)}return{get index(){return a},get action(){return o},get location(){return c()},createHref:f,createURL(g){return new URL(f(g),"http://localhost")},encodeLocation(g){let E=typeof g=="string"?So(g):g;return{pathname:E.pathname||"",search:E.search||"",hash:E.hash||""}},push(g,E){o=Vn.Push;let b=p(g,E);a+=1,i.splice(a,i.length,b),r&&s&&s({action:o,location:b,delta:1})},replace(g,E){o=Vn.Replace;let b=p(g,E);i[a]=b,r&&s&&s({action:o,location:b,delta:0})},go(g){o=Vn.Pop;let E=u(a+g),b=i[E];a=E,s&&s({action:o,location:b,delta:g})},listen(g){return s=g,()=>{s=null}}}}function $t(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Eu(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function nhe(){return Math.random().toString(36).substr(2,8)}function p9(e,t,n,r){return n===void 0&&(n=null),Rn({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?So(t):t,{state:n,key:t&&t.key||r||nhe()})}function lm(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function So(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var Jn;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Jn||(Jn={}));const rhe=new Set(["lazy","caseSensitive","path","id","index","children"]);function ihe(e){return e.index===!0}function f9(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,a)=>{let o=[...n,a],s=typeof i.id=="string"?i.id:o.join("-");if($t(i.index!==!0||!i.children,"Cannot specify children on an index route"),$t(!r[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),ihe(i)){let u=Rn({},i,t(i),{id:s});return r[s]=u,u}else{let u=Rn({},i,t(i),{id:s,children:void 0});return r[s]=u,i.children&&(u.children=f9(i.children,t,o,r)),u}})}function C1(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?So(t):t,i=Qp(r.pathname||"/",n);if(i==null)return null;let a=BF(e);ahe(a);let o=null;for(let s=0;o==null&&s{let u={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};u.relativePath.startsWith("/")&&($t(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=sl([r,u.relativePath]),p=n.concat(u);a.children&&a.children.length>0&&($t(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),BF(a.children,t,p,c)),!(a.path==null&&!a.index)&&t.push({path:c,score:phe(c,a.index),routesMeta:p})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let u of UF(a.path))i(a,o,u)}),t}function UF(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=UF(r.join("/")),s=[];return s.push(...o.map(u=>u===""?a:[a,u].join("/"))),i&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function ahe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:fhe(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const ohe=/^:\w+$/,she=3,lhe=2,uhe=1,che=10,dhe=-2,OI=e=>e==="*";function phe(e,t){let n=e.split("/"),r=n.length;return n.some(OI)&&(r+=dhe),t&&(r+=lhe),n.filter(i=>!OI(i)).reduce((i,a)=>i+(ohe.test(a)?she:a===""?uhe:che),r)}function fhe(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function hhe(e,t){let{routesMeta:n}=e,r={},i="/",a=[];for(let o=0;o{if(p==="*"){let m=s[f]||"";o=a.slice(0,a.length-m.length).replace(/(.)\/+$/,"$1")}return c[p]=Ehe(s[f]||"",p),c},{}),pathname:a,pathnameBase:o,pattern:e}}function mhe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Eu(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(o,s)=>(r.push(s),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function bhe(e){try{return decodeURI(e)}catch(t){return Eu(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ehe(e,t){try{return decodeURIComponent(e)}catch(n){return Eu(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Qp(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function vhe(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?So(e):e;return{pathname:n?n.startsWith("/")?n:yhe(n,t):t,search:The(r),hash:She(i)}}function yhe(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function a4(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function N7(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function $F(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=So(e):(i=Rn({},e),$t(!i.pathname||!i.pathname.includes("?"),a4("?","pathname","search",i)),$t(!i.pathname||!i.pathname.includes("#"),a4("#","pathname","hash",i)),$t(!i.search||!i.search.includes("#"),a4("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(r||o==null)s=n;else{let f=t.length-1;if(o.startsWith("..")){let m=o.split("/");for(;m[0]==="..";)m.shift(),f-=1;i.pathname=m.join("/")}s=f>=0?t[f]:"/"}let u=vhe(i,s),c=o&&o!=="/"&&o.endsWith("/"),p=(a||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||p)&&(u.pathname+="/"),u}const sl=e=>e.join("/").replace(/\/\/+/g,"/"),_he=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),The=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,She=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class zF{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function HF(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const jF=["post","put","patch","delete"],whe=new Set(jF),Ahe=["get",...jF],Che=new Set(Ahe),xhe=new Set([301,302,303,307,308]),khe=new Set([307,308]),o4={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ihe={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},td={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},GF=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rhe=e=>({hasErrorBoundary:!!e.hasErrorBoundary});function Nhe(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;$t(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let j=e.detectErrorBoundary;i=$=>({hasErrorBoundary:j($)})}else i=Rhe;let a={},o=f9(e.routes,i,void 0,a),s,u=e.basename||"/",c=Rn({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),p=null,f=new Set,m=null,g=null,E=null,b=e.hydrationData!=null,T=C1(o,e.history.location,u),v=null;if(T==null){let j=ia(404,{pathname:e.history.location.pathname}),{matches:$,route:J}=$I(o);T=$,v={[J.id]:j}}let y=!T.some(j=>j.route.lazy)&&(!T.some(j=>j.route.loader)||e.hydrationData!=null),w,A={historyAction:e.history.action,location:e.history.location,matches:T,initialized:y,navigation:o4,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},D=Vn.Pop,k=!1,R,B=!1,W=!1,P=[],Q=[],z=new Map,le=0,he=-1,de=new Map,fe=new Set,Z=new Map,V=new Map,ce=new Map,N=!1;function me(){return p=e.history.listen(j=>{let{action:$,location:J,delta:be}=j;if(N){N=!1;return}Eu(ce.size===0||be!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Fe=ue({currentLocation:A.location,nextLocation:J,historyAction:$});if(Fe&&be!=null){N=!0,e.history.go(be*-1),jt(Fe,{state:"blocked",location:J,proceed(){jt(Fe,{state:"proceeding",proceed:void 0,reset:void 0,location:J}),e.history.go(be)},reset(){let De=new Map(A.blockers);De.set(Fe,td),re({blockers:De})}});return}return ne($,J)}),A.initialized||ne(Vn.Pop,A.location),w}function oe(){p&&p(),f.clear(),R&&R.abort(),A.fetchers.forEach((j,$)=>pe($)),A.blockers.forEach((j,$)=>Ke($))}function O(j){return f.add(j),()=>f.delete(j)}function re(j){A=Rn({},A,j),f.forEach($=>$(A))}function Te(j,$){var J,be;let Fe=A.actionData!=null&&A.navigation.formMethod!=null&&Ma(A.navigation.formMethod)&&A.navigation.state==="loading"&&((J=j.state)==null?void 0:J._isRedirect)!==!0,De;$.actionData?Object.keys($.actionData).length>0?De=$.actionData:De=null:Fe?De=A.actionData:De=null;let tt=$.loaderData?UI(A.loaderData,$.loaderData,$.matches||[],$.errors):A.loaderData,Je=A.blockers;Je.size>0&&(Je=new Map(Je),Je.forEach((Rt,Zt)=>Je.set(Zt,td)));let Ze=k===!0||A.navigation.formMethod!=null&&Ma(A.navigation.formMethod)&&((be=j.state)==null?void 0:be._isRedirect)!==!0;s&&(o=s,s=void 0),B||D===Vn.Pop||(D===Vn.Push?e.history.push(j,j.state):D===Vn.Replace&&e.history.replace(j,j.state)),re(Rn({},$,{actionData:De,loaderData:tt,historyAction:D,location:j,initialized:!0,navigation:o4,revalidation:"idle",restoreScrollPosition:Y(j,$.matches||A.matches),preventScrollReset:Ze,blockers:Je})),D=Vn.Pop,k=!1,B=!1,W=!1,P=[],Q=[]}async function K(j,$){if(typeof j=="number"){e.history.go(j);return}let J=h9(A.location,A.matches,u,c.v7_prependBasename,j,$==null?void 0:$.fromRouteId,$==null?void 0:$.relative),{path:be,submission:Fe,error:De}=DI(c.v7_normalizeFormMethod,!1,J,$),tt=A.location,Je=p9(A.location,be,$&&$.state);Je=Rn({},Je,e.history.encodeLocation(Je));let Ze=$&&$.replace!=null?$.replace:void 0,Rt=Vn.Push;Ze===!0?Rt=Vn.Replace:Ze===!1||Fe!=null&&Ma(Fe.formMethod)&&Fe.formAction===A.location.pathname+A.location.search&&(Rt=Vn.Replace);let Zt=$&&"preventScrollReset"in $?$.preventScrollReset===!0:void 0,kt=ue({currentLocation:tt,nextLocation:Je,historyAction:Rt});if(kt){jt(kt,{state:"blocked",location:Je,proceed(){jt(kt,{state:"proceeding",proceed:void 0,reset:void 0,location:Je}),K(j,$)},reset(){let nn=new Map(A.blockers);nn.set(kt,td),re({blockers:nn})}});return}return await ne(Rt,Je,{submission:Fe,pendingError:De,preventScrollReset:Zt,replace:$&&$.replace})}function xe(){if(U(),re({revalidation:"loading"}),A.navigation.state!=="submitting"){if(A.navigation.state==="idle"){ne(A.historyAction,A.location,{startUninterruptedRevalidation:!0});return}ne(D||A.historyAction,A.navigation.location,{overrideNavigation:A.navigation})}}async function ne(j,$,J){R&&R.abort(),R=null,D=j,B=(J&&J.startUninterruptedRevalidation)===!0,Qe(A.location,A.matches),k=(J&&J.preventScrollReset)===!0;let be=s||o,Fe=J&&J.overrideNavigation,De=C1(be,$,u);if(!De){let nn=ia(404,{pathname:$.pathname}),{matches:Yt,route:jr}=$I(be);ye(),Te($,{matches:Yt,loaderData:{},errors:{[jr.id]:nn}});return}if(A.initialized&&!W&&Fhe(A.location,$)&&!(J&&J.submission&&Ma(J.submission.formMethod))){Te($,{matches:De});return}R=new AbortController;let tt=rd(e.history,$,R.signal,J&&J.submission),Je,Ze;if(J&&J.pendingError)Ze={[x1(De).route.id]:J.pendingError};else if(J&&J.submission&&Ma(J.submission.formMethod)){let nn=await Le(tt,$,J.submission,De,{replace:J.replace});if(nn.shortCircuited)return;Je=nn.pendingActionData,Ze=nn.pendingActionError,Fe=j0($,J.submission),tt=new Request(tt.url,{signal:tt.signal})}let{shortCircuited:Rt,loaderData:Zt,errors:kt}=await Re(tt,$,De,Fe,J&&J.submission,J&&J.fetcherSubmission,J&&J.replace,Je,Ze);Rt||(R=null,Te($,Rn({matches:De},Je?{actionData:Je}:{},{loaderData:Zt,errors:kt})))}async function Le(j,$,J,be,Fe){Fe===void 0&&(Fe={}),U();let De=zhe($,J);re({navigation:De});let tt,Je=m9(be,$);if(!Je.route.action&&!Je.route.lazy)tt={type:Jn.error,error:ia(405,{method:j.method,pathname:$.pathname,routeId:Je.route.id})};else if(tt=await nd("action",j,Je,be,a,i,u),j.signal.aborted)return{shortCircuited:!0};if($1(tt)){let Ze;return Fe&&Fe.replace!=null?Ze=Fe.replace:Ze=tt.location===A.location.pathname+A.location.search,await Ge(A,tt,{submission:J,replace:Ze}),{shortCircuited:!0}}if(Ud(tt)){let Ze=x1(be,Je.route.id);return(Fe&&Fe.replace)!==!0&&(D=Vn.Push),{pendingActionData:{},pendingActionError:{[Ze.route.id]:tt.error}}}if(eu(tt))throw ia(400,{type:"defer-action"});return{pendingActionData:{[Je.route.id]:tt.data}}}async function Re(j,$,J,be,Fe,De,tt,Je,Ze){let Rt=be||j0($,Fe),Zt=Fe||De||jI(Rt),kt=s||o,[nn,Yt]=LI(e.history,A,J,Zt,$,W,P,Q,Z,fe,kt,u,Je,Ze);if(ye(Wt=>!(J&&J.some(Rr=>Rr.route.id===Wt))||nn&&nn.some(Rr=>Rr.route.id===Wt)),he=++le,nn.length===0&&Yt.length===0){let Wt=Se();return Te($,Rn({matches:J,loaderData:{},errors:Ze||null},Je?{actionData:Je}:{},Wt?{fetchers:new Map(A.fetchers)}:{})),{shortCircuited:!0}}if(!B){Yt.forEach(Rr=>{let _i=A.fetchers.get(Rr.key),Al=id(void 0,_i?_i.data:void 0);A.fetchers.set(Rr.key,Al)});let Wt=Je||A.actionData;re(Rn({navigation:Rt},Wt?Object.keys(Wt).length===0?{actionData:null}:{actionData:Wt}:{},Yt.length>0?{fetchers:new Map(A.fetchers)}:{}))}Yt.forEach(Wt=>{z.has(Wt.key)&&ke(Wt.key),Wt.controller&&z.set(Wt.key,Wt.controller)});let jr=()=>Yt.forEach(Wt=>ke(Wt.key));R&&R.signal.addEventListener("abort",jr);let{results:Gr,loaderResults:Vr,fetcherResults:Ta}=await pt(A.matches,J,nn,Yt,j);if(j.signal.aborted)return{shortCircuited:!0};R&&R.signal.removeEventListener("abort",jr),Yt.forEach(Wt=>z.delete(Wt.key));let ii=zI(Gr);if(ii){if(ii.idx>=nn.length){let Wt=Yt[ii.idx-nn.length].key;fe.add(Wt)}return await Ge(A,ii.result,{replace:tt}),{shortCircuited:!0}}let{loaderData:Ir,errors:ps}=BI(A,J,nn,Vr,Ze,Yt,Ta,V);V.forEach((Wt,Rr)=>{Wt.subscribe(_i=>{(_i||Wt.done)&&V.delete(Rr)})});let fs=Se(),Wr=Me(he),hs=fs||Wr||Yt.length>0;return Rn({loaderData:Ir,errors:ps},hs?{fetchers:new Map(A.fetchers)}:{})}function Xe(j){return A.fetchers.get(j)||Ihe}function Ve(j,$,J,be){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");z.has(j)&&ke(j);let Fe=s||o,De=h9(A.location,A.matches,u,c.v7_prependBasename,J,$,be==null?void 0:be.relative),tt=C1(Fe,De,u);if(!tt){ie(j,$,ia(404,{pathname:De}));return}let{path:Je,submission:Ze,error:Rt}=DI(c.v7_normalizeFormMethod,!0,De,be);if(Rt){ie(j,$,Rt);return}let Zt=m9(tt,Je);if(k=(be&&be.preventScrollReset)===!0,Ze&&Ma(Ze.formMethod)){dt(j,$,Je,Zt,tt,Ze);return}Z.set(j,{routeId:$,path:Je}),ot(j,$,Je,Zt,tt,Ze)}async function dt(j,$,J,be,Fe,De){if(U(),Z.delete(j),!be.route.action&&!be.route.lazy){let qe=ia(405,{method:De.formMethod,pathname:J,routeId:$});ie(j,$,qe);return}let tt=A.fetchers.get(j),Je=Hhe(De,tt);A.fetchers.set(j,Je),re({fetchers:new Map(A.fetchers)});let Ze=new AbortController,Rt=rd(e.history,J,Ze.signal,De);z.set(j,Ze);let Zt=le,kt=await nd("action",Rt,be,Fe,a,i,u);if(Rt.signal.aborted){z.get(j)===Ze&&z.delete(j);return}if($1(kt))if(z.delete(j),he>Zt){let qe=i1(void 0);A.fetchers.set(j,qe),re({fetchers:new Map(A.fetchers)});return}else{fe.add(j);let qe=id(De);return A.fetchers.set(j,qe),re({fetchers:new Map(A.fetchers)}),Ge(A,kt,{submission:De,isFetchActionRedirect:!0})}if(Ud(kt)){ie(j,$,kt.error);return}if(eu(kt))throw ia(400,{type:"defer-action"});let nn=A.navigation.location||A.location,Yt=rd(e.history,nn,Ze.signal),jr=s||o,Gr=A.navigation.state!=="idle"?C1(jr,A.navigation.location,u):A.matches;$t(Gr,"Didn't find any matches after fetcher action");let Vr=++le;de.set(j,Vr);let Ta=id(De,kt.data);A.fetchers.set(j,Ta);let[ii,Ir]=LI(e.history,A,Gr,De,nn,W,P,Q,Z,fe,jr,u,{[be.route.id]:kt.data},void 0);Ir.filter(qe=>qe.key!==j).forEach(qe=>{let ee=qe.key,Be=A.fetchers.get(ee),it=id(void 0,Be?Be.data:void 0);A.fetchers.set(ee,it),z.has(ee)&&ke(ee),qe.controller&&z.set(ee,qe.controller)}),re({fetchers:new Map(A.fetchers)});let ps=()=>Ir.forEach(qe=>ke(qe.key));Ze.signal.addEventListener("abort",ps);let{results:fs,loaderResults:Wr,fetcherResults:hs}=await pt(A.matches,Gr,ii,Ir,Yt);if(Ze.signal.aborted)return;Ze.signal.removeEventListener("abort",ps),de.delete(j),z.delete(j),Ir.forEach(qe=>z.delete(qe.key));let Wt=zI(fs);if(Wt){if(Wt.idx>=ii.length){let qe=Ir[Wt.idx-ii.length].key;fe.add(qe)}return Ge(A,Wt.result)}let{loaderData:Rr,errors:_i}=BI(A,A.matches,ii,Wr,void 0,Ir,hs,V);if(A.fetchers.has(j)){let qe=i1(kt.data);A.fetchers.set(j,qe)}let Al=Me(Vr);A.navigation.state==="loading"&&Vr>he?($t(D,"Expected pending action"),R&&R.abort(),Te(A.navigation.location,{matches:Gr,loaderData:Rr,errors:_i,fetchers:new Map(A.fetchers)})):(re(Rn({errors:_i,loaderData:UI(A.loaderData,Rr,Gr,_i)},Al||Ir.length>0?{fetchers:new Map(A.fetchers)}:{})),W=!1)}async function ot(j,$,J,be,Fe,De){let tt=A.fetchers.get(j),Je=id(De,tt?tt.data:void 0);A.fetchers.set(j,Je),re({fetchers:new Map(A.fetchers)});let Ze=new AbortController,Rt=rd(e.history,J,Ze.signal);z.set(j,Ze);let Zt=le,kt=await nd("loader",Rt,be,Fe,a,i,u);if(eu(kt)&&(kt=await qF(kt,Rt.signal,!0)||kt),z.get(j)===Ze&&z.delete(j),Rt.signal.aborted)return;if($1(kt))if(he>Zt){let Yt=i1(void 0);A.fetchers.set(j,Yt),re({fetchers:new Map(A.fetchers)});return}else{fe.add(j),await Ge(A,kt);return}if(Ud(kt)){let Yt=x1(A.matches,$);A.fetchers.delete(j),re({fetchers:new Map(A.fetchers),errors:{[Yt.route.id]:kt.error}});return}$t(!eu(kt),"Unhandled fetcher deferred data");let nn=i1(kt.data);A.fetchers.set(j,nn),re({fetchers:new Map(A.fetchers)})}async function Ge(j,$,J){let{submission:be,replace:Fe,isFetchActionRedirect:De}=J===void 0?{}:J;$.revalidate&&(W=!0);let tt=p9(j.location,$.location,Rn({_isRedirect:!0},De?{_isFetchActionRedirect:!0}:{}));if($t(tt,"Expected a location on the redirect navigation"),GF.test($.location)&&n){let Rt=e.history.createURL($.location),Zt=Qp(Rt.pathname,u)==null;if(t.location.origin!==Rt.origin||Zt){Fe?t.location.replace($.location):t.location.assign($.location);return}}R=null;let Je=Fe===!0?Vn.Replace:Vn.Push,Ze=be||jI(j.navigation);if(khe.has($.status)&&Ze&&Ma(Ze.formMethod))await ne(Je,tt,{submission:Rn({},Ze,{formAction:$.location}),preventScrollReset:k});else if(De)await ne(Je,tt,{overrideNavigation:j0(tt),fetcherSubmission:Ze,preventScrollReset:k});else{let Rt=j0(tt,Ze);await ne(Je,tt,{overrideNavigation:Rt,preventScrollReset:k})}}async function pt(j,$,J,be,Fe){let De=await Promise.all([...J.map(Ze=>nd("loader",Fe,Ze,$,a,i,u)),...be.map(Ze=>Ze.matches&&Ze.match&&Ze.controller?nd("loader",rd(e.history,Ze.path,Ze.controller.signal),Ze.match,Ze.matches,a,i,u):{type:Jn.error,error:ia(404,{pathname:Ze.path})})]),tt=De.slice(0,J.length),Je=De.slice(J.length);return await Promise.all([HI(j,J,tt,tt.map(()=>Fe.signal),!1,A.loaderData),HI(j,be.map(Ze=>Ze.match),Je,be.map(Ze=>Ze.controller?Ze.controller.signal:null),!0)]),{results:De,loaderResults:tt,fetcherResults:Je}}function U(){W=!0,P.push(...ye()),Z.forEach((j,$)=>{z.has($)&&(Q.push($),ke($))})}function ie(j,$,J){let be=x1(A.matches,$);pe(j),re({errors:{[be.route.id]:J},fetchers:new Map(A.fetchers)})}function pe(j){let $=A.fetchers.get(j);z.has(j)&&!($&&$.state==="loading"&&de.has(j))&&ke(j),Z.delete(j),de.delete(j),fe.delete(j),A.fetchers.delete(j)}function ke(j){let $=z.get(j);$t($,"Expected fetch controller: "+j),$.abort(),z.delete(j)}function ve(j){for(let $ of j){let J=Xe($),be=i1(J.data);A.fetchers.set($,be)}}function Se(){let j=[],$=!1;for(let J of fe){let be=A.fetchers.get(J);$t(be,"Expected fetcher: "+J),be.state==="loading"&&(fe.delete(J),j.push(J),$=!0)}return ve(j),$}function Me(j){let $=[];for(let[J,be]of de)if(be0}function ze(j,$){let J=A.blockers.get(j)||td;return ce.get(j)!==$&&ce.set(j,$),J}function Ke(j){A.blockers.delete(j),ce.delete(j)}function jt(j,$){let J=A.blockers.get(j)||td;$t(J.state==="unblocked"&&$.state==="blocked"||J.state==="blocked"&&$.state==="blocked"||J.state==="blocked"&&$.state==="proceeding"||J.state==="blocked"&&$.state==="unblocked"||J.state==="proceeding"&&$.state==="unblocked","Invalid blocker state transition: "+J.state+" -> "+$.state);let be=new Map(A.blockers);be.set(j,$),re({blockers:be})}function ue(j){let{currentLocation:$,nextLocation:J,historyAction:be}=j;if(ce.size===0)return;ce.size>1&&Eu(!1,"A router only supports one blocker at a time");let Fe=Array.from(ce.entries()),[De,tt]=Fe[Fe.length-1],Je=A.blockers.get(De);if(!(Je&&Je.state==="proceeding")&&tt({currentLocation:$,nextLocation:J,historyAction:be}))return De}function ye(j){let $=[];return V.forEach((J,be)=>{(!j||j(be))&&(J.cancel(),$.push(be),V.delete(be))}),$}function We(j,$,J){if(m=j,E=$,g=J||null,!b&&A.navigation===o4){b=!0;let be=Y(A.location,A.matches);be!=null&&re({restoreScrollPosition:be})}return()=>{m=null,E=null,g=null}}function at(j,$){return g&&g(j,$.map(be=>$he(be,A.loaderData)))||j.key}function Qe(j,$){if(m&&E){let J=at(j,$);m[J]=E()}}function Y(j,$){if(m){let J=at(j,$),be=m[J];if(typeof be=="number")return be}return null}function se(j){a={},s=f9(j,i,void 0,a)}return w={get basename(){return u},get state(){return A},get routes(){return o},initialize:me,subscribe:O,enableScrollRestoration:We,navigate:K,fetch:Ve,revalidate:xe,createHref:j=>e.history.createHref(j),encodeLocation:j=>e.history.encodeLocation(j),getFetcher:Xe,deleteFetcher:pe,dispose:oe,getBlocker:ze,deleteBlocker:Ke,_internalFetchControllers:z,_internalActiveDeferreds:V,_internalSetRoutes:se},w}function Ohe(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function h9(e,t,n,r,i,a,o){let s,u;if(a!=null&&o!=="path"){s=[];for(let p of t)if(s.push(p),p.route.id===a){u=p;break}}else s=t,u=t[t.length-1];let c=$F(i||".",N7(s).map(p=>p.pathnameBase),Qp(e.pathname,n)||e.pathname,o==="path");return i==null&&(c.search=e.search,c.hash=e.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!O7(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:sl([n,c.pathname])),lm(c)}function DI(e,t,n,r){if(!r||!Ohe(r))return{path:n};if(r.formMethod&&!Uhe(r.formMethod))return{path:n,error:ia(405,{method:r.formMethod})};let i=()=>({path:n,error:ia(400,{type:"invalid-body"})}),a=r.formMethod||"get",o=e?a.toUpperCase():a.toLowerCase(),s=WF(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Ma(o))return i();let m=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((g,E)=>{let[b,T]=E;return""+g+b+"="+T+` +`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:s,formEncType:r.formEncType,formData:void 0,json:void 0,text:m}}}else if(r.formEncType==="application/json"){if(!Ma(o))return i();try{let m=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:s,formEncType:r.formEncType,formData:void 0,json:m,text:void 0}}}catch{return i()}}}$t(typeof FormData=="function","FormData is not available in this environment");let u,c;if(r.formData)u=g9(r.formData),c=r.formData;else if(r.body instanceof FormData)u=g9(r.body),c=r.body;else if(r.body instanceof URLSearchParams)u=r.body,c=PI(u);else if(r.body==null)u=new URLSearchParams,c=new FormData;else try{u=new URLSearchParams(r.body),c=PI(u)}catch{return i()}let p={formMethod:o,formAction:s,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(Ma(p.formMethod))return{path:n,submission:p};let f=So(n);return t&&f.search&&O7(f.search)&&u.append("index",""),f.search="?"+u,{path:lm(f),submission:p}}function Dhe(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function LI(e,t,n,r,i,a,o,s,u,c,p,f,m,g){let E=g?Object.values(g)[0]:m?Object.values(m)[0]:void 0,b=e.createURL(t.location),T=e.createURL(i),v=g?Object.keys(g)[0]:void 0,w=Dhe(n,v).filter((D,k)=>{if(D.route.lazy)return!0;if(D.route.loader==null)return!1;if(Lhe(t.loaderData,t.matches[k],D)||o.some(W=>W===D.route.id))return!0;let R=t.matches[k],B=D;return MI(D,Rn({currentUrl:b,currentParams:R.params,nextUrl:T,nextParams:B.params},r,{actionResult:E,defaultShouldRevalidate:a||b.pathname+b.search===T.pathname+T.search||b.search!==T.search||VF(R,B)}))}),A=[];return u.forEach((D,k)=>{if(!n.some(Q=>Q.route.id===D.routeId))return;let R=C1(p,D.path,f);if(!R){A.push({key:k,routeId:D.routeId,path:D.path,matches:null,match:null,controller:null});return}let B=t.fetchers.get(k),W=m9(R,D.path),P=!1;c.has(k)?P=!1:s.includes(k)?P=!0:B&&B.state!=="idle"&&B.data===void 0?P=a:P=MI(W,Rn({currentUrl:b,currentParams:t.matches[t.matches.length-1].params,nextUrl:T,nextParams:n[n.length-1].params},r,{actionResult:E,defaultShouldRevalidate:a})),P&&A.push({key:k,routeId:D.routeId,path:D.path,matches:R,match:W,controller:new AbortController})}),[w,A]}function Lhe(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function VF(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function MI(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function FI(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];$t(i,"No route found in manifest");let a={};for(let o in r){let u=i[o]!==void 0&&o!=="hasErrorBoundary";Eu(!u,'Route "'+i.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!u&&!rhe.has(o)&&(a[o]=r[o])}Object.assign(i,a),Object.assign(i,Rn({},t(i),{lazy:void 0}))}async function nd(e,t,n,r,i,a,o,s){s===void 0&&(s={});let u,c,p,f=E=>{let b,T=new Promise((v,y)=>b=y);return p=()=>b(),t.signal.addEventListener("abort",p),Promise.race([E({request:t,params:n.params,context:s.requestContext}),T])};try{let E=n.route[e];if(n.route.lazy)if(E)c=(await Promise.all([f(E),FI(n.route,a,i)]))[0];else if(await FI(n.route,a,i),E=n.route[e],E)c=await f(E);else if(e==="action"){let b=new URL(t.url),T=b.pathname+b.search;throw ia(405,{method:t.method,pathname:T,routeId:n.route.id})}else return{type:Jn.data,data:void 0};else if(E)c=await f(E);else{let b=new URL(t.url),T=b.pathname+b.search;throw ia(404,{pathname:T})}$t(c!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(E){u=Jn.error,c=E}finally{p&&t.signal.removeEventListener("abort",p)}if(Bhe(c)){let E=c.status;if(xhe.has(E)){let v=c.headers.get("Location");if($t(v,"Redirects returned/thrown from loaders/actions must have a Location header"),!GF.test(v))v=h9(new URL(t.url),r.slice(0,r.indexOf(n)+1),o,!0,v);else if(!s.isStaticRequest){let y=new URL(t.url),w=v.startsWith("//")?new URL(y.protocol+v):new URL(v),A=Qp(w.pathname,o)!=null;w.origin===y.origin&&A&&(v=w.pathname+w.search+w.hash)}if(s.isStaticRequest)throw c.headers.set("Location",v),c;return{type:Jn.redirect,status:E,location:v,revalidate:c.headers.get("X-Remix-Revalidate")!==null}}if(s.isRouteRequest)throw{type:u||Jn.data,response:c};let b,T=c.headers.get("Content-Type");return T&&/\bapplication\/json\b/.test(T)?b=await c.json():b=await c.text(),u===Jn.error?{type:u,error:new zF(E,c.statusText,b),headers:c.headers}:{type:Jn.data,data:b,statusCode:c.status,headers:c.headers}}if(u===Jn.error)return{type:u,error:c};if(Phe(c)){var m,g;return{type:Jn.deferred,deferredData:c,statusCode:(m=c.init)==null?void 0:m.status,headers:((g=c.init)==null?void 0:g.headers)&&new Headers(c.init.headers)}}return{type:Jn.data,data:c}}function rd(e,t,n,r){let i=e.createURL(WF(t)).toString(),a={signal:n};if(r&&Ma(r.formMethod)){let{formMethod:o,formEncType:s}=r;a.method=o.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(r.json)):s==="text/plain"?a.body=r.text:s==="application/x-www-form-urlencoded"&&r.formData?a.body=g9(r.formData):a.body=r.formData}return new Request(i,a)}function g9(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function PI(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Mhe(e,t,n,r,i){let a={},o=null,s,u=!1,c={};return n.forEach((p,f)=>{let m=t[f].route.id;if($t(!$1(p),"Cannot handle redirect results in processLoaderData"),Ud(p)){let g=x1(e,m),E=p.error;r&&(E=Object.values(r)[0],r=void 0),o=o||{},o[g.route.id]==null&&(o[g.route.id]=E),a[m]=void 0,u||(u=!0,s=HF(p.error)?p.error.status:500),p.headers&&(c[m]=p.headers)}else eu(p)?(i.set(m,p.deferredData),a[m]=p.deferredData.data):a[m]=p.data,p.statusCode!=null&&p.statusCode!==200&&!u&&(s=p.statusCode),p.headers&&(c[m]=p.headers)}),r&&(o=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:c}}function BI(e,t,n,r,i,a,o,s){let{loaderData:u,errors:c}=Mhe(t,n,r,i,s);for(let p=0;pr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function $I(e){let t=e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function ia(e,t){let{pathname:n,routeId:r,method:i,type:a}=t===void 0?{}:t,o="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(o="Bad Request",i&&n&&r?s="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":a==="defer-action"?s="defer() is not supported in actions":a==="invalid-body"&&(s="Unable to encode submission body")):e===403?(o="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):e===404?(o="Not Found",s='No route matches URL "'+n+'"'):e===405&&(o="Method Not Allowed",i&&n&&r?s="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new zF(e||500,o,new Error(s),!0)}function zI(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if($1(n))return{result:n,idx:t}}}function WF(e){let t=typeof e=="string"?So(e):e;return lm(Rn({},t,{hash:""}))}function Fhe(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function eu(e){return e.type===Jn.deferred}function Ud(e){return e.type===Jn.error}function $1(e){return(e&&e.type)===Jn.redirect}function Phe(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Bhe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Uhe(e){return Che.has(e.toLowerCase())}function Ma(e){return whe.has(e.toLowerCase())}async function HI(e,t,n,r,i,a){for(let o=0;of.route.id===u.route.id),p=c!=null&&!VF(c,u)&&(a&&a[u.route.id])!==void 0;if(eu(s)&&(i||p)){let f=r[o];$t(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await qF(s,f,i).then(m=>{m&&(n[o]=m||n[o])})}}}async function qF(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Jn.data,data:e.deferredData.unwrappedData}}catch(i){return{type:Jn.error,error:i}}return{type:Jn.data,data:e.deferredData.data}}}function O7(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function $he(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function m9(e,t){let n=typeof t=="string"?So(t).search:t.search;if(e[e.length-1].route.index&&O7(n||""))return e[e.length-1];let r=N7(e);return r[r.length-1]}function jI(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:a,json:o}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function j0(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function zhe(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function id(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t," _hasFetcherDoneAnything ":!0}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t," _hasFetcherDoneAnything ":!0}}function Hhe(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0," _hasFetcherDoneAnything ":!0}}function i1(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e," _hasFetcherDoneAnything ":!0}}/** * React Router v6.14.2 * * Copyright (c) Remix Software Inc. @@ -69096,539 +689,14 @@ function i1(e) { * LICENSE.md file in the root directory of this source tree. * * @license MIT - */ function mp() { - return ( - (mp = Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var r in n) - Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); - } - return e; - }), - mp.apply(this, arguments) - ); -} -const um = C.createContext(null), - KF = C.createContext(null), - cm = C.createContext(null), - dm = C.createContext(null), - Sl = C.createContext({ outlet: null, matches: [], isDataRoute: !1 }), - YF = C.createContext(null); -function pm() { - return C.useContext(dm) != null; -} -function D7() { - return pm() || $t(!1), C.useContext(dm).location; -} -function XF(e) { - C.useContext(cm).static || C.useLayoutEffect(e); -} -function cs() { - let { isDataRoute: e } = C.useContext(Sl); - return e ? nge() : jhe(); -} -function jhe() { - pm() || $t(!1); - let e = C.useContext(um), - { basename: t, navigator: n } = C.useContext(cm), - { matches: r } = C.useContext(Sl), - { pathname: i } = D7(), - a = JSON.stringify(N7(r).map((u) => u.pathnameBase)), - o = C.useRef(!1); - return ( - XF(() => { - o.current = !0; - }), - C.useCallback( - function (u, c) { - if ((c === void 0 && (c = {}), !o.current)) return; - if (typeof u == "number") { - n.go(u); - return; - } - let p = $F(u, JSON.parse(a), i, c.relative === "path"); - e == null && - t !== "/" && - (p.pathname = p.pathname === "/" ? t : sl([t, p.pathname])), - (c.replace ? n.replace : n.push)(p, c.state, c); - }, - [t, n, a, i, e] - ) - ); -} -const Ghe = C.createContext(null); -function Vhe(e) { - let t = C.useContext(Sl).outlet; - return t && C.createElement(Ghe.Provider, { value: e }, t); -} -function Whe() { - let { matches: e } = C.useContext(Sl), - t = e[e.length - 1]; - return t ? t.params : {}; -} -function qhe(e, t, n) { - pm() || $t(!1); - let { navigator: r } = C.useContext(cm), - { matches: i } = C.useContext(Sl), - a = i[i.length - 1], - o = a ? a.params : {}; - a && a.pathname; - let s = a ? a.pathnameBase : "/"; - a && a.route; - let u = D7(), - c; - if (t) { - var p; - let b = typeof t == "string" ? So(t) : t; - s === "/" || ((p = b.pathname) != null && p.startsWith(s)) || $t(!1), - (c = b); - } else c = u; - let f = c.pathname || "/", - m = s === "/" ? f : f.slice(s.length) || "/", - g = C1(e, { pathname: m }), - E = Qhe( - g && - g.map((b) => - Object.assign({}, b, { - params: Object.assign({}, o, b.params), - pathname: sl([ - s, - r.encodeLocation - ? r.encodeLocation(b.pathname).pathname - : b.pathname, - ]), - pathnameBase: - b.pathnameBase === "/" - ? s - : sl([ - s, - r.encodeLocation - ? r.encodeLocation(b.pathnameBase).pathname - : b.pathnameBase, - ]), - }) - ), - i, - n - ); - return t && E - ? C.createElement( - dm.Provider, - { - value: { - location: mp( - { - pathname: "/", - search: "", - hash: "", - state: null, - key: "default", - }, - c - ), - navigationType: Vn.Pop, - }, - }, - E - ) - : E; -} -function Khe() { - let e = QF(), - t = HF(e) - ? e.status + " " + e.statusText - : e instanceof Error - ? e.message - : JSON.stringify(e), - n = e instanceof Error ? e.stack : null, - i = { padding: "0.5rem", backgroundColor: "rgba(200,200,200, 0.5)" }, - a = null; - return C.createElement( - C.Fragment, - null, - C.createElement("h2", null, "Unexpected Application Error!"), - C.createElement("h3", { style: { fontStyle: "italic" } }, t), - n ? C.createElement("pre", { style: i }, n) : null, - a - ); -} -const Yhe = C.createElement(Khe, null); -class Xhe extends C.Component { - constructor(t) { - super(t), - (this.state = { - location: t.location, - revalidation: t.revalidation, - error: t.error, - }); - } - static getDerivedStateFromError(t) { - return { error: t }; - } - static getDerivedStateFromProps(t, n) { - return n.location !== t.location || - (n.revalidation !== "idle" && t.revalidation === "idle") - ? { error: t.error, location: t.location, revalidation: t.revalidation } - : { - error: t.error || n.error, - location: n.location, - revalidation: t.revalidation || n.revalidation, - }; - } - componentDidCatch(t, n) { - console.error( - "React Router caught the following error during render", - t, - n - ); - } - render() { - return this.state.error - ? C.createElement( - Sl.Provider, - { value: this.props.routeContext }, - C.createElement(YF.Provider, { - value: this.state.error, - children: this.props.component, - }) - ) - : this.props.children; - } -} -function Zhe(e) { - let { routeContext: t, match: n, children: r } = e, - i = C.useContext(um); - return ( - i && - i.static && - i.staticContext && - (n.route.errorElement || n.route.ErrorBoundary) && - (i.staticContext._deepestRenderedBoundaryId = n.route.id), - C.createElement(Sl.Provider, { value: t }, r) - ); -} -function Qhe(e, t, n) { - var r; - if ((t === void 0 && (t = []), n === void 0 && (n = null), e == null)) { - var i; - if ((i = n) != null && i.errors) e = n.matches; - else return null; - } - let a = e, - o = (r = n) == null ? void 0 : r.errors; - if (o != null) { - let s = a.findIndex( - (u) => u.route.id && (o == null ? void 0 : o[u.route.id]) - ); - s >= 0 || $t(!1), (a = a.slice(0, Math.min(a.length, s + 1))); - } - return a.reduceRight((s, u, c) => { - let p = u.route.id ? (o == null ? void 0 : o[u.route.id]) : null, - f = null; - n && (f = u.route.errorElement || Yhe); - let m = t.concat(a.slice(0, c + 1)), - g = () => { - let E; - return ( - p - ? (E = f) - : u.route.Component - ? (E = C.createElement(u.route.Component, null)) - : u.route.element - ? (E = u.route.element) - : (E = s), - C.createElement(Zhe, { - match: u, - routeContext: { outlet: s, matches: m, isDataRoute: n != null }, - children: E, - }) - ); - }; - return n && (u.route.ErrorBoundary || u.route.errorElement || c === 0) - ? C.createElement(Xhe, { - location: n.location, - revalidation: n.revalidation, - component: f, - error: p, - children: g(), - routeContext: { outlet: null, matches: m, isDataRoute: !0 }, - }) - : g(); - }, null); -} -var b9; -(function (e) { - (e.UseBlocker = "useBlocker"), - (e.UseRevalidator = "useRevalidator"), - (e.UseNavigateStable = "useNavigate"); -})(b9 || (b9 = {})); -var bp; -(function (e) { - (e.UseBlocker = "useBlocker"), - (e.UseLoaderData = "useLoaderData"), - (e.UseActionData = "useActionData"), - (e.UseRouteError = "useRouteError"), - (e.UseNavigation = "useNavigation"), - (e.UseRouteLoaderData = "useRouteLoaderData"), - (e.UseMatches = "useMatches"), - (e.UseRevalidator = "useRevalidator"), - (e.UseNavigateStable = "useNavigate"), - (e.UseRouteId = "useRouteId"); -})(bp || (bp = {})); -function Jhe(e) { - let t = C.useContext(um); - return t || $t(!1), t; -} -function ege(e) { - let t = C.useContext(KF); - return t || $t(!1), t; -} -function tge(e) { - let t = C.useContext(Sl); - return t || $t(!1), t; -} -function ZF(e) { - let t = tge(), - n = t.matches[t.matches.length - 1]; - return n.route.id || $t(!1), n.route.id; -} -function QF() { - var e; - let t = C.useContext(YF), - n = ege(bp.UseRouteError), - r = ZF(bp.UseRouteError); - return t || ((e = n.errors) == null ? void 0 : e[r]); -} -function nge() { - let { router: e } = Jhe(b9.UseNavigateStable), - t = ZF(bp.UseNavigateStable), - n = C.useRef(!1); - return ( - XF(() => { - n.current = !0; - }), - C.useCallback( - function (i, a) { - a === void 0 && (a = {}), - n.current && - (typeof i == "number" - ? e.navigate(i) - : e.navigate(i, mp({ fromRouteId: t }, a))); - }, - [e, t] - ) - ); -} -const rge = "startTransition", - GI = v4[rge]; -function ige(e) { - let { fallbackElement: t, router: n, future: r } = e, - [i, a] = C.useState(n.state), - { v7_startTransition: o } = r || {}, - s = C.useCallback( - (f) => { - o && GI ? GI(() => a(f)) : a(f); - }, - [a, o] - ); - C.useLayoutEffect(() => n.subscribe(s), [n, s]); - let u = C.useMemo( - () => ({ - createHref: n.createHref, - encodeLocation: n.encodeLocation, - go: (f) => n.navigate(f), - push: (f, m, g) => - n.navigate(f, { - state: m, - preventScrollReset: g == null ? void 0 : g.preventScrollReset, - }), - replace: (f, m, g) => - n.navigate(f, { - replace: !0, - state: m, - preventScrollReset: g == null ? void 0 : g.preventScrollReset, - }), - }), - [n] - ), - c = n.basename || "/", - p = C.useMemo( - () => ({ router: n, navigator: u, static: !1, basename: c }), - [n, u, c] - ); - return C.createElement( - C.Fragment, - null, - C.createElement( - um.Provider, - { value: p }, - C.createElement( - KF.Provider, - { value: i }, - C.createElement( - sge, - { - basename: c, - location: i.location, - navigationType: i.historyAction, - navigator: u, - }, - i.initialized - ? C.createElement(age, { routes: n.routes, state: i }) - : t - ) - ) - ), - null - ); -} -function age(e) { - let { routes: t, state: n } = e; - return qhe(t, void 0, n); -} -function oge(e) { - return Vhe(e.context); -} -function sge(e) { - let { - basename: t = "/", - children: n = null, - location: r, - navigationType: i = Vn.Pop, - navigator: a, - static: o = !1, - } = e; - pm() && $t(!1); - let s = t.replace(/^\/*/, "/"), - u = C.useMemo(() => ({ basename: s, navigator: a, static: o }), [s, a, o]); - typeof r == "string" && (r = So(r)); - let { - pathname: c = "/", - search: p = "", - hash: f = "", - state: m = null, - key: g = "default", - } = r, - E = C.useMemo(() => { - let b = Qp(c, s); - return b == null - ? null - : { - location: { pathname: b, search: p, hash: f, state: m, key: g }, - navigationType: i, - }; - }, [s, c, p, f, m, g, i]); - return E == null - ? null - : C.createElement( - cm.Provider, - { value: u }, - C.createElement(dm.Provider, { children: n, value: E }) - ); -} -var VI; -(function (e) { - (e[(e.pending = 0)] = "pending"), - (e[(e.success = 1)] = "success"), - (e[(e.error = 2)] = "error"); -})(VI || (VI = {})); -new Promise(() => {}); -function lge(e) { - let t = { - hasErrorBoundary: e.ErrorBoundary != null || e.errorElement != null, - }; - return ( - e.Component && - Object.assign(t, { - element: C.createElement(e.Component), - Component: void 0, - }), - e.ErrorBoundary && - Object.assign(t, { - errorElement: C.createElement(e.ErrorBoundary), - ErrorBoundary: void 0, - }), - t - ); -} -function uge(e, t) { - return Nhe({ - basename: t == null ? void 0 : t.basename, - future: mp({}, t == null ? void 0 : t.future, { v7_prependBasename: !0 }), - history: the({ - initialEntries: t == null ? void 0 : t.initialEntries, - initialIndex: t == null ? void 0 : t.initialIndex, - }), - hydrationData: t == null ? void 0 : t.hydrationData, - routes: e, - mapRouteProperties: lge, - }).initialize(); -} -const cge = He.div` + */function mp(){return mp=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.pathnameBase)),o=C.useRef(!1);return XF(()=>{o.current=!0}),C.useCallback(function(u,c){if(c===void 0&&(c={}),!o.current)return;if(typeof u=="number"){n.go(u);return}let p=$F(u,JSON.parse(a),i,c.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:sl([t,p.pathname])),(c.replace?n.replace:n.push)(p,c.state,c)},[t,n,a,i,e])}const Ghe=C.createContext(null);function Vhe(e){let t=C.useContext(Sl).outlet;return t&&C.createElement(Ghe.Provider,{value:e},t)}function Whe(){let{matches:e}=C.useContext(Sl),t=e[e.length-1];return t?t.params:{}}function qhe(e,t,n){pm()||$t(!1);let{navigator:r}=C.useContext(cm),{matches:i}=C.useContext(Sl),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let u=D7(),c;if(t){var p;let b=typeof t=="string"?So(t):t;s==="/"||(p=b.pathname)!=null&&p.startsWith(s)||$t(!1),c=b}else c=u;let f=c.pathname||"/",m=s==="/"?f:f.slice(s.length)||"/",g=C1(e,{pathname:m}),E=Qhe(g&&g.map(b=>Object.assign({},b,{params:Object.assign({},o,b.params),pathname:sl([s,r.encodeLocation?r.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?s:sl([s,r.encodeLocation?r.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n);return t&&E?C.createElement(dm.Provider,{value:{location:mp({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Vn.Pop}},E):E}function Khe(){let e=QF(),t=HF(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:i},n):null,a)}const Yhe=C.createElement(Khe,null);class Xhe extends C.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?C.createElement(Sl.Provider,{value:this.props.routeContext},C.createElement(YF.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Zhe(e){let{routeContext:t,match:n,children:r}=e,i=C.useContext(um);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(Sl.Provider,{value:t},r)}function Qhe(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let a=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let s=a.findIndex(u=>u.route.id&&(o==null?void 0:o[u.route.id]));s>=0||$t(!1),a=a.slice(0,Math.min(a.length,s+1))}return a.reduceRight((s,u,c)=>{let p=u.route.id?o==null?void 0:o[u.route.id]:null,f=null;n&&(f=u.route.errorElement||Yhe);let m=t.concat(a.slice(0,c+1)),g=()=>{let E;return p?E=f:u.route.Component?E=C.createElement(u.route.Component,null):u.route.element?E=u.route.element:E=s,C.createElement(Zhe,{match:u,routeContext:{outlet:s,matches:m,isDataRoute:n!=null},children:E})};return n&&(u.route.ErrorBoundary||u.route.errorElement||c===0)?C.createElement(Xhe,{location:n.location,revalidation:n.revalidation,component:f,error:p,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var b9;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(b9||(b9={}));var bp;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(bp||(bp={}));function Jhe(e){let t=C.useContext(um);return t||$t(!1),t}function ege(e){let t=C.useContext(KF);return t||$t(!1),t}function tge(e){let t=C.useContext(Sl);return t||$t(!1),t}function ZF(e){let t=tge(),n=t.matches[t.matches.length-1];return n.route.id||$t(!1),n.route.id}function QF(){var e;let t=C.useContext(YF),n=ege(bp.UseRouteError),r=ZF(bp.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function nge(){let{router:e}=Jhe(b9.UseNavigateStable),t=ZF(bp.UseNavigateStable),n=C.useRef(!1);return XF(()=>{n.current=!0}),C.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,mp({fromRouteId:t},a)))},[e,t])}const rge="startTransition",GI=v4[rge];function ige(e){let{fallbackElement:t,router:n,future:r}=e,[i,a]=C.useState(n.state),{v7_startTransition:o}=r||{},s=C.useCallback(f=>{o&&GI?GI(()=>a(f)):a(f)},[a,o]);C.useLayoutEffect(()=>n.subscribe(s),[n,s]);let u=C.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:f=>n.navigate(f),push:(f,m,g)=>n.navigate(f,{state:m,preventScrollReset:g==null?void 0:g.preventScrollReset}),replace:(f,m,g)=>n.navigate(f,{replace:!0,state:m,preventScrollReset:g==null?void 0:g.preventScrollReset})}),[n]),c=n.basename||"/",p=C.useMemo(()=>({router:n,navigator:u,static:!1,basename:c}),[n,u,c]);return C.createElement(C.Fragment,null,C.createElement(um.Provider,{value:p},C.createElement(KF.Provider,{value:i},C.createElement(sge,{basename:c,location:i.location,navigationType:i.historyAction,navigator:u},i.initialized?C.createElement(age,{routes:n.routes,state:i}):t))),null)}function age(e){let{routes:t,state:n}=e;return qhe(t,void 0,n)}function oge(e){return Vhe(e.context)}function sge(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Vn.Pop,navigator:a,static:o=!1}=e;pm()&&$t(!1);let s=t.replace(/^\/*/,"/"),u=C.useMemo(()=>({basename:s,navigator:a,static:o}),[s,a,o]);typeof r=="string"&&(r=So(r));let{pathname:c="/",search:p="",hash:f="",state:m=null,key:g="default"}=r,E=C.useMemo(()=>{let b=Qp(c,s);return b==null?null:{location:{pathname:b,search:p,hash:f,state:m,key:g},navigationType:i}},[s,c,p,f,m,g,i]);return E==null?null:C.createElement(cm.Provider,{value:u},C.createElement(dm.Provider,{children:n,value:E}))}var VI;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(VI||(VI={}));new Promise(()=>{});function lge(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:C.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:C.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function uge(e,t){return Nhe({basename:t==null?void 0:t.basename,future:mp({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:the({initialEntries:t==null?void 0:t.initialEntries,initialIndex:t==null?void 0:t.initialIndex}),hydrationData:t==null?void 0:t.hydrationData,routes:e,mapRouteProperties:lge}).initialize()}const cge=He.div` display: grid; grid-template-columns: 1fr 1fr; grid-gap: 8px; align-items: center; -`; -function dge() { - const e = cs(), - [t, n] = ut.useState(""), - r = C.useContext(Ya), - i = us(); - return I.jsxs("div", { - className: "p-4", - children: [ - I.jsx("h3", { children: "Free Trial Limit Reached" }), - I.jsxs("p", { - children: [ - "You've reached the free trial limit of 250 free inputs with Continue's OpenAI API key. To keep using Continue, you can either use your own API key, or use a local LLM. To read more about the options, see our", - " ", - I.jsx("a", { - href: "https://continue.dev/docs/customization/models", - target: "_blank", - children: "documentation", - }), - ". If you're just looking for fastest way to keep going, type '/config' to open your Continue config file and paste your API key into the OpenAIFreeTrial object.", - ], - }), - I.jsx(ng, { - type: "text", - placeholder: "Enter your OpenAI API key", - value: t, - onChange: (a) => n(a.target.value), - }), - I.jsxs(cge, { - children: [ - I.jsx(op, { - onClick: () => { - i(Q1(!1)), e("/models"); - }, - children: "Select model", - }), - I.jsx(op, { - disabled: !t, - onClick: () => { - r == null || - r.addModelForRole("*", "OpenAI", { - model: "gpt-4", - api_key: t, - title: "GPT-4", - }), - i(Q1(!1)); - }, - children: "Use my API key", - }), - ], - }), - ], - }); -} -const pge = He.div` +`;function dge(){const e=cs(),[t,n]=ut.useState(""),r=C.useContext(Ya),i=us();return I.jsxs("div",{className:"p-4",children:[I.jsx("h3",{children:"Free Trial Limit Reached"}),I.jsxs("p",{children:["You've reached the free trial limit of 250 free inputs with Continue's OpenAI API key. To keep using Continue, you can either use your own API key, or use a local LLM. To read more about the options, see our"," ",I.jsx("a",{href:"https://continue.dev/docs/customization/models",target:"_blank",children:"documentation"}),". If you're just looking for fastest way to keep going, type '/config' to open your Continue config file and paste your API key into the OpenAIFreeTrial object."]}),I.jsx(ng,{type:"text",placeholder:"Enter your OpenAI API key",value:t,onChange:a=>n(a.target.value)}),I.jsxs(cge,{children:[I.jsx(op,{onClick:()=>{i(Q1(!1)),e("/models")},children:"Select model"}),I.jsx(op,{disabled:!t,onClick:()=>{r==null||r.addModelForRole("*","OpenAI",{model:"gpt-4",api_key:t,title:"GPT-4"}),i(Q1(!1))},children:"Use my API key"})]})]})}const pge=He.div` border-radius: ${wt}; - cursor: ${(e) => (e.isDisabled ? "not-allowed" : "pointer")}; + cursor: ${e=>e.isDisabled?"not-allowed":"pointer"}; padding: 8px 8px; background-color: ${Lt}; border: 1px solid transparent; @@ -69637,113 +705,15 @@ const pge = He.div` justify-content: space-between; align-items: center; - color: ${(e) => (e.isDisabled ? vt : Ht)}; + color: ${e=>e.isDisabled?vt:Ht}; &:hover { - border: ${(e) => - e.isDisabled ? "1px solid transparent" : `1px solid ${vt}`}; + border: ${e=>e.isDisabled?"1px solid transparent":`1px solid ${vt}`}; } -`, - fge = He.p` - font-size: ${(e) => e.fontSize}px; +`,fge=He.p` + font-size: ${e=>e.fontSize}px; margin: 0; -`; -function hge(e) { - const [t, n] = C.useState(!1); - return I.jsxs(I.Fragment, { - children: [ - I.jsxs(pge, { - "data-tooltip-id": `suggestion-disabled-${e.textInput.replace( - " ", - "" - )}`, - onClick: e.onClick, - onMouseEnter: () => { - e.disabled || n(!0); - }, - onMouseLeave: () => n(!1), - isDisabled: e.disabled, - children: [ - I.jsx(fge, { fontSize: nr(), children: e.description }), - I.jsx(ZY, { - width: "1.6em", - height: "1.6em", - style: { - opacity: t ? 1 : 0, - backgroundColor: Lt, - boxShadow: `1px 1px 10px ${Lt}`, - borderRadius: wt, - }, - }), - ], - }), - I.jsx(Gs, { - id: `suggestion-disabled-${e.textInput.replace(" ", "")}`, - place: "bottom", - hidden: !e.disabled, - children: "Must highlight code first", - }), - ], - }); -} -const G0 = [ - I.jsx("p", { children: "Ask a question" }), - I.jsxs("p", { - children: [ - "1. Highlight code in the editor", - I.jsx("br", {}), - "2. Press ", - localStorage.getItem("ide") === "jetbrains" ? "cmd+J" : "cmd+M", - " ", - "to select the code", - I.jsx("br", {}), - "3. Ask a question", - ], - }), - I.jsxs("p", { - children: [ - "1. Highlight code in the editor", - I.jsx("br", {}), - "2. Press", - " ", - localStorage.getItem("ide") === "jetbrains" - ? "cmd+shift+J" - : "cmd+shift+M", - " ", - "to select the code", - I.jsx("br", {}), - "3. Request an edit", - ], - }), - ], - wh = [ - [ - { - title: G0[1], - description: "Is there any way to make this code more efficient?", - textInput: "Is there any way to make this code more efficient?", - }, - { - title: G0[1], - description: "What does this function do?", - textInput: "What does this function do?", - }, - ], - [ - { - title: G0[2], - description: "/edit write comments for this code", - textInput: "/edit write comments for this code", - }, - { - title: G0[2], - description: "/edit make this code more efficient", - textInput: "/edit make this code more efficient", - }, - ], - ], - WI = wh.length, - gge = He.div` +`;function hge(e){const[t,n]=C.useState(!1);return I.jsxs(I.Fragment,{children:[I.jsxs(pge,{"data-tooltip-id":`suggestion-disabled-${e.textInput.replace(" ","")}`,onClick:e.onClick,onMouseEnter:()=>{e.disabled||n(!0)},onMouseLeave:()=>n(!1),isDisabled:e.disabled,children:[I.jsx(fge,{fontSize:nr(),children:e.description}),I.jsx(ZY,{width:"1.6em",height:"1.6em",style:{opacity:t?1:0,backgroundColor:Lt,boxShadow:`1px 1px 10px ${Lt}`,borderRadius:wt}})]}),I.jsx(Gs,{id:`suggestion-disabled-${e.textInput.replace(" ","")}`,place:"bottom",hidden:!e.disabled,children:"Must highlight code first"})]})}const G0=[I.jsx("p",{children:"Ask a question"}),I.jsxs("p",{children:["1. Highlight code in the editor",I.jsx("br",{}),"2. Press ",localStorage.getItem("ide")==="jetbrains"?"cmd+J":"cmd+M"," ","to select the code",I.jsx("br",{}),"3. Ask a question"]}),I.jsxs("p",{children:["1. Highlight code in the editor",I.jsx("br",{}),"2. Press"," ",localStorage.getItem("ide")==="jetbrains"?"cmd+shift+J":"cmd+shift+M"," ","to select the code",I.jsx("br",{}),"3. Request an edit"]})],wh=[[{title:G0[1],description:"Is there any way to make this code more efficient?",textInput:"Is there any way to make this code more efficient?"},{title:G0[1],description:"What does this function do?",textInput:"What does this function do?"}],[{title:G0[2],description:"/edit write comments for this code",textInput:"/edit write comments for this code"},{title:G0[2],description:"/edit make this code more efficient",textInput:"/edit make this code more efficient"}]],WI=wh.length,gge=He.div` margin: 4px; margin-left: 8px; margin-right: 8px; @@ -69751,106 +721,7 @@ const G0 = [ background-color: #ff02; border-radius: ${wt}; padding: 8px 4px; -`; -function mge(e) { - var m, g; - const t = R7(), - [n, r] = C.useState(parseInt(localStorage.getItem("stage") || "0")), - i = zt((E) => E.serverState.history.timeline), - a = zt((E) => { - var b; - return (b = E.serverState.session_info) == null ? void 0 : b.session_id; - }), - o = zt((E) => - E.serverState.selected_context_items.some( - (b) => b.description.id.provider_title === "code" - ) - ), - [s, u] = C.useState(!1); - C.useEffect(() => { - u(!1); - }, [a]); - const [c, p] = C.useState(0), - f = C.useCallback( - () => - i.filter((b) => !b.step.hide && b.step.name === "User Input").length - - c <= - 0, - [i, c] - ); - return I.jsx(I.Fragment, { - children: - s || - n > WI - 1 || - !f() || - parseInt(localStorage.getItem("tutorialClosedCount") || "0") > 0 || - I.jsxs(gge, { - children: [ - I.jsxs("div", { - className: "flex", - children: [ - I.jsx(dD, { width: "1.3em", height: "1.3em", color: "yellow" }), - I.jsxs("b", { - className: "ml-1", - children: ["Tutorial (", n + 1, "/", WI, ")"], - }), - ], - }), - I.jsx("div", { - style: { color: Ht, paddingLeft: "4px" }, - children: - n < wh.length && ((m = wh[n][0]) == null ? void 0 : m.title), - }), - I.jsx(vi, { - className: "absolute right-1 top-1 cursor-pointer", - text: "Close Tutorial", - onClick: () => { - u(!0); - const E = parseInt( - localStorage.getItem("tutorialClosedCount") || "0" - ); - localStorage.setItem("tutorialClosedCount", (E + 1).toString()), - t == null || - t.capture("tutorial_closed", { - stage: n, - tutorialClosedCount: E, - }); - }, - children: I.jsx(T2, { width: "1.2em", height: "1.2em" }), - }), - I.jsx("div", { - className: "grid grid-cols-2 gap-2 mt-2", - children: - (g = wh[n]) == null - ? void 0 - : g.map((E, b) => - I.jsx( - hge, - { - disabled: !o, - ...E, - onClick: () => { - o && - (e.onClick(E.textInput), - t == null || - t.capture("tutorial_stage_complete", { - stage: n, - }), - r(n + 1), - localStorage.setItem("stage", (n + 1).toString()), - u(!0), - p((T) => T + 1)); - }, - }, - b - ) - ), - }), - ], - }), - }); -} -const bge = He.div` +`;function mge(e){var m,g;const t=R7(),[n,r]=C.useState(parseInt(localStorage.getItem("stage")||"0")),i=zt(E=>E.serverState.history.timeline),a=zt(E=>{var b;return(b=E.serverState.session_info)==null?void 0:b.session_id}),o=zt(E=>E.serverState.selected_context_items.some(b=>b.description.id.provider_title==="code")),[s,u]=C.useState(!1);C.useEffect(()=>{u(!1)},[a]);const[c,p]=C.useState(0),f=C.useCallback(()=>i.filter(b=>!b.step.hide&&b.step.name==="User Input").length-c<=0,[i,c]);return I.jsx(I.Fragment,{children:s||n>WI-1||!f()||parseInt(localStorage.getItem("tutorialClosedCount")||"0")>0||I.jsxs(gge,{children:[I.jsxs("div",{className:"flex",children:[I.jsx(dD,{width:"1.3em",height:"1.3em",color:"yellow"}),I.jsxs("b",{className:"ml-1",children:["Tutorial (",n+1,"/",WI,")"]})]}),I.jsx("div",{style:{color:Ht,paddingLeft:"4px"},children:n{u(!0);const E=parseInt(localStorage.getItem("tutorialClosedCount")||"0");localStorage.setItem("tutorialClosedCount",(E+1).toString()),t==null||t.capture("tutorial_closed",{stage:n,tutorialClosedCount:E})},children:I.jsx(T2,{width:"1.2em",height:"1.2em"})}),I.jsx("div",{className:"grid grid-cols-2 gap-2 mt-2",children:(g=wh[n])==null?void 0:g.map((E,b)=>I.jsx(hge,{disabled:!o,...E,onClick:()=>{o&&(e.onClick(E.textInput),t==null||t.capture("tutorial_stage_complete",{stage:n}),r(n+1),localStorage.setItem("stage",(n+1).toString()),u(!0),p(T=>T+1))}},b))})]})})}const bge=He.div` overflow-y: scroll; scrollbar-width: none; /* Firefox */ @@ -69859,8 +730,7 @@ const bge = He.div` &::-webkit-scrollbar { display: none; } -`, - Ege = He(ng)` +`,Ege=He(ng)` border: none; outline: none; @@ -69874,8 +744,7 @@ const bge = He.div` &:focus { outline: none; } -`, - vge = He.div` +`,vge=He.div` position: relative; background-color: transparent; @@ -69892,15 +761,13 @@ const bge = He.div` z-index: 0; bottom: 12px; } -`, - yge = He.div` +`,yge=He.div` border-radius: ${wt}; color: gray; padding: 8px; margin: 8px; text-align: center; -`, - _ge = He.div` +`,_ge=He.div` display: flex; justify-content: space-between; align-items: center; @@ -69912,552 +779,7 @@ const bge = He.div` top: 0; z-index: 100; background-color: ${Kt}; -`; -function qI(e) { - var de, fe; - const t = C.useContext(Ya), - n = R7(), - r = us(), - i = cs(), - a = zt((Z) => Z.serverState.history), - o = zt((Z) => { - var V; - return (V = Z.serverState.config.models) == null ? void 0 : V.default; - }), - s = zt((Z) => Z.misc.serverStatusMessage), - u = zt((Z) => Z.serverState.user_input_queue), - c = zt((Z) => { - var V; - return (V = Z.serverState.session_info) == null ? void 0 : V.title; - }), - [p, f] = C.useState(!1), - [m, g] = C.useState([]), - [E, b] = C.useState(!0), - [T, v] = C.useState(!0), - y = C.useRef(null), - w = C.useRef(null), - A = C.useRef(null), - D = zt((Z) => Z.uiState.bottomMessage), - k = zt((Z) => Z.misc.takenAction); - C.useEffect(() => { - A.current && - r(hpe(A.current.getBoundingClientRect().top < window.innerHeight / 2)); - }, [D, A.current]); - const [R, B] = C.useState(!1); - C.useEffect(() => { - var V; - const Z = () => { - var O, re; - const N = ((O = w.current) == null ? void 0 : O.scrollTop) || 0, - me = ((re = w.current) == null ? void 0 : re.scrollHeight) || 0, - oe = window.innerHeight || 0; - N + oe + -25 >= me ? B(!1) : B(!0); - }; - return ( - (V = w.current) == null || V.addEventListener("scroll", Z), - () => { - window.removeEventListener("scroll", Z); - } - ); - }, [w.current]), - C.useLayoutEffect(() => { - var Z, V; - R || - (V = w.current) == null || - V.scrollTo({ - top: (Z = w.current) == null ? void 0 : Z.scrollHeight, - behavior: "instant", - }); - }, [(de = w.current) == null ? void 0 : de.scrollHeight, a.timeline]), - C.useEffect(() => { - const Z = (V) => { - var ce; - V.key === "Backspace" && - tg(V) && - !V.shiftKey && - typeof (a == null ? void 0 : a.current_index) < "u" && - (ce = a.timeline[a.current_index]) != null && - ce.active - ? t == null || t.deleteAtIndex(a.current_index) - : V.key === "Escape" && r(au(void 0)); - }; - return ( - window.addEventListener("keydown", Z), - () => { - window.removeEventListener("keydown", Z); - } - ); - }, [t, a]), - C.useEffect(() => { - t == null || - t.onStateUpdate((Z) => { - var ce; - const V = - Z.active && - Z.history.current_index < Z.history.timeline.length && - Z.history.timeline[Z.history.current_index] && - ((ce = - Z.history.timeline[Z.history.current_index].step.description) == - null - ? void 0 - : ce.trim()) === ""; - r(Jpe(Z)), - f(V), - g((N) => { - const me = [...N]; - for (let oe = me.length; oe < Z.history.timeline.length; oe++) - me.push(void 0); - return me; - }); - }); - }, [t]), - C.useEffect(() => { - if (t && E) { - b(!1); - for (const Z of u) t.sendMainInput(Z); - } - }, [t, u, E]); - const W = (Z) => { - var V, ce; - if ((r(pd(null)), y.current)) { - let N = y.current.inputValue; - if (N.trim() === "") return; - if (N.startsWith("#") && (N.length === 7 || N.length === 4)) { - localStorage.setItem("continueButtonColor", N), - y.current.setInputValue(""); - return; - } - if ( - (Z && tg(Z) && (N = `/edit ${N}`), y.current.setInputValue(""), !t) - ) { - r(efe(N)); - return; - } - if ( - (o == null ? void 0 : o.class_name) === "OpenAIFreeTrial" && - (o == null ? void 0 : o.api_key) === "" && - (!N.startsWith("/") || N.startsWith("/edit")) - ) { - const oe = localStorage.getItem("ftc"); - if (oe) { - const O = parseInt(oe); - if ((localStorage.setItem("ftc", (O + 1).toString()), O >= 250)) { - r(Q1(!0)), - r(X3(I.jsx(dge, {}))), - n == null || n.capture("ftc_reached"); - return; - } - } else localStorage.setItem("ftc", "1"); - } - if ( - (f(!0), - a && a.current_index >= 0 && a.current_index < a.timeline.length) - ) { - if ( - ((V = a.timeline[a.current_index]) == null - ? void 0 - : V.step.name) === "Waiting for user input" - ) { - if (N.trim() === "") return; - P(N, a.current_index); - return; - } else if ( - ((ce = a.timeline[a.current_index]) == null - ? void 0 - : ce.step.name) === "Waiting for user confirmation" - ) { - P("ok", a.current_index); - return; - } - } - t.sendMainInput(N), r(tfe(N)); - const me = localStorage.getItem("mainTextEntryCounter"); - if (me) { - let oe = parseInt(me); - localStorage.setItem("mainTextEntryCounter", (oe + 1).toString()), - oe === 300 && - (r( - X3( - I.jsxs("div", { - className: "text-center p-4", - children: [ - "👋 Thanks for using Continue. We are a beta product and love working closely with our first users. If you're interested in speaking, enter your name and email. We won't use this information for anything other than reaching out.", - I.jsx("br", {}), - I.jsx("br", {}), - I.jsxs("form", { - onSubmit: (O) => { - O.preventDefault(), - n == null || - n.capture("user_interest_form", { - name: O.target.elements[0].value, - email: O.target.elements[1].value, - }), - r( - X3( - I.jsx("div", { - className: "text-center p-4", - children: "Thanks! We'll be in touch soon.", - }) - ) - ); - }, - style: { - display: "flex", - flexDirection: "column", - gap: "10px", - }, - children: [ - I.jsx("input", { - style: { padding: "10px", borderRadius: "5px" }, - type: "text", - name: "name", - placeholder: "Name", - required: !0, - }), - I.jsx("input", { - style: { padding: "10px", borderRadius: "5px" }, - type: "email", - name: "email", - placeholder: "Email", - required: !0, - }), - I.jsx("button", { - style: { - padding: "10px", - borderRadius: "5px", - cursor: "pointer", - }, - type: "submit", - children: "Submit", - }), - ], - }), - ], - }) - ) - ), - r(fpe(!1)), - r(Q1(!0))); - } else localStorage.setItem("mainTextEntryCounter", "1"); - } - }, - P = (Z, V) => { - t && t.sendStepUserInput(Z, V); - }, - Q = C.useCallback( - (Z) => { - const V = []; - let ce = -1; - for (let N = Z; N >= 0; N--) - if ( - (a == null ? void 0 : a.timeline.length) > N && - a.timeline[N].step.name === "User Input" && - a.timeline[N].step.hide === !1 - ) { - V.push(N), (ce = N); - break; - } - if (V.length === 0) return []; - for ( - let N = ce + 1; - N < (a == null ? void 0 : a.timeline.length) && - !( - (a == null ? void 0 : a.timeline.length) > N && - a.timeline[N].step.name === "User Input" && - a.timeline[N].step.hide === !1 - ); - N++ - ) - V.push(N); - return V; - }, - [a.timeline] - ), - z = C.useCallback( - (Z) => { - const V = Q(Z), - ce = V[0]; - g((N) => { - const me = [...N]; - return ( - (me[Z] = !me[Z]), - !V.some((O, re) => re > 0 && me[O]) - ? (me[ce] = !1) - : !V.some((re, Te) => Te > 0 && !me[re]) && (me[ce] = !0), - me - ); - }); - }, - [Q] - ); - C.useEffect(() => { - c && he(c); - }, [c]); - const [le, he] = C.useState(c || "New Session"); - return I.jsxs(bge, { - ref: w, - onKeyDown: (Z) => { - Z.key === "Enter" && Z.ctrlKey && W(); - }, - children: [ - I.jsxs(_ge, { - children: [ - I.jsx(Ege, { - onClick: (Z) => { - Z.target.setSelectionRange(0, Z.target.value.length); - }, - value: le, - onChange: (Z) => he(Z.target.value), - onBlur: (Z) => { - Z.target.value === c || - (typeof c > "u" && Z.target.value === "New Session") || - t == null || - t.setCurrentSessionTitle(Z.target.value); - }, - onKeyDown: (Z) => { - Z.key === "Enter" - ? (Z.preventDefault(), Z.target.blur()) - : Z.key === "Escape" && - (he(c || "New Session"), Z.target.blur()); - }, - }), - I.jsxs("div", { - className: "flex gap-2", - children: [ - a.timeline.filter((Z) => !Z.step.hide).length > 0 && - I.jsx(vi, { - onClick: () => { - a.timeline.filter((Z) => !Z.step.hide).length > 0 && - (r(sm(!1)), t == null || t.loadSession(void 0)); - }, - text: "New Session (⌥⌘N)", - children: I.jsx(cD, { width: "1.4em", height: "1.4em" }), - }), - I.jsx(vi, { - onClick: () => { - i("/history"); - }, - text: "History", - children: I.jsx(UY, { width: "1.4em", height: "1.4em" }), - }), - ], - }), - ], - }), - (k || T) && - typeof t > "u" && - I.jsxs(I.Fragment, { - children: [ - I.jsx(Y0e, {}), - I.jsx("p", { - style: { textAlign: "center", margin: "0px", fontSize: "14px" }, - children: s, - }), - I.jsxs("div", { - className: "flex mx-8 my-2", - children: [ - I.jsx("p", { - style: { - margin: "auto", - textAlign: "center", - marginTop: "4px", - fontSize: "12px", - cursor: "pointer", - opacity: 0.7, - }, - children: I.jsx("u", { - children: I.jsx("a", { - style: { color: "inherit" }, - href: "https://continue.dev/docs/troubleshooting", - target: "_blank", - children: "Troubleshooting help", - }), - }), - }), - I.jsx("p", { - style: { - margin: "auto", - textAlign: "center", - marginTop: "4px", - fontSize: "12px", - cursor: "pointer", - opacity: 0.7, - }, - onClick: () => { - rl("toggleDevTools", {}); - }, - children: I.jsx("u", { children: "View logs" }), - }), - I.jsx("p", { - style: { - margin: "auto", - textAlign: "center", - marginTop: "4px", - fontSize: "12px", - cursor: "pointer", - opacity: 0.7, - }, - children: I.jsx("u", { - children: I.jsx("a", { - style: { color: "inherit" }, - href: "https://continue.dev/docs/walkthroughs/manually-run-continue#recommended-use-the-continuedev-pypi-package", - target: "_blank", - children: "Manually start server", - }), - }), - }), - ], - }), - ], - }), - I.jsx("br", {}), - I.jsx(mge, { - onClick: (Z) => { - t == null || t.sendMainInput(Z); - }, - }), - I.jsx(vge, { - children: - a == null - ? void 0 - : a.timeline.map((Z, V) => { - var ce, N, me; - return Z.step.hide - ? null - : I.jsx( - C.Fragment, - { - children: - Z.step.name === "User Input" - ? Z.step.hide || - I.jsx(Zk, { - isMainInput: !1, - value: Z.step.description, - active: - Q(V).some((oe) => a.timeline[oe].active) || - a.timeline[V].active, - onEnter: (oe, O) => { - O && (t == null || t.editStepAtIndex(O, V)), - oe == null || oe.stopPropagation(), - oe == null || oe.preventDefault(); - }, - groupIndices: Q(V), - onToggle: (oe) => { - g((O) => { - const re = [...O]; - return ( - Q(V).forEach((Te) => { - re[Te] = oe; - }), - re - ); - }); - }, - onToggleAll: (oe) => { - g((O) => O.map((re) => oe)); - }, - isToggleOpen: typeof m[V] > "u" ? !0 : m[V], - index: V, - onDelete: () => { - Q(V).forEach((oe) => { - t == null || t.deleteAtIndex(oe); - }); - }, - }) - : I.jsx(Q0e, { - historyNode: Z, - iconElement: - Z.step.class_name === - "DefaultModelEditCodeStep" - ? I.jsx(NY, { - width: "16px", - height: "16px", - }) - : (ce = Z.observation) != null && ce.error - ? I.jsx(lD, { - width: "16px", - height: "16px", - color: "red", - }) - : I.jsx(sD, { - width: "16px", - height: "16px", - }), - open: - typeof m[V] > "u" - ? !((N = Z.observation) != null && N.error) - : m[V], - onToggle: () => z(V), - children: - (me = Z.observation) != null && me.error - ? I.jsx(ehe, { - onClose: () => z(V), - historyNode: Z, - onDelete: () => - t == null - ? void 0 - : t.deleteAtIndex(V), - }) - : I.jsx( - Kse, - { - index: V, - isLast: V === a.timeline.length - 1, - isFirst: V === 0, - open: typeof m[V] > "u" ? !0 : m[V], - onUserInput: (oe) => { - P(oe, V); - }, - inFuture: - V > - (a == null - ? void 0 - : a.current_index), - historyNode: Z, - onReverse: () => { - t == null || t.reverseToIndex(V); - }, - onRetry: () => { - t == null || t.retryAtIndex(V), - f(!0); - }, - onDelete: () => { - t == null || t.deleteAtIndex(V); - }, - noUserInputParent: Q(V).length === 0, - }, - V - ), - }), - }, - V - ); - }), - }), - I.jsx("div", { - children: - (fe = u == null ? void 0 : u.map) == null - ? void 0 - : fe.call(u, (Z, V) => I.jsx(yge, { children: Z }, V)), - }), - I.jsx("div", { ref: A }), - I.jsx(Zk, { - isMainInput: !0, - ref: y, - onEnter: (Z, V) => { - W(Z), - Z == null || Z.stopPropagation(), - Z == null || Z.preventDefault(); - }, - onInputValueChange: () => {}, - onToggleAddContext: () => { - t == null || t.toggleAddingHighlightedCode(); - }, - }), - ], - }); -} -const Tge = He.div` +`;function qI(e){var de,fe;const t=C.useContext(Ya),n=R7(),r=us(),i=cs(),a=zt(Z=>Z.serverState.history),o=zt(Z=>{var V;return(V=Z.serverState.config.models)==null?void 0:V.default}),s=zt(Z=>Z.misc.serverStatusMessage),u=zt(Z=>Z.serverState.user_input_queue),c=zt(Z=>{var V;return(V=Z.serverState.session_info)==null?void 0:V.title}),[p,f]=C.useState(!1),[m,g]=C.useState([]),[E,b]=C.useState(!0),[T,v]=C.useState(!0),y=C.useRef(null),w=C.useRef(null),A=C.useRef(null),D=zt(Z=>Z.uiState.bottomMessage),k=zt(Z=>Z.misc.takenAction);C.useEffect(()=>{A.current&&r(hpe(A.current.getBoundingClientRect().top{var V;const Z=()=>{var O,re;const N=((O=w.current)==null?void 0:O.scrollTop)||0,me=((re=w.current)==null?void 0:re.scrollHeight)||0,oe=window.innerHeight||0;N+oe+-25>=me?B(!1):B(!0)};return(V=w.current)==null||V.addEventListener("scroll",Z),()=>{window.removeEventListener("scroll",Z)}},[w.current]),C.useLayoutEffect(()=>{var Z,V;R||(V=w.current)==null||V.scrollTo({top:(Z=w.current)==null?void 0:Z.scrollHeight,behavior:"instant"})},[(de=w.current)==null?void 0:de.scrollHeight,a.timeline]),C.useEffect(()=>{const Z=V=>{var ce;V.key==="Backspace"&&tg(V)&&!V.shiftKey&&typeof(a==null?void 0:a.current_index)<"u"&&((ce=a.timeline[a.current_index])!=null&&ce.active)?t==null||t.deleteAtIndex(a.current_index):V.key==="Escape"&&r(au(void 0))};return window.addEventListener("keydown",Z),()=>{window.removeEventListener("keydown",Z)}},[t,a]),C.useEffect(()=>{t==null||t.onStateUpdate(Z=>{var ce;const V=Z.active&&Z.history.current_index{const me=[...N];for(let oe=me.length;oe{if(t&&E){b(!1);for(const Z of u)t.sendMainInput(Z)}},[t,u,E]);const W=Z=>{var V,ce;if(r(pd(null)),y.current){let N=y.current.inputValue;if(N.trim()==="")return;if(N.startsWith("#")&&(N.length===7||N.length===4)){localStorage.setItem("continueButtonColor",N),y.current.setInputValue("");return}if(Z&&tg(Z)&&(N=`/edit ${N}`),y.current.setInputValue(""),!t){r(efe(N));return}if((o==null?void 0:o.class_name)==="OpenAIFreeTrial"&&(o==null?void 0:o.api_key)===""&&(!N.startsWith("/")||N.startsWith("/edit"))){const oe=localStorage.getItem("ftc");if(oe){const O=parseInt(oe);if(localStorage.setItem("ftc",(O+1).toString()),O>=250){r(Q1(!0)),r(X3(I.jsx(dge,{}))),n==null||n.capture("ftc_reached");return}}else localStorage.setItem("ftc","1")}if(f(!0),a&&a.current_index>=0&&a.current_index{O.preventDefault(),n==null||n.capture("user_interest_form",{name:O.target.elements[0].value,email:O.target.elements[1].value}),r(X3(I.jsx("div",{className:"text-center p-4",children:"Thanks! We'll be in touch soon."})))},style:{display:"flex",flexDirection:"column",gap:"10px"},children:[I.jsx("input",{style:{padding:"10px",borderRadius:"5px"},type:"text",name:"name",placeholder:"Name",required:!0}),I.jsx("input",{style:{padding:"10px",borderRadius:"5px"},type:"email",name:"email",placeholder:"Email",required:!0}),I.jsx("button",{style:{padding:"10px",borderRadius:"5px",cursor:"pointer"},type:"submit",children:"Submit"})]})]}))),r(fpe(!1)),r(Q1(!0)))}else localStorage.setItem("mainTextEntryCounter","1")}},P=(Z,V)=>{t&&t.sendStepUserInput(Z,V)},Q=C.useCallback(Z=>{const V=[];let ce=-1;for(let N=Z;N>=0;N--)if((a==null?void 0:a.timeline.length)>N&&a.timeline[N].step.name==="User Input"&&a.timeline[N].step.hide===!1){V.push(N),ce=N;break}if(V.length===0)return[];for(let N=ce+1;N<(a==null?void 0:a.timeline.length)&&!((a==null?void 0:a.timeline.length)>N&&a.timeline[N].step.name==="User Input"&&a.timeline[N].step.hide===!1);N++)V.push(N);return V},[a.timeline]),z=C.useCallback(Z=>{const V=Q(Z),ce=V[0];g(N=>{const me=[...N];return me[Z]=!me[Z],!V.some((O,re)=>re>0&&me[O])?me[ce]=!1:!V.some((re,Te)=>Te>0&&!me[re])&&(me[ce]=!0),me})},[Q]);C.useEffect(()=>{c&&he(c)},[c]);const[le,he]=C.useState(c||"New Session");return I.jsxs(bge,{ref:w,onKeyDown:Z=>{Z.key==="Enter"&&Z.ctrlKey&&W()},children:[I.jsxs(_ge,{children:[I.jsx(Ege,{onClick:Z=>{Z.target.setSelectionRange(0,Z.target.value.length)},value:le,onChange:Z=>he(Z.target.value),onBlur:Z=>{Z.target.value===c||typeof c>"u"&&Z.target.value==="New Session"||t==null||t.setCurrentSessionTitle(Z.target.value)},onKeyDown:Z=>{Z.key==="Enter"?(Z.preventDefault(),Z.target.blur()):Z.key==="Escape"&&(he(c||"New Session"),Z.target.blur())}}),I.jsxs("div",{className:"flex gap-2",children:[a.timeline.filter(Z=>!Z.step.hide).length>0&&I.jsx(vi,{onClick:()=>{a.timeline.filter(Z=>!Z.step.hide).length>0&&(r(sm(!1)),t==null||t.loadSession(void 0))},text:"New Session (⌥⌘N)",children:I.jsx(cD,{width:"1.4em",height:"1.4em"})}),I.jsx(vi,{onClick:()=>{i("/history")},text:"History",children:I.jsx(UY,{width:"1.4em",height:"1.4em"})})]})]}),(k||T)&&typeof t>"u"&&I.jsxs(I.Fragment,{children:[I.jsx(Y0e,{}),I.jsx("p",{style:{textAlign:"center",margin:"0px",fontSize:"14px"},children:s}),I.jsxs("div",{className:"flex mx-8 my-2",children:[I.jsx("p",{style:{margin:"auto",textAlign:"center",marginTop:"4px",fontSize:"12px",cursor:"pointer",opacity:.7},children:I.jsx("u",{children:I.jsx("a",{style:{color:"inherit"},href:"https://continue.dev/docs/troubleshooting",target:"_blank",children:"Troubleshooting help"})})}),I.jsx("p",{style:{margin:"auto",textAlign:"center",marginTop:"4px",fontSize:"12px",cursor:"pointer",opacity:.7},onClick:()=>{rl("toggleDevTools",{})},children:I.jsx("u",{children:"View logs"})}),I.jsx("p",{style:{margin:"auto",textAlign:"center",marginTop:"4px",fontSize:"12px",cursor:"pointer",opacity:.7},children:I.jsx("u",{children:I.jsx("a",{style:{color:"inherit"},href:"https://continue.dev/docs/walkthroughs/manually-run-continue#recommended-use-the-continuedev-pypi-package",target:"_blank",children:"Manually start server"})})})]})]}),I.jsx("br",{}),I.jsx(mge,{onClick:Z=>{t==null||t.sendMainInput(Z)}}),I.jsx(vge,{children:a==null?void 0:a.timeline.map((Z,V)=>{var ce,N,me;return Z.step.hide?null:I.jsx(C.Fragment,{children:Z.step.name==="User Input"?Z.step.hide||I.jsx(Zk,{isMainInput:!1,value:Z.step.description,active:Q(V).some(oe=>a.timeline[oe].active)||a.timeline[V].active,onEnter:(oe,O)=>{O&&(t==null||t.editStepAtIndex(O,V)),oe==null||oe.stopPropagation(),oe==null||oe.preventDefault()},groupIndices:Q(V),onToggle:oe=>{g(O=>{const re=[...O];return Q(V).forEach(Te=>{re[Te]=oe}),re})},onToggleAll:oe=>{g(O=>O.map(re=>oe))},isToggleOpen:typeof m[V]>"u"?!0:m[V],index:V,onDelete:()=>{Q(V).forEach(oe=>{t==null||t.deleteAtIndex(oe)})}}):I.jsx(Q0e,{historyNode:Z,iconElement:Z.step.class_name==="DefaultModelEditCodeStep"?I.jsx(NY,{width:"16px",height:"16px"}):(ce=Z.observation)!=null&&ce.error?I.jsx(lD,{width:"16px",height:"16px",color:"red"}):I.jsx(sD,{width:"16px",height:"16px"}),open:typeof m[V]>"u"?!((N=Z.observation)!=null&&N.error):m[V],onToggle:()=>z(V),children:(me=Z.observation)!=null&&me.error?I.jsx(ehe,{onClose:()=>z(V),historyNode:Z,onDelete:()=>t==null?void 0:t.deleteAtIndex(V)}):I.jsx(Kse,{index:V,isLast:V===a.timeline.length-1,isFirst:V===0,open:typeof m[V]>"u"?!0:m[V],onUserInput:oe=>{P(oe,V)},inFuture:V>(a==null?void 0:a.current_index),historyNode:Z,onReverse:()=>{t==null||t.reverseToIndex(V)},onRetry:()=>{t==null||t.retryAtIndex(V),f(!0)},onDelete:()=>{t==null||t.deleteAtIndex(V)},noUserInputParent:Q(V).length===0},V)})},V)})}),I.jsx("div",{children:(fe=u==null?void 0:u.map)==null?void 0:fe.call(u,(Z,V)=>I.jsx(yge,{children:Z},V))}),I.jsx("div",{ref:A}),I.jsx(Zk,{isMainInput:!0,ref:y,onEnter:(Z,V)=>{W(Z),Z==null||Z.stopPropagation(),Z==null||Z.preventDefault()},onInputValueChange:()=>{},onToggleAddContext:()=>{t==null||t.toggleAddingHighlightedCode()}})]})}const Tge=He.div` display: flex; flex-direction: row; align-items: center; @@ -70481,16 +803,7 @@ const Tge = He.div` overflow: hidden; text-overflow: ellipsis; -`; -function Sge(e) { - const { title: t, checked: n, onClick: r } = e; - return I.jsxs(Tge, { - onClick: r, - checked: n, - children: [n && I.jsx(vY, { width: "1.4em", height: "1.4em" }), t], - }); -} -const wge = He.tr` +`;function Sge(e){const{title:t,checked:n,onClick:r}=e;return I.jsxs(Tge,{onClick:r,checked:n,children:[n&&I.jsx(vY,{width:"1.4em",height:"1.4em"}),t]})}const wge=He.tr` &:hover { background-color: ${Lt}; } @@ -70499,12 +812,7 @@ const wge = He.tr` border-bottom: 1px solid ${Lt}; border-top: 1px solid ${Lt}; -`, - V0 = (e) => { - let t = new Date(e); - return isNaN(t.getTime()) && (t = new Date(parseInt(e) * 1e3)), t; - }, - s4 = He.tr` +`,V0=e=>{let t=new Date(e);return isNaN(t.getTime())&&(t=new Date(parseInt(e)*1e3)),t},s4=He.tr` padding: 4px; padding-left: 16px; padding-right: 16px; @@ -70513,175 +821,13 @@ const wge = He.tr` font-weight: bold; text-align: center; margin: 0; -`, - Age = He.div` +`,Age=He.div` cursor: pointer; padding-left: 1rem; padding-right: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; -`; -function KI(e) { - const t = e.includes("/") ? "/" : "\\"; - return e.split(t).pop() || e; -} -function Cge() { - const e = cs(), - t = us(), - [n, r] = C.useState([]), - [i, a] = C.useState([]), - o = C.useContext(Ya), - s = zt((b) => b.config.apiUrl), - u = zt((b) => b.config.workspacePaths), - [c, p] = C.useState(!1); - C.useEffect(() => { - (async () => { - if (!s) return; - const T = await fetch(`${s}/sessions/list`); - if (!T.ok) throw new Error(`HTTP error! status: ${T.status}`); - const v = await T.json(); - r(v); - })(); - }, [o]), - C.useEffect(() => { - a( - n - .filter((b) => - !c || typeof u > "u" || typeof b.workspace_directory > "u" - ? !0 - : u.includes(b.workspace_directory) - ) - .sort( - (b, T) => - V0(T.date_created).getTime() - V0(b.date_created).getTime() - ) - ); - }, [c, n]); - const f = new Date(Date.now() - 1e3 * 60 * 60 * 24), - m = new Date(Date.now() - 1e3 * 60 * 60 * 24 * 7), - g = new Date(Date.now() - 1e3 * 60 * 60 * 24 * 30), - E = new Date(0); - return I.jsxs("div", { - className: "overflow-y-scroll", - style: { fontSize: nr() }, - children: [ - I.jsxs("div", { - className: "sticky top-0", - style: { backgroundColor: Kt }, - children: [ - I.jsxs("div", { - className: "items-center flex m-0 p-0", - style: { borderBottom: `0.5px solid ${vt}` }, - children: [ - I.jsx(ac, { - width: "1.2em", - height: "1.2em", - onClick: () => e("/"), - className: "inline-block ml-4 cursor-pointer", - }), - I.jsx("h3", { - className: "text-lg font-bold m-2 inline-block", - children: "History", - }), - ], - }), - u && - u.length > 0 && - I.jsx(Sge, { - checked: c, - onClick: () => p((b) => !b), - title: `Show only sessions from ${KI(u[u.length - 1])}/`, - }), - ], - }), - n.filter((b) => - !c || typeof u > "u" || typeof b.workspace_directory > "u" - ? !0 - : u.includes(b.workspace_directory) - ).length === 0 && - I.jsxs("div", { - className: "text-center m-4", - children: [ - 'No past sessions found. To start a new session, either click the "+" button or use the keyboard shortcut: ', - I.jsx("b", { children: "Option + Command + N" }), - ], - }), - I.jsxs("div", { - children: [ - I.jsx("table", { - className: "w-full border-spacing-0 border-collapse", - children: I.jsx("tbody", { - children: i.map((b, T) => { - const v = T > 0 ? V0(i[T - 1].date_created) : E, - y = V0(b.date_created); - return I.jsxs( - C.Fragment, - { - children: [ - T === 0 && y > f && I.jsx(s4, { children: "Today" }), - y < f && - y > m && - v > f && - I.jsx(s4, { children: "This Week" }), - y < m && - y > g && - v > m && - I.jsx(s4, { children: "This Month" }), - I.jsx( - wge, - { - children: I.jsx("td", { - children: I.jsxs(Age, { - onClick: () => { - o == null || o.loadSession(b.session_id), - t(sm(!0)), - e("/"); - }, - children: [ - I.jsx("div", { - className: "text-md", - children: b.title, - }), - I.jsxs("div", { - className: "text-gray-400", - children: [ - y.toLocaleString("en-US", { - year: "2-digit", - month: "2-digit", - day: "2-digit", - hour: "numeric", - minute: "2-digit", - hour12: !0, - }), - " | ", - KI(b.workspace_directory || ""), - "/", - ], - }), - ], - }), - }), - }, - T - ), - ], - }, - T - ); - }), - }), - }), - I.jsx("br", {}), - I.jsx("i", { - className: "text-sm ml-4", - children: "All session data is saved in ~/.continue/sessions", - }), - ], - }), - ], - }); -} -const xge = He.div` +`;function KI(e){const t=e.includes("/")?"/":"\\";return e.split(t).pop()||e}function Cge(){const e=cs(),t=us(),[n,r]=C.useState([]),[i,a]=C.useState([]),o=C.useContext(Ya),s=zt(b=>b.config.apiUrl),u=zt(b=>b.config.workspacePaths),[c,p]=C.useState(!1);C.useEffect(()=>{(async()=>{if(!s)return;const T=await fetch(`${s}/sessions/list`);if(!T.ok)throw new Error(`HTTP error! status: ${T.status}`);const v=await T.json();r(v)})()},[o]),C.useEffect(()=>{a(n.filter(b=>!c||typeof u>"u"||typeof b.workspace_directory>"u"?!0:u.includes(b.workspace_directory)).sort((b,T)=>V0(T.date_created).getTime()-V0(b.date_created).getTime()))},[c,n]);const f=new Date(Date.now()-1e3*60*60*24),m=new Date(Date.now()-1e3*60*60*24*7),g=new Date(Date.now()-1e3*60*60*24*30),E=new Date(0);return I.jsxs("div",{className:"overflow-y-scroll",style:{fontSize:nr()},children:[I.jsxs("div",{className:"sticky top-0",style:{backgroundColor:Kt},children:[I.jsxs("div",{className:"items-center flex m-0 p-0",style:{borderBottom:`0.5px solid ${vt}`},children:[I.jsx(ac,{width:"1.2em",height:"1.2em",onClick:()=>e("/"),className:"inline-block ml-4 cursor-pointer"}),I.jsx("h3",{className:"text-lg font-bold m-2 inline-block",children:"History"})]}),u&&u.length>0&&I.jsx(Sge,{checked:c,onClick:()=>p(b=>!b),title:`Show only sessions from ${KI(u[u.length-1])}/`})]}),n.filter(b=>!c||typeof u>"u"||typeof b.workspace_directory>"u"?!0:u.includes(b.workspace_directory)).length===0&&I.jsxs("div",{className:"text-center m-4",children:['No past sessions found. To start a new session, either click the "+" button or use the keyboard shortcut: ',I.jsx("b",{children:"Option + Command + N"})]}),I.jsxs("div",{children:[I.jsx("table",{className:"w-full border-spacing-0 border-collapse",children:I.jsx("tbody",{children:i.map((b,T)=>{const v=T>0?V0(i[T-1].date_created):E,y=V0(b.date_created);return I.jsxs(C.Fragment,{children:[T===0&&y>f&&I.jsx(s4,{children:"Today"}),ym&&v>f&&I.jsx(s4,{children:"This Week"}),yg&&v>m&&I.jsx(s4,{children:"This Month"}),I.jsx(wge,{children:I.jsx("td",{children:I.jsxs(Age,{onClick:()=>{o==null||o.loadSession(b.session_id),t(sm(!0)),e("/")},children:[I.jsx("div",{className:"text-md",children:b.title}),I.jsxs("div",{className:"text-gray-400",children:[y.toLocaleString("en-US",{year:"2-digit",month:"2-digit",day:"2-digit",hour:"numeric",minute:"2-digit",hour12:!0})," | ",KI(b.workspace_directory||""),"/"]})]})})},T)]},T)})})}),I.jsx("br",{}),I.jsx("i",{className:"text-sm ml-4",children:"All session data is saved in ~/.continue/sessions"})]})]})}const xge=He.div` display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-gap: 2rem; @@ -70690,8 +836,7 @@ const xge = He.div` align-items: center; border-top: 0.5px solid ${vt}; -`, - kge = He.div` +`,kge=He.div` border: 0.5px solid ${vt}; border-radius: ${wt}; padding: 4px; @@ -70703,63 +848,7 @@ const xge = He.div` display: flex; justify-content: center; align-items: center; -`; -function Ige(e) { - const t = _2() === "windows" ? e.windows : e.mac; - return I.jsxs("div", { - className: "flex justify-between w-full items-center", - children: [ - I.jsx("span", { style: { color: Ht }, children: e.description }), - I.jsx("div", { - className: "flex gap-2 float-right", - children: t.split(" ").map((n) => I.jsx(kge, { children: n })), - }), - ], - }); -} -const Rge = [ - { mac: "⌘ M", windows: "⌃ M", description: "Ask about Highlighted Code" }, - { mac: "⌘ ⇧ M", windows: "⌃ ⇧ M", description: "Edit Highlighted Code" }, - { mac: "⌘ ⇧ ↵", windows: "⌃ ⇧ ↵", description: "Accept Diff" }, - { mac: "⌘ ⇧ ⌫", windows: "⌃ ⇧ ⌫", description: "Reject Diff" }, - { mac: "⌘ ⇧ L", windows: "⌃ ⇧ L", description: "Quick Text Entry" }, - { mac: "⌥ ⌘ M", windows: "⌥ ⌃ M", description: "Toggle Auxiliary Bar" }, - { mac: "⌘ ⇧ R", windows: "⌃ ⇧ R", description: "Debug Terminal" }, - { mac: "⌥ ⌘ N", windows: "⌥ ⌃ N", description: "New Session" }, - { mac: "⌘ ⌫", windows: "⌃ ⌫", description: "Stop Active Step" }, - ], - Nge = [ - { mac: "⌘ J", windows: "⌃ J", description: "Ask about Highlighted Code" }, - { mac: "⌘ ⇧ J", windows: "⌃ ⇧ J", description: "Edit Highlighted Code" }, - { mac: "⌘ ⇧ ↵", windows: "⌃ ⇧ ↵", description: "Accept Diff" }, - { mac: "⌘ ⇧ ⌫", windows: "⌃ ⇧ ⌫", description: "Reject Diff" }, - { mac: "⌥ ⇧ J", windows: "⌥ ⇧ J", description: "Quick Text Entry" }, - { mac: "⌥ ⌘ J", windows: "⌥ ⌃ J", description: "Toggle Auxiliary Bar" }, - { mac: "⌘ ⌃ N", windows: "⌥ ⌃ N", description: "New Session" }, - { mac: "⌘ ⌫", windows: "⌃ ⌫", description: "Stop Active Step" }, - ]; -function Oge() { - return I.jsxs("div", { - className: "p-2", - children: [ - I.jsx("h3", { - className: "my-3 mx-auto text-center", - children: "Keyboard Shortcuts", - }), - I.jsx(xge, { - children: (localStorage.getItem("ide") === "jetbrains" ? Nge : Rge).map( - (e) => - I.jsx(Ige, { - mac: e.mac, - windows: e.windows, - description: e.description, - }) - ), - }), - ], - }); -} -const W0 = He.div` +`;function Ige(e){const t=_2()==="windows"?e.windows:e.mac;return I.jsxs("div",{className:"flex justify-between w-full items-center",children:[I.jsx("span",{style:{color:Ht},children:e.description}),I.jsx("div",{className:"flex gap-2 float-right",children:t.split(" ").map(n=>I.jsx(kge,{children:n}))})]})}const Rge=[{mac:"⌘ M",windows:"⌃ M",description:"Ask about Highlighted Code"},{mac:"⌘ ⇧ M",windows:"⌃ ⇧ M",description:"Edit Highlighted Code"},{mac:"⌘ ⇧ ↵",windows:"⌃ ⇧ ↵",description:"Accept Diff"},{mac:"⌘ ⇧ ⌫",windows:"⌃ ⇧ ⌫",description:"Reject Diff"},{mac:"⌘ ⇧ L",windows:"⌃ ⇧ L",description:"Quick Text Entry"},{mac:"⌥ ⌘ M",windows:"⌥ ⌃ M",description:"Toggle Auxiliary Bar"},{mac:"⌘ ⇧ R",windows:"⌃ ⇧ R",description:"Debug Terminal"},{mac:"⌥ ⌘ N",windows:"⌥ ⌃ N",description:"New Session"},{mac:"⌘ ⌫",windows:"⌃ ⌫",description:"Stop Active Step"}],Nge=[{mac:"⌘ J",windows:"⌃ J",description:"Ask about Highlighted Code"},{mac:"⌘ ⇧ J",windows:"⌃ ⇧ J",description:"Edit Highlighted Code"},{mac:"⌘ ⇧ ↵",windows:"⌃ ⇧ ↵",description:"Accept Diff"},{mac:"⌘ ⇧ ⌫",windows:"⌃ ⇧ ⌫",description:"Reject Diff"},{mac:"⌥ ⇧ J",windows:"⌥ ⇧ J",description:"Quick Text Entry"},{mac:"⌥ ⌘ J",windows:"⌥ ⌃ J",description:"Toggle Auxiliary Bar"},{mac:"⌘ ⌃ N",windows:"⌥ ⌃ N",description:"New Session"},{mac:"⌘ ⌫",windows:"⌃ ⌫",description:"Stop Active Step"}];function Oge(){return I.jsxs("div",{className:"p-2",children:[I.jsx("h3",{className:"my-3 mx-auto text-center",children:"Keyboard Shortcuts"}),I.jsx(xge,{children:(localStorage.getItem("ide")==="jetbrains"?Nge:Rge).map(e=>I.jsx(Ige,{mac:e.mac,windows:e.windows,description:e.description}))})]})}const W0=He.div` display: flex; align-items: center; justify-content: center; @@ -70769,117 +858,21 @@ const W0 = He.div` padding: 0 4px; &:hover { - background-color: ${(e) => e.backgroundColor || vt}; + background-color: ${e=>e.backgroundColor||vt}; } -`; -function YI() { - const e = cs(); - return I.jsxs("div", { - className: "overflow-y-scroll", - children: [ - I.jsxs("div", { - className: "items-center flex m-0 p-0 sticky top-0", - style: { borderBottom: `0.5px solid ${vt}`, backgroundColor: Kt }, - children: [ - I.jsx(ac, { - width: "1.2em", - height: "1.2em", - onClick: () => e("/"), - className: "inline-block ml-4 cursor-pointer", - }), - I.jsx("h3", { - className: "text-lg font-bold m-2 inline-block", - children: "Help Center", - }), - ], - }), - I.jsxs("div", { - className: "grid grid-cols-2 grid-rows-2", - children: [ - I.jsx(W0, { - backgroundColor: "rgb(234, 51, 35)", - children: I.jsx("a", { - href: "https://youtu.be/3Ocrc-WX4iQ?si=eDLYtkc6CXQoHsEc", - target: "_blank", - children: I.jsx("svg", { - xmlns: "http://www.w3.org/2000/svg", - viewBox: "-5.2 -4.5 60 60", - fill: Ht, - className: "w-full h-full", - children: I.jsx("path", { - d: "M 44.898438 14.5 C 44.5 12.300781 42.601563 10.699219 40.398438 10.199219 C 37.101563 9.5 31 9 24.398438 9 C 17.800781 9 11.601563 9.5 8.300781 10.199219 C 6.101563 10.699219 4.199219 12.199219 3.800781 14.5 C 3.398438 17 3 20.5 3 25 C 3 29.5 3.398438 33 3.898438 35.5 C 4.300781 37.699219 6.199219 39.300781 8.398438 39.800781 C 11.898438 40.5 17.898438 41 24.5 41 C 31.101563 41 37.101563 40.5 40.601563 39.800781 C 42.800781 39.300781 44.699219 37.800781 45.101563 35.5 C 45.5 33 46 29.398438 46.101563 25 C 45.898438 20.5 45.398438 17 44.898438 14.5 Z M 19 32 L 19 18 L 31.199219 25 Z", - }), - }), - }), - }), - I.jsx(W0, { - backgroundColor: da, - children: I.jsx("a", { - href: "https://continue.dev/docs/how-to-use-continue", - target: "_blank", - children: I.jsx("svg", { - xmlns: "http://www.w3.org/2000/svg", - viewBox: "-2.2 -2 28 28", - fill: Ht, - className: "w-full h-full flex items-center justify-center", - children: I.jsx("path", { - d: "M11.25 4.533A9.707 9.707 0 006 3a9.735 9.735 0 00-3.25.555.75.75 0 00-.5.707v14.25a.75.75 0 001 .707A8.237 8.237 0 016 18.75c1.995 0 3.823.707 5.25 1.886V4.533zM12.75 20.636A8.214 8.214 0 0118 18.75c.966 0 1.89.166 2.75.47a.75.75 0 001-.708V4.262a.75.75 0 00-.5-.707A9.735 9.735 0 0018 3a9.707 9.707 0 00-5.25 1.533v16.103z", - }), - }), - }), - }), - I.jsx(W0, { - backgroundColor: "rgb(88, 98, 227)", - children: I.jsx("a", { - href: "https://discord.gg/vapESyrFmJ", - target: "_blank", - children: I.jsx("svg", { - xmlns: "http://www.w3.org/2000/svg", - viewBox: "-5 -5.5 60 60", - fill: Ht, - className: "w-full h-full", - children: I.jsx("path", { - d: "M 41.625 10.769531 C 37.644531 7.566406 31.347656 7.023438 31.078125 7.003906 C 30.660156 6.96875 30.261719 7.203125 30.089844 7.589844 C 30.074219 7.613281 29.9375 7.929688 29.785156 8.421875 C 32.417969 8.867188 35.652344 9.761719 38.578125 11.578125 C 39.046875 11.867188 39.191406 12.484375 38.902344 12.953125 C 38.710938 13.261719 38.386719 13.429688 38.050781 13.429688 C 37.871094 13.429688 37.6875 13.378906 37.523438 13.277344 C 32.492188 10.15625 26.210938 10 25 10 C 23.789063 10 17.503906 10.15625 12.476563 13.277344 C 12.007813 13.570313 11.390625 13.425781 11.101563 12.957031 C 10.808594 12.484375 10.953125 11.871094 11.421875 11.578125 C 14.347656 9.765625 17.582031 8.867188 20.214844 8.425781 C 20.0625 7.929688 19.925781 7.617188 19.914063 7.589844 C 19.738281 7.203125 19.34375 6.960938 18.921875 7.003906 C 18.652344 7.023438 12.355469 7.566406 8.320313 10.8125 C 6.214844 12.761719 2 24.152344 2 34 C 2 34.175781 2.046875 34.34375 2.132813 34.496094 C 5.039063 39.605469 12.972656 40.941406 14.78125 41 C 14.789063 41 14.800781 41 14.8125 41 C 15.132813 41 15.433594 40.847656 15.621094 40.589844 L 17.449219 38.074219 C 12.515625 36.800781 9.996094 34.636719 9.851563 34.507813 C 9.4375 34.144531 9.398438 33.511719 9.765625 33.097656 C 10.128906 32.683594 10.761719 32.644531 11.175781 33.007813 C 11.234375 33.0625 15.875 37 25 37 C 34.140625 37 38.78125 33.046875 38.828125 33.007813 C 39.242188 32.648438 39.871094 32.683594 40.238281 33.101563 C 40.601563 33.515625 40.5625 34.144531 40.148438 34.507813 C 40.003906 34.636719 37.484375 36.800781 32.550781 38.074219 L 34.378906 40.589844 C 34.566406 40.847656 34.867188 41 35.1875 41 C 35.199219 41 35.210938 41 35.21875 41 C 37.027344 40.941406 44.960938 39.605469 47.867188 34.496094 C 47.953125 34.34375 48 34.175781 48 34 C 48 24.152344 43.785156 12.761719 41.625 10.769531 Z M 18.5 30 C 16.566406 30 15 28.210938 15 26 C 15 23.789063 16.566406 22 18.5 22 C 20.433594 22 22 23.789063 22 26 C 22 28.210938 20.433594 30 18.5 30 Z M 31.5 30 C 29.566406 30 28 28.210938 28 26 C 28 23.789063 29.566406 22 31.5 22 C 33.433594 22 35 23.789063 35 26 C 35 28.210938 33.433594 30 31.5 30 Z", - }), - }), - }), - }), - I.jsx(W0, { - children: I.jsx("a", { - href: "https://github.com/continuedev/continue/issues/new/choose", - target: "_blank", - children: I.jsx("svg", { - xmlns: "http://www.w3.org/2000/svg", - viewBox: "-1.2 -1.2 32 32", - fill: Ht, - className: "w-full h-full", - children: I.jsx("path", { - d: "M15,3C8.373,3,3,8.373,3,15c0,5.623,3.872,10.328,9.092,11.63C12.036,26.468,12,26.28,12,26.047v-2.051 c-0.487,0-1.303,0-1.508,0c-0.821,0-1.551-0.353-1.905-1.009c-0.393-0.729-0.461-1.844-1.435-2.526 c-0.289-0.227-0.069-0.486,0.264-0.451c0.615,0.174,1.125,0.596,1.605,1.222c0.478,0.627,0.703,0.769,1.596,0.769 c0.433,0,1.081-0.025,1.691-0.121c0.328-0.833,0.895-1.6,1.588-1.962c-3.996-0.411-5.903-2.399-5.903-5.098 c0-1.162,0.495-2.286,1.336-3.233C9.053,10.647,8.706,8.73,9.435,8c1.798,0,2.885,1.166,3.146,1.481C13.477,9.174,14.461,9,15.495,9 c1.036,0,2.024,0.174,2.922,0.483C18.675,9.17,19.763,8,21.565,8c0.732,0.731,0.381,2.656,0.102,3.594 c0.836,0.945,1.328,2.066,1.328,3.226c0,2.697-1.904,4.684-5.894,5.097C18.199,20.49,19,22.1,19,23.313v2.734 c0,0.104-0.023,0.179-0.035,0.268C23.641,24.676,27,20.236,27,15C27,8.373,21.627,3,15,3z", - }), - }), - }), - }), - ], - }), - I.jsx(Oge, {}), - ], - }); -} -const Dge = He.div` +`;function YI(){const e=cs();return I.jsxs("div",{className:"overflow-y-scroll",children:[I.jsxs("div",{className:"items-center flex m-0 p-0 sticky top-0",style:{borderBottom:`0.5px solid ${vt}`,backgroundColor:Kt},children:[I.jsx(ac,{width:"1.2em",height:"1.2em",onClick:()=>e("/"),className:"inline-block ml-4 cursor-pointer"}),I.jsx("h3",{className:"text-lg font-bold m-2 inline-block",children:"Help Center"})]}),I.jsxs("div",{className:"grid grid-cols-2 grid-rows-2",children:[I.jsx(W0,{backgroundColor:"rgb(234, 51, 35)",children:I.jsx("a",{href:"https://youtu.be/3Ocrc-WX4iQ?si=eDLYtkc6CXQoHsEc",target:"_blank",children:I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"-5.2 -4.5 60 60",fill:Ht,className:"w-full h-full",children:I.jsx("path",{d:"M 44.898438 14.5 C 44.5 12.300781 42.601563 10.699219 40.398438 10.199219 C 37.101563 9.5 31 9 24.398438 9 C 17.800781 9 11.601563 9.5 8.300781 10.199219 C 6.101563 10.699219 4.199219 12.199219 3.800781 14.5 C 3.398438 17 3 20.5 3 25 C 3 29.5 3.398438 33 3.898438 35.5 C 4.300781 37.699219 6.199219 39.300781 8.398438 39.800781 C 11.898438 40.5 17.898438 41 24.5 41 C 31.101563 41 37.101563 40.5 40.601563 39.800781 C 42.800781 39.300781 44.699219 37.800781 45.101563 35.5 C 45.5 33 46 29.398438 46.101563 25 C 45.898438 20.5 45.398438 17 44.898438 14.5 Z M 19 32 L 19 18 L 31.199219 25 Z"})})})}),I.jsx(W0,{backgroundColor:da,children:I.jsx("a",{href:"https://continue.dev/docs/how-to-use-continue",target:"_blank",children:I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2.2 -2 28 28",fill:Ht,className:"w-full h-full flex items-center justify-center",children:I.jsx("path",{d:"M11.25 4.533A9.707 9.707 0 006 3a9.735 9.735 0 00-3.25.555.75.75 0 00-.5.707v14.25a.75.75 0 001 .707A8.237 8.237 0 016 18.75c1.995 0 3.823.707 5.25 1.886V4.533zM12.75 20.636A8.214 8.214 0 0118 18.75c.966 0 1.89.166 2.75.47a.75.75 0 001-.708V4.262a.75.75 0 00-.5-.707A9.735 9.735 0 0018 3a9.707 9.707 0 00-5.25 1.533v16.103z"})})})}),I.jsx(W0,{backgroundColor:"rgb(88, 98, 227)",children:I.jsx("a",{href:"https://discord.gg/vapESyrFmJ",target:"_blank",children:I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"-5 -5.5 60 60",fill:Ht,className:"w-full h-full",children:I.jsx("path",{d:"M 41.625 10.769531 C 37.644531 7.566406 31.347656 7.023438 31.078125 7.003906 C 30.660156 6.96875 30.261719 7.203125 30.089844 7.589844 C 30.074219 7.613281 29.9375 7.929688 29.785156 8.421875 C 32.417969 8.867188 35.652344 9.761719 38.578125 11.578125 C 39.046875 11.867188 39.191406 12.484375 38.902344 12.953125 C 38.710938 13.261719 38.386719 13.429688 38.050781 13.429688 C 37.871094 13.429688 37.6875 13.378906 37.523438 13.277344 C 32.492188 10.15625 26.210938 10 25 10 C 23.789063 10 17.503906 10.15625 12.476563 13.277344 C 12.007813 13.570313 11.390625 13.425781 11.101563 12.957031 C 10.808594 12.484375 10.953125 11.871094 11.421875 11.578125 C 14.347656 9.765625 17.582031 8.867188 20.214844 8.425781 C 20.0625 7.929688 19.925781 7.617188 19.914063 7.589844 C 19.738281 7.203125 19.34375 6.960938 18.921875 7.003906 C 18.652344 7.023438 12.355469 7.566406 8.320313 10.8125 C 6.214844 12.761719 2 24.152344 2 34 C 2 34.175781 2.046875 34.34375 2.132813 34.496094 C 5.039063 39.605469 12.972656 40.941406 14.78125 41 C 14.789063 41 14.800781 41 14.8125 41 C 15.132813 41 15.433594 40.847656 15.621094 40.589844 L 17.449219 38.074219 C 12.515625 36.800781 9.996094 34.636719 9.851563 34.507813 C 9.4375 34.144531 9.398438 33.511719 9.765625 33.097656 C 10.128906 32.683594 10.761719 32.644531 11.175781 33.007813 C 11.234375 33.0625 15.875 37 25 37 C 34.140625 37 38.78125 33.046875 38.828125 33.007813 C 39.242188 32.648438 39.871094 32.683594 40.238281 33.101563 C 40.601563 33.515625 40.5625 34.144531 40.148438 34.507813 C 40.003906 34.636719 37.484375 36.800781 32.550781 38.074219 L 34.378906 40.589844 C 34.566406 40.847656 34.867188 41 35.1875 41 C 35.199219 41 35.210938 41 35.21875 41 C 37.027344 40.941406 44.960938 39.605469 47.867188 34.496094 C 47.953125 34.34375 48 34.175781 48 34 C 48 24.152344 43.785156 12.761719 41.625 10.769531 Z M 18.5 30 C 16.566406 30 15 28.210938 15 26 C 15 23.789063 16.566406 22 18.5 22 C 20.433594 22 22 23.789063 22 26 C 22 28.210938 20.433594 30 18.5 30 Z M 31.5 30 C 29.566406 30 28 28.210938 28 26 C 28 23.789063 29.566406 22 31.5 22 C 33.433594 22 35 23.789063 35 26 C 35 28.210938 33.433594 30 31.5 30 Z"})})})}),I.jsx(W0,{children:I.jsx("a",{href:"https://github.com/continuedev/continue/issues/new/choose",target:"_blank",children:I.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"-1.2 -1.2 32 32",fill:Ht,className:"w-full h-full",children:I.jsx("path",{d:"M15,3C8.373,3,3,8.373,3,15c0,5.623,3.872,10.328,9.092,11.63C12.036,26.468,12,26.28,12,26.047v-2.051 c-0.487,0-1.303,0-1.508,0c-0.821,0-1.551-0.353-1.905-1.009c-0.393-0.729-0.461-1.844-1.435-2.526 c-0.289-0.227-0.069-0.486,0.264-0.451c0.615,0.174,1.125,0.596,1.605,1.222c0.478,0.627,0.703,0.769,1.596,0.769 c0.433,0,1.081-0.025,1.691-0.121c0.328-0.833,0.895-1.6,1.588-1.962c-3.996-0.411-5.903-2.399-5.903-5.098 c0-1.162,0.495-2.286,1.336-3.233C9.053,10.647,8.706,8.73,9.435,8c1.798,0,2.885,1.166,3.146,1.481C13.477,9.174,14.461,9,15.495,9 c1.036,0,2.024,0.174,2.922,0.483C18.675,9.17,19.763,8,21.565,8c0.732,0.731,0.381,2.656,0.102,3.594 c0.836,0.945,1.328,2.066,1.328,3.226c0,2.697-1.904,4.684-5.894,5.097C18.199,20.49,19,22.1,19,23.313v2.734 c0,0.104-0.023,0.179-0.035,0.268C23.641,24.676,27,20.236,27,15C27,8.373,21.627,3,15,3z"})})})})]}),I.jsx(Oge,{})]})}const Dge=He.div` position: fixed; width: 100%; height: 100%; background-color: rgba(168, 168, 168, 0.5); z-index: 100; -`, - Lge = He.div` +`,Lge=He.div` position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 75%; -`, - Mge = He.div` +`,Mge=He.div` color: ${Ht}; background-color: ${Kt}; border-radius: 8px; @@ -70889,8 +882,7 @@ const Dge = He.div` margin: auto; word-wrap: break-word; overflow: hidden; -`; -He.textarea` +`;He.textarea` border: 1px solid #ccc; border-radius: 8px; padding: 8px; @@ -70902,2025 +894,20 @@ He.textarea` &:focus { outline: 1px solid ${Ht}; } -`; -He.p` +`;He.p` color: ${Ht}; margin: 8px auto; -`; -const Fge = (e) => ( - C.useEffect(() => { - const t = (n) => { - n.key === "Escape" && e.onClose(); - }; - return ( - document.addEventListener("keydown", t), - () => { - document.removeEventListener("keydown", t); - } - ); - }, [e]), - I.jsx(Dge, { - onClick: () => { - e.onClose(); - }, - hidden: !e.showDialog, - children: I.jsx(Lge, { - onClick: (t) => { - t.stopPropagation(); - }, - children: I.jsx(Mge, { - children: - typeof e.message == "string" - ? I.jsx(HE, { children: e.message || "" }) - : e.message, - }), - }), - }) -); -var Pge = Object.defineProperty, - Bge = (e, t, n) => - t in e - ? Pge(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) - : (e[t] = n), - l4 = (e, t, n) => (Bge(e, typeof t != "symbol" ? t + "" : t, n), n); -let Uge = class { - constructor() { - l4(this, "current", this.detect()), - l4(this, "handoffState", "pending"), - l4(this, "currentId", 0); - } - set(t) { - this.current !== t && - ((this.handoffState = "pending"), - (this.currentId = 0), - (this.current = t)); - } - reset() { - this.set(this.detect()); - } - nextId() { - return ++this.currentId; - } - get isServer() { - return this.current === "server"; - } - get isClient() { - return this.current === "client"; - } - detect() { - return typeof window > "u" || typeof document > "u" ? "server" : "client"; - } - handoff() { - this.handoffState === "pending" && (this.handoffState = "complete"); - } - get isHandoffComplete() { - return this.handoffState === "complete"; - } - }, - su = new Uge(), - zi = (e, t) => { - su.isServer ? C.useEffect(e, t) : C.useLayoutEffect(e, t); - }; -function Eo(e) { - let t = C.useRef(e); - return ( - zi(() => { - t.current = e; - }, [e]), - t - ); -} -function JF(e, t) { - let [n, r] = C.useState(e), - i = Eo(e); - return zi(() => r(i.current), [i, r, ...t]), n; -} -function $ge(e) { - typeof queueMicrotask == "function" - ? queueMicrotask(e) - : Promise.resolve() - .then(e) - .catch((t) => - setTimeout(() => { - throw t; - }) - ); -} -function hl() { - let e = [], - t = { - addEventListener(n, r, i, a) { - return ( - n.addEventListener(r, i, a), - t.add(() => n.removeEventListener(r, i, a)) - ); - }, - requestAnimationFrame(...n) { - let r = requestAnimationFrame(...n); - return t.add(() => cancelAnimationFrame(r)); - }, - nextFrame(...n) { - return t.requestAnimationFrame(() => t.requestAnimationFrame(...n)); - }, - setTimeout(...n) { - let r = setTimeout(...n); - return t.add(() => clearTimeout(r)); - }, - microTask(...n) { - let r = { current: !0 }; - return ( - $ge(() => { - r.current && n[0](); - }), - t.add(() => { - r.current = !1; - }) - ); - }, - style(n, r, i) { - let a = n.style.getPropertyValue(r); - return ( - Object.assign(n.style, { [r]: i }), - this.add(() => { - Object.assign(n.style, { [r]: a }); - }) - ); - }, - group(n) { - let r = hl(); - return n(r), this.add(() => r.dispose()); - }, - add(n) { - return ( - e.push(n), - () => { - let r = e.indexOf(n); - if (r >= 0) for (let i of e.splice(r, 1)) i(); - } - ); - }, - dispose() { - for (let n of e.splice(0)) n(); - }, - }; - return t; -} -function tc() { - let [e] = C.useState(hl); - return C.useEffect(() => () => e.dispose(), [e]), e; -} -let Xt = function (e) { - let t = Eo(e); - return ut.useCallback((...n) => t.current(...n), [t]); -}; -function zge() { - let e = typeof document > "u"; - return "useSyncExternalStore" in v4 - ? ((t) => t.useSyncExternalStore)(v4)( - () => () => {}, - () => !1, - () => !e - ) - : !1; -} -function L7() { - let e = zge(), - [t, n] = C.useState(su.isHandoffComplete); - return ( - t && su.isHandoffComplete === !1 && n(!1), - C.useEffect(() => { - t !== !0 && n(!0); - }, [t]), - C.useEffect(() => su.handoff(), []), - e ? !1 : t - ); -} -var XI; -let fm = - (XI = ut.useId) != null - ? XI - : function () { - let e = L7(), - [t, n] = ut.useState(e ? () => su.nextId() : null); - return ( - zi(() => { - t === null && n(su.nextId()); - }, [t]), - t != null ? "" + t : void 0 - ); - }; -function Sr(e, t, ...n) { - if (e in t) { - let i = t[e]; - return typeof i == "function" ? i(...n) : i; - } - let r = new Error( - `Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys( - t - ) - .map((i) => `"${i}"`) - .join(", ")}.` - ); - throw (Error.captureStackTrace && Error.captureStackTrace(r, Sr), r); -} -function eP(e) { - return su.isServer - ? null - : e instanceof Node - ? e.ownerDocument - : e != null && e.hasOwnProperty("current") && e.current instanceof Node - ? e.current.ownerDocument - : document; -} -let ZI = [ - "[contentEditable=true]", - "[tabindex]", - "a[href]", - "area[href]", - "button:not([disabled])", - "iframe", - "input:not([disabled])", - "select:not([disabled])", - "textarea:not([disabled])", -] - .map((e) => `${e}:not([tabindex='-1'])`) - .join(","); -var Hge = ((e) => ( - (e[(e.First = 1)] = "First"), - (e[(e.Previous = 2)] = "Previous"), - (e[(e.Next = 4)] = "Next"), - (e[(e.Last = 8)] = "Last"), - (e[(e.WrapAround = 16)] = "WrapAround"), - (e[(e.NoScroll = 32)] = "NoScroll"), - e - ))(Hge || {}), - jge = ((e) => ( - (e[(e.Error = 0)] = "Error"), - (e[(e.Overflow = 1)] = "Overflow"), - (e[(e.Success = 2)] = "Success"), - (e[(e.Underflow = 3)] = "Underflow"), - e - ))(jge || {}), - Gge = ((e) => ( - (e[(e.Previous = -1)] = "Previous"), (e[(e.Next = 1)] = "Next"), e - ))(Gge || {}), - M7 = ((e) => ( - (e[(e.Strict = 0)] = "Strict"), (e[(e.Loose = 1)] = "Loose"), e - ))(M7 || {}); -function tP(e, t = 0) { - var n; - return e === ((n = eP(e)) == null ? void 0 : n.body) - ? !1 - : Sr(t, { - 0() { - return e.matches(ZI); - }, - 1() { - let r = e; - for (; r !== null; ) { - if (r.matches(ZI)) return !0; - r = r.parentElement; - } - return !1; - }, - }); -} -var Vge = ((e) => ( - (e[(e.Keyboard = 0)] = "Keyboard"), (e[(e.Mouse = 1)] = "Mouse"), e -))(Vge || {}); -typeof window < "u" && - typeof document < "u" && - (document.addEventListener( - "keydown", - (e) => { - e.metaKey || - e.altKey || - e.ctrlKey || - (document.documentElement.dataset.headlessuiFocusVisible = ""); - }, - !0 - ), - document.addEventListener( - "click", - (e) => { - e.detail === 1 - ? delete document.documentElement.dataset.headlessuiFocusVisible - : e.detail === 0 && - (document.documentElement.dataset.headlessuiFocusVisible = ""); - }, - !0 - )); -function Wge(e, t = (n) => n) { - return e.slice().sort((n, r) => { - let i = t(n), - a = t(r); - if (i === null || a === null) return 0; - let o = i.compareDocumentPosition(a); - return o & Node.DOCUMENT_POSITION_FOLLOWING - ? -1 - : o & Node.DOCUMENT_POSITION_PRECEDING - ? 1 - : 0; - }); -} -function q0(e, t, n) { - let r = Eo(t); - C.useEffect(() => { - function i(a) { - r.current(a); - } - return ( - document.addEventListener(e, i, n), - () => document.removeEventListener(e, i, n) - ); - }, [e, n]); -} -function qge(e, t, n) { - let r = Eo(t); - C.useEffect(() => { - function i(a) { - r.current(a); - } - return ( - window.addEventListener(e, i, n), - () => window.removeEventListener(e, i, n) - ); - }, [e, n]); -} -function Kge(e, t, n = !0) { - let r = C.useRef(!1); - C.useEffect(() => { - requestAnimationFrame(() => { - r.current = n; - }); - }, [n]); - function i(o, s) { - if (!r.current || o.defaultPrevented) return; - let u = s(o); - if (u === null || !u.getRootNode().contains(u) || !u.isConnected) return; - let c = (function p(f) { - return typeof f == "function" - ? p(f()) - : Array.isArray(f) || f instanceof Set - ? f - : [f]; - })(e); - for (let p of c) { - if (p === null) continue; - let f = p instanceof HTMLElement ? p : p.current; - if ( - (f != null && f.contains(u)) || - (o.composed && o.composedPath().includes(f)) - ) - return; - } - return !tP(u, M7.Loose) && u.tabIndex !== -1 && o.preventDefault(), t(o, u); - } - let a = C.useRef(null); - q0( - "pointerdown", - (o) => { - var s, u; - r.current && - (a.current = - ((u = (s = o.composedPath) == null ? void 0 : s.call(o)) == null - ? void 0 - : u[0]) || o.target); - }, - !0 - ), - q0( - "mousedown", - (o) => { - var s, u; - r.current && - (a.current = - ((u = (s = o.composedPath) == null ? void 0 : s.call(o)) == null - ? void 0 - : u[0]) || o.target); - }, - !0 - ), - q0( - "click", - (o) => { - a.current && (i(o, () => a.current), (a.current = null)); - }, - !0 - ), - q0( - "touchend", - (o) => i(o, () => (o.target instanceof HTMLElement ? o.target : null)), - !0 - ), - qge( - "blur", - (o) => - i(o, () => - window.document.activeElement instanceof HTMLIFrameElement - ? window.document.activeElement - : null - ), - !0 - ); -} -function QI(e) { - var t; - if (e.type) return e.type; - let n = (t = e.as) != null ? t : "button"; - if (typeof n == "string" && n.toLowerCase() === "button") return "button"; -} -function Yge(e, t) { - let [n, r] = C.useState(() => QI(e)); - return ( - zi(() => { - r(QI(e)); - }, [e.type, e.as]), - zi(() => { - n || - (t.current && - t.current instanceof HTMLButtonElement && - !t.current.hasAttribute("type") && - r("button")); - }, [n, t]), - n - ); -} -let Xge = Symbol(); -function Ru(...e) { - let t = C.useRef(e); - C.useEffect(() => { - t.current = e; - }, [e]); - let n = Xt((r) => { - for (let i of t.current) - i != null && (typeof i == "function" ? i(r) : (i.current = r)); - }); - return e.every((r) => r == null || (r == null ? void 0 : r[Xge])) - ? void 0 - : n; -} -function Zge(e) { - throw new Error("Unexpected object: " + e); -} -var gi = ((e) => ( - (e[(e.First = 0)] = "First"), - (e[(e.Previous = 1)] = "Previous"), - (e[(e.Next = 2)] = "Next"), - (e[(e.Last = 3)] = "Last"), - (e[(e.Specific = 4)] = "Specific"), - (e[(e.Nothing = 5)] = "Nothing"), - e -))(gi || {}); -function Qge(e, t) { - let n = t.resolveItems(); - if (n.length <= 0) return null; - let r = t.resolveActiveIndex(), - i = r ?? -1, - a = (() => { - switch (e.focus) { - case 0: - return n.findIndex((o) => !t.resolveDisabled(o)); - case 1: { - let o = n - .slice() - .reverse() - .findIndex((s, u, c) => - i !== -1 && c.length - u - 1 >= i ? !1 : !t.resolveDisabled(s) - ); - return o === -1 ? o : n.length - 1 - o; - } - case 2: - return n.findIndex((o, s) => (s <= i ? !1 : !t.resolveDisabled(o))); - case 3: { - let o = n - .slice() - .reverse() - .findIndex((s) => !t.resolveDisabled(s)); - return o === -1 ? o : n.length - 1 - o; - } - case 4: - return n.findIndex((o) => t.resolveId(o) === e.id); - case 5: - return null; - default: - Zge(e); - } - })(); - return a === -1 ? r : a; -} -function kg(...e) { - return Array.from( - new Set(e.flatMap((t) => (typeof t == "string" ? t.split(" ") : []))) - ) - .filter(Boolean) - .join(" "); -} -var Ig = ((e) => ( - (e[(e.None = 0)] = "None"), - (e[(e.RenderStrategy = 1)] = "RenderStrategy"), - (e[(e.Static = 2)] = "Static"), - e - ))(Ig || {}), - Vs = ((e) => ( - (e[(e.Unmount = 0)] = "Unmount"), (e[(e.Hidden = 1)] = "Hidden"), e - ))(Vs || {}); -function wl({ - ourProps: e, - theirProps: t, - slot: n, - defaultTag: r, - features: i, - visible: a = !0, - name: o, -}) { - let s = nP(t, e); - if (a) return K0(s, n, r, o); - let u = i ?? 0; - if (u & 2) { - let { static: c = !1, ...p } = s; - if (c) return K0(p, n, r, o); - } - if (u & 1) { - let { unmount: c = !0, ...p } = s; - return Sr(c ? 0 : 1, { - 0() { - return null; - }, - 1() { - return K0({ ...p, hidden: !0, style: { display: "none" } }, n, r, o); - }, - }); - } - return K0(s, n, r, o); -} -function K0(e, t = {}, n, r) { - let { - as: i = n, - children: a, - refName: o = "ref", - ...s - } = u4(e, ["unmount", "static"]), - u = e.ref !== void 0 ? { [o]: e.ref } : {}, - c = typeof a == "function" ? a(t) : a; - "className" in s && - s.className && - typeof s.className == "function" && - (s.className = s.className(t)); - let p = {}; - if (t) { - let f = !1, - m = []; - for (let [g, E] of Object.entries(t)) - typeof E == "boolean" && (f = !0), E === !0 && m.push(g); - f && (p["data-headlessui-state"] = m.join(" ")); - } - if (i === C.Fragment && Object.keys(E9(s)).length > 0) { - if (!C.isValidElement(c) || (Array.isArray(c) && c.length > 1)) - throw new Error( - [ - 'Passing props on "Fragment"!', - "", - `The current component <${r} /> is rendering a "Fragment".`, - "However we need to passthrough the following props:", - Object.keys(s).map((E) => ` - ${E}`).join(` -`), - "", - "You can apply a few solutions:", - [ - 'Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', - "Render a single element as the child so that we can forward the props onto that element.", - ].map((E) => ` - ${E}`).join(` -`), - ].join(` -`) - ); - let f = c.props, - m = - typeof (f == null ? void 0 : f.className) == "function" - ? (...E) => kg(f == null ? void 0 : f.className(...E), s.className) - : kg(f == null ? void 0 : f.className, s.className), - g = m ? { className: m } : {}; - return C.cloneElement( - c, - Object.assign( - {}, - nP(c.props, E9(u4(s, ["ref"]))), - p, - u, - Jge(c.ref, u.ref), - g - ) - ); - } - return C.createElement( - i, - Object.assign( - {}, - u4(s, ["ref"]), - i !== C.Fragment && u, - i !== C.Fragment && p - ), - c - ); -} -function Jge(...e) { - return { - ref: e.every((t) => t == null) - ? void 0 - : (t) => { - for (let n of e) - n != null && (typeof n == "function" ? n(t) : (n.current = t)); - }, - }; -} -function nP(...e) { - if (e.length === 0) return {}; - if (e.length === 1) return e[0]; - let t = {}, - n = {}; - for (let r of e) - for (let i in r) - i.startsWith("on") && typeof r[i] == "function" - ? (n[i] != null || (n[i] = []), n[i].push(r[i])) - : (t[i] = r[i]); - if (t.disabled || t["aria-disabled"]) - return Object.assign( - t, - Object.fromEntries(Object.keys(n).map((r) => [r, void 0])) - ); - for (let r in n) - Object.assign(t, { - [r](i, ...a) { - let o = n[r]; - for (let s of o) { - if ( - (i instanceof Event || - (i == null ? void 0 : i.nativeEvent) instanceof Event) && - i.defaultPrevented - ) - return; - s(i, ...a); - } - }, - }); - return t; -} -function ds(e) { - var t; - return Object.assign(C.forwardRef(e), { - displayName: (t = e.displayName) != null ? t : e.name, - }); -} -function E9(e) { - let t = Object.assign({}, e); - for (let n in t) t[n] === void 0 && delete t[n]; - return t; -} -function u4(e, t = []) { - let n = Object.assign({}, e); - for (let r of t) r in n && delete n[r]; - return n; -} -function e2e(e) { - let t = e.parentElement, - n = null; - for (; t && !(t instanceof HTMLFieldSetElement); ) - t instanceof HTMLLegendElement && (n = t), (t = t.parentElement); - let r = (t == null ? void 0 : t.getAttribute("disabled")) === ""; - return r && t2e(n) ? !1 : r; -} -function t2e(e) { - if (!e) return !1; - let t = e.previousElementSibling; - for (; t !== null; ) { - if (t instanceof HTMLLegendElement) return !1; - t = t.previousElementSibling; - } - return !0; -} -function rP(e = {}, t = null, n = []) { - for (let [r, i] of Object.entries(e)) aP(n, iP(t, r), i); - return n; -} -function iP(e, t) { - return e ? e + "[" + t + "]" : t; -} -function aP(e, t, n) { - if (Array.isArray(n)) - for (let [r, i] of n.entries()) aP(e, iP(t, r.toString()), i); - else - n instanceof Date - ? e.push([t, n.toISOString()]) - : typeof n == "boolean" - ? e.push([t, n ? "1" : "0"]) - : typeof n == "string" - ? e.push([t, n]) - : typeof n == "number" - ? e.push([t, `${n}`]) - : n == null - ? e.push([t, ""]) - : rP(n, t, e); -} -let n2e = "div"; -var oP = ((e) => ( - (e[(e.None = 1)] = "None"), - (e[(e.Focusable = 2)] = "Focusable"), - (e[(e.Hidden = 4)] = "Hidden"), - e -))(oP || {}); -function r2e(e, t) { - let { features: n = 1, ...r } = e, - i = { - ref: t, - "aria-hidden": (n & 2) === 2 ? !0 : void 0, - style: { - position: "fixed", - top: 1, - left: 1, - width: 1, - height: 0, - padding: 0, - margin: -1, - overflow: "hidden", - clip: "rect(0, 0, 0, 0)", - whiteSpace: "nowrap", - borderWidth: "0", - ...((n & 4) === 4 && (n & 2) !== 2 && { display: "none" }), - }, - }; - return wl({ - ourProps: i, - theirProps: r, - slot: {}, - defaultTag: n2e, - name: "Hidden", - }); -} -let i2e = ds(r2e), - F7 = C.createContext(null); -F7.displayName = "OpenClosedContext"; -var Oi = ((e) => ( - (e[(e.Open = 1)] = "Open"), - (e[(e.Closed = 2)] = "Closed"), - (e[(e.Closing = 4)] = "Closing"), - (e[(e.Opening = 8)] = "Opening"), - e -))(Oi || {}); -function P7() { - return C.useContext(F7); -} -function sP({ value: e, children: t }) { - return ut.createElement(F7.Provider, { value: e }, t); -} -var lr = ((e) => ( - (e.Space = " "), - (e.Enter = "Enter"), - (e.Escape = "Escape"), - (e.Backspace = "Backspace"), - (e.Delete = "Delete"), - (e.ArrowLeft = "ArrowLeft"), - (e.ArrowUp = "ArrowUp"), - (e.ArrowRight = "ArrowRight"), - (e.ArrowDown = "ArrowDown"), - (e.Home = "Home"), - (e.End = "End"), - (e.PageUp = "PageUp"), - (e.PageDown = "PageDown"), - (e.Tab = "Tab"), - e -))(lr || {}); -function a2e(e, t, n) { - let [r, i] = C.useState(n), - a = e !== void 0, - o = C.useRef(a), - s = C.useRef(!1), - u = C.useRef(!1); - return ( - a && !o.current && !s.current - ? ((s.current = !0), - (o.current = a), - console.error( - "A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen." - )) - : !a && - o.current && - !u.current && - ((u.current = !0), - (o.current = a), - console.error( - "A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen." - )), - [a ? e : r, Xt((c) => (a || i(c), t == null ? void 0 : t(c)))] - ); -} -function JI(e) { - return [e.screenX, e.screenY]; -} -function o2e() { - let e = C.useRef([-1, -1]); - return { - wasMoved(t) { - let n = JI(t); - return e.current[0] === n[0] && e.current[1] === n[1] - ? !1 - : ((e.current = n), !0); - }, - update(t) { - e.current = JI(t); - }, - }; -} -function B7() { - let e = C.useRef(!1); - return ( - zi( - () => ( - (e.current = !0), - () => { - e.current = !1; - } - ), - [] - ), - e - ); -} -let eR = - /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g; -function tR(e) { - var t, n; - let r = (t = e.innerText) != null ? t : "", - i = e.cloneNode(!0); - if (!(i instanceof HTMLElement)) return r; - let a = !1; - for (let s of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]')) - s.remove(), (a = !0); - let o = a ? ((n = i.innerText) != null ? n : "") : r; - return eR.test(o) && (o = o.replace(eR, "")), o; -} -function s2e(e) { - let t = e.getAttribute("aria-label"); - if (typeof t == "string") return t.trim(); - let n = e.getAttribute("aria-labelledby"); - if (n) { - let r = n - .split(" ") - .map((i) => { - let a = document.getElementById(i); - if (a) { - let o = a.getAttribute("aria-label"); - return typeof o == "string" ? o.trim() : tR(a).trim(); - } - return null; - }) - .filter(Boolean); - if (r.length > 0) return r.join(", "); - } - return tR(e).trim(); -} -function l2e(e) { - let t = C.useRef(""), - n = C.useRef(""); - return Xt(() => { - let r = e.current; - if (!r) return ""; - let i = r.innerText; - if (t.current === i) return n.current; - let a = s2e(r).trim().toLowerCase(); - return (t.current = i), (n.current = a), a; - }); -} -var u2e = ((e) => ( - (e[(e.Open = 0)] = "Open"), (e[(e.Closed = 1)] = "Closed"), e - ))(u2e || {}), - c2e = ((e) => ( - (e[(e.Single = 0)] = "Single"), (e[(e.Multi = 1)] = "Multi"), e - ))(c2e || {}), - d2e = ((e) => ( - (e[(e.Pointer = 0)] = "Pointer"), (e[(e.Other = 1)] = "Other"), e - ))(d2e || {}), - p2e = ((e) => ( - (e[(e.OpenListbox = 0)] = "OpenListbox"), - (e[(e.CloseListbox = 1)] = "CloseListbox"), - (e[(e.GoToOption = 2)] = "GoToOption"), - (e[(e.Search = 3)] = "Search"), - (e[(e.ClearSearch = 4)] = "ClearSearch"), - (e[(e.RegisterOption = 5)] = "RegisterOption"), - (e[(e.UnregisterOption = 6)] = "UnregisterOption"), - (e[(e.RegisterLabel = 7)] = "RegisterLabel"), - e - ))(p2e || {}); -function c4(e, t = (n) => n) { - let n = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, - r = Wge(t(e.options.slice()), (a) => a.dataRef.current.domRef.current), - i = n ? r.indexOf(n) : null; - return i === -1 && (i = null), { options: r, activeOptionIndex: i }; -} -let f2e = { - 1(e) { - return e.dataRef.current.disabled || e.listboxState === 1 - ? e - : { ...e, activeOptionIndex: null, listboxState: 1 }; - }, - 0(e) { - if (e.dataRef.current.disabled || e.listboxState === 0) return e; - let t = e.activeOptionIndex, - { isSelected: n } = e.dataRef.current, - r = e.options.findIndex((i) => n(i.dataRef.current.value)); - return ( - r !== -1 && (t = r), { ...e, listboxState: 0, activeOptionIndex: t } - ); - }, - 2(e, t) { - var n; - if (e.dataRef.current.disabled || e.listboxState === 1) return e; - let r = c4(e), - i = Qge(t, { - resolveItems: () => r.options, - resolveActiveIndex: () => r.activeOptionIndex, - resolveId: (a) => a.id, - resolveDisabled: (a) => a.dataRef.current.disabled, - }); - return { - ...e, - ...r, - searchQuery: "", - activeOptionIndex: i, - activationTrigger: (n = t.trigger) != null ? n : 1, - }; - }, - 3: (e, t) => { - if (e.dataRef.current.disabled || e.listboxState === 1) return e; - let n = e.searchQuery !== "" ? 0 : 1, - r = e.searchQuery + t.value.toLowerCase(), - i = ( - e.activeOptionIndex !== null - ? e.options - .slice(e.activeOptionIndex + n) - .concat(e.options.slice(0, e.activeOptionIndex + n)) - : e.options - ).find((o) => { - var s; - return ( - !o.dataRef.current.disabled && - ((s = o.dataRef.current.textValue) == null - ? void 0 - : s.startsWith(r)) - ); - }), - a = i ? e.options.indexOf(i) : -1; - return a === -1 || a === e.activeOptionIndex - ? { ...e, searchQuery: r } - : { ...e, searchQuery: r, activeOptionIndex: a, activationTrigger: 1 }; - }, - 4(e) { - return e.dataRef.current.disabled || - e.listboxState === 1 || - e.searchQuery === "" - ? e - : { ...e, searchQuery: "" }; - }, - 5: (e, t) => { - let n = { id: t.id, dataRef: t.dataRef }, - r = c4(e, (i) => [...i, n]); - return ( - e.activeOptionIndex === null && - e.dataRef.current.isSelected(t.dataRef.current.value) && - (r.activeOptionIndex = r.options.indexOf(n)), - { ...e, ...r } - ); - }, - 6: (e, t) => { - let n = c4(e, (r) => { - let i = r.findIndex((a) => a.id === t.id); - return i !== -1 && r.splice(i, 1), r; - }); - return { ...e, ...n, activationTrigger: 1 }; - }, - 7: (e, t) => ({ ...e, labelId: t.id }), - }, - U7 = C.createContext(null); -U7.displayName = "ListboxActionsContext"; -function Jp(e) { - let t = C.useContext(U7); - if (t === null) { - let n = new Error(`<${e} /> is missing a parent component.`); - throw (Error.captureStackTrace && Error.captureStackTrace(n, Jp), n); - } - return t; -} -let $7 = C.createContext(null); -$7.displayName = "ListboxDataContext"; -function ef(e) { - let t = C.useContext($7); - if (t === null) { - let n = new Error(`<${e} /> is missing a parent component.`); - throw (Error.captureStackTrace && Error.captureStackTrace(n, ef), n); - } - return t; -} -function h2e(e, t) { - return Sr(t.type, f2e, e, t); -} -let g2e = C.Fragment; -function m2e(e, t) { - let { - value: n, - defaultValue: r, - form: i, - name: a, - onChange: o, - by: s = (re, Te) => re === Te, - disabled: u = !1, - horizontal: c = !1, - multiple: p = !1, - ...f - } = e; - const m = c ? "horizontal" : "vertical"; - let g = Ru(t), - [E = p ? [] : void 0, b] = a2e(n, o, r), - [T, v] = C.useReducer(h2e, { - dataRef: C.createRef(), - listboxState: 1, - options: [], - searchQuery: "", - labelId: null, - activeOptionIndex: null, - activationTrigger: 1, - }), - y = C.useRef({ static: !1, hold: !1 }), - w = C.useRef(null), - A = C.useRef(null), - D = C.useRef(null), - k = Xt( - typeof s == "string" - ? (re, Te) => { - let K = s; - return ( - (re == null ? void 0 : re[K]) === (Te == null ? void 0 : Te[K]) - ); - } - : s - ), - R = C.useCallback( - (re) => - Sr(B.mode, { 1: () => E.some((Te) => k(Te, re)), 0: () => k(E, re) }), - [E] - ), - B = C.useMemo( - () => ({ - ...T, - value: E, - disabled: u, - mode: p ? 1 : 0, - orientation: m, - compare: k, - isSelected: R, - optionsPropsRef: y, - labelRef: w, - buttonRef: A, - optionsRef: D, - }), - [E, u, p, T] - ); - zi(() => { - T.dataRef.current = B; - }, [B]), - Kge( - [B.buttonRef, B.optionsRef], - (re, Te) => { - var K; - v({ type: 1 }), - tP(Te, M7.Loose) || - (re.preventDefault(), - (K = B.buttonRef.current) == null || K.focus()); - }, - B.listboxState === 0 - ); - let W = C.useMemo( - () => ({ open: B.listboxState === 0, disabled: u, value: E }), - [B, u, E] - ), - P = Xt((re) => { - let Te = B.options.find((K) => K.id === re); - Te && Z(Te.dataRef.current.value); - }), - Q = Xt(() => { - if (B.activeOptionIndex !== null) { - let { dataRef: re, id: Te } = B.options[B.activeOptionIndex]; - Z(re.current.value), v({ type: 2, focus: gi.Specific, id: Te }); - } - }), - z = Xt(() => v({ type: 0 })), - le = Xt(() => v({ type: 1 })), - he = Xt((re, Te, K) => - re === gi.Specific - ? v({ type: 2, focus: gi.Specific, id: Te, trigger: K }) - : v({ type: 2, focus: re, trigger: K }) - ), - de = Xt( - (re, Te) => ( - v({ type: 5, id: re, dataRef: Te }), () => v({ type: 6, id: re }) - ) - ), - fe = Xt((re) => (v({ type: 7, id: re }), () => v({ type: 7, id: null }))), - Z = Xt((re) => - Sr(B.mode, { - 0() { - return b == null ? void 0 : b(re); - }, - 1() { - let Te = B.value.slice(), - K = Te.findIndex((xe) => k(xe, re)); - return ( - K === -1 ? Te.push(re) : Te.splice(K, 1), b == null ? void 0 : b(Te) - ); - }, - }) - ), - V = Xt((re) => v({ type: 3, value: re })), - ce = Xt(() => v({ type: 4 })), - N = C.useMemo( - () => ({ - onChange: Z, - registerOption: de, - registerLabel: fe, - goToOption: he, - closeListbox: le, - openListbox: z, - selectActiveOption: Q, - selectOption: P, - search: V, - clearSearch: ce, - }), - [] - ), - me = { ref: g }, - oe = C.useRef(null), - O = tc(); - return ( - C.useEffect(() => { - oe.current && - r !== void 0 && - O.addEventListener(oe.current, "reset", () => { - b == null || b(r); - }); - }, [oe, b]), - ut.createElement( - U7.Provider, - { value: N }, - ut.createElement( - $7.Provider, - { value: B }, - ut.createElement( - sP, - { value: Sr(B.listboxState, { 0: Oi.Open, 1: Oi.Closed }) }, - a != null && - E != null && - rP({ [a]: E }).map(([re, Te], K) => - ut.createElement(i2e, { - features: oP.Hidden, - ref: - K === 0 - ? (xe) => { - var ne; - oe.current = - (ne = xe == null ? void 0 : xe.closest("form")) != - null - ? ne - : null; - } - : void 0, - ...E9({ - key: re, - as: "input", - type: "hidden", - hidden: !0, - readOnly: !0, - form: i, - name: re, - value: Te, - }), - }) - ), - wl({ - ourProps: me, - theirProps: f, - slot: W, - defaultTag: g2e, - name: "Listbox", - }) - ) - ) - ) - ); -} -let b2e = "button"; -function E2e(e, t) { - var n; - let r = fm(), - { id: i = `headlessui-listbox-button-${r}`, ...a } = e, - o = ef("Listbox.Button"), - s = Jp("Listbox.Button"), - u = Ru(o.buttonRef, t), - c = tc(), - p = Xt((T) => { - switch (T.key) { - case lr.Space: - case lr.Enter: - case lr.ArrowDown: - T.preventDefault(), - s.openListbox(), - c.nextFrame(() => { - o.value || s.goToOption(gi.First); - }); - break; - case lr.ArrowUp: - T.preventDefault(), - s.openListbox(), - c.nextFrame(() => { - o.value || s.goToOption(gi.Last); - }); - break; - } - }), - f = Xt((T) => { - switch (T.key) { - case lr.Space: - T.preventDefault(); - break; - } - }), - m = Xt((T) => { - if (e2e(T.currentTarget)) return T.preventDefault(); - o.listboxState === 0 - ? (s.closeListbox(), - c.nextFrame(() => { - var v; - return (v = o.buttonRef.current) == null - ? void 0 - : v.focus({ preventScroll: !0 }); - })) - : (T.preventDefault(), s.openListbox()); - }), - g = JF(() => { - if (o.labelId) return [o.labelId, i].join(" "); - }, [o.labelId, i]), - E = C.useMemo( - () => ({ - open: o.listboxState === 0, - disabled: o.disabled, - value: o.value, - }), - [o] - ), - b = { - ref: u, - id: i, - type: Yge(e, o.buttonRef), - "aria-haspopup": "listbox", - "aria-controls": (n = o.optionsRef.current) == null ? void 0 : n.id, - "aria-expanded": o.listboxState === 0, - "aria-labelledby": g, - disabled: o.disabled, - onKeyDown: p, - onKeyUp: f, - onClick: m, - }; - return wl({ - ourProps: b, - theirProps: a, - slot: E, - defaultTag: b2e, - name: "Listbox.Button", - }); -} -let v2e = "label"; -function y2e(e, t) { - let n = fm(), - { id: r = `headlessui-listbox-label-${n}`, ...i } = e, - a = ef("Listbox.Label"), - o = Jp("Listbox.Label"), - s = Ru(a.labelRef, t); - zi(() => o.registerLabel(r), [r]); - let u = Xt(() => { - var p; - return (p = a.buttonRef.current) == null - ? void 0 - : p.focus({ preventScroll: !0 }); - }), - c = C.useMemo( - () => ({ open: a.listboxState === 0, disabled: a.disabled }), - [a] - ); - return wl({ - ourProps: { ref: s, id: r, onClick: u }, - theirProps: i, - slot: c, - defaultTag: v2e, - name: "Listbox.Label", - }); -} -let _2e = "ul", - T2e = Ig.RenderStrategy | Ig.Static; -function S2e(e, t) { - var n; - let r = fm(), - { id: i = `headlessui-listbox-options-${r}`, ...a } = e, - o = ef("Listbox.Options"), - s = Jp("Listbox.Options"), - u = Ru(o.optionsRef, t), - c = tc(), - p = tc(), - f = P7(), - m = (() => - f !== null ? (f & Oi.Open) === Oi.Open : o.listboxState === 0)(); - C.useEffect(() => { - var v; - let y = o.optionsRef.current; - y && - o.listboxState === 0 && - y !== ((v = eP(y)) == null ? void 0 : v.activeElement) && - y.focus({ preventScroll: !0 }); - }, [o.listboxState, o.optionsRef]); - let g = Xt((v) => { - switch ((p.dispose(), v.key)) { - case lr.Space: - if (o.searchQuery !== "") - return v.preventDefault(), v.stopPropagation(), s.search(v.key); - case lr.Enter: - if ( - (v.preventDefault(), - v.stopPropagation(), - o.activeOptionIndex !== null) - ) { - let { dataRef: y } = o.options[o.activeOptionIndex]; - s.onChange(y.current.value); - } - o.mode === 0 && - (s.closeListbox(), - hl().nextFrame(() => { - var y; - return (y = o.buttonRef.current) == null - ? void 0 - : y.focus({ preventScroll: !0 }); - })); - break; - case Sr(o.orientation, { - vertical: lr.ArrowDown, - horizontal: lr.ArrowRight, - }): - return v.preventDefault(), v.stopPropagation(), s.goToOption(gi.Next); - case Sr(o.orientation, { - vertical: lr.ArrowUp, - horizontal: lr.ArrowLeft, - }): - return ( - v.preventDefault(), v.stopPropagation(), s.goToOption(gi.Previous) - ); - case lr.Home: - case lr.PageUp: - return ( - v.preventDefault(), v.stopPropagation(), s.goToOption(gi.First) - ); - case lr.End: - case lr.PageDown: - return v.preventDefault(), v.stopPropagation(), s.goToOption(gi.Last); - case lr.Escape: - return ( - v.preventDefault(), - v.stopPropagation(), - s.closeListbox(), - c.nextFrame(() => { - var y; - return (y = o.buttonRef.current) == null - ? void 0 - : y.focus({ preventScroll: !0 }); - }) - ); - case lr.Tab: - v.preventDefault(), v.stopPropagation(); - break; - default: - v.key.length === 1 && - (s.search(v.key), p.setTimeout(() => s.clearSearch(), 350)); - break; - } - }), - E = JF(() => { - var v, y, w; - return (w = (v = o.labelRef.current) == null ? void 0 : v.id) != null - ? w - : (y = o.buttonRef.current) == null - ? void 0 - : y.id; - }, [o.labelRef.current, o.buttonRef.current]), - b = C.useMemo(() => ({ open: o.listboxState === 0 }), [o]), - T = { - "aria-activedescendant": - o.activeOptionIndex === null || - (n = o.options[o.activeOptionIndex]) == null - ? void 0 - : n.id, - "aria-multiselectable": o.mode === 1 ? !0 : void 0, - "aria-labelledby": E, - "aria-orientation": o.orientation, - id: i, - onKeyDown: g, - role: "listbox", - tabIndex: 0, - ref: u, - }; - return wl({ - ourProps: T, - theirProps: a, - slot: b, - defaultTag: _2e, - features: T2e, - visible: m, - name: "Listbox.Options", - }); -} -let w2e = "li"; -function A2e(e, t) { - let n = fm(), - { - id: r = `headlessui-listbox-option-${n}`, - disabled: i = !1, - value: a, - ...o - } = e, - s = ef("Listbox.Option"), - u = Jp("Listbox.Option"), - c = - s.activeOptionIndex !== null - ? s.options[s.activeOptionIndex].id === r - : !1, - p = s.isSelected(a), - f = C.useRef(null), - m = l2e(f), - g = Eo({ - disabled: i, - value: a, - domRef: f, - get textValue() { - return m(); - }, - }), - E = Ru(t, f); - zi(() => { - if (s.listboxState !== 0 || !c || s.activationTrigger === 0) return; - let k = hl(); - return ( - k.requestAnimationFrame(() => { - var R, B; - (B = (R = f.current) == null ? void 0 : R.scrollIntoView) == null || - B.call(R, { block: "nearest" }); - }), - k.dispose - ); - }, [f, c, s.listboxState, s.activationTrigger, s.activeOptionIndex]), - zi(() => u.registerOption(r, g), [g, r]); - let b = Xt((k) => { - if (i) return k.preventDefault(); - u.onChange(a), - s.mode === 0 && - (u.closeListbox(), - hl().nextFrame(() => { - var R; - return (R = s.buttonRef.current) == null - ? void 0 - : R.focus({ preventScroll: !0 }); - })); - }), - T = Xt(() => { - if (i) return u.goToOption(gi.Nothing); - u.goToOption(gi.Specific, r); - }), - v = o2e(), - y = Xt((k) => v.update(k)), - w = Xt((k) => { - v.wasMoved(k) && (i || c || u.goToOption(gi.Specific, r, 0)); - }), - A = Xt((k) => { - v.wasMoved(k) && (i || (c && u.goToOption(gi.Nothing))); - }), - D = C.useMemo(() => ({ active: c, selected: p, disabled: i }), [c, p, i]); - return wl({ - ourProps: { - id: r, - ref: E, - role: "option", - tabIndex: i === !0 ? void 0 : -1, - "aria-disabled": i === !0 ? !0 : void 0, - "aria-selected": p, - disabled: void 0, - onClick: b, - onFocus: T, - onPointerEnter: y, - onMouseEnter: y, - onPointerMove: w, - onMouseMove: w, - onPointerLeave: A, - onMouseLeave: A, - }, - theirProps: o, - slot: D, - defaultTag: w2e, - name: "Listbox.Option", - }); -} -let C2e = ds(m2e), - x2e = ds(E2e), - k2e = ds(y2e), - I2e = ds(S2e), - R2e = ds(A2e), - hm = Object.assign(C2e, { - Button: x2e, - Label: k2e, - Options: I2e, - Option: R2e, - }); -function N2e(e = 0) { - let [t, n] = C.useState(e), - r = B7(), - i = C.useCallback( - (u) => { - r.current && n((c) => c | u); - }, - [t, r] - ), - a = C.useCallback((u) => !!(t & u), [t]), - o = C.useCallback( - (u) => { - r.current && n((c) => c & ~u); - }, - [n, r] - ), - s = C.useCallback( - (u) => { - r.current && n((c) => c ^ u); - }, - [n] - ); - return { flags: t, addFlag: i, hasFlag: a, removeFlag: o, toggleFlag: s }; -} -function O2e(e) { - let t = { called: !1 }; - return (...n) => { - if (!t.called) return (t.called = !0), e(...n); - }; -} -function d4(e, ...t) { - e && t.length > 0 && e.classList.add(...t); -} -function p4(e, ...t) { - e && t.length > 0 && e.classList.remove(...t); -} -function D2e(e, t) { - let n = hl(); - if (!e) return n.dispose; - let { transitionDuration: r, transitionDelay: i } = getComputedStyle(e), - [a, o] = [r, i].map((u) => { - let [c = 0] = u - .split(",") - .filter(Boolean) - .map((p) => (p.includes("ms") ? parseFloat(p) : parseFloat(p) * 1e3)) - .sort((p, f) => f - p); - return c; - }), - s = a + o; - if (s !== 0) { - n.group((c) => { - c.setTimeout(() => { - t(), c.dispose(); - }, s), - c.addEventListener(e, "transitionrun", (p) => { - p.target === p.currentTarget && c.dispose(); - }); - }); - let u = n.addEventListener(e, "transitionend", (c) => { - c.target === c.currentTarget && (t(), u()); - }); - } else t(); - return n.add(() => t()), n.dispose; -} -function L2e(e, t, n, r) { - let i = n ? "enter" : "leave", - a = hl(), - o = r !== void 0 ? O2e(r) : () => {}; - i === "enter" && (e.removeAttribute("hidden"), (e.style.display = "")); - let s = Sr(i, { enter: () => t.enter, leave: () => t.leave }), - u = Sr(i, { enter: () => t.enterTo, leave: () => t.leaveTo }), - c = Sr(i, { enter: () => t.enterFrom, leave: () => t.leaveFrom }); - return ( - p4( - e, - ...t.base, - ...t.enter, - ...t.enterTo, - ...t.enterFrom, - ...t.leave, - ...t.leaveFrom, - ...t.leaveTo, - ...t.entered - ), - d4(e, ...t.base, ...s, ...c), - a.nextFrame(() => { - p4(e, ...t.base, ...s, ...c), - d4(e, ...t.base, ...s, ...u), - D2e( - e, - () => (p4(e, ...t.base, ...s), d4(e, ...t.base, ...t.entered), o()) - ); - }), - a.dispose - ); -} -function M2e({ - immediate: e, - container: t, - direction: n, - classes: r, - onStart: i, - onStop: a, -}) { - let o = B7(), - s = tc(), - u = Eo(n); - zi(() => { - e && (u.current = "enter"); - }, [e]), - zi(() => { - let c = hl(); - s.add(c.dispose); - let p = t.current; - if (p && u.current !== "idle" && o.current) - return ( - c.dispose(), - i.current(u.current), - c.add( - L2e(p, r.current, u.current === "enter", () => { - c.dispose(), a.current(u.current); - }) - ), - c.dispose - ); - }, [n]); -} -function Rs(e = "") { - return e.split(" ").filter((t) => t.trim().length > 1); -} -let gm = C.createContext(null); -gm.displayName = "TransitionContext"; -var F2e = ((e) => ((e.Visible = "visible"), (e.Hidden = "hidden"), e))( - F2e || {} -); -function P2e() { - let e = C.useContext(gm); - if (e === null) - throw new Error( - "A is used but it is missing a parent or ." - ); - return e; -} -function B2e() { - let e = C.useContext(mm); - if (e === null) - throw new Error( - "A is used but it is missing a parent or ." - ); - return e; -} -let mm = C.createContext(null); -mm.displayName = "NestingContext"; -function bm(e) { - return "children" in e - ? bm(e.children) - : e.current - .filter(({ el: t }) => t.current !== null) - .filter(({ state: t }) => t === "visible").length > 0; -} -function lP(e, t) { - let n = Eo(e), - r = C.useRef([]), - i = B7(), - a = tc(), - o = Xt((g, E = Vs.Hidden) => { - let b = r.current.findIndex(({ el: T }) => T === g); - b !== -1 && - (Sr(E, { - [Vs.Unmount]() { - r.current.splice(b, 1); - }, - [Vs.Hidden]() { - r.current[b].state = "hidden"; - }, - }), - a.microTask(() => { - var T; - !bm(r) && i.current && ((T = n.current) == null || T.call(n)); - })); - }), - s = Xt((g) => { - let E = r.current.find(({ el: b }) => b === g); - return ( - E - ? E.state !== "visible" && (E.state = "visible") - : r.current.push({ el: g, state: "visible" }), - () => o(g, Vs.Unmount) - ); - }), - u = C.useRef([]), - c = C.useRef(Promise.resolve()), - p = C.useRef({ enter: [], leave: [], idle: [] }), - f = Xt((g, E, b) => { - u.current.splice(0), - t && - (t.chains.current[E] = t.chains.current[E].filter(([T]) => T !== g)), - t == null || - t.chains.current[E].push([ - g, - new Promise((T) => { - u.current.push(T); - }), - ]), - t == null || - t.chains.current[E].push([ - g, - new Promise((T) => { - Promise.all(p.current[E].map(([v, y]) => y)).then(() => T()); - }), - ]), - E === "enter" - ? (c.current = c.current - .then(() => (t == null ? void 0 : t.wait.current)) - .then(() => b(E))) - : b(E); - }), - m = Xt((g, E, b) => { - Promise.all(p.current[E].splice(0).map(([T, v]) => v)) - .then(() => { - var T; - (T = u.current.shift()) == null || T(); - }) - .then(() => b(E)); - }); - return C.useMemo( - () => ({ - children: r, - register: s, - unregister: o, - onStart: f, - onStop: m, - wait: c, - chains: p, - }), - [s, o, r, f, m, p, c] - ); -} -function U2e() {} -let $2e = ["beforeEnter", "afterEnter", "beforeLeave", "afterLeave"]; -function nR(e) { - var t; - let n = {}; - for (let r of $2e) n[r] = (t = e[r]) != null ? t : U2e; - return n; -} -function z2e(e) { - let t = C.useRef(nR(e)); - return ( - C.useEffect(() => { - t.current = nR(e); - }, [e]), - t - ); -} -let H2e = "div", - uP = Ig.RenderStrategy; -function j2e(e, t) { - var n, r; - let { - beforeEnter: i, - afterEnter: a, - beforeLeave: o, - afterLeave: s, - enter: u, - enterFrom: c, - enterTo: p, - entered: f, - leave: m, - leaveFrom: g, - leaveTo: E, - ...b - } = e, - T = C.useRef(null), - v = Ru(T, t), - y = (n = b.unmount) == null || n ? Vs.Unmount : Vs.Hidden, - { show: w, appear: A, initial: D } = P2e(), - [k, R] = C.useState(w ? "visible" : "hidden"), - B = B2e(), - { register: W, unregister: P } = B; - C.useEffect(() => W(T), [W, T]), - C.useEffect(() => { - if (y === Vs.Hidden && T.current) { - if (w && k !== "visible") { - R("visible"); - return; - } - return Sr(k, { hidden: () => P(T), visible: () => W(T) }); - } - }, [k, T, W, P, w, y]); - let Q = Eo({ - base: Rs(b.className), - enter: Rs(u), - enterFrom: Rs(c), - enterTo: Rs(p), - entered: Rs(f), - leave: Rs(m), - leaveFrom: Rs(g), - leaveTo: Rs(E), - }), - z = z2e({ beforeEnter: i, afterEnter: a, beforeLeave: o, afterLeave: s }), - le = L7(); - C.useEffect(() => { - if (le && k === "visible" && T.current === null) - throw new Error( - "Did you forget to passthrough the `ref` to the actual DOM node?" - ); - }, [T, k, le]); - let he = D && !A, - de = A && w && D, - fe = (() => (!le || he ? "idle" : w ? "enter" : "leave"))(), - Z = N2e(0), - V = Xt((O) => - Sr(O, { - enter: () => { - Z.addFlag(Oi.Opening), z.current.beforeEnter(); - }, - leave: () => { - Z.addFlag(Oi.Closing), z.current.beforeLeave(); - }, - idle: () => {}, - }) - ), - ce = Xt((O) => - Sr(O, { - enter: () => { - Z.removeFlag(Oi.Opening), z.current.afterEnter(); - }, - leave: () => { - Z.removeFlag(Oi.Closing), z.current.afterLeave(); - }, - idle: () => {}, - }) - ), - N = lP(() => { - R("hidden"), P(T); - }, B); - M2e({ - immediate: de, - container: T, - classes: Q, - direction: fe, - onStart: Eo((O) => { - N.onStart(T, O, V); - }), - onStop: Eo((O) => { - N.onStop(T, O, ce), O === "leave" && !bm(N) && (R("hidden"), P(T)); - }), - }); - let me = b, - oe = { ref: v }; - return ( - de - ? (me = { - ...me, - className: kg( - b.className, - ...Q.current.enter, - ...Q.current.enterFrom - ), - }) - : ((me.className = kg( - b.className, - (r = T.current) == null ? void 0 : r.className - )), - me.className === "" && delete me.className), - ut.createElement( - mm.Provider, - { value: N }, - ut.createElement( - sP, - { value: Sr(k, { visible: Oi.Open, hidden: Oi.Closed }) | Z.flags }, - wl({ - ourProps: oe, - theirProps: me, - defaultTag: H2e, - features: uP, - visible: k === "visible", - name: "Transition.Child", - }) - ) - ) - ); -} -function G2e(e, t) { - let { show: n, appear: r = !1, unmount: i = !0, ...a } = e, - o = C.useRef(null), - s = Ru(o, t); - L7(); - let u = P7(); - if ( - (n === void 0 && u !== null && (n = (u & Oi.Open) === Oi.Open), - ![!0, !1].includes(n)) - ) - throw new Error( - "A is used but it is missing a `show={true | false}` prop." - ); - let [c, p] = C.useState(n ? "visible" : "hidden"), - f = lP(() => { - p("hidden"); - }), - [m, g] = C.useState(!0), - E = C.useRef([n]); - zi(() => { - m !== !1 && - E.current[E.current.length - 1] !== n && - (E.current.push(n), g(!1)); - }, [E, n]); - let b = C.useMemo(() => ({ show: n, appear: r, initial: m }), [n, r, m]); - C.useEffect(() => { - if (n) p("visible"); - else if (!bm(f)) p("hidden"); - else { - let w = o.current; - if (!w) return; - let A = w.getBoundingClientRect(); - A.x === 0 && A.y === 0 && A.width === 0 && A.height === 0 && p("hidden"); - } - }, [n, f]); - let T = { unmount: i }, - v = Xt(() => { - var w; - m && g(!1), (w = e.beforeEnter) == null || w.call(e); - }), - y = Xt(() => { - var w; - m && g(!1), (w = e.beforeLeave) == null || w.call(e); - }); - return ut.createElement( - mm.Provider, - { value: f }, - ut.createElement( - gm.Provider, - { value: b }, - wl({ - ourProps: { - ...T, - as: C.Fragment, - children: ut.createElement(cP, { - ref: s, - ...T, - ...a, - beforeEnter: v, - beforeLeave: y, - }), - }, - theirProps: {}, - defaultTag: C.Fragment, - features: uP, - visible: c === "visible", - name: "Transition", - }) - ) - ); -} -function V2e(e, t) { - let n = C.useContext(gm) !== null, - r = P7() !== null; - return ut.createElement( - ut.Fragment, - null, - !n && r - ? ut.createElement(v9, { ref: t, ...e }) - : ut.createElement(cP, { ref: t, ...e }) - ); -} -let v9 = ds(G2e), - cP = ds(j2e), - W2e = ds(V2e), - q2e = Object.assign(v9, { Child: W2e, Root: v9 }); -const K2e = He.div` +`;const Fge=e=>(C.useEffect(()=>{const t=n=>{n.key==="Escape"&&e.onClose()};return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[e]),I.jsx(Dge,{onClick:()=>{e.onClose()},hidden:!e.showDialog,children:I.jsx(Lge,{onClick:t=>{t.stopPropagation()},children:I.jsx(Mge,{children:typeof e.message=="string"?I.jsx(HE,{children:e.message||""}):e.message})})}));var Pge=Object.defineProperty,Bge=(e,t,n)=>t in e?Pge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l4=(e,t,n)=>(Bge(e,typeof t!="symbol"?t+"":t,n),n);let Uge=class{constructor(){l4(this,"current",this.detect()),l4(this,"handoffState","pending"),l4(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},su=new Uge,zi=(e,t)=>{su.isServer?C.useEffect(e,t):C.useLayoutEffect(e,t)};function Eo(e){let t=C.useRef(e);return zi(()=>{t.current=e},[e]),t}function JF(e,t){let[n,r]=C.useState(e),i=Eo(e);return zi(()=>r(i.current),[i,r,...t]),n}function $ge(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function hl(){let e=[],t={addEventListener(n,r,i,a){return n.addEventListener(r,i,a),t.add(()=>n.removeEventListener(r,i,a))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return $ge(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,i){let a=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:i}),this.add(()=>{Object.assign(n.style,{[r]:a})})},group(n){let r=hl();return n(r),this.add(()=>r.dispose())},add(n){return e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let i of e.splice(r,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function tc(){let[e]=C.useState(hl);return C.useEffect(()=>()=>e.dispose(),[e]),e}let Xt=function(e){let t=Eo(e);return ut.useCallback((...n)=>t.current(...n),[t])};function zge(){let e=typeof document>"u";return"useSyncExternalStore"in v4?(t=>t.useSyncExternalStore)(v4)(()=>()=>{},()=>!1,()=>!e):!1}function L7(){let e=zge(),[t,n]=C.useState(su.isHandoffComplete);return t&&su.isHandoffComplete===!1&&n(!1),C.useEffect(()=>{t!==!0&&n(!0)},[t]),C.useEffect(()=>su.handoff(),[]),e?!1:t}var XI;let fm=(XI=ut.useId)!=null?XI:function(){let e=L7(),[t,n]=ut.useState(e?()=>su.nextId():null);return zi(()=>{t===null&&n(su.nextId())},[t]),t!=null?""+t:void 0};function Sr(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Sr),r}function eP(e){return su.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let ZI=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Hge=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Hge||{}),jge=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(jge||{}),Gge=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Gge||{}),M7=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(M7||{});function tP(e,t=0){var n;return e===((n=eP(e))==null?void 0:n.body)?!1:Sr(t,{0(){return e.matches(ZI)},1(){let r=e;for(;r!==null;){if(r.matches(ZI))return!0;r=r.parentElement}return!1}})}var Vge=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Vge||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function Wge(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),a=t(r);if(i===null||a===null)return 0;let o=i.compareDocumentPosition(a);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function q0(e,t,n){let r=Eo(t);C.useEffect(()=>{function i(a){r.current(a)}return document.addEventListener(e,i,n),()=>document.removeEventListener(e,i,n)},[e,n])}function qge(e,t,n){let r=Eo(t);C.useEffect(()=>{function i(a){r.current(a)}return window.addEventListener(e,i,n),()=>window.removeEventListener(e,i,n)},[e,n])}function Kge(e,t,n=!0){let r=C.useRef(!1);C.useEffect(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);function i(o,s){if(!r.current||o.defaultPrevented)return;let u=s(o);if(u===null||!u.getRootNode().contains(u)||!u.isConnected)return;let c=function p(f){return typeof f=="function"?p(f()):Array.isArray(f)||f instanceof Set?f:[f]}(e);for(let p of c){if(p===null)continue;let f=p instanceof HTMLElement?p:p.current;if(f!=null&&f.contains(u)||o.composed&&o.composedPath().includes(f))return}return!tP(u,M7.Loose)&&u.tabIndex!==-1&&o.preventDefault(),t(o,u)}let a=C.useRef(null);q0("pointerdown",o=>{var s,u;r.current&&(a.current=((u=(s=o.composedPath)==null?void 0:s.call(o))==null?void 0:u[0])||o.target)},!0),q0("mousedown",o=>{var s,u;r.current&&(a.current=((u=(s=o.composedPath)==null?void 0:s.call(o))==null?void 0:u[0])||o.target)},!0),q0("click",o=>{a.current&&(i(o,()=>a.current),a.current=null)},!0),q0("touchend",o=>i(o,()=>o.target instanceof HTMLElement?o.target:null),!0),qge("blur",o=>i(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function QI(e){var t;if(e.type)return e.type;let n=(t=e.as)!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Yge(e,t){let[n,r]=C.useState(()=>QI(e));return zi(()=>{r(QI(e))},[e.type,e.as]),zi(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}let Xge=Symbol();function Ru(...e){let t=C.useRef(e);C.useEffect(()=>{t.current=e},[e]);let n=Xt(r=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(r):i.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Xge]))?void 0:n}function Zge(e){throw new Error("Unexpected object: "+e)}var gi=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))(gi||{});function Qge(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1,a=(()=>{switch(e.focus){case 0:return n.findIndex(o=>!t.resolveDisabled(o));case 1:{let o=n.slice().reverse().findIndex((s,u,c)=>i!==-1&&c.length-u-1>=i?!1:!t.resolveDisabled(s));return o===-1?o:n.length-1-o}case 2:return n.findIndex((o,s)=>s<=i?!1:!t.resolveDisabled(o));case 3:{let o=n.slice().reverse().findIndex(s=>!t.resolveDisabled(s));return o===-1?o:n.length-1-o}case 4:return n.findIndex(o=>t.resolveId(o)===e.id);case 5:return null;default:Zge(e)}})();return a===-1?r:a}function kg(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}var Ig=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Ig||{}),Vs=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Vs||{});function wl({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let s=nP(t,e);if(a)return K0(s,n,r,o);let u=i??0;if(u&2){let{static:c=!1,...p}=s;if(c)return K0(p,n,r,o)}if(u&1){let{unmount:c=!0,...p}=s;return Sr(c?0:1,{0(){return null},1(){return K0({...p,hidden:!0,style:{display:"none"}},n,r,o)}})}return K0(s,n,r,o)}function K0(e,t={},n,r){let{as:i=n,children:a,refName:o="ref",...s}=u4(e,["unmount","static"]),u=e.ref!==void 0?{[o]:e.ref}:{},c=typeof a=="function"?a(t):a;"className"in s&&s.className&&typeof s.className=="function"&&(s.className=s.className(t));let p={};if(t){let f=!1,m=[];for(let[g,E]of Object.entries(t))typeof E=="boolean"&&(f=!0),E===!0&&m.push(g);f&&(p["data-headlessui-state"]=m.join(" "))}if(i===C.Fragment&&Object.keys(E9(s)).length>0){if(!C.isValidElement(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(s).map(E=>` - ${E}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(E=>` - ${E}`).join(` +`)].join(` +`));let f=c.props,m=typeof(f==null?void 0:f.className)=="function"?(...E)=>kg(f==null?void 0:f.className(...E),s.className):kg(f==null?void 0:f.className,s.className),g=m?{className:m}:{};return C.cloneElement(c,Object.assign({},nP(c.props,E9(u4(s,["ref"]))),p,u,Jge(c.ref,u.ref),g))}return C.createElement(i,Object.assign({},u4(s,["ref"]),i!==C.Fragment&&u,i!==C.Fragment&&p),c)}function Jge(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function nP(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...a){let o=n[r];for(let s of o){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;s(i,...a)}}});return t}function ds(e){var t;return Object.assign(C.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function E9(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function u4(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function e2e(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&t2e(n)?!1:r}function t2e(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function rP(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))aP(n,iP(t,r),i);return n}function iP(e,t){return e?e+"["+t+"]":t}function aP(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())aP(e,iP(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):rP(n,t,e)}let n2e="div";var oP=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(oP||{});function r2e(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return wl({ourProps:i,theirProps:r,slot:{},defaultTag:n2e,name:"Hidden"})}let i2e=ds(r2e),F7=C.createContext(null);F7.displayName="OpenClosedContext";var Oi=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Oi||{});function P7(){return C.useContext(F7)}function sP({value:e,children:t}){return ut.createElement(F7.Provider,{value:e},t)}var lr=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(lr||{});function a2e(e,t,n){let[r,i]=C.useState(n),a=e!==void 0,o=C.useRef(a),s=C.useRef(!1),u=C.useRef(!1);return a&&!o.current&&!s.current?(s.current=!0,o.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!a&&o.current&&!u.current&&(u.current=!0,o.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[a?e:r,Xt(c=>(a||i(c),t==null?void 0:t(c)))]}function JI(e){return[e.screenX,e.screenY]}function o2e(){let e=C.useRef([-1,-1]);return{wasMoved(t){let n=JI(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=JI(t)}}}function B7(){let e=C.useRef(!1);return zi(()=>(e.current=!0,()=>{e.current=!1}),[]),e}let eR=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function tR(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let s of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),a=!0;let o=a?(n=i.innerText)!=null?n:"":r;return eR.test(o)&&(o=o.replace(eR,"")),o}function s2e(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let a=document.getElementById(i);if(a){let o=a.getAttribute("aria-label");return typeof o=="string"?o.trim():tR(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return tR(e).trim()}function l2e(e){let t=C.useRef(""),n=C.useRef("");return Xt(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=s2e(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var u2e=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(u2e||{}),c2e=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(c2e||{}),d2e=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(d2e||{}),p2e=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(p2e||{});function c4(e,t=n=>n){let n=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=Wge(t(e.options.slice()),a=>a.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{options:r,activeOptionIndex:i}}let f2e={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(i=>n(i.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=c4(e),i=Qge(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:a=>a.id,resolveDisabled:a=>a.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:i,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(o=>{var s;return!o.dataRef.current.disabled&&((s=o.dataRef.current.textValue)==null?void 0:s.startsWith(r))}),a=i?e.options.indexOf(i):-1;return a===-1||a===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:a,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=c4(e,i=>[...i,n]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=c4(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},U7=C.createContext(null);U7.displayName="ListboxActionsContext";function Jp(e){let t=C.useContext(U7);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Jp),n}return t}let $7=C.createContext(null);$7.displayName="ListboxDataContext";function ef(e){let t=C.useContext($7);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ef),n}return t}function h2e(e,t){return Sr(t.type,f2e,e,t)}let g2e=C.Fragment;function m2e(e,t){let{value:n,defaultValue:r,form:i,name:a,onChange:o,by:s=(re,Te)=>re===Te,disabled:u=!1,horizontal:c=!1,multiple:p=!1,...f}=e;const m=c?"horizontal":"vertical";let g=Ru(t),[E=p?[]:void 0,b]=a2e(n,o,r),[T,v]=C.useReducer(h2e,{dataRef:C.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),y=C.useRef({static:!1,hold:!1}),w=C.useRef(null),A=C.useRef(null),D=C.useRef(null),k=Xt(typeof s=="string"?(re,Te)=>{let K=s;return(re==null?void 0:re[K])===(Te==null?void 0:Te[K])}:s),R=C.useCallback(re=>Sr(B.mode,{1:()=>E.some(Te=>k(Te,re)),0:()=>k(E,re)}),[E]),B=C.useMemo(()=>({...T,value:E,disabled:u,mode:p?1:0,orientation:m,compare:k,isSelected:R,optionsPropsRef:y,labelRef:w,buttonRef:A,optionsRef:D}),[E,u,p,T]);zi(()=>{T.dataRef.current=B},[B]),Kge([B.buttonRef,B.optionsRef],(re,Te)=>{var K;v({type:1}),tP(Te,M7.Loose)||(re.preventDefault(),(K=B.buttonRef.current)==null||K.focus())},B.listboxState===0);let W=C.useMemo(()=>({open:B.listboxState===0,disabled:u,value:E}),[B,u,E]),P=Xt(re=>{let Te=B.options.find(K=>K.id===re);Te&&Z(Te.dataRef.current.value)}),Q=Xt(()=>{if(B.activeOptionIndex!==null){let{dataRef:re,id:Te}=B.options[B.activeOptionIndex];Z(re.current.value),v({type:2,focus:gi.Specific,id:Te})}}),z=Xt(()=>v({type:0})),le=Xt(()=>v({type:1})),he=Xt((re,Te,K)=>re===gi.Specific?v({type:2,focus:gi.Specific,id:Te,trigger:K}):v({type:2,focus:re,trigger:K})),de=Xt((re,Te)=>(v({type:5,id:re,dataRef:Te}),()=>v({type:6,id:re}))),fe=Xt(re=>(v({type:7,id:re}),()=>v({type:7,id:null}))),Z=Xt(re=>Sr(B.mode,{0(){return b==null?void 0:b(re)},1(){let Te=B.value.slice(),K=Te.findIndex(xe=>k(xe,re));return K===-1?Te.push(re):Te.splice(K,1),b==null?void 0:b(Te)}})),V=Xt(re=>v({type:3,value:re})),ce=Xt(()=>v({type:4})),N=C.useMemo(()=>({onChange:Z,registerOption:de,registerLabel:fe,goToOption:he,closeListbox:le,openListbox:z,selectActiveOption:Q,selectOption:P,search:V,clearSearch:ce}),[]),me={ref:g},oe=C.useRef(null),O=tc();return C.useEffect(()=>{oe.current&&r!==void 0&&O.addEventListener(oe.current,"reset",()=>{b==null||b(r)})},[oe,b]),ut.createElement(U7.Provider,{value:N},ut.createElement($7.Provider,{value:B},ut.createElement(sP,{value:Sr(B.listboxState,{0:Oi.Open,1:Oi.Closed})},a!=null&&E!=null&&rP({[a]:E}).map(([re,Te],K)=>ut.createElement(i2e,{features:oP.Hidden,ref:K===0?xe=>{var ne;oe.current=(ne=xe==null?void 0:xe.closest("form"))!=null?ne:null}:void 0,...E9({key:re,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:re,value:Te})})),wl({ourProps:me,theirProps:f,slot:W,defaultTag:g2e,name:"Listbox"}))))}let b2e="button";function E2e(e,t){var n;let r=fm(),{id:i=`headlessui-listbox-button-${r}`,...a}=e,o=ef("Listbox.Button"),s=Jp("Listbox.Button"),u=Ru(o.buttonRef,t),c=tc(),p=Xt(T=>{switch(T.key){case lr.Space:case lr.Enter:case lr.ArrowDown:T.preventDefault(),s.openListbox(),c.nextFrame(()=>{o.value||s.goToOption(gi.First)});break;case lr.ArrowUp:T.preventDefault(),s.openListbox(),c.nextFrame(()=>{o.value||s.goToOption(gi.Last)});break}}),f=Xt(T=>{switch(T.key){case lr.Space:T.preventDefault();break}}),m=Xt(T=>{if(e2e(T.currentTarget))return T.preventDefault();o.listboxState===0?(s.closeListbox(),c.nextFrame(()=>{var v;return(v=o.buttonRef.current)==null?void 0:v.focus({preventScroll:!0})})):(T.preventDefault(),s.openListbox())}),g=JF(()=>{if(o.labelId)return[o.labelId,i].join(" ")},[o.labelId,i]),E=C.useMemo(()=>({open:o.listboxState===0,disabled:o.disabled,value:o.value}),[o]),b={ref:u,id:i,type:Yge(e,o.buttonRef),"aria-haspopup":"listbox","aria-controls":(n=o.optionsRef.current)==null?void 0:n.id,"aria-expanded":o.listboxState===0,"aria-labelledby":g,disabled:o.disabled,onKeyDown:p,onKeyUp:f,onClick:m};return wl({ourProps:b,theirProps:a,slot:E,defaultTag:b2e,name:"Listbox.Button"})}let v2e="label";function y2e(e,t){let n=fm(),{id:r=`headlessui-listbox-label-${n}`,...i}=e,a=ef("Listbox.Label"),o=Jp("Listbox.Label"),s=Ru(a.labelRef,t);zi(()=>o.registerLabel(r),[r]);let u=Xt(()=>{var p;return(p=a.buttonRef.current)==null?void 0:p.focus({preventScroll:!0})}),c=C.useMemo(()=>({open:a.listboxState===0,disabled:a.disabled}),[a]);return wl({ourProps:{ref:s,id:r,onClick:u},theirProps:i,slot:c,defaultTag:v2e,name:"Listbox.Label"})}let _2e="ul",T2e=Ig.RenderStrategy|Ig.Static;function S2e(e,t){var n;let r=fm(),{id:i=`headlessui-listbox-options-${r}`,...a}=e,o=ef("Listbox.Options"),s=Jp("Listbox.Options"),u=Ru(o.optionsRef,t),c=tc(),p=tc(),f=P7(),m=(()=>f!==null?(f&Oi.Open)===Oi.Open:o.listboxState===0)();C.useEffect(()=>{var v;let y=o.optionsRef.current;y&&o.listboxState===0&&y!==((v=eP(y))==null?void 0:v.activeElement)&&y.focus({preventScroll:!0})},[o.listboxState,o.optionsRef]);let g=Xt(v=>{switch(p.dispose(),v.key){case lr.Space:if(o.searchQuery!=="")return v.preventDefault(),v.stopPropagation(),s.search(v.key);case lr.Enter:if(v.preventDefault(),v.stopPropagation(),o.activeOptionIndex!==null){let{dataRef:y}=o.options[o.activeOptionIndex];s.onChange(y.current.value)}o.mode===0&&(s.closeListbox(),hl().nextFrame(()=>{var y;return(y=o.buttonRef.current)==null?void 0:y.focus({preventScroll:!0})}));break;case Sr(o.orientation,{vertical:lr.ArrowDown,horizontal:lr.ArrowRight}):return v.preventDefault(),v.stopPropagation(),s.goToOption(gi.Next);case Sr(o.orientation,{vertical:lr.ArrowUp,horizontal:lr.ArrowLeft}):return v.preventDefault(),v.stopPropagation(),s.goToOption(gi.Previous);case lr.Home:case lr.PageUp:return v.preventDefault(),v.stopPropagation(),s.goToOption(gi.First);case lr.End:case lr.PageDown:return v.preventDefault(),v.stopPropagation(),s.goToOption(gi.Last);case lr.Escape:return v.preventDefault(),v.stopPropagation(),s.closeListbox(),c.nextFrame(()=>{var y;return(y=o.buttonRef.current)==null?void 0:y.focus({preventScroll:!0})});case lr.Tab:v.preventDefault(),v.stopPropagation();break;default:v.key.length===1&&(s.search(v.key),p.setTimeout(()=>s.clearSearch(),350));break}}),E=JF(()=>{var v,y,w;return(w=(v=o.labelRef.current)==null?void 0:v.id)!=null?w:(y=o.buttonRef.current)==null?void 0:y.id},[o.labelRef.current,o.buttonRef.current]),b=C.useMemo(()=>({open:o.listboxState===0}),[o]),T={"aria-activedescendant":o.activeOptionIndex===null||(n=o.options[o.activeOptionIndex])==null?void 0:n.id,"aria-multiselectable":o.mode===1?!0:void 0,"aria-labelledby":E,"aria-orientation":o.orientation,id:i,onKeyDown:g,role:"listbox",tabIndex:0,ref:u};return wl({ourProps:T,theirProps:a,slot:b,defaultTag:_2e,features:T2e,visible:m,name:"Listbox.Options"})}let w2e="li";function A2e(e,t){let n=fm(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:a,...o}=e,s=ef("Listbox.Option"),u=Jp("Listbox.Option"),c=s.activeOptionIndex!==null?s.options[s.activeOptionIndex].id===r:!1,p=s.isSelected(a),f=C.useRef(null),m=l2e(f),g=Eo({disabled:i,value:a,domRef:f,get textValue(){return m()}}),E=Ru(t,f);zi(()=>{if(s.listboxState!==0||!c||s.activationTrigger===0)return;let k=hl();return k.requestAnimationFrame(()=>{var R,B;(B=(R=f.current)==null?void 0:R.scrollIntoView)==null||B.call(R,{block:"nearest"})}),k.dispose},[f,c,s.listboxState,s.activationTrigger,s.activeOptionIndex]),zi(()=>u.registerOption(r,g),[g,r]);let b=Xt(k=>{if(i)return k.preventDefault();u.onChange(a),s.mode===0&&(u.closeListbox(),hl().nextFrame(()=>{var R;return(R=s.buttonRef.current)==null?void 0:R.focus({preventScroll:!0})}))}),T=Xt(()=>{if(i)return u.goToOption(gi.Nothing);u.goToOption(gi.Specific,r)}),v=o2e(),y=Xt(k=>v.update(k)),w=Xt(k=>{v.wasMoved(k)&&(i||c||u.goToOption(gi.Specific,r,0))}),A=Xt(k=>{v.wasMoved(k)&&(i||c&&u.goToOption(gi.Nothing))}),D=C.useMemo(()=>({active:c,selected:p,disabled:i}),[c,p,i]);return wl({ourProps:{id:r,ref:E,role:"option",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,"aria-selected":p,disabled:void 0,onClick:b,onFocus:T,onPointerEnter:y,onMouseEnter:y,onPointerMove:w,onMouseMove:w,onPointerLeave:A,onMouseLeave:A},theirProps:o,slot:D,defaultTag:w2e,name:"Listbox.Option"})}let C2e=ds(m2e),x2e=ds(E2e),k2e=ds(y2e),I2e=ds(S2e),R2e=ds(A2e),hm=Object.assign(C2e,{Button:x2e,Label:k2e,Options:I2e,Option:R2e});function N2e(e=0){let[t,n]=C.useState(e),r=B7(),i=C.useCallback(u=>{r.current&&n(c=>c|u)},[t,r]),a=C.useCallback(u=>!!(t&u),[t]),o=C.useCallback(u=>{r.current&&n(c=>c&~u)},[n,r]),s=C.useCallback(u=>{r.current&&n(c=>c^u)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:s}}function O2e(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function d4(e,...t){e&&t.length>0&&e.classList.add(...t)}function p4(e,...t){e&&t.length>0&&e.classList.remove(...t)}function D2e(e,t){let n=hl();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(u=>{let[c=0]=u.split(",").filter(Boolean).map(p=>p.includes("ms")?parseFloat(p):parseFloat(p)*1e3).sort((p,f)=>f-p);return c}),s=a+o;if(s!==0){n.group(c=>{c.setTimeout(()=>{t(),c.dispose()},s),c.addEventListener(e,"transitionrun",p=>{p.target===p.currentTarget&&c.dispose()})});let u=n.addEventListener(e,"transitionend",c=>{c.target===c.currentTarget&&(t(),u())})}else t();return n.add(()=>t()),n.dispose}function L2e(e,t,n,r){let i=n?"enter":"leave",a=hl(),o=r!==void 0?O2e(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let s=Sr(i,{enter:()=>t.enter,leave:()=>t.leave}),u=Sr(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Sr(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return p4(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),d4(e,...t.base,...s,...c),a.nextFrame(()=>{p4(e,...t.base,...s,...c),d4(e,...t.base,...s,...u),D2e(e,()=>(p4(e,...t.base,...s),d4(e,...t.base,...t.entered),o()))}),a.dispose}function M2e({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=B7(),s=tc(),u=Eo(n);zi(()=>{e&&(u.current="enter")},[e]),zi(()=>{let c=hl();s.add(c.dispose);let p=t.current;if(p&&u.current!=="idle"&&o.current)return c.dispose(),i.current(u.current),c.add(L2e(p,r.current,u.current==="enter",()=>{c.dispose(),a.current(u.current)})),c.dispose},[n])}function Rs(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let gm=C.createContext(null);gm.displayName="TransitionContext";var F2e=(e=>(e.Visible="visible",e.Hidden="hidden",e))(F2e||{});function P2e(){let e=C.useContext(gm);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}function B2e(){let e=C.useContext(mm);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}let mm=C.createContext(null);mm.displayName="NestingContext";function bm(e){return"children"in e?bm(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function lP(e,t){let n=Eo(e),r=C.useRef([]),i=B7(),a=tc(),o=Xt((g,E=Vs.Hidden)=>{let b=r.current.findIndex(({el:T})=>T===g);b!==-1&&(Sr(E,{[Vs.Unmount](){r.current.splice(b,1)},[Vs.Hidden](){r.current[b].state="hidden"}}),a.microTask(()=>{var T;!bm(r)&&i.current&&((T=n.current)==null||T.call(n))}))}),s=Xt(g=>{let E=r.current.find(({el:b})=>b===g);return E?E.state!=="visible"&&(E.state="visible"):r.current.push({el:g,state:"visible"}),()=>o(g,Vs.Unmount)}),u=C.useRef([]),c=C.useRef(Promise.resolve()),p=C.useRef({enter:[],leave:[],idle:[]}),f=Xt((g,E,b)=>{u.current.splice(0),t&&(t.chains.current[E]=t.chains.current[E].filter(([T])=>T!==g)),t==null||t.chains.current[E].push([g,new Promise(T=>{u.current.push(T)})]),t==null||t.chains.current[E].push([g,new Promise(T=>{Promise.all(p.current[E].map(([v,y])=>y)).then(()=>T())})]),E==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>b(E)):b(E)}),m=Xt((g,E,b)=>{Promise.all(p.current[E].splice(0).map(([T,v])=>v)).then(()=>{var T;(T=u.current.shift())==null||T()}).then(()=>b(E))});return C.useMemo(()=>({children:r,register:s,unregister:o,onStart:f,onStop:m,wait:c,chains:p}),[s,o,r,f,m,p,c])}function U2e(){}let $2e=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function nR(e){var t;let n={};for(let r of $2e)n[r]=(t=e[r])!=null?t:U2e;return n}function z2e(e){let t=C.useRef(nR(e));return C.useEffect(()=>{t.current=nR(e)},[e]),t}let H2e="div",uP=Ig.RenderStrategy;function j2e(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:s,enter:u,enterFrom:c,enterTo:p,entered:f,leave:m,leaveFrom:g,leaveTo:E,...b}=e,T=C.useRef(null),v=Ru(T,t),y=(n=b.unmount)==null||n?Vs.Unmount:Vs.Hidden,{show:w,appear:A,initial:D}=P2e(),[k,R]=C.useState(w?"visible":"hidden"),B=B2e(),{register:W,unregister:P}=B;C.useEffect(()=>W(T),[W,T]),C.useEffect(()=>{if(y===Vs.Hidden&&T.current){if(w&&k!=="visible"){R("visible");return}return Sr(k,{hidden:()=>P(T),visible:()=>W(T)})}},[k,T,W,P,w,y]);let Q=Eo({base:Rs(b.className),enter:Rs(u),enterFrom:Rs(c),enterTo:Rs(p),entered:Rs(f),leave:Rs(m),leaveFrom:Rs(g),leaveTo:Rs(E)}),z=z2e({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:s}),le=L7();C.useEffect(()=>{if(le&&k==="visible"&&T.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[T,k,le]);let he=D&&!A,de=A&&w&&D,fe=(()=>!le||he?"idle":w?"enter":"leave")(),Z=N2e(0),V=Xt(O=>Sr(O,{enter:()=>{Z.addFlag(Oi.Opening),z.current.beforeEnter()},leave:()=>{Z.addFlag(Oi.Closing),z.current.beforeLeave()},idle:()=>{}})),ce=Xt(O=>Sr(O,{enter:()=>{Z.removeFlag(Oi.Opening),z.current.afterEnter()},leave:()=>{Z.removeFlag(Oi.Closing),z.current.afterLeave()},idle:()=>{}})),N=lP(()=>{R("hidden"),P(T)},B);M2e({immediate:de,container:T,classes:Q,direction:fe,onStart:Eo(O=>{N.onStart(T,O,V)}),onStop:Eo(O=>{N.onStop(T,O,ce),O==="leave"&&!bm(N)&&(R("hidden"),P(T))})});let me=b,oe={ref:v};return de?me={...me,className:kg(b.className,...Q.current.enter,...Q.current.enterFrom)}:(me.className=kg(b.className,(r=T.current)==null?void 0:r.className),me.className===""&&delete me.className),ut.createElement(mm.Provider,{value:N},ut.createElement(sP,{value:Sr(k,{visible:Oi.Open,hidden:Oi.Closed})|Z.flags},wl({ourProps:oe,theirProps:me,defaultTag:H2e,features:uP,visible:k==="visible",name:"Transition.Child"})))}function G2e(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=C.useRef(null),s=Ru(o,t);L7();let u=P7();if(n===void 0&&u!==null&&(n=(u&Oi.Open)===Oi.Open),![!0,!1].includes(n))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[c,p]=C.useState(n?"visible":"hidden"),f=lP(()=>{p("hidden")}),[m,g]=C.useState(!0),E=C.useRef([n]);zi(()=>{m!==!1&&E.current[E.current.length-1]!==n&&(E.current.push(n),g(!1))},[E,n]);let b=C.useMemo(()=>({show:n,appear:r,initial:m}),[n,r,m]);C.useEffect(()=>{if(n)p("visible");else if(!bm(f))p("hidden");else{let w=o.current;if(!w)return;let A=w.getBoundingClientRect();A.x===0&&A.y===0&&A.width===0&&A.height===0&&p("hidden")}},[n,f]);let T={unmount:i},v=Xt(()=>{var w;m&&g(!1),(w=e.beforeEnter)==null||w.call(e)}),y=Xt(()=>{var w;m&&g(!1),(w=e.beforeLeave)==null||w.call(e)});return ut.createElement(mm.Provider,{value:f},ut.createElement(gm.Provider,{value:b},wl({ourProps:{...T,as:C.Fragment,children:ut.createElement(cP,{ref:s,...T,...a,beforeEnter:v,beforeLeave:y})},theirProps:{},defaultTag:C.Fragment,features:uP,visible:c==="visible",name:"Transition"})))}function V2e(e,t){let n=C.useContext(gm)!==null,r=P7()!==null;return ut.createElement(ut.Fragment,null,!n&&r?ut.createElement(v9,{ref:t,...e}):ut.createElement(cP,{ref:t,...e}))}let v9=ds(G2e),cP=ds(j2e),W2e=ds(V2e),q2e=Object.assign(v9,{Child:W2e,Root:v9});const K2e=He.div` display: grid; grid-template-columns: 1fr auto; align-items: center; border: 0.5px solid ${vt}; border-radius: ${wt}; overflow: hidden; -`; -He.select` +`;He.select` border: none; max-width: 50vw; background-color: ${Kt}; @@ -72936,8 +923,7 @@ He.select` &:hover { background-color: ${Lt}; } -`; -const Y2e = He(cD)` +`;const Y2e=He(cD)` background-color: ${Kt}; cursor: pointer; margin: 0px; @@ -72949,8 +935,7 @@ const Y2e = He(cD)` background-color: ${Lt}; } border-left: 0.5px solid ${vt}; -`; -He.div` +`;He.div` cursor: pointer; padding: 8px; padding-left: 16px; @@ -72960,13 +945,11 @@ He.div` &:hover { background-color: ${Lt}; } -`; -const X2e = He(hm)` +`;const X2e=He(hm)` background-color: ${Kt}; padding: 0; min-width: 80px; -`, - Z2e = He(hm.Button)` +`,Z2e=He(hm.Button)` position: relative; cursor: pointer; background-color: ${Kt}; @@ -72994,8 +977,7 @@ const X2e = He(hm)` &:hover { background-color: ${Lt}; } -`, - Q2e = He(hm.Options)` +`,Q2e=He(hm.Options)` background-color: ${Lt}; padding: 0; @@ -73005,158 +987,32 @@ const X2e = He(hm)` border-radius: ${wt}; overflow: hidden; -`, - J2e = He(hm.Option)` - background-color: ${({ selected: e }) => (e ? `${da}88` : Lt)}; +`,J2e=He(hm.Option)` + background-color: ${({selected:e})=>e?`${da}88`:Lt}; cursor: pointer; padding: 6px 8px; &:hover { background-color: ${da}44; } -`; -function f4(e) { - return e != null && e.title - ? e == null - ? void 0 - : e.title - : (e == null ? void 0 : e.model) !== void 0 && - (e == null ? void 0 : e.model.trim()) !== "" - ? e != null && e.class_name - ? `${e == null ? void 0 : e.class_name} - ${e == null ? void 0 : e.model}` - : e == null - ? void 0 - : e.model - : e == null - ? void 0 - : e.class_name; -} -function eme(e) { - const t = C.useContext(Ya), - n = zt((c) => { - var p, f; - return (f = (p = c.serverState.config) == null ? void 0 : p.models) == - null - ? void 0 - : f.default; - }), - r = zt((c) => { - var p, f; - return (f = (p = c.serverState.config) == null ? void 0 : p.models) == - null - ? void 0 - : f.saved; - }), - i = cs(), - a = { value: JSON.stringify({ t: "default", idx: -1 }), title: "GPT-4" }, - [o, s] = C.useState([a]); - C.useEffect(() => { - if (!n && !r) { - s([a]); - return; - } - const c = []; - n && - c.push({ - value: JSON.stringify({ t: "default", idx: -1 }), - title: f4(n), - }), - r == null || - r.forEach((p, f) => { - c.push({ - value: JSON.stringify({ t: "saved", idx: f }), - title: f4(p), - }); - }), - s(c); - }, [n, r]); - const u = document.getElementById("model-select-top-div"); - return I.jsx(I.Fragment, { - children: I.jsxs(K2e, { - children: [ - I.jsx(X2e, { - value: JSON.stringify({ t: "default", idx: -1 }), - onChange: (c) => { - const p = JSON.parse(c); - p.t === "saved" && - (t == null || t.setModelForRoleFromIndex("*", p.idx)); - }, - defaultValue: "0", - children: I.jsxs("div", { - className: "relative", - children: [ - I.jsxs(Z2e, { - children: [ - I.jsx("div", { children: f4(n) || "GPT-4" }), - I.jsx("div", { - className: "pointer-events-none flex items-center", - children: I.jsx(kY, { - className: "h-5 w-5 text-gray-400", - "aria-hidden": "true", - }), - }), - ], - }), - u && - _E.createPortal( - I.jsx(q2e, { - as: C.Fragment, - leave: "transition ease-in duration-100", - leaveFrom: "opacity-100", - leaveTo: "opacity-0", - children: I.jsx(Q2e, { - children: o.map((c, p) => - I.jsx( - J2e, - { - selected: - c.value === - JSON.stringify({ t: "default", idx: -1 }), - value: c.value, - children: I.jsx("span", { children: c.title }), - }, - p - ) - ), - }), - }), - u - ), - ], - }), - }), - I.jsx(Y2e, { - width: "1.3em", - height: "1.3em", - onClick: () => { - i("/models"); - }, - }), - ], - }), - }); -} -const tme = He.div` +`;function f4(e){return e!=null&&e.title?e==null?void 0:e.title:(e==null?void 0:e.model)!==void 0&&(e==null?void 0:e.model.trim())!==""?e!=null&&e.class_name?`${e==null?void 0:e.class_name} - ${e==null?void 0:e.model}`:e==null?void 0:e.model:e==null?void 0:e.class_name}function eme(e){const t=C.useContext(Ya),n=zt(c=>{var p,f;return(f=(p=c.serverState.config)==null?void 0:p.models)==null?void 0:f.default}),r=zt(c=>{var p,f;return(f=(p=c.serverState.config)==null?void 0:p.models)==null?void 0:f.saved}),i=cs(),a={value:JSON.stringify({t:"default",idx:-1}),title:"GPT-4"},[o,s]=C.useState([a]);C.useEffect(()=>{if(!n&&!r){s([a]);return}const c=[];n&&c.push({value:JSON.stringify({t:"default",idx:-1}),title:f4(n)}),r==null||r.forEach((p,f)=>{c.push({value:JSON.stringify({t:"saved",idx:f}),title:f4(p)})}),s(c)},[n,r]);const u=document.getElementById("model-select-top-div");return I.jsx(I.Fragment,{children:I.jsxs(K2e,{children:[I.jsx(X2e,{value:JSON.stringify({t:"default",idx:-1}),onChange:c=>{const p=JSON.parse(c);p.t==="saved"&&(t==null||t.setModelForRoleFromIndex("*",p.idx))},defaultValue:"0",children:I.jsxs("div",{className:"relative",children:[I.jsxs(Z2e,{children:[I.jsx("div",{children:f4(n)||"GPT-4"}),I.jsx("div",{className:"pointer-events-none flex items-center",children:I.jsx(kY,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})})]}),u&&_E.createPortal(I.jsx(q2e,{as:C.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:I.jsx(Q2e,{children:o.map((c,p)=>I.jsx(J2e,{selected:c.value===JSON.stringify({t:"default",idx:-1}),value:c.value,children:I.jsx("span",{children:c.title})},p))})}),u)]})}),I.jsx(Y2e,{width:"1.3em",height:"1.3em",onClick:()=>{i("/models")}})]})})}const tme=He.div` width: 100px; height: 6px; border-radius: 6px; border: 0.5px solid ${vt}; margin-top: 6px; -`, - nme = He.div` +`,nme=He.div` height: 100%; - background-color: ${(e) => e.color || Ht}; + background-color: ${e=>e.color||Ht}; border-radius: inherit; transition: width 0.2s ease-in-out; - width: ${(e) => e.completed}%; -`, - rme = He.div` + width: ${e=>e.completed}%; +`,rme=He.div` display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; -`, - ime = He.p` +`,ime=He.p` margin: 0; margin-top: 2px; font-size: 11.5px; @@ -73165,39 +1021,7 @@ const tme = He.div` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -`, - ame = ({ completed: e, total: t }) => { - const n = Math.min(100, Math.max(0, (e / t) * 100)); - return I.jsxs(I.Fragment, { - children: [ - I.jsx("a", { - href: "https://continue.dev/docs/customization/models", - className: "no-underline ml-2", - children: I.jsxs(rme, { - "data-tooltip-id": "usage_progress_bar", - children: [ - I.jsx(tme, { - children: I.jsx(nme, { - completed: n, - color: - e / t > 0.75 ? (e / t > 0.95 ? "#f00" : "#fc0") : void 0, - }), - }), - I.jsxs(ime, { children: ["Free Uses: ", e, " / ", t] }), - ], - }), - }), - I.jsx(Gs, { - id: "usage_progress_bar", - place: "bottom", - children: - "Continue allows you to use our OpenAI API key for up to 250 inputs. After this, you can either use your own API key, or use a local LLM. Click the progress bar to go to the docs and learn more.", - }), - ], - }); - }, - ome = "1.8em", - sme = He.div` +`,ame=({completed:e,total:t})=>{const n=Math.min(100,Math.max(0,e/t*100));return I.jsxs(I.Fragment,{children:[I.jsx("a",{href:"https://continue.dev/docs/customization/models",className:"no-underline ml-2",children:I.jsxs(rme,{"data-tooltip-id":"usage_progress_bar",children:[I.jsx(tme,{children:I.jsx(nme,{completed:n,color:e/t>.75?e/t>.95?"#f00":"#fc0":void 0})}),I.jsxs(ime,{children:["Free Uses: ",e," / ",t]})]})}),I.jsx(Gs,{id:"usage_progress_bar",place:"bottom",children:"Continue allows you to use our OpenAI API key for up to 250 inputs. After this, you can either use your own API key, or use a local LLM. Click the progress bar to go to the docs and learn more."})]})},ome="1.8em",sme=He.div` height: 100%; border-radius: ${wt}; scrollbar-base-color: transparent; @@ -73216,11 +1040,10 @@ const tme = He.div` border-radius: 2px; } } -`, - lme = He.div` +`,lme=He.div` position: fixed; - bottom: ${(e) => (e.displayOnBottom ? "50px" : void 0)}; - top: ${(e) => (e.displayOnBottom ? void 0 : "50px")}; + bottom: ${e=>e.displayOnBottom?"50px":void 0}; + top: ${e=>e.displayOnBottom?void 0:"50px"}; left: 0; right: 0; margin: 8px; @@ -73232,8 +1055,7 @@ const tme = He.div` z-index: 100; box-shadow: 0px 0px 2px 0px ${Ht}; max-height: 35vh; -`, - ume = He.footer` +`,ume=He.footer` display: flex; flex-direction: row; gap: 8px; @@ -73244,555 +1066,18 @@ const tme = He.div` height: ${ome}; overflow: hidden; -`, - cme = He.div` +`,cme=He.div` display: grid; grid-template-rows: 1fr auto; height: 100vh; overflow-x: visible; -`, - dme = He.div` +`,dme=He.div` background-color: ${Lt}; position: relative; margin-left: 8px; z-index: 200; font-size: ${nr()}; -`, - pme = () => { - const e = cs(), - t = D7(), - n = C.useContext(Ya), - r = us(), - i = zt((p) => p.uiState.dialogMessage), - a = zt((p) => p.uiState.showDialog), - o = zt((p) => { - var f; - return (f = p.serverState.config.models) == null ? void 0 : f.default; - }), - s = zt((p) => p.uiState.bottomMessage), - u = zt((p) => p.uiState.displayBottomMessageOnBottom), - c = zt((p) => p.serverState.history.timeline); - return ( - C.useEffect(() => { - const p = (f) => { - var m; - if ( - (f.metaKey && - f.altKey && - f.code === "KeyN" && - c.filter((g) => !g.step.hide).length > 0 && - (r(sm(!1)), n == null || n.loadSession(void 0)), - (f.metaKey || f.ctrlKey) && f.code === "KeyC") - ) { - const g = - (m = window.getSelection()) == null ? void 0 : m.toString(); - g && - setTimeout(() => { - navigator.clipboard.writeText(g); - }, 100); - } - }; - return ( - window.addEventListener("keydown", p), - () => { - window.removeEventListener("keydown", p); - } - ); - }, [n, c]), - C.useEffect(() => { - const p = (f) => { - f.data.type === "addModel" - ? e("/models") - : f.data.type === "openSettings" && e("/settings"); - }; - return ( - window.addEventListener("message", p), - () => { - window.removeEventListener("message", p); - } - ); - }, []), - I.jsxs(sme, { - children: [ - I.jsxs("div", { - style: { - scrollbarGutter: "stable both-edges", - minHeight: "100%", - display: "grid", - gridTemplateRows: "1fr auto", - }, - children: [ - I.jsx(Fge, { - showDialog: a, - onEnter: () => { - r(Q1(!1)); - }, - onClose: () => { - r(Q1(!1)); - }, - message: i, - }), - I.jsxs(cme, { - children: [ - I.jsx(oge, {}), - I.jsx(dme, { id: "model-select-top-div" }), - I.jsxs(ume, { - children: [ - I.jsxs("div", { - className: "mr-auto flex gap-2 items-center", - children: [ - localStorage.getItem("ide") === "jetbrains" || - localStorage.getItem("hideFeature") === "true" || - I.jsx(dD, { - className: "cursor-pointer", - onClick: () => { - localStorage.setItem("hideFeature", "true"); - }, - onMouseEnter: () => { - r( - au( - "🎁 New Feature: Use ⌘⇧R automatically debug errors in the terminal (you can click the sparkle icon to make it go away)" - ) - ); - }, - onMouseLeave: () => { - r( - Wk( - setTimeout(() => { - r(au(void 0)); - }, 2e3) - ) - ); - }, - width: "1.3em", - height: "1.3em", - color: "yellow", - }), - I.jsx(eme, {}), - (o == null ? void 0 : o.class_name) === - "OpenAIFreeTrial" && - (o == null ? void 0 : o.api_key) === "" && - (t.pathname === "/settings" || - parseInt(localStorage.getItem("ftc") || "0") >= - 125) && - I.jsx(ame, { - completed: parseInt( - localStorage.getItem("ftc") || "0" - ), - total: 250, - }), - ], - }), - I.jsx(vi, { - text: "Help", - onClick: () => { - e("/help"); - }, - children: I.jsx(iX, { - width: "1.4em", - height: "1.4em", - }), - }), - I.jsx(vi, { - onClick: () => { - e("/settings"); - }, - text: "Settings", - children: I.jsx(LY, { - width: "1.4em", - height: "1.4em", - }), - }), - ], - }), - ], - }), - I.jsx(lme, { - displayOnBottom: u, - onMouseEnter: () => { - r(Wk(void 0)); - }, - onMouseLeave: (p) => { - p.buttons || r(au(void 0)); - }, - hidden: !s, - children: s, - }), - ], - }), - I.jsx("div", { className: "text-sm", id: "tooltip-portal-div" }), - ], - }) - ); - }; -class fme {} -class dP {} -class hme extends dP { - constructor(n) { - super(); - ea(this, "websocket"); - ea(this, "onMessageListeners", {}); - ea(this, "onErrorListeners", []); - ea(this, "onOpenListeners", []); - ea(this, "onCloseListeners", []); - ea(this, "serverUrl"); - (this.serverUrl = n), (this.websocket = this._newWebsocket()); - } - _newWebsocket() { - const n = new WebSocket(this.serverUrl); - for (const r of this.onOpenListeners) this.onOpen(r); - for (const r of this.onCloseListeners) this.onClose(r); - for (const r in this.onMessageListeners) - for (const i of this.onMessageListeners[r]) this.onMessageType(r, i); - for (const r of this.onErrorListeners) this.onError(r); - return n; - } - send(n, r) { - const i = JSON.stringify({ messageType: n, data: r }); - this.websocket.readyState === this.websocket.OPEN - ? this.websocket.send(i) - : (this.websocket.readyState !== this.websocket.CONNECTING && - (this.websocket = this._newWebsocket()), - this.websocket.addEventListener("open", () => { - this.websocket.send(i); - })); - } - sendAndReceive(n, r) { - return new Promise((i, a) => { - const o = (s) => { - i(s), this.websocket.removeEventListener("message", o); - }; - this.websocket.addEventListener("message", (s) => { - const u = JSON.parse(s.data); - u.messageType === n && o(u.data); - }), - this.send(n, r); - }); - } - onMessageType(n, r) { - this.websocket.addEventListener("message", (i) => { - const a = JSON.parse(i.data); - a.messageType === n && r(a.data); - }), - (this.onMessageListeners[n] = [...(this.onMessageListeners[n] || []), r]); - } - onMessage(n) { - this.websocket.addEventListener("message", (r) => { - const i = JSON.parse(r.data); - n(i.messageType, i.data); - }); - } - onOpen(n) { - this.websocket.addEventListener("open", n), this.onOpenListeners.push(n); - } - onClose(n) { - this.websocket.addEventListener("close", n), this.onCloseListeners.push(n); - } - onError(n) { - this.websocket.addEventListener("error", n), this.onErrorListeners.push(n); - } - close() { - this.websocket.close(); - } -} -class gme extends dP { - constructor(n) { - super(); - ea(this, "serverUrl"); - (this.serverUrl = n), - rl("websocketForwardingOpen", { url: this.serverUrl }); - } - send(n, r) { - rl("websocketForwardingMessage", { - message: { messageType: n, data: r }, - url: this.serverUrl, - }); - } - onMessageType(n, r) { - window.addEventListener("message", (i) => { - if (i.data.type === "websocketForwardingMessage") { - const a = JSON.parse(i.data.data); - a.messageType === n && r(a.data); - } - }); - } - onMessage(n) { - window.addEventListener("message", (r) => { - if (r.data.type === "websocketForwardingMessage") { - const i = JSON.parse(r.data.data); - n(i.messageType, i.data); - } - }); - } - onError(n) { - window.addEventListener("message", (r) => { - r.data.type === "websocketForwardingError" && n(r.data.error); - }); - } - sendAndReceive(n, r) { - return new Promise((i) => { - const a = (o) => { - if (o.data.type === "websocketForwardingMessage") { - const s = JSON.parse(o.data.data); - s.messageType === n && - (window.removeEventListener("message", a), i(s.data)); - } - }; - window.addEventListener("message", a), this.send(n, r); - }); - } - onOpen(n) { - window.addEventListener("message", (r) => { - r.data.type === "websocketForwardingOpen" && n(); - }); - } - onClose(n) { - window.addEventListener("message", (r) => { - r.data.type === "websocketForwardingClose" && n(); - }); - } - close() { - rl("websocketForwardingClose", { url: this.serverUrl }); - } -} -class mme extends fme { - constructor(n, r) { - super(); - ea(this, "messenger"); - ea(this, "serverUrlWithSessionId"); - ea(this, "useVscodeMessagePassing"); - ea(this, "onStateUpdateCallbacks", []); - (this.serverUrlWithSessionId = n), - (this.useVscodeMessagePassing = r), - this.connectMessenger(n, r); - } - connectMessenger(n, r) { - this.messenger && - (console.log("Closing session: ", this.serverUrlWithSessionId), - this.messenger.close()), - (this.serverUrlWithSessionId = n), - (this.useVscodeMessagePassing = r), - (this.messenger = r ? new gme(n) : new hme(n)), - this.messenger.onClose(() => { - console.log("GUI Connection closed: ", n); - }), - this.messenger.onError((i) => { - console.log("GUI Connection error: ", i); - }), - this.messenger.onOpen(() => { - console.log("GUI Connection opened: ", n); - }), - this.messenger.onMessageType("reconnect_at_session", (i) => { - i.session_id && this.onReconnectAtSession(i.session_id); - }), - this.messenger.onMessageType("state_update", (i) => { - if (i.state) for (const a of this.onStateUpdateCallbacks) a(i.state); - }); - } - loadSession(n) { - var r; - (r = this.messenger) == null || r.send("load_session", { session_id: n }); - } - onReconnectAtSession(n) { - const r = `${this.serverUrlWithSessionId.split("?")[0]}?session_id=${n}`; - console.log("Reconnecting at session: ", r), - this.connectMessenger(r, this.useVscodeMessagePassing); - } - sendMainInput(n) { - var r; - (r = this.messenger) == null || r.send("main_input", { input: n }); - } - reverseToIndex(n) { - var r; - (r = this.messenger) == null || r.send("reverse_to_index", { index: n }); - } - sendRefinementInput(n, r) { - var i; - (i = this.messenger) == null || - i.send("refinement_input", { input: n, index: r }); - } - sendStepUserInput(n, r) { - var i; - (i = this.messenger) == null || - i.send("step_user_input", { input: n, index: r }); - } - onStateUpdate(n) { - var r; - (r = this.messenger) == null || - r.onMessageType("state_update", (i) => { - i.state && n(i.state); - }), - this.onStateUpdateCallbacks.push(n); - } - onAvailableSlashCommands(n) { - var r; - (r = this.messenger) == null || - r.onMessageType("available_slash_commands", (i) => { - i.commands && n(i.commands); - }); - } - sendClear() { - var n; - (n = this.messenger) == null || n.send("clear_history", {}); - } - retryAtIndex(n) { - var r; - (r = this.messenger) == null || r.send("retry_at_index", { index: n }); - } - deleteAtIndex(n) { - var r; - (r = this.messenger) == null || r.send("delete_at_index", { index: n }); - } - deleteContextWithIds(n, r) { - var i; - (i = this.messenger) == null || - i.send("delete_context_with_ids", { - ids: n.map((a) => `${a.provider_title}-${a.item_id}`), - index: r, - }); - } - setEditingAtIds(n) { - var r; - (r = this.messenger) == null || r.send("set_editing_at_ids", { ids: n }); - } - toggleAddingHighlightedCode() { - var n; - (n = this.messenger) == null || - n.send("toggle_adding_highlighted_code", {}); - } - showLogsAtIndex(n) { - var r; - (r = this.messenger) == null || r.send("show_logs_at_index", { index: n }); - } - showContextVirtualFile(n) { - var r; - (r = this.messenger) == null || - r.send("show_context_virtual_file", { index: n }); - } - selectContextItem(n, r) { - var i; - (i = this.messenger) == null || - i.send("select_context_item", { id: n, query: r }); - } - selectContextItemAtIndex(n, r, i) { - var a; - (a = this.messenger) == null || - a.send("select_context_item_at_index", { id: n, query: r, index: i }); - } - editStepAtIndex(n, r) { - var i; - (i = this.messenger) == null || - i.send("edit_step_at_index", { user_input: n, index: r }); - } - setSystemMessage(n) { - var r; - (r = this.messenger) == null || - r.send("set_system_message", { message: n }); - } - setTemperature(n) { - var r; - (r = this.messenger) == null || - r.send("set_temperature", { temperature: n }); - } - addModelForRole(n, r, i) { - var a; - (a = this.messenger) == null || - a.send("add_model_for_role", { role: n, model: i, model_class: r }); - } - setModelForRoleFromIndex(n, r) { - var i; - (i = this.messenger) == null || - i.send("set_model_for_role_from_index", { role: n, index: r }); - } - saveContextGroup(n, r) { - var i; - (i = this.messenger) == null || - i.send("save_context_group", { context_items: r, title: n }); - } - selectContextGroup(n) { - var r; - (r = this.messenger) == null || r.send("select_context_group", { id: n }); - } - deleteContextGroup(n) { - var r; - (r = this.messenger) == null || r.send("delete_context_group", { id: n }); - } - setCurrentSessionTitle(n) { - var r; - (r = this.messenger) == null || - r.send("set_current_session_title", { title: n }); - } - previewContextItem(n) { - var r; - (r = this.messenger) == null || r.send("preview_context_item", { id: n }); - } -} -function bme(e = !0) { - const t = zt((a) => a.config.sessionId), - n = zt((a) => a.config.apiUrl), - [r, i] = C.useState(void 0); - return ( - C.useEffect(() => { - if ((console.log(r, t, n), !t || !n)) { - e && rl("onLoad", {}), i(void 0); - return; - } - const a = - n.replace("http", "ws") + "/gui/ws?session_id=" + encodeURIComponent(t); - console.log("Creating GUI websocket", a, e); - const o = new mme(a, e); - console.log(o), i(o); - }, [t, n]), - r - ); -} -const pP = Zp({ - name: "config", - initialState: { - apiUrl: "http://localhost:8000", - vscMediaUrl: localStorage.getItem("vscMediaUrl") || void 0, - }, - reducers: { - setWorkspacePaths: (e, t) => ({ ...e, workspacePaths: t.payload }), - setApiUrl: (e, t) => ({ ...e, apiUrl: t.payload }), - setVscMachineId: (e, t) => ({ ...e, vscMachineId: t.payload }), - setSessionId: (e, t) => ({ ...e, sessionId: t.payload }), - setVscMediaUrl: (e, t) => ( - localStorage.setItem("vscMediaUrl", t.payload), - { ...e, vscMediaUrl: t.payload } - ), - setDataSwitchOn: (e, t) => ({ ...e, dataSwitchOn: t.payload }), - }, - }), - { - setVscMachineId: Eme, - setApiUrl: vme, - setWorkspacePaths: yme, - setSessionId: _me, - setVscMediaUrl: Tme, - setDataSwitchOn: Sme, - } = pP.actions, - wme = pP.reducer; -function Ame() { - const e = QF(); - return ( - console.error(e), - I.jsxs("div", { - id: "error-page", - className: "text-center", - children: [ - I.jsx("h1", { children: "Error in Continue React App" }), - I.jsx("p", { - children: I.jsx("i", { children: e.statusText || e.message }), - }), - I.jsx("br", {}), - I.jsx("pre", { className: "text-left m-4", children: e.stack }), - ], - }) - ); -} -const fP = "28px", - Cme = He.div` +`,pme=()=>{const e=cs(),t=D7(),n=C.useContext(Ya),r=us(),i=zt(p=>p.uiState.dialogMessage),a=zt(p=>p.uiState.showDialog),o=zt(p=>{var f;return(f=p.serverState.config.models)==null?void 0:f.default}),s=zt(p=>p.uiState.bottomMessage),u=zt(p=>p.uiState.displayBottomMessageOnBottom),c=zt(p=>p.serverState.history.timeline);return C.useEffect(()=>{const p=f=>{var m;if(f.metaKey&&f.altKey&&f.code==="KeyN"&&c.filter(g=>!g.step.hide).length>0&&(r(sm(!1)),n==null||n.loadSession(void 0)),(f.metaKey||f.ctrlKey)&&f.code==="KeyC"){const g=(m=window.getSelection())==null?void 0:m.toString();g&&setTimeout(()=>{navigator.clipboard.writeText(g)},100)}};return window.addEventListener("keydown",p),()=>{window.removeEventListener("keydown",p)}},[n,c]),C.useEffect(()=>{const p=f=>{f.data.type==="addModel"?e("/models"):f.data.type==="openSettings"&&e("/settings")};return window.addEventListener("message",p),()=>{window.removeEventListener("message",p)}},[]),I.jsxs(sme,{children:[I.jsxs("div",{style:{scrollbarGutter:"stable both-edges",minHeight:"100%",display:"grid",gridTemplateRows:"1fr auto"},children:[I.jsx(Fge,{showDialog:a,onEnter:()=>{r(Q1(!1))},onClose:()=>{r(Q1(!1))},message:i}),I.jsxs(cme,{children:[I.jsx(oge,{}),I.jsx(dme,{id:"model-select-top-div"}),I.jsxs(ume,{children:[I.jsxs("div",{className:"mr-auto flex gap-2 items-center",children:[localStorage.getItem("ide")==="jetbrains"||localStorage.getItem("hideFeature")==="true"||I.jsx(dD,{className:"cursor-pointer",onClick:()=>{localStorage.setItem("hideFeature","true")},onMouseEnter:()=>{r(au("🎁 New Feature: Use ⌘⇧R automatically debug errors in the terminal (you can click the sparkle icon to make it go away)"))},onMouseLeave:()=>{r(Wk(setTimeout(()=>{r(au(void 0))},2e3)))},width:"1.3em",height:"1.3em",color:"yellow"}),I.jsx(eme,{}),(o==null?void 0:o.class_name)==="OpenAIFreeTrial"&&(o==null?void 0:o.api_key)===""&&(t.pathname==="/settings"||parseInt(localStorage.getItem("ftc")||"0")>=125)&&I.jsx(ame,{completed:parseInt(localStorage.getItem("ftc")||"0"),total:250})]}),I.jsx(vi,{text:"Help",onClick:()=>{e("/help")},children:I.jsx(iX,{width:"1.4em",height:"1.4em"})}),I.jsx(vi,{onClick:()=>{e("/settings")},text:"Settings",children:I.jsx(LY,{width:"1.4em",height:"1.4em"})})]})]}),I.jsx(lme,{displayOnBottom:u,onMouseEnter:()=>{r(Wk(void 0))},onMouseLeave:p=>{p.buttons||r(au(void 0))},hidden:!s,children:s})]}),I.jsx("div",{className:"text-sm",id:"tooltip-portal-div"})]})};class fme{}class dP{}class hme extends dP{constructor(n){super();ea(this,"websocket");ea(this,"onMessageListeners",{});ea(this,"onErrorListeners",[]);ea(this,"onOpenListeners",[]);ea(this,"onCloseListeners",[]);ea(this,"serverUrl");this.serverUrl=n,this.websocket=this._newWebsocket()}_newWebsocket(){const n=new WebSocket(this.serverUrl);for(const r of this.onOpenListeners)this.onOpen(r);for(const r of this.onCloseListeners)this.onClose(r);for(const r in this.onMessageListeners)for(const i of this.onMessageListeners[r])this.onMessageType(r,i);for(const r of this.onErrorListeners)this.onError(r);return n}send(n,r){const i=JSON.stringify({messageType:n,data:r});this.websocket.readyState===this.websocket.OPEN?this.websocket.send(i):(this.websocket.readyState!==this.websocket.CONNECTING&&(this.websocket=this._newWebsocket()),this.websocket.addEventListener("open",()=>{this.websocket.send(i)}))}sendAndReceive(n,r){return new Promise((i,a)=>{const o=s=>{i(s),this.websocket.removeEventListener("message",o)};this.websocket.addEventListener("message",s=>{const u=JSON.parse(s.data);u.messageType===n&&o(u.data)}),this.send(n,r)})}onMessageType(n,r){this.websocket.addEventListener("message",i=>{const a=JSON.parse(i.data);a.messageType===n&&r(a.data)}),this.onMessageListeners[n]=[...this.onMessageListeners[n]||[],r]}onMessage(n){this.websocket.addEventListener("message",r=>{const i=JSON.parse(r.data);n(i.messageType,i.data)})}onOpen(n){this.websocket.addEventListener("open",n),this.onOpenListeners.push(n)}onClose(n){this.websocket.addEventListener("close",n),this.onCloseListeners.push(n)}onError(n){this.websocket.addEventListener("error",n),this.onErrorListeners.push(n)}close(){this.websocket.close()}}class gme extends dP{constructor(n){super();ea(this,"serverUrl");this.serverUrl=n,rl("websocketForwardingOpen",{url:this.serverUrl})}send(n,r){rl("websocketForwardingMessage",{message:{messageType:n,data:r},url:this.serverUrl})}onMessageType(n,r){window.addEventListener("message",i=>{if(i.data.type==="websocketForwardingMessage"){const a=JSON.parse(i.data.data);a.messageType===n&&r(a.data)}})}onMessage(n){window.addEventListener("message",r=>{if(r.data.type==="websocketForwardingMessage"){const i=JSON.parse(r.data.data);n(i.messageType,i.data)}})}onError(n){window.addEventListener("message",r=>{r.data.type==="websocketForwardingError"&&n(r.data.error)})}sendAndReceive(n,r){return new Promise(i=>{const a=o=>{if(o.data.type==="websocketForwardingMessage"){const s=JSON.parse(o.data.data);s.messageType===n&&(window.removeEventListener("message",a),i(s.data))}};window.addEventListener("message",a),this.send(n,r)})}onOpen(n){window.addEventListener("message",r=>{r.data.type==="websocketForwardingOpen"&&n()})}onClose(n){window.addEventListener("message",r=>{r.data.type==="websocketForwardingClose"&&n()})}close(){rl("websocketForwardingClose",{url:this.serverUrl})}}class mme extends fme{constructor(n,r){super();ea(this,"messenger");ea(this,"serverUrlWithSessionId");ea(this,"useVscodeMessagePassing");ea(this,"onStateUpdateCallbacks",[]);this.serverUrlWithSessionId=n,this.useVscodeMessagePassing=r,this.connectMessenger(n,r)}connectMessenger(n,r){this.messenger&&(console.log("Closing session: ",this.serverUrlWithSessionId),this.messenger.close()),this.serverUrlWithSessionId=n,this.useVscodeMessagePassing=r,this.messenger=r?new gme(n):new hme(n),this.messenger.onClose(()=>{console.log("GUI Connection closed: ",n)}),this.messenger.onError(i=>{console.log("GUI Connection error: ",i)}),this.messenger.onOpen(()=>{console.log("GUI Connection opened: ",n)}),this.messenger.onMessageType("reconnect_at_session",i=>{i.session_id&&this.onReconnectAtSession(i.session_id)}),this.messenger.onMessageType("state_update",i=>{if(i.state)for(const a of this.onStateUpdateCallbacks)a(i.state)})}loadSession(n){var r;(r=this.messenger)==null||r.send("load_session",{session_id:n})}onReconnectAtSession(n){const r=`${this.serverUrlWithSessionId.split("?")[0]}?session_id=${n}`;console.log("Reconnecting at session: ",r),this.connectMessenger(r,this.useVscodeMessagePassing)}sendMainInput(n){var r;(r=this.messenger)==null||r.send("main_input",{input:n})}reverseToIndex(n){var r;(r=this.messenger)==null||r.send("reverse_to_index",{index:n})}sendRefinementInput(n,r){var i;(i=this.messenger)==null||i.send("refinement_input",{input:n,index:r})}sendStepUserInput(n,r){var i;(i=this.messenger)==null||i.send("step_user_input",{input:n,index:r})}onStateUpdate(n){var r;(r=this.messenger)==null||r.onMessageType("state_update",i=>{i.state&&n(i.state)}),this.onStateUpdateCallbacks.push(n)}onAvailableSlashCommands(n){var r;(r=this.messenger)==null||r.onMessageType("available_slash_commands",i=>{i.commands&&n(i.commands)})}sendClear(){var n;(n=this.messenger)==null||n.send("clear_history",{})}retryAtIndex(n){var r;(r=this.messenger)==null||r.send("retry_at_index",{index:n})}deleteAtIndex(n){var r;(r=this.messenger)==null||r.send("delete_at_index",{index:n})}deleteContextWithIds(n,r){var i;(i=this.messenger)==null||i.send("delete_context_with_ids",{ids:n.map(a=>`${a.provider_title}-${a.item_id}`),index:r})}setEditingAtIds(n){var r;(r=this.messenger)==null||r.send("set_editing_at_ids",{ids:n})}toggleAddingHighlightedCode(){var n;(n=this.messenger)==null||n.send("toggle_adding_highlighted_code",{})}showLogsAtIndex(n){var r;(r=this.messenger)==null||r.send("show_logs_at_index",{index:n})}showContextVirtualFile(n){var r;(r=this.messenger)==null||r.send("show_context_virtual_file",{index:n})}selectContextItem(n,r){var i;(i=this.messenger)==null||i.send("select_context_item",{id:n,query:r})}selectContextItemAtIndex(n,r,i){var a;(a=this.messenger)==null||a.send("select_context_item_at_index",{id:n,query:r,index:i})}editStepAtIndex(n,r){var i;(i=this.messenger)==null||i.send("edit_step_at_index",{user_input:n,index:r})}setSystemMessage(n){var r;(r=this.messenger)==null||r.send("set_system_message",{message:n})}setTemperature(n){var r;(r=this.messenger)==null||r.send("set_temperature",{temperature:n})}addModelForRole(n,r,i){var a;(a=this.messenger)==null||a.send("add_model_for_role",{role:n,model:i,model_class:r})}setModelForRoleFromIndex(n,r){var i;(i=this.messenger)==null||i.send("set_model_for_role_from_index",{role:n,index:r})}saveContextGroup(n,r){var i;(i=this.messenger)==null||i.send("save_context_group",{context_items:r,title:n})}selectContextGroup(n){var r;(r=this.messenger)==null||r.send("select_context_group",{id:n})}deleteContextGroup(n){var r;(r=this.messenger)==null||r.send("delete_context_group",{id:n})}setCurrentSessionTitle(n){var r;(r=this.messenger)==null||r.send("set_current_session_title",{title:n})}previewContextItem(n){var r;(r=this.messenger)==null||r.send("preview_context_item",{id:n})}}function bme(e=!0){const t=zt(a=>a.config.sessionId),n=zt(a=>a.config.apiUrl),[r,i]=C.useState(void 0);return C.useEffect(()=>{if(console.log(r,t,n),!t||!n){e&&rl("onLoad",{}),i(void 0);return}const a=n.replace("http","ws")+"/gui/ws?session_id="+encodeURIComponent(t);console.log("Creating GUI websocket",a,e);const o=new mme(a,e);console.log(o),i(o)},[t,n]),r}const pP=Zp({name:"config",initialState:{apiUrl:"http://localhost:8000",vscMediaUrl:localStorage.getItem("vscMediaUrl")||void 0},reducers:{setWorkspacePaths:(e,t)=>({...e,workspacePaths:t.payload}),setApiUrl:(e,t)=>({...e,apiUrl:t.payload}),setVscMachineId:(e,t)=>({...e,vscMachineId:t.payload}),setSessionId:(e,t)=>({...e,sessionId:t.payload}),setVscMediaUrl:(e,t)=>(localStorage.setItem("vscMediaUrl",t.payload),{...e,vscMediaUrl:t.payload}),setDataSwitchOn:(e,t)=>({...e,dataSwitchOn:t.payload})}}),{setVscMachineId:Eme,setApiUrl:vme,setWorkspacePaths:yme,setSessionId:_me,setVscMediaUrl:Tme,setDataSwitchOn:Sme}=pP.actions,wme=pP.reducer;function Ame(){const e=QF();return console.error(e),I.jsxs("div",{id:"error-page",className:"text-center",children:[I.jsx("h1",{children:"Error in Continue React App"}),I.jsx("p",{children:I.jsx("i",{children:e.statusText||e.message})}),I.jsx("br",{}),I.jsx("pre",{className:"text-left m-4",children:e.stack})]})}const fP="28px",Cme=He.div` margin-top: 16px; margin: auto; width: ${fP}; @@ -73808,1230 +1093,9 @@ const fP = "28px", opacity: 0.4; } } -`; -function xme(e) { - const t = zt((n) => n.config.vscMediaUrl); - return I.jsx(Cme, { - children: t - ? I.jsx("img", { src: `${t}/play_button.png`, width: "22px" }) - : I.jsx(uD, { width: e.size || fP }), - }); -} -const y9 = ({ msg: e }) => { - const t = "info-hover", - n = document.getElementById("tooltip-portal-div"); - return I.jsxs(I.Fragment, { - children: [ - I.jsx(HY, { - "data-tooltip-id": t, - className: "h-5 w-5 text-gray-500 cursor-help", - }), - n && - _E.createPortal(I.jsx(Gs, { id: t, place: "bottom", children: e }), n), - ], - }); -}; -var tf = (e) => e.type === "checkbox", - k1 = (e) => e instanceof Date, - Zr = (e) => e == null; -const hP = (e) => typeof e == "object"; -var rr = (e) => !Zr(e) && !Array.isArray(e) && hP(e) && !k1(e), - kme = (e) => - rr(e) && e.target ? (tf(e.target) ? e.target.checked : e.target.value) : e, - Ime = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, - Rme = (e, t) => e.has(Ime(t)), - Nme = (e) => { - const t = e.constructor && e.constructor.prototype; - return rr(t) && t.hasOwnProperty("isPrototypeOf"); - }, - z7 = - typeof window < "u" && - typeof window.HTMLElement < "u" && - typeof document < "u"; -function jo(e) { - let t; - const n = Array.isArray(e); - if (e instanceof Date) t = new Date(e); - else if (e instanceof Set) t = new Set(e); - else if ( - !(z7 && (e instanceof Blob || e instanceof FileList)) && - (n || rr(e)) - ) - if (((t = n ? [] : {}), !n && !Nme(e))) t = e; - else for (const r in e) e.hasOwnProperty(r) && (t[r] = jo(e[r])); - else return e; - return t; -} -var nf = (e) => (Array.isArray(e) ? e.filter(Boolean) : []), - Wn = (e) => e === void 0, - lt = (e, t, n) => { - if (!t || !rr(e)) return n; - const r = nf(t.split(/[,[\].]+?/)).reduce((i, a) => (Zr(i) ? i : i[a]), e); - return Wn(r) || r === e ? (Wn(e[t]) ? n : e[t]) : r; - }, - tu = (e) => typeof e == "boolean"; -const rR = { BLUR: "blur", FOCUS_OUT: "focusout", CHANGE: "change" }, - Ba = { - onBlur: "onBlur", - onChange: "onChange", - onSubmit: "onSubmit", - onTouched: "onTouched", - all: "all", - }, - zo = { - max: "max", - min: "min", - maxLength: "maxLength", - minLength: "minLength", - pattern: "pattern", - required: "required", - validate: "validate", - }, - Ome = ut.createContext(null), - gP = (e) => { - const { children: t, ...n } = e; - return ut.createElement(Ome.Provider, { value: n }, t); - }; -var Dme = (e, t, n, r = !0) => { - const i = { defaultValues: t._defaultValues }; - for (const a in e) - Object.defineProperty(i, a, { - get: () => { - const o = a; - return ( - t._proxyFormState[o] !== Ba.all && - (t._proxyFormState[o] = !r || Ba.all), - n && (n[o] = !0), - e[o] - ); - }, - }); - return i; - }, - aa = (e) => rr(e) && !Object.keys(e).length, - Lme = (e, t, n, r) => { - n(e); - const { name: i, ...a } = e; - return ( - aa(a) || - Object.keys(a).length >= Object.keys(t).length || - Object.keys(a).find((o) => t[o] === (!r || Ba.all)) - ); - }, - h4 = (e) => (Array.isArray(e) ? e : [e]); -function Mme(e) { - const t = ut.useRef(e); - (t.current = e), - ut.useEffect(() => { - const n = - !e.disabled && - t.current.subject && - t.current.subject.subscribe({ next: t.current.next }); - return () => { - n && n.unsubscribe(); - }; - }, [e.disabled]); -} -var fo = (e) => typeof e == "string", - Fme = (e, t, n, r, i) => - fo(e) - ? (r && t.watch.add(e), lt(n, e, i)) - : Array.isArray(e) - ? e.map((a) => (r && t.watch.add(a), lt(n, a))) - : (r && (t.watchAll = !0), n), - H7 = (e) => /^\w*$/.test(e), - mP = (e) => nf(e.replace(/["|']|\]/g, "").split(/\.|\[/)); -function An(e, t, n) { - let r = -1; - const i = H7(t) ? [t] : mP(t), - a = i.length, - o = a - 1; - for (; ++r < a; ) { - const s = i[r]; - let u = n; - if (r !== o) { - const c = e[s]; - u = rr(c) || Array.isArray(c) ? c : isNaN(+i[r + 1]) ? {} : []; - } - (e[s] = u), (e = e[s]); - } - return e; -} -var Pme = (e, t, n, r, i) => - t - ? { - ...n[e], - types: { ...(n[e] && n[e].types ? n[e].types : {}), [r]: i || !0 }, - } - : {}; -const _9 = (e, t, n) => { - for (const r of n || Object.keys(e)) { - const i = lt(e, r); - if (i) { - const { _f: a, ...o } = i; - if (a && t(a.name)) { - if (a.ref.focus) { - a.ref.focus(); - break; - } else if (a.refs && a.refs[0].focus) { - a.refs[0].focus(); - break; - } - } else rr(o) && _9(o, t); - } - } -}; -var iR = (e) => ({ - isOnSubmit: !e || e === Ba.onSubmit, - isOnBlur: e === Ba.onBlur, - isOnChange: e === Ba.onChange, - isOnAll: e === Ba.all, - isOnTouch: e === Ba.onTouched, - }), - aR = (e, t, n) => - !n && - (t.watchAll || - t.watch.has(e) || - [...t.watch].some( - (r) => e.startsWith(r) && /^\.\w+/.test(e.slice(r.length)) - )), - Bme = (e, t, n) => { - const r = nf(lt(e, n)); - return An(r, "root", t[n]), An(e, n, r), e; - }, - j7 = (e) => e.type === "file", - Ws = (e) => typeof e == "function", - Rg = (e) => { - if (!z7) return !1; - const t = e ? e.ownerDocument : 0; - return ( - e instanceof - (t && t.defaultView ? t.defaultView.HTMLElement : HTMLElement) - ); - }, - Ah = (e) => fo(e), - G7 = (e) => e.type === "radio", - Ng = (e) => e instanceof RegExp; -const oR = { value: !1, isValid: !1 }, - sR = { value: !0, isValid: !0 }; -var bP = (e) => { - if (Array.isArray(e)) { - if (e.length > 1) { - const t = e - .filter((n) => n && n.checked && !n.disabled) - .map((n) => n.value); - return { value: t, isValid: !!t.length }; - } - return e[0].checked && !e[0].disabled - ? e[0].attributes && !Wn(e[0].attributes.value) - ? Wn(e[0].value) || e[0].value === "" - ? sR - : { value: e[0].value, isValid: !0 } - : sR - : oR; - } - return oR; -}; -const lR = { isValid: !1, value: null }; -var EP = (e) => - Array.isArray(e) - ? e.reduce( - (t, n) => - n && n.checked && !n.disabled ? { isValid: !0, value: n.value } : t, - lR - ) - : lR; -function uR(e, t, n = "validate") { - if (Ah(e) || (Array.isArray(e) && e.every(Ah)) || (tu(e) && !e)) - return { type: n, message: Ah(e) ? e : "", ref: t }; -} -var Qu = (e) => (rr(e) && !Ng(e) ? e : { value: e, message: "" }), - cR = async (e, t, n, r, i) => { - const { - ref: a, - refs: o, - required: s, - maxLength: u, - minLength: c, - min: p, - max: f, - pattern: m, - validate: g, - name: E, - valueAsNumber: b, - mount: T, - disabled: v, - } = e._f, - y = lt(t, E); - if (!T || v) return {}; - const w = o ? o[0] : a, - A = (z) => { - r && - w.reportValidity && - (w.setCustomValidity(tu(z) ? "" : z || ""), w.reportValidity()); - }, - D = {}, - k = G7(a), - R = tf(a), - B = k || R, - W = - ((b || j7(a)) && Wn(a.value) && Wn(y)) || - (Rg(a) && a.value === "") || - y === "" || - (Array.isArray(y) && !y.length), - P = Pme.bind(null, E, n, D), - Q = (z, le, he, de = zo.maxLength, fe = zo.minLength) => { - const Z = z ? le : he; - D[E] = { type: z ? de : fe, message: Z, ref: a, ...P(z ? de : fe, Z) }; - }; - if ( - i - ? !Array.isArray(y) || !y.length - : s && - ((!B && (W || Zr(y))) || - (tu(y) && !y) || - (R && !bP(o).isValid) || - (k && !EP(o).isValid)) - ) { - const { value: z, message: le } = Ah(s) - ? { value: !!s, message: s } - : Qu(s); - if ( - z && - ((D[E] = { - type: zo.required, - message: le, - ref: w, - ...P(zo.required, le), - }), - !n) - ) - return A(le), D; - } - if (!W && (!Zr(p) || !Zr(f))) { - let z, le; - const he = Qu(f), - de = Qu(p); - if (!Zr(y) && !isNaN(y)) { - const fe = a.valueAsNumber || (y && +y); - Zr(he.value) || (z = fe > he.value), - Zr(de.value) || (le = fe < de.value); - } else { - const fe = a.valueAsDate || new Date(y), - Z = (N) => new Date(new Date().toDateString() + " " + N), - V = a.type == "time", - ce = a.type == "week"; - fo(he.value) && - y && - (z = V - ? Z(y) > Z(he.value) - : ce - ? y > he.value - : fe > new Date(he.value)), - fo(de.value) && - y && - (le = V - ? Z(y) < Z(de.value) - : ce - ? y < de.value - : fe < new Date(de.value)); - } - if ((z || le) && (Q(!!z, he.message, de.message, zo.max, zo.min), !n)) - return A(D[E].message), D; - } - if ((u || c) && !W && (fo(y) || (i && Array.isArray(y)))) { - const z = Qu(u), - le = Qu(c), - he = !Zr(z.value) && y.length > +z.value, - de = !Zr(le.value) && y.length < +le.value; - if ((he || de) && (Q(he, z.message, le.message), !n)) - return A(D[E].message), D; - } - if (m && !W && fo(y)) { - const { value: z, message: le } = Qu(m); - if ( - Ng(z) && - !y.match(z) && - ((D[E] = { - type: zo.pattern, - message: le, - ref: a, - ...P(zo.pattern, le), - }), - !n) - ) - return A(le), D; - } - if (g) { - if (Ws(g)) { - const z = await g(y, t), - le = uR(z, w); - if (le && ((D[E] = { ...le, ...P(zo.validate, le.message) }), !n)) - return A(le.message), D; - } else if (rr(g)) { - let z = {}; - for (const le in g) { - if (!aa(z) && !n) break; - const he = uR(await g[le](y, t), w, le); - he && - ((z = { ...he, ...P(le, he.message) }), - A(he.message), - n && (D[E] = z)); - } - if (!aa(z) && ((D[E] = { ref: w, ...z }), !n)) return D; - } - } - return A(!0), D; - }; -function Ume(e, t) { - const n = t.slice(0, -1).length; - let r = 0; - for (; r < n; ) e = Wn(e) ? r++ : e[t[r++]]; - return e; -} -function $me(e) { - for (const t in e) if (e.hasOwnProperty(t) && !Wn(e[t])) return !1; - return !0; -} -function br(e, t) { - const n = Array.isArray(t) ? t : H7(t) ? [t] : mP(t), - r = n.length === 1 ? e : Ume(e, n), - i = n.length - 1, - a = n[i]; - return ( - r && delete r[a], - i !== 0 && - ((rr(r) && aa(r)) || (Array.isArray(r) && $me(r))) && - br(e, n.slice(0, -1)), - e - ); -} -function g4() { - let e = []; - return { - get observers() { - return e; - }, - next: (i) => { - for (const a of e) a.next && a.next(i); - }, - subscribe: (i) => ( - e.push(i), - { - unsubscribe: () => { - e = e.filter((a) => a !== i); - }, - } - ), - unsubscribe: () => { - e = []; - }, - }; -} -var Og = (e) => Zr(e) || !hP(e); -function nu(e, t) { - if (Og(e) || Og(t)) return e === t; - if (k1(e) && k1(t)) return e.getTime() === t.getTime(); - const n = Object.keys(e), - r = Object.keys(t); - if (n.length !== r.length) return !1; - for (const i of n) { - const a = e[i]; - if (!r.includes(i)) return !1; - if (i !== "ref") { - const o = t[i]; - if ( - (k1(a) && k1(o)) || - (rr(a) && rr(o)) || - (Array.isArray(a) && Array.isArray(o)) - ? !nu(a, o) - : a !== o - ) - return !1; - } - } - return !0; -} -var vP = (e) => e.type === "select-multiple", - zme = (e) => G7(e) || tf(e), - m4 = (e) => Rg(e) && e.isConnected, - yP = (e) => { - for (const t in e) if (Ws(e[t])) return !0; - return !1; - }; -function Dg(e, t = {}) { - const n = Array.isArray(e); - if (rr(e) || n) - for (const r in e) - Array.isArray(e[r]) || (rr(e[r]) && !yP(e[r])) - ? ((t[r] = Array.isArray(e[r]) ? [] : {}), Dg(e[r], t[r])) - : Zr(e[r]) || (t[r] = !0); - return t; -} -function _P(e, t, n) { - const r = Array.isArray(e); - if (rr(e) || r) - for (const i in e) - Array.isArray(e[i]) || (rr(e[i]) && !yP(e[i])) - ? Wn(t) || Og(n[i]) - ? (n[i] = Array.isArray(e[i]) ? Dg(e[i], []) : { ...Dg(e[i]) }) - : _P(e[i], Zr(t) ? {} : t[i], n[i]) - : (n[i] = !nu(e[i], t[i])); - return n; -} -var b4 = (e, t) => _P(e, t, Dg(t)), - TP = (e, { valueAsNumber: t, valueAsDate: n, setValueAs: r }) => - Wn(e) - ? e - : t - ? e === "" - ? NaN - : e && +e - : n && fo(e) - ? new Date(e) - : r - ? r(e) - : e; -function E4(e) { - const t = e.ref; - if (!(e.refs ? e.refs.every((n) => n.disabled) : t.disabled)) - return j7(t) - ? t.files - : G7(t) - ? EP(e.refs).value - : vP(t) - ? [...t.selectedOptions].map(({ value: n }) => n) - : tf(t) - ? bP(e.refs).value - : TP(Wn(t.value) ? e.ref.value : t.value, e); -} -var Hme = (e, t, n, r) => { - const i = {}; - for (const a of e) { - const o = lt(t, a); - o && An(i, a, o._f); - } - return { - criteriaMode: n, - names: [...e], - fields: i, - shouldUseNativeValidation: r, - }; - }, - ad = (e) => - Wn(e) - ? e - : Ng(e) - ? e.source - : rr(e) - ? Ng(e.value) - ? e.value.source - : e.value - : e, - jme = (e) => - e.mount && - (e.required || - e.min || - e.max || - e.maxLength || - e.minLength || - e.pattern || - e.validate); -function dR(e, t, n) { - const r = lt(e, n); - if (r || H7(n)) return { error: r, name: n }; - const i = n.split("."); - for (; i.length; ) { - const a = i.join("."), - o = lt(t, a), - s = lt(e, a); - if (o && !Array.isArray(o) && n !== a) return { name: n }; - if (s && s.type) return { name: a, error: s }; - i.pop(); - } - return { name: n }; -} -var Gme = (e, t, n, r, i) => - i.isOnAll - ? !1 - : !n && i.isOnTouch - ? !(t || e) - : (n ? r.isOnBlur : i.isOnBlur) - ? !e - : (n ? r.isOnChange : i.isOnChange) - ? e - : !0, - Vme = (e, t) => !nf(lt(e, t)).length && br(e, t); -const Wme = { - mode: Ba.onSubmit, - reValidateMode: Ba.onChange, - shouldFocusError: !0, -}; -function qme(e = {}, t) { - let n = { ...Wme, ...e }, - r = { - submitCount: 0, - isDirty: !1, - isLoading: Ws(n.defaultValues), - isValidating: !1, - isSubmitted: !1, - isSubmitting: !1, - isSubmitSuccessful: !1, - isValid: !1, - touchedFields: {}, - dirtyFields: {}, - errors: {}, - }, - i = {}, - a = - rr(n.defaultValues) || rr(n.values) - ? jo(n.defaultValues || n.values) || {} - : {}, - o = n.shouldUnregister ? {} : jo(a), - s = { action: !1, mount: !1, watch: !1 }, - u = { - mount: new Set(), - unMount: new Set(), - array: new Set(), - watch: new Set(), - }, - c, - p = 0; - const f = { - isDirty: !1, - dirtyFields: !1, - touchedFields: !1, - isValidating: !1, - isValid: !1, - errors: !1, - }, - m = { values: g4(), array: g4(), state: g4() }, - g = e.resetOptions && e.resetOptions.keepDirtyValues, - E = iR(n.mode), - b = iR(n.reValidateMode), - T = n.criteriaMode === Ba.all, - v = (U) => (ie) => { - clearTimeout(p), (p = setTimeout(U, ie)); - }, - y = async (U) => { - if (f.isValid || U) { - const ie = n.resolver ? aa((await W()).errors) : await Q(i, !0); - ie !== r.isValid && m.state.next({ isValid: ie }); - } - }, - w = (U) => f.isValidating && m.state.next({ isValidating: U }), - A = (U, ie = [], pe, ke, ve = !0, Se = !0) => { - if (ke && pe) { - if (((s.action = !0), Se && Array.isArray(lt(i, U)))) { - const Me = pe(lt(i, U), ke.argA, ke.argB); - ve && An(i, U, Me); - } - if (Se && Array.isArray(lt(r.errors, U))) { - const Me = pe(lt(r.errors, U), ke.argA, ke.argB); - ve && An(r.errors, U, Me), Vme(r.errors, U); - } - if (f.touchedFields && Se && Array.isArray(lt(r.touchedFields, U))) { - const Me = pe(lt(r.touchedFields, U), ke.argA, ke.argB); - ve && An(r.touchedFields, U, Me); - } - f.dirtyFields && (r.dirtyFields = b4(a, o)), - m.state.next({ - name: U, - isDirty: le(U, ie), - dirtyFields: r.dirtyFields, - errors: r.errors, - isValid: r.isValid, - }); - } else An(o, U, ie); - }, - D = (U, ie) => { - An(r.errors, U, ie), m.state.next({ errors: r.errors }); - }, - k = (U, ie, pe, ke) => { - const ve = lt(i, U); - if (ve) { - const Se = lt(o, U, Wn(pe) ? lt(a, U) : pe); - Wn(Se) || (ke && ke.defaultChecked) || ie - ? An(o, U, ie ? Se : E4(ve._f)) - : fe(U, Se), - s.mount && y(); - } - }, - R = (U, ie, pe, ke, ve) => { - let Se = !1, - Me = !1; - const ze = { name: U }; - if (!pe || ke) { - f.isDirty && - ((Me = r.isDirty), - (r.isDirty = ze.isDirty = le()), - (Se = Me !== ze.isDirty)); - const Ke = nu(lt(a, U), ie); - (Me = lt(r.dirtyFields, U)), - Ke ? br(r.dirtyFields, U) : An(r.dirtyFields, U, !0), - (ze.dirtyFields = r.dirtyFields), - (Se = Se || (f.dirtyFields && Me !== !Ke)); - } - if (pe) { - const Ke = lt(r.touchedFields, U); - Ke || - (An(r.touchedFields, U, pe), - (ze.touchedFields = r.touchedFields), - (Se = Se || (f.touchedFields && Ke !== pe))); - } - return Se && ve && m.state.next(ze), Se ? ze : {}; - }, - B = (U, ie, pe, ke) => { - const ve = lt(r.errors, U), - Se = f.isValid && tu(ie) && r.isValid !== ie; - if ( - (e.delayError && pe - ? ((c = v(() => D(U, pe))), c(e.delayError)) - : (clearTimeout(p), - (c = null), - pe ? An(r.errors, U, pe) : br(r.errors, U)), - (pe ? !nu(ve, pe) : ve) || !aa(ke) || Se) - ) { - const Me = { - ...ke, - ...(Se && tu(ie) ? { isValid: ie } : {}), - errors: r.errors, - name: U, - }; - (r = { ...r, ...Me }), m.state.next(Me); - } - w(!1); - }, - W = async (U) => - n.resolver( - o, - n.context, - Hme(U || u.mount, i, n.criteriaMode, n.shouldUseNativeValidation) - ), - P = async (U) => { - const { errors: ie } = await W(U); - if (U) - for (const pe of U) { - const ke = lt(ie, pe); - ke ? An(r.errors, pe, ke) : br(r.errors, pe); - } - else r.errors = ie; - return ie; - }, - Q = async (U, ie, pe = { valid: !0 }) => { - for (const ke in U) { - const ve = U[ke]; - if (ve) { - const { _f: Se, ...Me } = ve; - if (Se) { - const ze = u.array.has(Se.name), - Ke = await cR(ve, o, T, n.shouldUseNativeValidation && !ie, ze); - if (Ke[Se.name] && ((pe.valid = !1), ie)) break; - !ie && - (lt(Ke, Se.name) - ? ze - ? Bme(r.errors, Ke, Se.name) - : An(r.errors, Se.name, Ke[Se.name]) - : br(r.errors, Se.name)); - } - Me && (await Q(Me, ie, pe)); - } - } - return pe.valid; - }, - z = () => { - for (const U of u.unMount) { - const ie = lt(i, U); - ie && - (ie._f.refs ? ie._f.refs.every((pe) => !m4(pe)) : !m4(ie._f.ref)) && - K(U); - } - u.unMount = new Set(); - }, - le = (U, ie) => (U && ie && An(o, U, ie), !nu(me(), a)), - he = (U, ie, pe) => - Fme( - U, - u, - { ...(s.mount ? o : Wn(ie) ? a : fo(U) ? { [U]: ie } : ie) }, - pe, - ie - ), - de = (U) => - nf(lt(s.mount ? o : a, U, e.shouldUnregister ? lt(a, U, []) : [])), - fe = (U, ie, pe = {}) => { - const ke = lt(i, U); - let ve = ie; - if (ke) { - const Se = ke._f; - Se && - (!Se.disabled && An(o, U, TP(ie, Se)), - (ve = Rg(Se.ref) && Zr(ie) ? "" : ie), - vP(Se.ref) - ? [...Se.ref.options].forEach( - (Me) => (Me.selected = ve.includes(Me.value)) - ) - : Se.refs - ? tf(Se.ref) - ? Se.refs.length > 1 - ? Se.refs.forEach( - (Me) => - (!Me.defaultChecked || !Me.disabled) && - (Me.checked = Array.isArray(ve) - ? !!ve.find((ze) => ze === Me.value) - : ve === Me.value) - ) - : Se.refs[0] && (Se.refs[0].checked = !!ve) - : Se.refs.forEach((Me) => (Me.checked = Me.value === ve)) - : j7(Se.ref) - ? (Se.ref.value = "") - : ((Se.ref.value = ve), - Se.ref.type || m.values.next({ name: U, values: { ...o } }))); - } - (pe.shouldDirty || pe.shouldTouch) && - R(U, ve, pe.shouldTouch, pe.shouldDirty, !0), - pe.shouldValidate && N(U); - }, - Z = (U, ie, pe) => { - for (const ke in ie) { - const ve = ie[ke], - Se = `${U}.${ke}`, - Me = lt(i, Se); - (u.array.has(U) || !Og(ve) || (Me && !Me._f)) && !k1(ve) - ? Z(Se, ve, pe) - : fe(Se, ve, pe); - } - }, - V = (U, ie, pe = {}) => { - const ke = lt(i, U), - ve = u.array.has(U), - Se = jo(ie); - An(o, U, Se), - ve - ? (m.array.next({ name: U, values: { ...o } }), - (f.isDirty || f.dirtyFields) && - pe.shouldDirty && - m.state.next({ - name: U, - dirtyFields: b4(a, o), - isDirty: le(U, Se), - })) - : ke && !ke._f && !Zr(Se) - ? Z(U, Se, pe) - : fe(U, Se, pe), - aR(U, u) && m.state.next({ ...r }), - m.values.next({ name: U, values: { ...o } }), - !s.mount && t(); - }, - ce = async (U) => { - const ie = U.target; - let pe = ie.name, - ke = !0; - const ve = lt(i, pe), - Se = () => (ie.type ? E4(ve._f) : kme(U)); - if (ve) { - let Me, ze; - const Ke = Se(), - jt = U.type === rR.BLUR || U.type === rR.FOCUS_OUT, - ue = - (!jme(ve._f) && !n.resolver && !lt(r.errors, pe) && !ve._f.deps) || - Gme(jt, lt(r.touchedFields, pe), r.isSubmitted, b, E), - ye = aR(pe, u, jt); - An(o, pe, Ke), - jt - ? (ve._f.onBlur && ve._f.onBlur(U), c && c(0)) - : ve._f.onChange && ve._f.onChange(U); - const We = R(pe, Ke, jt, !1), - at = !aa(We) || ye; - if ( - (!jt && m.values.next({ name: pe, type: U.type, values: { ...o } }), - ue) - ) - return ( - f.isValid && y(), - at && m.state.next({ name: pe, ...(ye ? {} : We) }) - ); - if ((!jt && ye && m.state.next({ ...r }), w(!0), n.resolver)) { - const { errors: Qe } = await W([pe]), - Y = dR(r.errors, i, pe), - se = dR(Qe, i, Y.name || pe); - (Me = se.error), (pe = se.name), (ze = aa(Qe)); - } else - (Me = (await cR(ve, o, T, n.shouldUseNativeValidation))[pe]), - (ke = Number.isNaN(Ke) || Ke === lt(o, pe, Ke)), - ke && (Me ? (ze = !1) : f.isValid && (ze = await Q(i, !0))); - ke && (ve._f.deps && N(ve._f.deps), B(pe, ze, Me, We)); - } - }, - N = async (U, ie = {}) => { - let pe, ke; - const ve = h4(U); - if ((w(!0), n.resolver)) { - const Se = await P(Wn(U) ? U : ve); - (pe = aa(Se)), (ke = U ? !ve.some((Me) => lt(Se, Me)) : pe); - } else - U - ? ((ke = ( - await Promise.all( - ve.map(async (Se) => { - const Me = lt(i, Se); - return await Q(Me && Me._f ? { [Se]: Me } : Me); - }) - ) - ).every(Boolean)), - !(!ke && !r.isValid) && y()) - : (ke = pe = await Q(i)); - return ( - m.state.next({ - ...(!fo(U) || (f.isValid && pe !== r.isValid) ? {} : { name: U }), - ...(n.resolver || !U ? { isValid: pe } : {}), - errors: r.errors, - isValidating: !1, - }), - ie.shouldFocus && - !ke && - _9(i, (Se) => Se && lt(r.errors, Se), U ? ve : u.mount), - ke - ); - }, - me = (U) => { - const ie = { ...a, ...(s.mount ? o : {}) }; - return Wn(U) ? ie : fo(U) ? lt(ie, U) : U.map((pe) => lt(ie, pe)); - }, - oe = (U, ie) => ({ - invalid: !!lt((ie || r).errors, U), - isDirty: !!lt((ie || r).dirtyFields, U), - isTouched: !!lt((ie || r).touchedFields, U), - error: lt((ie || r).errors, U), - }), - O = (U) => { - U && h4(U).forEach((ie) => br(r.errors, ie)), - m.state.next({ errors: U ? r.errors : {} }); - }, - re = (U, ie, pe) => { - const ke = (lt(i, U, { _f: {} })._f || {}).ref; - An(r.errors, U, { ...ie, ref: ke }), - m.state.next({ name: U, errors: r.errors, isValid: !1 }), - pe && pe.shouldFocus && ke && ke.focus && ke.focus(); - }, - Te = (U, ie) => - Ws(U) - ? m.values.subscribe({ next: (pe) => U(he(void 0, ie), pe) }) - : he(U, ie, !0), - K = (U, ie = {}) => { - for (const pe of U ? h4(U) : u.mount) - u.mount.delete(pe), - u.array.delete(pe), - ie.keepValue || (br(i, pe), br(o, pe)), - !ie.keepError && br(r.errors, pe), - !ie.keepDirty && br(r.dirtyFields, pe), - !ie.keepTouched && br(r.touchedFields, pe), - !n.shouldUnregister && !ie.keepDefaultValue && br(a, pe); - m.values.next({ values: { ...o } }), - m.state.next({ ...r, ...(ie.keepDirty ? { isDirty: le() } : {}) }), - !ie.keepIsValid && y(); - }, - xe = ({ disabled: U, name: ie, field: pe, fields: ke }) => { - if (tu(U)) { - const ve = U ? void 0 : lt(o, ie, E4(pe ? pe._f : lt(ke, ie)._f)); - An(o, ie, ve), R(ie, ve, !1, !1, !0); - } - }, - ne = (U, ie = {}) => { - let pe = lt(i, U); - const ke = tu(ie.disabled); - return ( - An(i, U, { - ...(pe || {}), - _f: { - ...(pe && pe._f ? pe._f : { ref: { name: U } }), - name: U, - mount: !0, - ...ie, - }, - }), - u.mount.add(U), - pe - ? xe({ field: pe, disabled: ie.disabled, name: U }) - : k(U, !0, ie.value), - { - ...(ke ? { disabled: ie.disabled } : {}), - ...(n.progressive - ? { - required: !!ie.required, - min: ad(ie.min), - max: ad(ie.max), - minLength: ad(ie.minLength), - maxLength: ad(ie.maxLength), - pattern: ad(ie.pattern), - } - : {}), - name: U, - onChange: ce, - onBlur: ce, - ref: (ve) => { - if (ve) { - ne(U, ie), (pe = lt(i, U)); - const Se = - (Wn(ve.value) && - ve.querySelectorAll && - ve.querySelectorAll("input,select,textarea")[0]) || - ve, - Me = zme(Se), - ze = pe._f.refs || []; - if (Me ? ze.find((Ke) => Ke === Se) : Se === pe._f.ref) return; - An(i, U, { - _f: { - ...pe._f, - ...(Me - ? { - refs: [ - ...ze.filter(m4), - Se, - ...(Array.isArray(lt(a, U)) ? [{}] : []), - ], - ref: { type: Se.type, name: U }, - } - : { ref: Se }), - }, - }), - k(U, !1, void 0, Se); - } else - (pe = lt(i, U, {})), - pe._f && (pe._f.mount = !1), - (n.shouldUnregister || ie.shouldUnregister) && - !(Rme(u.array, U) && s.action) && - u.unMount.add(U); - }, - } - ); - }, - Le = () => - n.shouldFocusError && _9(i, (U) => U && lt(r.errors, U), u.mount), - Re = (U, ie) => async (pe) => { - pe && - (pe.preventDefault && pe.preventDefault(), pe.persist && pe.persist()); - let ke = jo(o); - if ((m.state.next({ isSubmitting: !0 }), n.resolver)) { - const { errors: ve, values: Se } = await W(); - (r.errors = ve), (ke = Se); - } else await Q(i); - br(r.errors, "root"), - aa(r.errors) - ? (m.state.next({ errors: {} }), await U(ke, pe)) - : (ie && (await ie({ ...r.errors }, pe)), Le(), setTimeout(Le)), - m.state.next({ - isSubmitted: !0, - isSubmitting: !1, - isSubmitSuccessful: aa(r.errors), - submitCount: r.submitCount + 1, - errors: r.errors, - }); - }, - Xe = (U, ie = {}) => { - lt(i, U) && - (Wn(ie.defaultValue) - ? V(U, lt(a, U)) - : (V(U, ie.defaultValue), An(a, U, ie.defaultValue)), - ie.keepTouched || br(r.touchedFields, U), - ie.keepDirty || - (br(r.dirtyFields, U), - (r.isDirty = ie.defaultValue ? le(U, lt(a, U)) : le())), - ie.keepError || (br(r.errors, U), f.isValid && y()), - m.state.next({ ...r })); - }, - Ve = (U, ie = {}) => { - const pe = U ? jo(U) : a, - ke = jo(pe), - ve = U && !aa(U) ? ke : a; - if ((ie.keepDefaultValues || (a = pe), !ie.keepValues)) { - if (ie.keepDirtyValues || g) - for (const Se of u.mount) - lt(r.dirtyFields, Se) ? An(ve, Se, lt(o, Se)) : V(Se, lt(ve, Se)); - else { - if (z7 && Wn(U)) - for (const Se of u.mount) { - const Me = lt(i, Se); - if (Me && Me._f) { - const ze = Array.isArray(Me._f.refs) - ? Me._f.refs[0] - : Me._f.ref; - if (Rg(ze)) { - const Ke = ze.closest("form"); - if (Ke) { - Ke.reset(); - break; - } - } - } - } - i = {}; - } - (o = e.shouldUnregister ? (ie.keepDefaultValues ? jo(a) : {}) : jo(ve)), - m.array.next({ values: { ...ve } }), - m.values.next({ values: { ...ve } }); - } - (u = { - mount: new Set(), - unMount: new Set(), - array: new Set(), - watch: new Set(), - watchAll: !1, - focus: "", - }), - !s.mount && t(), - (s.mount = !f.isValid || !!ie.keepIsValid), - (s.watch = !!e.shouldUnregister), - m.state.next({ - submitCount: ie.keepSubmitCount ? r.submitCount : 0, - isDirty: ie.keepDirty - ? r.isDirty - : !!(ie.keepDefaultValues && !nu(U, a)), - isSubmitted: ie.keepIsSubmitted ? r.isSubmitted : !1, - dirtyFields: ie.keepDirtyValues - ? r.dirtyFields - : ie.keepDefaultValues && U - ? b4(a, U) - : {}, - touchedFields: ie.keepTouched ? r.touchedFields : {}, - errors: ie.keepErrors ? r.errors : {}, - isSubmitSuccessful: ie.keepIsSubmitSuccessful - ? r.isSubmitSuccessful - : !1, - isSubmitting: !1, - }); - }, - dt = (U, ie) => Ve(Ws(U) ? U(o) : U, ie); - return { - control: { - register: ne, - unregister: K, - getFieldState: oe, - handleSubmit: Re, - setError: re, - _executeSchema: W, - _getWatch: he, - _getDirty: le, - _updateValid: y, - _removeUnmounted: z, - _updateFieldArray: A, - _updateDisabledField: xe, - _getFieldArray: de, - _reset: Ve, - _resetDefaultValues: () => - Ws(n.defaultValues) && - n.defaultValues().then((U) => { - dt(U, n.resetOptions), m.state.next({ isLoading: !1 }); - }), - _updateFormState: (U) => { - r = { ...r, ...U }; - }, - _subjects: m, - _proxyFormState: f, - get _fields() { - return i; - }, - get _formValues() { - return o; - }, - get _state() { - return s; - }, - set _state(U) { - s = U; - }, - get _defaultValues() { - return a; - }, - get _names() { - return u; - }, - set _names(U) { - u = U; - }, - get _formState() { - return r; - }, - set _formState(U) { - r = U; - }, - get _options() { - return n; - }, - set _options(U) { - n = { ...n, ...U }; - }, - }, - trigger: N, - register: ne, - handleSubmit: Re, - watch: Te, - setValue: V, - getValues: me, - reset: dt, - resetField: Xe, - clearErrors: O, - unregister: K, - setError: re, - setFocus: (U, ie = {}) => { - const pe = lt(i, U), - ke = pe && pe._f; - if (ke) { - const ve = ke.refs ? ke.refs[0] : ke.ref; - ve.focus && (ve.focus(), ie.shouldSelect && ve.select()); - } - }, - getFieldState: oe, - }; -} -function SP(e = {}) { - const t = ut.useRef(), - n = ut.useRef(), - [r, i] = ut.useState({ - isDirty: !1, - isValidating: !1, - isLoading: Ws(e.defaultValues), - isSubmitted: !1, - isSubmitting: !1, - isSubmitSuccessful: !1, - isValid: !1, - submitCount: 0, - dirtyFields: {}, - touchedFields: {}, - errors: {}, - defaultValues: Ws(e.defaultValues) ? void 0 : e.defaultValues, - }); - t.current || - (t.current = { ...qme(e, () => i((o) => ({ ...o }))), formState: r }); - const a = t.current.control; - return ( - (a._options = e), - Mme({ - subject: a._subjects.state, - next: (o) => { - Lme(o, a._proxyFormState, a._updateFormState, !0) && - i({ ...a._formState }); - }, - }), - ut.useEffect(() => { - e.values && !nu(e.values, n.current) - ? (a._reset(e.values, a._options.resetOptions), (n.current = e.values)) - : a._resetDefaultValues(); - }, [e.values, a]), - ut.useEffect(() => { - a._state.mount || (a._updateValid(), (a._state.mount = !0)), - a._state.watch && - ((a._state.watch = !1), a._subjects.state.next({ ...a._formState })), - a._removeUnmounted(); - }), - (t.current.formState = Dme(r, a)), - t.current - ); -} -const pR = He.hr` +`;function xme(e){const t=zt(n=>n.config.vscMediaUrl);return I.jsx(Cme,{children:t?I.jsx("img",{src:`${t}/play_button.png`,width:"22px"}):I.jsx(uD,{width:e.size||fP})})}const y9=({msg:e})=>{const t="info-hover",n=document.getElementById("tooltip-portal-div");return I.jsxs(I.Fragment,{children:[I.jsx(HY,{"data-tooltip-id":t,className:"h-5 w-5 text-gray-500 cursor-help"}),n&&_E.createPortal(I.jsx(Gs,{id:t,place:"bottom",children:e}),n)]})};var tf=e=>e.type==="checkbox",k1=e=>e instanceof Date,Zr=e=>e==null;const hP=e=>typeof e=="object";var rr=e=>!Zr(e)&&!Array.isArray(e)&&hP(e)&&!k1(e),kme=e=>rr(e)&&e.target?tf(e.target)?e.target.checked:e.target.value:e,Ime=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Rme=(e,t)=>e.has(Ime(t)),Nme=e=>{const t=e.constructor&&e.constructor.prototype;return rr(t)&&t.hasOwnProperty("isPrototypeOf")},z7=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function jo(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(z7&&(e instanceof Blob||e instanceof FileList))&&(n||rr(e)))if(t=n?[]:{},!n&&!Nme(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=jo(e[r]));else return e;return t}var nf=e=>Array.isArray(e)?e.filter(Boolean):[],Wn=e=>e===void 0,lt=(e,t,n)=>{if(!t||!rr(e))return n;const r=nf(t.split(/[,[\].]+?/)).reduce((i,a)=>Zr(i)?i:i[a],e);return Wn(r)||r===e?Wn(e[t])?n:e[t]:r},tu=e=>typeof e=="boolean";const rR={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Ba={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},zo={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Ome=ut.createContext(null),gP=e=>{const{children:t,...n}=e;return ut.createElement(Ome.Provider,{value:n},t)};var Dme=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const o=a;return t._proxyFormState[o]!==Ba.all&&(t._proxyFormState[o]=!r||Ba.all),n&&(n[o]=!0),e[o]}});return i},aa=e=>rr(e)&&!Object.keys(e).length,Lme=(e,t,n,r)=>{n(e);const{name:i,...a}=e;return aa(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(o=>t[o]===(!r||Ba.all))},h4=e=>Array.isArray(e)?e:[e];function Mme(e){const t=ut.useRef(e);t.current=e,ut.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}var fo=e=>typeof e=="string",Fme=(e,t,n,r,i)=>fo(e)?(r&&t.watch.add(e),lt(n,e,i)):Array.isArray(e)?e.map(a=>(r&&t.watch.add(a),lt(n,a))):(r&&(t.watchAll=!0),n),H7=e=>/^\w*$/.test(e),mP=e=>nf(e.replace(/["|']|\]/g,"").split(/\.|\[/));function An(e,t,n){let r=-1;const i=H7(t)?[t]:mP(t),a=i.length,o=a-1;for(;++rt?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{};const _9=(e,t,n)=>{for(const r of n||Object.keys(e)){const i=lt(e,r);if(i){const{_f:a,...o}=i;if(a&&t(a.name)){if(a.ref.focus){a.ref.focus();break}else if(a.refs&&a.refs[0].focus){a.refs[0].focus();break}}else rr(o)&&_9(o,t)}}};var iR=e=>({isOnSubmit:!e||e===Ba.onSubmit,isOnBlur:e===Ba.onBlur,isOnChange:e===Ba.onChange,isOnAll:e===Ba.all,isOnTouch:e===Ba.onTouched}),aR=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length)))),Bme=(e,t,n)=>{const r=nf(lt(e,n));return An(r,"root",t[n]),An(e,n,r),e},j7=e=>e.type==="file",Ws=e=>typeof e=="function",Rg=e=>{if(!z7)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Ah=e=>fo(e),G7=e=>e.type==="radio",Ng=e=>e instanceof RegExp;const oR={value:!1,isValid:!1},sR={value:!0,isValid:!0};var bP=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Wn(e[0].attributes.value)?Wn(e[0].value)||e[0].value===""?sR:{value:e[0].value,isValid:!0}:sR:oR}return oR};const lR={isValid:!1,value:null};var EP=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,lR):lR;function uR(e,t,n="validate"){if(Ah(e)||Array.isArray(e)&&e.every(Ah)||tu(e)&&!e)return{type:n,message:Ah(e)?e:"",ref:t}}var Qu=e=>rr(e)&&!Ng(e)?e:{value:e,message:""},cR=async(e,t,n,r,i)=>{const{ref:a,refs:o,required:s,maxLength:u,minLength:c,min:p,max:f,pattern:m,validate:g,name:E,valueAsNumber:b,mount:T,disabled:v}=e._f,y=lt(t,E);if(!T||v)return{};const w=o?o[0]:a,A=z=>{r&&w.reportValidity&&(w.setCustomValidity(tu(z)?"":z||""),w.reportValidity())},D={},k=G7(a),R=tf(a),B=k||R,W=(b||j7(a))&&Wn(a.value)&&Wn(y)||Rg(a)&&a.value===""||y===""||Array.isArray(y)&&!y.length,P=Pme.bind(null,E,n,D),Q=(z,le,he,de=zo.maxLength,fe=zo.minLength)=>{const Z=z?le:he;D[E]={type:z?de:fe,message:Z,ref:a,...P(z?de:fe,Z)}};if(i?!Array.isArray(y)||!y.length:s&&(!B&&(W||Zr(y))||tu(y)&&!y||R&&!bP(o).isValid||k&&!EP(o).isValid)){const{value:z,message:le}=Ah(s)?{value:!!s,message:s}:Qu(s);if(z&&(D[E]={type:zo.required,message:le,ref:w,...P(zo.required,le)},!n))return A(le),D}if(!W&&(!Zr(p)||!Zr(f))){let z,le;const he=Qu(f),de=Qu(p);if(!Zr(y)&&!isNaN(y)){const fe=a.valueAsNumber||y&&+y;Zr(he.value)||(z=fe>he.value),Zr(de.value)||(le=fenew Date(new Date().toDateString()+" "+N),V=a.type=="time",ce=a.type=="week";fo(he.value)&&y&&(z=V?Z(y)>Z(he.value):ce?y>he.value:fe>new Date(he.value)),fo(de.value)&&y&&(le=V?Z(y)+z.value,de=!Zr(le.value)&&y.length<+le.value;if((he||de)&&(Q(he,z.message,le.message),!n))return A(D[E].message),D}if(m&&!W&&fo(y)){const{value:z,message:le}=Qu(m);if(Ng(z)&&!y.match(z)&&(D[E]={type:zo.pattern,message:le,ref:a,...P(zo.pattern,le)},!n))return A(le),D}if(g){if(Ws(g)){const z=await g(y,t),le=uR(z,w);if(le&&(D[E]={...le,...P(zo.validate,le.message)},!n))return A(le.message),D}else if(rr(g)){let z={};for(const le in g){if(!aa(z)&&!n)break;const he=uR(await g[le](y,t),w,le);he&&(z={...he,...P(le,he.message)},A(he.message),n&&(D[E]=z))}if(!aa(z)&&(D[E]={ref:w,...z},!n))return D}}return A(!0),D};function Ume(e,t){const n=t.slice(0,-1).length;let r=0;for(;r{for(const a of e)a.next&&a.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(a=>a!==i)}}),unsubscribe:()=>{e=[]}}}var Og=e=>Zr(e)||!hP(e);function nu(e,t){if(Og(e)||Og(t))return e===t;if(k1(e)&&k1(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){const a=e[i];if(!r.includes(i))return!1;if(i!=="ref"){const o=t[i];if(k1(a)&&k1(o)||rr(a)&&rr(o)||Array.isArray(a)&&Array.isArray(o)?!nu(a,o):a!==o)return!1}}return!0}var vP=e=>e.type==="select-multiple",zme=e=>G7(e)||tf(e),m4=e=>Rg(e)&&e.isConnected,yP=e=>{for(const t in e)if(Ws(e[t]))return!0;return!1};function Dg(e,t={}){const n=Array.isArray(e);if(rr(e)||n)for(const r in e)Array.isArray(e[r])||rr(e[r])&&!yP(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Dg(e[r],t[r])):Zr(e[r])||(t[r]=!0);return t}function _P(e,t,n){const r=Array.isArray(e);if(rr(e)||r)for(const i in e)Array.isArray(e[i])||rr(e[i])&&!yP(e[i])?Wn(t)||Og(n[i])?n[i]=Array.isArray(e[i])?Dg(e[i],[]):{...Dg(e[i])}:_P(e[i],Zr(t)?{}:t[i],n[i]):n[i]=!nu(e[i],t[i]);return n}var b4=(e,t)=>_P(e,t,Dg(t)),TP=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Wn(e)?e:t?e===""?NaN:e&&+e:n&&fo(e)?new Date(e):r?r(e):e;function E4(e){const t=e.ref;if(!(e.refs?e.refs.every(n=>n.disabled):t.disabled))return j7(t)?t.files:G7(t)?EP(e.refs).value:vP(t)?[...t.selectedOptions].map(({value:n})=>n):tf(t)?bP(e.refs).value:TP(Wn(t.value)?e.ref.value:t.value,e)}var Hme=(e,t,n,r)=>{const i={};for(const a of e){const o=lt(t,a);o&&An(i,a,o._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},ad=e=>Wn(e)?e:Ng(e)?e.source:rr(e)?Ng(e.value)?e.value.source:e.value:e,jme=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function dR(e,t,n){const r=lt(e,n);if(r||H7(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const a=i.join("."),o=lt(t,a),s=lt(e,a);if(o&&!Array.isArray(o)&&n!==a)return{name:n};if(s&&s.type)return{name:a,error:s};i.pop()}return{name:n}}var Gme=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,Vme=(e,t)=>!nf(lt(e,t)).length&&br(e,t);const Wme={mode:Ba.onSubmit,reValidateMode:Ba.onChange,shouldFocusError:!0};function qme(e={},t){let n={...Wme,...e},r={submitCount:0,isDirty:!1,isLoading:Ws(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},i={},a=rr(n.defaultValues)||rr(n.values)?jo(n.defaultValues||n.values)||{}:{},o=n.shouldUnregister?{}:jo(a),s={action:!1,mount:!1,watch:!1},u={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c,p=0;const f={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},m={values:g4(),array:g4(),state:g4()},g=e.resetOptions&&e.resetOptions.keepDirtyValues,E=iR(n.mode),b=iR(n.reValidateMode),T=n.criteriaMode===Ba.all,v=U=>ie=>{clearTimeout(p),p=setTimeout(U,ie)},y=async U=>{if(f.isValid||U){const ie=n.resolver?aa((await W()).errors):await Q(i,!0);ie!==r.isValid&&m.state.next({isValid:ie})}},w=U=>f.isValidating&&m.state.next({isValidating:U}),A=(U,ie=[],pe,ke,ve=!0,Se=!0)=>{if(ke&&pe){if(s.action=!0,Se&&Array.isArray(lt(i,U))){const Me=pe(lt(i,U),ke.argA,ke.argB);ve&&An(i,U,Me)}if(Se&&Array.isArray(lt(r.errors,U))){const Me=pe(lt(r.errors,U),ke.argA,ke.argB);ve&&An(r.errors,U,Me),Vme(r.errors,U)}if(f.touchedFields&&Se&&Array.isArray(lt(r.touchedFields,U))){const Me=pe(lt(r.touchedFields,U),ke.argA,ke.argB);ve&&An(r.touchedFields,U,Me)}f.dirtyFields&&(r.dirtyFields=b4(a,o)),m.state.next({name:U,isDirty:le(U,ie),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else An(o,U,ie)},D=(U,ie)=>{An(r.errors,U,ie),m.state.next({errors:r.errors})},k=(U,ie,pe,ke)=>{const ve=lt(i,U);if(ve){const Se=lt(o,U,Wn(pe)?lt(a,U):pe);Wn(Se)||ke&&ke.defaultChecked||ie?An(o,U,ie?Se:E4(ve._f)):fe(U,Se),s.mount&&y()}},R=(U,ie,pe,ke,ve)=>{let Se=!1,Me=!1;const ze={name:U};if(!pe||ke){f.isDirty&&(Me=r.isDirty,r.isDirty=ze.isDirty=le(),Se=Me!==ze.isDirty);const Ke=nu(lt(a,U),ie);Me=lt(r.dirtyFields,U),Ke?br(r.dirtyFields,U):An(r.dirtyFields,U,!0),ze.dirtyFields=r.dirtyFields,Se=Se||f.dirtyFields&&Me!==!Ke}if(pe){const Ke=lt(r.touchedFields,U);Ke||(An(r.touchedFields,U,pe),ze.touchedFields=r.touchedFields,Se=Se||f.touchedFields&&Ke!==pe)}return Se&&ve&&m.state.next(ze),Se?ze:{}},B=(U,ie,pe,ke)=>{const ve=lt(r.errors,U),Se=f.isValid&&tu(ie)&&r.isValid!==ie;if(e.delayError&&pe?(c=v(()=>D(U,pe)),c(e.delayError)):(clearTimeout(p),c=null,pe?An(r.errors,U,pe):br(r.errors,U)),(pe?!nu(ve,pe):ve)||!aa(ke)||Se){const Me={...ke,...Se&&tu(ie)?{isValid:ie}:{},errors:r.errors,name:U};r={...r,...Me},m.state.next(Me)}w(!1)},W=async U=>n.resolver(o,n.context,Hme(U||u.mount,i,n.criteriaMode,n.shouldUseNativeValidation)),P=async U=>{const{errors:ie}=await W(U);if(U)for(const pe of U){const ke=lt(ie,pe);ke?An(r.errors,pe,ke):br(r.errors,pe)}else r.errors=ie;return ie},Q=async(U,ie,pe={valid:!0})=>{for(const ke in U){const ve=U[ke];if(ve){const{_f:Se,...Me}=ve;if(Se){const ze=u.array.has(Se.name),Ke=await cR(ve,o,T,n.shouldUseNativeValidation&&!ie,ze);if(Ke[Se.name]&&(pe.valid=!1,ie))break;!ie&&(lt(Ke,Se.name)?ze?Bme(r.errors,Ke,Se.name):An(r.errors,Se.name,Ke[Se.name]):br(r.errors,Se.name))}Me&&await Q(Me,ie,pe)}}return pe.valid},z=()=>{for(const U of u.unMount){const ie=lt(i,U);ie&&(ie._f.refs?ie._f.refs.every(pe=>!m4(pe)):!m4(ie._f.ref))&&K(U)}u.unMount=new Set},le=(U,ie)=>(U&&ie&&An(o,U,ie),!nu(me(),a)),he=(U,ie,pe)=>Fme(U,u,{...s.mount?o:Wn(ie)?a:fo(U)?{[U]:ie}:ie},pe,ie),de=U=>nf(lt(s.mount?o:a,U,e.shouldUnregister?lt(a,U,[]):[])),fe=(U,ie,pe={})=>{const ke=lt(i,U);let ve=ie;if(ke){const Se=ke._f;Se&&(!Se.disabled&&An(o,U,TP(ie,Se)),ve=Rg(Se.ref)&&Zr(ie)?"":ie,vP(Se.ref)?[...Se.ref.options].forEach(Me=>Me.selected=ve.includes(Me.value)):Se.refs?tf(Se.ref)?Se.refs.length>1?Se.refs.forEach(Me=>(!Me.defaultChecked||!Me.disabled)&&(Me.checked=Array.isArray(ve)?!!ve.find(ze=>ze===Me.value):ve===Me.value)):Se.refs[0]&&(Se.refs[0].checked=!!ve):Se.refs.forEach(Me=>Me.checked=Me.value===ve):j7(Se.ref)?Se.ref.value="":(Se.ref.value=ve,Se.ref.type||m.values.next({name:U,values:{...o}})))}(pe.shouldDirty||pe.shouldTouch)&&R(U,ve,pe.shouldTouch,pe.shouldDirty,!0),pe.shouldValidate&&N(U)},Z=(U,ie,pe)=>{for(const ke in ie){const ve=ie[ke],Se=`${U}.${ke}`,Me=lt(i,Se);(u.array.has(U)||!Og(ve)||Me&&!Me._f)&&!k1(ve)?Z(Se,ve,pe):fe(Se,ve,pe)}},V=(U,ie,pe={})=>{const ke=lt(i,U),ve=u.array.has(U),Se=jo(ie);An(o,U,Se),ve?(m.array.next({name:U,values:{...o}}),(f.isDirty||f.dirtyFields)&&pe.shouldDirty&&m.state.next({name:U,dirtyFields:b4(a,o),isDirty:le(U,Se)})):ke&&!ke._f&&!Zr(Se)?Z(U,Se,pe):fe(U,Se,pe),aR(U,u)&&m.state.next({...r}),m.values.next({name:U,values:{...o}}),!s.mount&&t()},ce=async U=>{const ie=U.target;let pe=ie.name,ke=!0;const ve=lt(i,pe),Se=()=>ie.type?E4(ve._f):kme(U);if(ve){let Me,ze;const Ke=Se(),jt=U.type===rR.BLUR||U.type===rR.FOCUS_OUT,ue=!jme(ve._f)&&!n.resolver&&!lt(r.errors,pe)&&!ve._f.deps||Gme(jt,lt(r.touchedFields,pe),r.isSubmitted,b,E),ye=aR(pe,u,jt);An(o,pe,Ke),jt?(ve._f.onBlur&&ve._f.onBlur(U),c&&c(0)):ve._f.onChange&&ve._f.onChange(U);const We=R(pe,Ke,jt,!1),at=!aa(We)||ye;if(!jt&&m.values.next({name:pe,type:U.type,values:{...o}}),ue)return f.isValid&&y(),at&&m.state.next({name:pe,...ye?{}:We});if(!jt&&ye&&m.state.next({...r}),w(!0),n.resolver){const{errors:Qe}=await W([pe]),Y=dR(r.errors,i,pe),se=dR(Qe,i,Y.name||pe);Me=se.error,pe=se.name,ze=aa(Qe)}else Me=(await cR(ve,o,T,n.shouldUseNativeValidation))[pe],ke=Number.isNaN(Ke)||Ke===lt(o,pe,Ke),ke&&(Me?ze=!1:f.isValid&&(ze=await Q(i,!0)));ke&&(ve._f.deps&&N(ve._f.deps),B(pe,ze,Me,We))}},N=async(U,ie={})=>{let pe,ke;const ve=h4(U);if(w(!0),n.resolver){const Se=await P(Wn(U)?U:ve);pe=aa(Se),ke=U?!ve.some(Me=>lt(Se,Me)):pe}else U?(ke=(await Promise.all(ve.map(async Se=>{const Me=lt(i,Se);return await Q(Me&&Me._f?{[Se]:Me}:Me)}))).every(Boolean),!(!ke&&!r.isValid)&&y()):ke=pe=await Q(i);return m.state.next({...!fo(U)||f.isValid&&pe!==r.isValid?{}:{name:U},...n.resolver||!U?{isValid:pe}:{},errors:r.errors,isValidating:!1}),ie.shouldFocus&&!ke&&_9(i,Se=>Se&<(r.errors,Se),U?ve:u.mount),ke},me=U=>{const ie={...a,...s.mount?o:{}};return Wn(U)?ie:fo(U)?lt(ie,U):U.map(pe=>lt(ie,pe))},oe=(U,ie)=>({invalid:!!lt((ie||r).errors,U),isDirty:!!lt((ie||r).dirtyFields,U),isTouched:!!lt((ie||r).touchedFields,U),error:lt((ie||r).errors,U)}),O=U=>{U&&h4(U).forEach(ie=>br(r.errors,ie)),m.state.next({errors:U?r.errors:{}})},re=(U,ie,pe)=>{const ke=(lt(i,U,{_f:{}})._f||{}).ref;An(r.errors,U,{...ie,ref:ke}),m.state.next({name:U,errors:r.errors,isValid:!1}),pe&&pe.shouldFocus&&ke&&ke.focus&&ke.focus()},Te=(U,ie)=>Ws(U)?m.values.subscribe({next:pe=>U(he(void 0,ie),pe)}):he(U,ie,!0),K=(U,ie={})=>{for(const pe of U?h4(U):u.mount)u.mount.delete(pe),u.array.delete(pe),ie.keepValue||(br(i,pe),br(o,pe)),!ie.keepError&&br(r.errors,pe),!ie.keepDirty&&br(r.dirtyFields,pe),!ie.keepTouched&&br(r.touchedFields,pe),!n.shouldUnregister&&!ie.keepDefaultValue&&br(a,pe);m.values.next({values:{...o}}),m.state.next({...r,...ie.keepDirty?{isDirty:le()}:{}}),!ie.keepIsValid&&y()},xe=({disabled:U,name:ie,field:pe,fields:ke})=>{if(tu(U)){const ve=U?void 0:lt(o,ie,E4(pe?pe._f:lt(ke,ie)._f));An(o,ie,ve),R(ie,ve,!1,!1,!0)}},ne=(U,ie={})=>{let pe=lt(i,U);const ke=tu(ie.disabled);return An(i,U,{...pe||{},_f:{...pe&&pe._f?pe._f:{ref:{name:U}},name:U,mount:!0,...ie}}),u.mount.add(U),pe?xe({field:pe,disabled:ie.disabled,name:U}):k(U,!0,ie.value),{...ke?{disabled:ie.disabled}:{},...n.progressive?{required:!!ie.required,min:ad(ie.min),max:ad(ie.max),minLength:ad(ie.minLength),maxLength:ad(ie.maxLength),pattern:ad(ie.pattern)}:{},name:U,onChange:ce,onBlur:ce,ref:ve=>{if(ve){ne(U,ie),pe=lt(i,U);const Se=Wn(ve.value)&&ve.querySelectorAll&&ve.querySelectorAll("input,select,textarea")[0]||ve,Me=zme(Se),ze=pe._f.refs||[];if(Me?ze.find(Ke=>Ke===Se):Se===pe._f.ref)return;An(i,U,{_f:{...pe._f,...Me?{refs:[...ze.filter(m4),Se,...Array.isArray(lt(a,U))?[{}]:[]],ref:{type:Se.type,name:U}}:{ref:Se}}}),k(U,!1,void 0,Se)}else pe=lt(i,U,{}),pe._f&&(pe._f.mount=!1),(n.shouldUnregister||ie.shouldUnregister)&&!(Rme(u.array,U)&&s.action)&&u.unMount.add(U)}}},Le=()=>n.shouldFocusError&&_9(i,U=>U&<(r.errors,U),u.mount),Re=(U,ie)=>async pe=>{pe&&(pe.preventDefault&&pe.preventDefault(),pe.persist&&pe.persist());let ke=jo(o);if(m.state.next({isSubmitting:!0}),n.resolver){const{errors:ve,values:Se}=await W();r.errors=ve,ke=Se}else await Q(i);br(r.errors,"root"),aa(r.errors)?(m.state.next({errors:{}}),await U(ke,pe)):(ie&&await ie({...r.errors},pe),Le(),setTimeout(Le)),m.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:aa(r.errors),submitCount:r.submitCount+1,errors:r.errors})},Xe=(U,ie={})=>{lt(i,U)&&(Wn(ie.defaultValue)?V(U,lt(a,U)):(V(U,ie.defaultValue),An(a,U,ie.defaultValue)),ie.keepTouched||br(r.touchedFields,U),ie.keepDirty||(br(r.dirtyFields,U),r.isDirty=ie.defaultValue?le(U,lt(a,U)):le()),ie.keepError||(br(r.errors,U),f.isValid&&y()),m.state.next({...r}))},Ve=(U,ie={})=>{const pe=U?jo(U):a,ke=jo(pe),ve=U&&!aa(U)?ke:a;if(ie.keepDefaultValues||(a=pe),!ie.keepValues){if(ie.keepDirtyValues||g)for(const Se of u.mount)lt(r.dirtyFields,Se)?An(ve,Se,lt(o,Se)):V(Se,lt(ve,Se));else{if(z7&&Wn(U))for(const Se of u.mount){const Me=lt(i,Se);if(Me&&Me._f){const ze=Array.isArray(Me._f.refs)?Me._f.refs[0]:Me._f.ref;if(Rg(ze)){const Ke=ze.closest("form");if(Ke){Ke.reset();break}}}}i={}}o=e.shouldUnregister?ie.keepDefaultValues?jo(a):{}:jo(ve),m.array.next({values:{...ve}}),m.values.next({values:{...ve}})}u={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!s.mount&&t(),s.mount=!f.isValid||!!ie.keepIsValid,s.watch=!!e.shouldUnregister,m.state.next({submitCount:ie.keepSubmitCount?r.submitCount:0,isDirty:ie.keepDirty?r.isDirty:!!(ie.keepDefaultValues&&!nu(U,a)),isSubmitted:ie.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:ie.keepDirtyValues?r.dirtyFields:ie.keepDefaultValues&&U?b4(a,U):{},touchedFields:ie.keepTouched?r.touchedFields:{},errors:ie.keepErrors?r.errors:{},isSubmitSuccessful:ie.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},dt=(U,ie)=>Ve(Ws(U)?U(o):U,ie);return{control:{register:ne,unregister:K,getFieldState:oe,handleSubmit:Re,setError:re,_executeSchema:W,_getWatch:he,_getDirty:le,_updateValid:y,_removeUnmounted:z,_updateFieldArray:A,_updateDisabledField:xe,_getFieldArray:de,_reset:Ve,_resetDefaultValues:()=>Ws(n.defaultValues)&&n.defaultValues().then(U=>{dt(U,n.resetOptions),m.state.next({isLoading:!1})}),_updateFormState:U=>{r={...r,...U}},_subjects:m,_proxyFormState:f,get _fields(){return i},get _formValues(){return o},get _state(){return s},set _state(U){s=U},get _defaultValues(){return a},get _names(){return u},set _names(U){u=U},get _formState(){return r},set _formState(U){r=U},get _options(){return n},set _options(U){n={...n,...U}}},trigger:N,register:ne,handleSubmit:Re,watch:Te,setValue:V,getValues:me,reset:dt,resetField:Xe,clearErrors:O,unregister:K,setError:re,setFocus:(U,ie={})=>{const pe=lt(i,U),ke=pe&&pe._f;if(ke){const ve=ke.refs?ke.refs[0]:ke.ref;ve.focus&&(ve.focus(),ie.shouldSelect&&ve.select())}},getFieldState:oe}}function SP(e={}){const t=ut.useRef(),n=ut.useRef(),[r,i]=ut.useState({isDirty:!1,isValidating:!1,isLoading:Ws(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:Ws(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...qme(e,()=>i(o=>({...o}))),formState:r});const a=t.current.control;return a._options=e,Mme({subject:a._subjects.state,next:o=>{Lme(o,a._proxyFormState,a._updateFormState,!0)&&i({...a._formState})}}),ut.useEffect(()=>{e.values&&!nu(e.values,n.current)?(a._reset(e.values,a._options.resetOptions),n.current=e.values):a._resetDefaultValues()},[e.values,a]),ut.useEffect(()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=Dme(r,a),t.current}const pR=He.hr` border: 0.5px solid ${vt}; -`, - Kme = He(op)` +`,Kme=He(op)` background-color: transparent; color: ${vt}; border: 1px solid ${vt}; @@ -75039,13 +1103,11 @@ const pR = He.hr` background-color: ${vt}; color: black; } -`, - Yme = He(op)` +`,Yme=He(op)` &:hover { opacity: 0.8; } -`, - Xme = He.input.attrs({ type: "range" })` +`,Xme=He.input.attrs({type:"range"})` --webkit-appearance: none; width: 100%; background-color: ${Lt}; @@ -75083,5869 +1145,66 @@ const pR = He.hr` outline: none; border: none; } -`; -function Zme() { - const e = SP(), - t = (s) => console.log(s), - n = cs(), - r = C.useContext(Ya), - i = zt((s) => s.serverState.config); - us(); - const a = () => { - if (!r) return; - const s = e.watch("system_message"), - u = e.watch("temperature"); - r.setSystemMessage(s || ""), u && r.setTemperature(u); - }, - o = () => { - a(), n("/"); - }; - return ( - C.useEffect(() => { - i && - (e.setValue("system_message", i.system_message), - e.setValue("temperature", i.temperature)); - }, [i]), - I.jsx(gP, { - ...e, - children: I.jsxs("div", { - className: "overflow-y-scroll", - children: [ - I.jsxs("div", { - className: "items-center flex sticky top-0", - style: { borderBottom: `0.5px solid ${vt}`, backgroundColor: Kt }, - children: [ - I.jsx(ac, { - width: "1.2em", - height: "1.2em", - onClick: o, - className: "inline-block ml-4 cursor-pointer", - }), - I.jsx("h3", { - className: "text-lg font-bold m-2 inline-block", - children: "Settings", - }), - ], - }), - I.jsx("form", { - onSubmit: e.handleSubmit(t), - children: i - ? I.jsxs("div", { - className: "p-2", - children: [ - I.jsxs("h3", { - className: "flex gap-1", - children: [ - "System Message", - I.jsx(y9, { - msg: `Set a system message with information that the LLM should always +`;function Zme(){const e=SP(),t=s=>console.log(s),n=cs(),r=C.useContext(Ya),i=zt(s=>s.serverState.config);us();const a=()=>{if(!r)return;const s=e.watch("system_message"),u=e.watch("temperature");r.setSystemMessage(s||""),u&&r.setTemperature(u)},o=()=>{a(),n("/")};return C.useEffect(()=>{i&&(e.setValue("system_message",i.system_message),e.setValue("temperature",i.temperature))},[i]),I.jsx(gP,{...e,children:I.jsxs("div",{className:"overflow-y-scroll",children:[I.jsxs("div",{className:"items-center flex sticky top-0",style:{borderBottom:`0.5px solid ${vt}`,backgroundColor:Kt},children:[I.jsx(ac,{width:"1.2em",height:"1.2em",onClick:o,className:"inline-block ml-4 cursor-pointer"}),I.jsx("h3",{className:"text-lg font-bold m-2 inline-block",children:"Settings"})]}),I.jsx("form",{onSubmit:e.handleSubmit(t),children:i?I.jsxs("div",{className:"p-2",children:[I.jsxs("h3",{className:"flex gap-1",children:["System Message",I.jsx(y9,{msg:`Set a system message with information that the LLM should always keep in mind (e.g. "Please give concise answers. Always respond in - Spanish.")`, - }), - ], - }), - I.jsx(QK, { - placeholder: - "Enter a system message (e.g. 'Always respond in German')", - ...e.register("system_message"), - }), - I.jsx(pR, {}), - I.jsxs("h3", { - className: "flex gap-1", - children: [ - "Temperature", - I.jsx(y9, { - msg: `Set temperature to any value between 0 and 1. Higher values will + Spanish.")`})]}),I.jsx(QK,{placeholder:"Enter a system message (e.g. 'Always respond in German')",...e.register("system_message")}),I.jsx(pR,{}),I.jsxs("h3",{className:"flex gap-1",children:["Temperature",I.jsx(y9,{msg:`Set temperature to any value between 0 and 1. Higher values will make the LLM more creative, while lower values will make it more - predictable.`, - }), - ], - }), - I.jsxs("div", { - className: "flex justify-between mx-16 gap-1", - children: [ - I.jsx("p", { children: "0" }), - I.jsx(Xme, { - type: "range", - min: "0", - max: "1", - step: "0.01", - ...e.register("temperature"), - }), - I.jsx("p", { children: "1" }), - ], - }), - I.jsx("div", { - className: "text-center", - style: { marginTop: "-25px" }, - children: I.jsx("p", { - className: "text-sm text-gray-500", - children: - e.watch("temperature") || i.temperature || "-", - }), - }), - I.jsx(pR, {}), - ], - }) - : I.jsx(xme, {}), - }), - I.jsx("hr", {}), - I.jsxs("div", { - className: "px-2", - children: [ - I.jsx("h3", { children: "Appearance" }), - I.jsx("p", { children: "Font Size" }), - I.jsx(JK, { - type: "number", - min: "8", - max: "48", - step: "1", - defaultValue: nr(), - onChange: (s) => { - localStorage.setItem("fontSize", s.target.value); - }, - }), - ], - }), - I.jsxs("div", { - className: "flex gap-2 justify-end px-4", - children: [ - I.jsx(Kme, { - onClick: () => { - n("/"); - }, - children: "Cancel", - }), - I.jsx(Yme, { onClick: o, children: "Save" }), - ], - }), - ], - }), - }) - ); -} -var Lg = { exports: {} }; -/** + predictable.`})]}),I.jsxs("div",{className:"flex justify-between mx-16 gap-1",children:[I.jsx("p",{children:"0"}),I.jsx(Xme,{type:"range",min:"0",max:"1",step:"0.01",...e.register("temperature")}),I.jsx("p",{children:"1"})]}),I.jsx("div",{className:"text-center",style:{marginTop:"-25px"},children:I.jsx("p",{className:"text-sm text-gray-500",children:e.watch("temperature")||i.temperature||"-"})}),I.jsx(pR,{})]}):I.jsx(xme,{})}),I.jsx("hr",{}),I.jsxs("div",{className:"px-2",children:[I.jsx("h3",{children:"Appearance"}),I.jsx("p",{children:"Font Size"}),I.jsx(JK,{type:"number",min:"8",max:"48",step:"1",defaultValue:nr(),onChange:s=>{localStorage.setItem("fontSize",s.target.value)}})]}),I.jsxs("div",{className:"flex gap-2 justify-end px-4",children:[I.jsx(Kme,{onClick:()=>{n("/")},children:"Cancel"}),I.jsx(Yme,{onClick:o,children:"Save"})]})]})})}var Lg={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ Lg.exports; -(function (e, t) { - (function () { - var n, - r = "4.17.21", - i = 200, - a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", - o = "Expected a function", - s = "Invalid `variable` option passed into `_.template`", - u = "__lodash_hash_undefined__", - c = 500, - p = "__lodash_placeholder__", - f = 1, - m = 2, - g = 4, - E = 1, - b = 2, - T = 1, - v = 2, - y = 4, - w = 8, - A = 16, - D = 32, - k = 64, - R = 128, - B = 256, - W = 512, - P = 30, - Q = "...", - z = 800, - le = 16, - he = 1, - de = 2, - fe = 3, - Z = 1 / 0, - V = 9007199254740991, - ce = 17976931348623157e292, - N = 0 / 0, - me = 4294967295, - oe = me - 1, - O = me >>> 1, - re = [ - ["ary", R], - ["bind", T], - ["bindKey", v], - ["curry", w], - ["curryRight", A], - ["flip", W], - ["partial", D], - ["partialRight", k], - ["rearg", B], - ], - Te = "[object Arguments]", - K = "[object Array]", - xe = "[object AsyncFunction]", - ne = "[object Boolean]", - Le = "[object Date]", - Re = "[object DOMException]", - Xe = "[object Error]", - Ve = "[object Function]", - dt = "[object GeneratorFunction]", - ot = "[object Map]", - Ge = "[object Number]", - pt = "[object Null]", - U = "[object Object]", - ie = "[object Promise]", - pe = "[object Proxy]", - ke = "[object RegExp]", - ve = "[object Set]", - Se = "[object String]", - Me = "[object Symbol]", - ze = "[object Undefined]", - Ke = "[object WeakMap]", - jt = "[object WeakSet]", - ue = "[object ArrayBuffer]", - ye = "[object DataView]", - We = "[object Float32Array]", - at = "[object Float64Array]", - Qe = "[object Int8Array]", - Y = "[object Int16Array]", - se = "[object Int32Array]", - j = "[object Uint8Array]", - $ = "[object Uint8ClampedArray]", - J = "[object Uint16Array]", - be = "[object Uint32Array]", - Fe = /\b__p \+= '';/g, - De = /\b(__p \+=) '' \+/g, - tt = /(__e\(.*?\)|\b__t\)) \+\n'';/g, - Je = /&(?:amp|lt|gt|quot|#39);/g, - Ze = /[&<>"']/g, - Rt = RegExp(Je.source), - Zt = RegExp(Ze.source), - kt = /<%-([\s\S]+?)%>/g, - nn = /<%([\s\S]+?)%>/g, - Yt = /<%=([\s\S]+?)%>/g, - jr = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, - Gr = /^\w*$/, - Vr = - /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, - Ta = /[\\^$.*+?()[\]{}|]/g, - ii = RegExp(Ta.source), - Ir = /^\s+/, - ps = /\s/, - fs = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, - Wr = /\{\n\/\* \[wrapped with (.+)\] \*/, - hs = /,? & /, - Wt = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, - Rr = /[()=,{}\[\]\/\s]/, - _i = /\\(\\)?/g, - Al = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, - qe = /\w*$/, - ee = /^[-+]0x[0-9a-f]+$/i, - Be = /^0b[01]+$/i, - it = /^\[object .+?Constructor\]$/, - ln = /^0o[0-7]+$/i, - ir = /^(?:0|[1-9]\d*)$/, - ar = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, - Yn = /($^)/, - wo = /['\n\r\u2028\u2029\\]/g, - Xa = "\\ud800-\\udfff", - Nr = "\\u0300-\\u036f", - rf = "\\ufe20-\\ufe2f", - af = "\\u20d0-\\u20ff", - V7 = Nr + rf + af, - W7 = "\\u2700-\\u27bf", - q7 = "a-z\\xdf-\\xf6\\xf8-\\xff", - kP = "\\xac\\xb1\\xd7\\xf7", - IP = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", - RP = "\\u2000-\\u206f", - NP = - " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", - K7 = "A-Z\\xc0-\\xd6\\xd8-\\xde", - Y7 = "\\ufe0e\\ufe0f", - X7 = kP + IP + RP + NP, - Em = "['’]", - OP = "[" + Xa + "]", - Z7 = "[" + X7 + "]", - of = "[" + V7 + "]", - Q7 = "\\d+", - DP = "[" + W7 + "]", - J7 = "[" + q7 + "]", - eT = "[^" + Xa + X7 + Q7 + W7 + q7 + K7 + "]", - vm = "\\ud83c[\\udffb-\\udfff]", - LP = "(?:" + of + "|" + vm + ")", - tT = "[^" + Xa + "]", - ym = "(?:\\ud83c[\\udde6-\\uddff]){2}", - _m = "[\\ud800-\\udbff][\\udc00-\\udfff]", - Nu = "[" + K7 + "]", - nT = "\\u200d", - rT = "(?:" + J7 + "|" + eT + ")", - MP = "(?:" + Nu + "|" + eT + ")", - iT = "(?:" + Em + "(?:d|ll|m|re|s|t|ve))?", - aT = "(?:" + Em + "(?:D|LL|M|RE|S|T|VE))?", - oT = LP + "?", - sT = "[" + Y7 + "]?", - FP = "(?:" + nT + "(?:" + [tT, ym, _m].join("|") + ")" + sT + oT + ")*", - PP = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", - BP = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", - lT = sT + oT + FP, - UP = "(?:" + [DP, ym, _m].join("|") + ")" + lT, - $P = "(?:" + [tT + of + "?", of, ym, _m, OP].join("|") + ")", - zP = RegExp(Em, "g"), - HP = RegExp(of, "g"), - Tm = RegExp(vm + "(?=" + vm + ")|" + $P + lT, "g"), - jP = RegExp( - [ - Nu + "?" + J7 + "+" + iT + "(?=" + [Z7, Nu, "$"].join("|") + ")", - MP + "+" + aT + "(?=" + [Z7, Nu + rT, "$"].join("|") + ")", - Nu + "?" + rT + "+" + iT, - Nu + "+" + aT, - BP, - PP, - Q7, - UP, - ].join("|"), - "g" - ), - GP = RegExp("[" + nT + Xa + V7 + Y7 + "]"), - VP = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, - WP = [ - "Array", - "Buffer", - "DataView", - "Date", - "Error", - "Float32Array", - "Float64Array", - "Function", - "Int8Array", - "Int16Array", - "Int32Array", - "Map", - "Math", - "Object", - "Promise", - "RegExp", - "Set", - "String", - "Symbol", - "TypeError", - "Uint8Array", - "Uint8ClampedArray", - "Uint16Array", - "Uint32Array", - "WeakMap", - "_", - "clearTimeout", - "isFinite", - "parseInt", - "setTimeout", - ], - qP = -1, - En = {}; - (En[We] = - En[at] = - En[Qe] = - En[Y] = - En[se] = - En[j] = - En[$] = - En[J] = - En[be] = - !0), - (En[Te] = - En[K] = - En[ue] = - En[ne] = - En[ye] = - En[Le] = - En[Xe] = - En[Ve] = - En[ot] = - En[Ge] = - En[U] = - En[ke] = - En[ve] = - En[Se] = - En[Ke] = - !1); - var gn = {}; - (gn[Te] = - gn[K] = - gn[ue] = - gn[ye] = - gn[ne] = - gn[Le] = - gn[We] = - gn[at] = - gn[Qe] = - gn[Y] = - gn[se] = - gn[ot] = - gn[Ge] = - gn[U] = - gn[ke] = - gn[ve] = - gn[Se] = - gn[Me] = - gn[j] = - gn[$] = - gn[J] = - gn[be] = - !0), - (gn[Xe] = gn[Ve] = gn[Ke] = !1); - var KP = { - À: "A", - Á: "A", - Â: "A", - Ã: "A", - Ä: "A", - Å: "A", - à: "a", - á: "a", - â: "a", - ã: "a", - ä: "a", - å: "a", - Ç: "C", - ç: "c", - Ð: "D", - ð: "d", - È: "E", - É: "E", - Ê: "E", - Ë: "E", - è: "e", - é: "e", - ê: "e", - ë: "e", - Ì: "I", - Í: "I", - Î: "I", - Ï: "I", - ì: "i", - í: "i", - î: "i", - ï: "i", - Ñ: "N", - ñ: "n", - Ò: "O", - Ó: "O", - Ô: "O", - Õ: "O", - Ö: "O", - Ø: "O", - ò: "o", - ó: "o", - ô: "o", - õ: "o", - ö: "o", - ø: "o", - Ù: "U", - Ú: "U", - Û: "U", - Ü: "U", - ù: "u", - ú: "u", - û: "u", - ü: "u", - Ý: "Y", - ý: "y", - ÿ: "y", - Æ: "Ae", - æ: "ae", - Þ: "Th", - þ: "th", - ß: "ss", - Ā: "A", - Ă: "A", - Ą: "A", - ā: "a", - ă: "a", - ą: "a", - Ć: "C", - Ĉ: "C", - Ċ: "C", - Č: "C", - ć: "c", - ĉ: "c", - ċ: "c", - č: "c", - Ď: "D", - Đ: "D", - ď: "d", - đ: "d", - Ē: "E", - Ĕ: "E", - Ė: "E", - Ę: "E", - Ě: "E", - ē: "e", - ĕ: "e", - ė: "e", - ę: "e", - ě: "e", - Ĝ: "G", - Ğ: "G", - Ġ: "G", - Ģ: "G", - ĝ: "g", - ğ: "g", - ġ: "g", - ģ: "g", - Ĥ: "H", - Ħ: "H", - ĥ: "h", - ħ: "h", - Ĩ: "I", - Ī: "I", - Ĭ: "I", - Į: "I", - İ: "I", - ĩ: "i", - ī: "i", - ĭ: "i", - į: "i", - ı: "i", - Ĵ: "J", - ĵ: "j", - Ķ: "K", - ķ: "k", - ĸ: "k", - Ĺ: "L", - Ļ: "L", - Ľ: "L", - Ŀ: "L", - Ł: "L", - ĺ: "l", - ļ: "l", - ľ: "l", - ŀ: "l", - ł: "l", - Ń: "N", - Ņ: "N", - Ň: "N", - Ŋ: "N", - ń: "n", - ņ: "n", - ň: "n", - ŋ: "n", - Ō: "O", - Ŏ: "O", - Ő: "O", - ō: "o", - ŏ: "o", - ő: "o", - Ŕ: "R", - Ŗ: "R", - Ř: "R", - ŕ: "r", - ŗ: "r", - ř: "r", - Ś: "S", - Ŝ: "S", - Ş: "S", - Š: "S", - ś: "s", - ŝ: "s", - ş: "s", - š: "s", - Ţ: "T", - Ť: "T", - Ŧ: "T", - ţ: "t", - ť: "t", - ŧ: "t", - Ũ: "U", - Ū: "U", - Ŭ: "U", - Ů: "U", - Ű: "U", - Ų: "U", - ũ: "u", - ū: "u", - ŭ: "u", - ů: "u", - ű: "u", - ų: "u", - Ŵ: "W", - ŵ: "w", - Ŷ: "Y", - ŷ: "y", - Ÿ: "Y", - Ź: "Z", - Ż: "Z", - Ž: "Z", - ź: "z", - ż: "z", - ž: "z", - IJ: "IJ", - ij: "ij", - Œ: "Oe", - œ: "oe", - ʼn: "'n", - ſ: "s", - }, - YP = { - "&": "&", - "<": "<", - ">": ">", - '"': """, - "'": "'", - }, - XP = { - "&": "&", - "<": "<", - ">": ">", - """: '"', - "'": "'", - }, - ZP = { - "\\": "\\", - "'": "'", - "\n": "n", - "\r": "r", - "\u2028": "u2028", - "\u2029": "u2029", - }, - QP = parseFloat, - JP = parseInt, - uT = typeof ql == "object" && ql && ql.Object === Object && ql, - eB = typeof self == "object" && self && self.Object === Object && self, - hr = uT || eB || Function("return this")(), - Sm = t && !t.nodeType && t, - Cl = Sm && !0 && e && !e.nodeType && e, - cT = Cl && Cl.exports === Sm, - wm = cT && uT.process, - Wi = (function () { - try { - var te = Cl && Cl.require && Cl.require("util").types; - return te || (wm && wm.binding && wm.binding("util")); - } catch {} - })(), - dT = Wi && Wi.isArrayBuffer, - pT = Wi && Wi.isDate, - fT = Wi && Wi.isMap, - hT = Wi && Wi.isRegExp, - gT = Wi && Wi.isSet, - mT = Wi && Wi.isTypedArray; - function Ti(te, _e, ge) { - switch (ge.length) { - case 0: - return te.call(_e); - case 1: - return te.call(_e, ge[0]); - case 2: - return te.call(_e, ge[0], ge[1]); - case 3: - return te.call(_e, ge[0], ge[1], ge[2]); - } - return te.apply(_e, ge); - } - function tB(te, _e, ge, et) { - for (var _t = -1, Qt = te == null ? 0 : te.length; ++_t < Qt; ) { - var Xn = te[_t]; - _e(et, Xn, ge(Xn), te); - } - return et; - } - function qi(te, _e) { - for ( - var ge = -1, et = te == null ? 0 : te.length; - ++ge < et && _e(te[ge], ge, te) !== !1; - - ); - return te; - } - function nB(te, _e) { - for ( - var ge = te == null ? 0 : te.length; - ge-- && _e(te[ge], ge, te) !== !1; - - ); - return te; - } - function bT(te, _e) { - for (var ge = -1, et = te == null ? 0 : te.length; ++ge < et; ) - if (!_e(te[ge], ge, te)) return !1; - return !0; - } - function gs(te, _e) { - for ( - var ge = -1, et = te == null ? 0 : te.length, _t = 0, Qt = []; - ++ge < et; - - ) { - var Xn = te[ge]; - _e(Xn, ge, te) && (Qt[_t++] = Xn); - } - return Qt; - } - function sf(te, _e) { - var ge = te == null ? 0 : te.length; - return !!ge && Ou(te, _e, 0) > -1; - } - function Am(te, _e, ge) { - for (var et = -1, _t = te == null ? 0 : te.length; ++et < _t; ) - if (ge(_e, te[et])) return !0; - return !1; - } - function wn(te, _e) { - for ( - var ge = -1, et = te == null ? 0 : te.length, _t = Array(et); - ++ge < et; - - ) - _t[ge] = _e(te[ge], ge, te); - return _t; - } - function ms(te, _e) { - for (var ge = -1, et = _e.length, _t = te.length; ++ge < et; ) - te[_t + ge] = _e[ge]; - return te; - } - function Cm(te, _e, ge, et) { - var _t = -1, - Qt = te == null ? 0 : te.length; - for (et && Qt && (ge = te[++_t]); ++_t < Qt; ) - ge = _e(ge, te[_t], _t, te); - return ge; - } - function rB(te, _e, ge, et) { - var _t = te == null ? 0 : te.length; - for (et && _t && (ge = te[--_t]); _t--; ) ge = _e(ge, te[_t], _t, te); - return ge; - } - function xm(te, _e) { - for (var ge = -1, et = te == null ? 0 : te.length; ++ge < et; ) - if (_e(te[ge], ge, te)) return !0; - return !1; - } - var iB = km("length"); - function aB(te) { - return te.split(""); - } - function oB(te) { - return te.match(Wt) || []; - } - function ET(te, _e, ge) { - var et; - return ( - ge(te, function (_t, Qt, Xn) { - if (_e(_t, Qt, Xn)) return (et = Qt), !1; - }), - et - ); - } - function lf(te, _e, ge, et) { - for (var _t = te.length, Qt = ge + (et ? 1 : -1); et ? Qt-- : ++Qt < _t; ) - if (_e(te[Qt], Qt, te)) return Qt; - return -1; - } - function Ou(te, _e, ge) { - return _e === _e ? EB(te, _e, ge) : lf(te, vT, ge); - } - function sB(te, _e, ge, et) { - for (var _t = ge - 1, Qt = te.length; ++_t < Qt; ) - if (et(te[_t], _e)) return _t; - return -1; - } - function vT(te) { - return te !== te; - } - function yT(te, _e) { - var ge = te == null ? 0 : te.length; - return ge ? Rm(te, _e) / ge : N; - } - function km(te) { - return function (_e) { - return _e == null ? n : _e[te]; - }; - } - function Im(te) { - return function (_e) { - return te == null ? n : te[_e]; - }; - } - function _T(te, _e, ge, et, _t) { - return ( - _t(te, function (Qt, Xn, dn) { - ge = et ? ((et = !1), Qt) : _e(ge, Qt, Xn, dn); - }), - ge - ); - } - function lB(te, _e) { - var ge = te.length; - for (te.sort(_e); ge--; ) te[ge] = te[ge].value; - return te; - } - function Rm(te, _e) { - for (var ge, et = -1, _t = te.length; ++et < _t; ) { - var Qt = _e(te[et]); - Qt !== n && (ge = ge === n ? Qt : ge + Qt); - } - return ge; - } - function Nm(te, _e) { - for (var ge = -1, et = Array(te); ++ge < te; ) et[ge] = _e(ge); - return et; - } - function uB(te, _e) { - return wn(_e, function (ge) { - return [ge, te[ge]]; - }); - } - function TT(te) { - return te && te.slice(0, CT(te) + 1).replace(Ir, ""); - } - function Si(te) { - return function (_e) { - return te(_e); - }; - } - function Om(te, _e) { - return wn(_e, function (ge) { - return te[ge]; - }); - } - function vc(te, _e) { - return te.has(_e); - } - function ST(te, _e) { - for (var ge = -1, et = te.length; ++ge < et && Ou(_e, te[ge], 0) > -1; ); - return ge; - } - function wT(te, _e) { - for (var ge = te.length; ge-- && Ou(_e, te[ge], 0) > -1; ); - return ge; - } - function cB(te, _e) { - for (var ge = te.length, et = 0; ge--; ) te[ge] === _e && ++et; - return et; - } - var dB = Im(KP), - pB = Im(YP); - function fB(te) { - return "\\" + ZP[te]; - } - function hB(te, _e) { - return te == null ? n : te[_e]; - } - function Du(te) { - return GP.test(te); - } - function gB(te) { - return VP.test(te); - } - function mB(te) { - for (var _e, ge = []; !(_e = te.next()).done; ) ge.push(_e.value); - return ge; - } - function Dm(te) { - var _e = -1, - ge = Array(te.size); - return ( - te.forEach(function (et, _t) { - ge[++_e] = [_t, et]; - }), - ge - ); - } - function AT(te, _e) { - return function (ge) { - return te(_e(ge)); - }; - } - function bs(te, _e) { - for (var ge = -1, et = te.length, _t = 0, Qt = []; ++ge < et; ) { - var Xn = te[ge]; - (Xn === _e || Xn === p) && ((te[ge] = p), (Qt[_t++] = ge)); - } - return Qt; - } - function uf(te) { - var _e = -1, - ge = Array(te.size); - return ( - te.forEach(function (et) { - ge[++_e] = et; - }), - ge - ); - } - function bB(te) { - var _e = -1, - ge = Array(te.size); - return ( - te.forEach(function (et) { - ge[++_e] = [et, et]; - }), - ge - ); - } - function EB(te, _e, ge) { - for (var et = ge - 1, _t = te.length; ++et < _t; ) - if (te[et] === _e) return et; - return -1; - } - function vB(te, _e, ge) { - for (var et = ge + 1; et--; ) if (te[et] === _e) return et; - return et; - } - function Lu(te) { - return Du(te) ? _B(te) : iB(te); - } - function Sa(te) { - return Du(te) ? TB(te) : aB(te); - } - function CT(te) { - for (var _e = te.length; _e-- && ps.test(te.charAt(_e)); ); - return _e; - } - var yB = Im(XP); - function _B(te) { - for (var _e = (Tm.lastIndex = 0); Tm.test(te); ) ++_e; - return _e; - } - function TB(te) { - return te.match(Tm) || []; - } - function SB(te) { - return te.match(jP) || []; - } - var wB = function te(_e) { - _e = _e == null ? hr : Mu.defaults(hr.Object(), _e, Mu.pick(hr, WP)); - var ge = _e.Array, - et = _e.Date, - _t = _e.Error, - Qt = _e.Function, - Xn = _e.Math, - dn = _e.Object, - Lm = _e.RegExp, - AB = _e.String, - Ki = _e.TypeError, - cf = ge.prototype, - CB = Qt.prototype, - Fu = dn.prototype, - df = _e["__core-js_shared__"], - pf = CB.toString, - rn = Fu.hasOwnProperty, - xB = 0, - xT = (function () { - var l = /[^.]+$/.exec((df && df.keys && df.keys.IE_PROTO) || ""); - return l ? "Symbol(src)_1." + l : ""; - })(), - ff = Fu.toString, - kB = pf.call(dn), - IB = hr._, - RB = Lm( - "^" + - pf - .call(rn) - .replace(Ta, "\\$&") - .replace( - /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, - "$1.*?" - ) + - "$" - ), - hf = cT ? _e.Buffer : n, - Es = _e.Symbol, - gf = _e.Uint8Array, - kT = hf ? hf.allocUnsafe : n, - mf = AT(dn.getPrototypeOf, dn), - IT = dn.create, - RT = Fu.propertyIsEnumerable, - bf = cf.splice, - NT = Es ? Es.isConcatSpreadable : n, - yc = Es ? Es.iterator : n, - xl = Es ? Es.toStringTag : n, - Ef = (function () { - try { - var l = Ol(dn, "defineProperty"); - return l({}, "", {}), l; - } catch {} - })(), - NB = _e.clearTimeout !== hr.clearTimeout && _e.clearTimeout, - OB = et && et.now !== hr.Date.now && et.now, - DB = _e.setTimeout !== hr.setTimeout && _e.setTimeout, - vf = Xn.ceil, - yf = Xn.floor, - Mm = dn.getOwnPropertySymbols, - LB = hf ? hf.isBuffer : n, - OT = _e.isFinite, - MB = cf.join, - FB = AT(dn.keys, dn), - Zn = Xn.max, - Or = Xn.min, - PB = et.now, - BB = _e.parseInt, - DT = Xn.random, - UB = cf.reverse, - Fm = Ol(_e, "DataView"), - _c = Ol(_e, "Map"), - Pm = Ol(_e, "Promise"), - Pu = Ol(_e, "Set"), - Tc = Ol(_e, "WeakMap"), - Sc = Ol(dn, "create"), - _f = Tc && new Tc(), - Bu = {}, - $B = Dl(Fm), - zB = Dl(_c), - HB = Dl(Pm), - jB = Dl(Pu), - GB = Dl(Tc), - Tf = Es ? Es.prototype : n, - wc = Tf ? Tf.valueOf : n, - LT = Tf ? Tf.toString : n; - function M(l) { - if (Ln(l) && !Tt(l) && !(l instanceof Ft)) { - if (l instanceof Yi) return l; - if (rn.call(l, "__wrapped__")) return MS(l); - } - return new Yi(l); - } - var Uu = (function () { - function l() {} - return function (d) { - if (!In(d)) return {}; - if (IT) return IT(d); - l.prototype = d; - var h = new l(); - return (l.prototype = n), h; - }; - })(); - function Sf() {} - function Yi(l, d) { - (this.__wrapped__ = l), - (this.__actions__ = []), - (this.__chain__ = !!d), - (this.__index__ = 0), - (this.__values__ = n); - } - (M.templateSettings = { - escape: kt, - evaluate: nn, - interpolate: Yt, - variable: "", - imports: { _: M }, - }), - (M.prototype = Sf.prototype), - (M.prototype.constructor = M), - (Yi.prototype = Uu(Sf.prototype)), - (Yi.prototype.constructor = Yi); - function Ft(l) { - (this.__wrapped__ = l), - (this.__actions__ = []), - (this.__dir__ = 1), - (this.__filtered__ = !1), - (this.__iteratees__ = []), - (this.__takeCount__ = me), - (this.__views__ = []); - } - function VB() { - var l = new Ft(this.__wrapped__); - return ( - (l.__actions__ = ai(this.__actions__)), - (l.__dir__ = this.__dir__), - (l.__filtered__ = this.__filtered__), - (l.__iteratees__ = ai(this.__iteratees__)), - (l.__takeCount__ = this.__takeCount__), - (l.__views__ = ai(this.__views__)), - l - ); - } - function WB() { - if (this.__filtered__) { - var l = new Ft(this); - (l.__dir__ = -1), (l.__filtered__ = !0); - } else (l = this.clone()), (l.__dir__ *= -1); - return l; - } - function qB() { - var l = this.__wrapped__.value(), - d = this.__dir__, - h = Tt(l), - _ = d < 0, - x = h ? l.length : 0, - F = a$(0, x, this.__views__), - H = F.start, - X = F.end, - ae = X - H, - we = _ ? X : H - 1, - Ce = this.__iteratees__, - Ie = Ce.length, - Ye = 0, - st = Or(ae, this.__takeCount__); - if (!h || (!_ && x == ae && st == ae)) return iS(l, this.__actions__); - var bt = []; - e: for (; ae-- && Ye < st; ) { - we += d; - for (var At = -1, Et = l[we]; ++At < Ie; ) { - var Nt = Ce[At], - Ut = Nt.iteratee, - Ci = Nt.type, - Yr = Ut(Et); - if (Ci == de) Et = Yr; - else if (!Yr) { - if (Ci == he) continue e; - break e; - } - } - bt[Ye++] = Et; - } - return bt; - } - (Ft.prototype = Uu(Sf.prototype)), (Ft.prototype.constructor = Ft); - function kl(l) { - var d = -1, - h = l == null ? 0 : l.length; - for (this.clear(); ++d < h; ) { - var _ = l[d]; - this.set(_[0], _[1]); - } - } - function KB() { - (this.__data__ = Sc ? Sc(null) : {}), (this.size = 0); - } - function YB(l) { - var d = this.has(l) && delete this.__data__[l]; - return (this.size -= d ? 1 : 0), d; - } - function XB(l) { - var d = this.__data__; - if (Sc) { - var h = d[l]; - return h === u ? n : h; - } - return rn.call(d, l) ? d[l] : n; - } - function ZB(l) { - var d = this.__data__; - return Sc ? d[l] !== n : rn.call(d, l); - } - function QB(l, d) { - var h = this.__data__; - return ( - (this.size += this.has(l) ? 0 : 1), - (h[l] = Sc && d === n ? u : d), - this - ); - } - (kl.prototype.clear = KB), - (kl.prototype.delete = YB), - (kl.prototype.get = XB), - (kl.prototype.has = ZB), - (kl.prototype.set = QB); - function Ao(l) { - var d = -1, - h = l == null ? 0 : l.length; - for (this.clear(); ++d < h; ) { - var _ = l[d]; - this.set(_[0], _[1]); - } - } - function JB() { - (this.__data__ = []), (this.size = 0); - } - function eU(l) { - var d = this.__data__, - h = wf(d, l); - if (h < 0) return !1; - var _ = d.length - 1; - return h == _ ? d.pop() : bf.call(d, h, 1), --this.size, !0; - } - function tU(l) { - var d = this.__data__, - h = wf(d, l); - return h < 0 ? n : d[h][1]; - } - function nU(l) { - return wf(this.__data__, l) > -1; - } - function rU(l, d) { - var h = this.__data__, - _ = wf(h, l); - return _ < 0 ? (++this.size, h.push([l, d])) : (h[_][1] = d), this; - } - (Ao.prototype.clear = JB), - (Ao.prototype.delete = eU), - (Ao.prototype.get = tU), - (Ao.prototype.has = nU), - (Ao.prototype.set = rU); - function Co(l) { - var d = -1, - h = l == null ? 0 : l.length; - for (this.clear(); ++d < h; ) { - var _ = l[d]; - this.set(_[0], _[1]); - } - } - function iU() { - (this.size = 0), - (this.__data__ = { - hash: new kl(), - map: new (_c || Ao)(), - string: new kl(), - }); - } - function aU(l) { - var d = Ff(this, l).delete(l); - return (this.size -= d ? 1 : 0), d; - } - function oU(l) { - return Ff(this, l).get(l); - } - function sU(l) { - return Ff(this, l).has(l); - } - function lU(l, d) { - var h = Ff(this, l), - _ = h.size; - return h.set(l, d), (this.size += h.size == _ ? 0 : 1), this; - } - (Co.prototype.clear = iU), - (Co.prototype.delete = aU), - (Co.prototype.get = oU), - (Co.prototype.has = sU), - (Co.prototype.set = lU); - function Il(l) { - var d = -1, - h = l == null ? 0 : l.length; - for (this.__data__ = new Co(); ++d < h; ) this.add(l[d]); - } - function uU(l) { - return this.__data__.set(l, u), this; - } - function cU(l) { - return this.__data__.has(l); - } - (Il.prototype.add = Il.prototype.push = uU), (Il.prototype.has = cU); - function wa(l) { - var d = (this.__data__ = new Ao(l)); - this.size = d.size; - } - function dU() { - (this.__data__ = new Ao()), (this.size = 0); - } - function pU(l) { - var d = this.__data__, - h = d.delete(l); - return (this.size = d.size), h; - } - function fU(l) { - return this.__data__.get(l); - } - function hU(l) { - return this.__data__.has(l); - } - function gU(l, d) { - var h = this.__data__; - if (h instanceof Ao) { - var _ = h.__data__; - if (!_c || _.length < i - 1) - return _.push([l, d]), (this.size = ++h.size), this; - h = this.__data__ = new Co(_); - } - return h.set(l, d), (this.size = h.size), this; - } - (wa.prototype.clear = dU), - (wa.prototype.delete = pU), - (wa.prototype.get = fU), - (wa.prototype.has = hU), - (wa.prototype.set = gU); - function MT(l, d) { - var h = Tt(l), - _ = !h && Ll(l), - x = !h && !_ && Ss(l), - F = !h && !_ && !x && ju(l), - H = h || _ || x || F, - X = H ? Nm(l.length, AB) : [], - ae = X.length; - for (var we in l) - (d || rn.call(l, we)) && - !( - H && - (we == "length" || - (x && (we == "offset" || we == "parent")) || - (F && - (we == "buffer" || - we == "byteLength" || - we == "byteOffset")) || - Ro(we, ae)) - ) && - X.push(we); - return X; - } - function FT(l) { - var d = l.length; - return d ? l[Km(0, d - 1)] : n; - } - function mU(l, d) { - return Pf(ai(l), Rl(d, 0, l.length)); - } - function bU(l) { - return Pf(ai(l)); - } - function Bm(l, d, h) { - ((h !== n && !Aa(l[d], h)) || (h === n && !(d in l))) && xo(l, d, h); - } - function Ac(l, d, h) { - var _ = l[d]; - (!(rn.call(l, d) && Aa(_, h)) || (h === n && !(d in l))) && - xo(l, d, h); - } - function wf(l, d) { - for (var h = l.length; h--; ) if (Aa(l[h][0], d)) return h; - return -1; - } - function EU(l, d, h, _) { - return ( - vs(l, function (x, F, H) { - d(_, x, h(x), H); - }), - _ - ); - } - function PT(l, d) { - return l && Qa(d, or(d), l); - } - function vU(l, d) { - return l && Qa(d, si(d), l); - } - function xo(l, d, h) { - d == "__proto__" && Ef - ? Ef(l, d, { - configurable: !0, - enumerable: !0, - value: h, - writable: !0, - }) - : (l[d] = h); - } - function Um(l, d) { - for (var h = -1, _ = d.length, x = ge(_), F = l == null; ++h < _; ) - x[h] = F ? n : v5(l, d[h]); - return x; - } - function Rl(l, d, h) { - return ( - l === l && - (h !== n && (l = l <= h ? l : h), - d !== n && (l = l >= d ? l : d)), - l - ); - } - function Xi(l, d, h, _, x, F) { - var H, - X = d & f, - ae = d & m, - we = d & g; - if ((h && (H = x ? h(l, _, x, F) : h(l)), H !== n)) return H; - if (!In(l)) return l; - var Ce = Tt(l); - if (Ce) { - if (((H = s$(l)), !X)) return ai(l, H); - } else { - var Ie = Dr(l), - Ye = Ie == Ve || Ie == dt; - if (Ss(l)) return sS(l, X); - if (Ie == U || Ie == Te || (Ye && !x)) { - if (((H = ae || Ye ? {} : CS(l)), !X)) - return ae ? XU(l, vU(H, l)) : YU(l, PT(H, l)); - } else { - if (!gn[Ie]) return x ? l : {}; - H = l$(l, Ie, X); - } - } - F || (F = new wa()); - var st = F.get(l); - if (st) return st; - F.set(l, H), - tw(l) - ? l.forEach(function (Et) { - H.add(Xi(Et, d, h, Et, l, F)); - }) - : JS(l) && - l.forEach(function (Et, Nt) { - H.set(Nt, Xi(Et, d, h, Nt, l, F)); - }); - var bt = we ? (ae ? a5 : i5) : ae ? si : or, - At = Ce ? n : bt(l); - return ( - qi(At || l, function (Et, Nt) { - At && ((Nt = Et), (Et = l[Nt])), - Ac(H, Nt, Xi(Et, d, h, Nt, l, F)); - }), - H - ); - } - function yU(l) { - var d = or(l); - return function (h) { - return BT(h, l, d); - }; - } - function BT(l, d, h) { - var _ = h.length; - if (l == null) return !_; - for (l = dn(l); _--; ) { - var x = h[_], - F = d[x], - H = l[x]; - if ((H === n && !(x in l)) || !F(H)) return !1; - } - return !0; - } - function UT(l, d, h) { - if (typeof l != "function") throw new Ki(o); - return Oc(function () { - l.apply(n, h); - }, d); - } - function Cc(l, d, h, _) { - var x = -1, - F = sf, - H = !0, - X = l.length, - ae = [], - we = d.length; - if (!X) return ae; - h && (d = wn(d, Si(h))), - _ - ? ((F = Am), (H = !1)) - : d.length >= i && ((F = vc), (H = !1), (d = new Il(d))); - e: for (; ++x < X; ) { - var Ce = l[x], - Ie = h == null ? Ce : h(Ce); - if (((Ce = _ || Ce !== 0 ? Ce : 0), H && Ie === Ie)) { - for (var Ye = we; Ye--; ) if (d[Ye] === Ie) continue e; - ae.push(Ce); - } else F(d, Ie, _) || ae.push(Ce); - } - return ae; - } - var vs = pS(Za), - $T = pS(zm, !0); - function _U(l, d) { - var h = !0; - return ( - vs(l, function (_, x, F) { - return (h = !!d(_, x, F)), h; - }), - h - ); - } - function Af(l, d, h) { - for (var _ = -1, x = l.length; ++_ < x; ) { - var F = l[_], - H = d(F); - if (H != null && (X === n ? H === H && !Ai(H) : h(H, X))) - var X = H, - ae = F; - } - return ae; - } - function TU(l, d, h, _) { - var x = l.length; - for ( - h = St(h), - h < 0 && (h = -h > x ? 0 : x + h), - _ = _ === n || _ > x ? x : St(_), - _ < 0 && (_ += x), - _ = h > _ ? 0 : rw(_); - h < _; - - ) - l[h++] = d; - return l; - } - function zT(l, d) { - var h = []; - return ( - vs(l, function (_, x, F) { - d(_, x, F) && h.push(_); - }), - h - ); - } - function gr(l, d, h, _, x) { - var F = -1, - H = l.length; - for (h || (h = c$), x || (x = []); ++F < H; ) { - var X = l[F]; - d > 0 && h(X) - ? d > 1 - ? gr(X, d - 1, h, _, x) - : ms(x, X) - : _ || (x[x.length] = X); - } - return x; - } - var $m = fS(), - HT = fS(!0); - function Za(l, d) { - return l && $m(l, d, or); - } - function zm(l, d) { - return l && HT(l, d, or); - } - function Cf(l, d) { - return gs(d, function (h) { - return No(l[h]); - }); - } - function Nl(l, d) { - d = _s(d, l); - for (var h = 0, _ = d.length; l != null && h < _; ) l = l[Ja(d[h++])]; - return h && h == _ ? l : n; - } - function jT(l, d, h) { - var _ = d(l); - return Tt(l) ? _ : ms(_, h(l)); - } - function qr(l) { - return l == null - ? l === n - ? ze - : pt - : xl && xl in dn(l) - ? i$(l) - : b$(l); - } - function Hm(l, d) { - return l > d; - } - function SU(l, d) { - return l != null && rn.call(l, d); - } - function wU(l, d) { - return l != null && d in dn(l); - } - function AU(l, d, h) { - return l >= Or(d, h) && l < Zn(d, h); - } - function jm(l, d, h) { - for ( - var _ = h ? Am : sf, - x = l[0].length, - F = l.length, - H = F, - X = ge(F), - ae = 1 / 0, - we = []; - H--; - - ) { - var Ce = l[H]; - H && d && (Ce = wn(Ce, Si(d))), - (ae = Or(Ce.length, ae)), - (X[H] = - !h && (d || (x >= 120 && Ce.length >= 120)) - ? new Il(H && Ce) - : n); - } - Ce = l[0]; - var Ie = -1, - Ye = X[0]; - e: for (; ++Ie < x && we.length < ae; ) { - var st = Ce[Ie], - bt = d ? d(st) : st; - if ( - ((st = h || st !== 0 ? st : 0), !(Ye ? vc(Ye, bt) : _(we, bt, h))) - ) { - for (H = F; --H; ) { - var At = X[H]; - if (!(At ? vc(At, bt) : _(l[H], bt, h))) continue e; - } - Ye && Ye.push(bt), we.push(st); - } - } - return we; - } - function CU(l, d, h, _) { - return ( - Za(l, function (x, F, H) { - d(_, h(x), F, H); - }), - _ - ); - } - function xc(l, d, h) { - (d = _s(d, l)), (l = RS(l, d)); - var _ = l == null ? l : l[Ja(Qi(d))]; - return _ == null ? n : Ti(_, l, h); - } - function GT(l) { - return Ln(l) && qr(l) == Te; - } - function xU(l) { - return Ln(l) && qr(l) == ue; - } - function kU(l) { - return Ln(l) && qr(l) == Le; - } - function kc(l, d, h, _, x) { - return l === d - ? !0 - : l == null || d == null || (!Ln(l) && !Ln(d)) - ? l !== l && d !== d - : IU(l, d, h, _, kc, x); - } - function IU(l, d, h, _, x, F) { - var H = Tt(l), - X = Tt(d), - ae = H ? K : Dr(l), - we = X ? K : Dr(d); - (ae = ae == Te ? U : ae), (we = we == Te ? U : we); - var Ce = ae == U, - Ie = we == U, - Ye = ae == we; - if (Ye && Ss(l)) { - if (!Ss(d)) return !1; - (H = !0), (Ce = !1); - } - if (Ye && !Ce) - return ( - F || (F = new wa()), - H || ju(l) ? SS(l, d, h, _, x, F) : n$(l, d, ae, h, _, x, F) - ); - if (!(h & E)) { - var st = Ce && rn.call(l, "__wrapped__"), - bt = Ie && rn.call(d, "__wrapped__"); - if (st || bt) { - var At = st ? l.value() : l, - Et = bt ? d.value() : d; - return F || (F = new wa()), x(At, Et, h, _, F); - } - } - return Ye ? (F || (F = new wa()), r$(l, d, h, _, x, F)) : !1; - } - function RU(l) { - return Ln(l) && Dr(l) == ot; - } - function Gm(l, d, h, _) { - var x = h.length, - F = x, - H = !_; - if (l == null) return !F; - for (l = dn(l); x--; ) { - var X = h[x]; - if (H && X[2] ? X[1] !== l[X[0]] : !(X[0] in l)) return !1; - } - for (; ++x < F; ) { - X = h[x]; - var ae = X[0], - we = l[ae], - Ce = X[1]; - if (H && X[2]) { - if (we === n && !(ae in l)) return !1; - } else { - var Ie = new wa(); - if (_) var Ye = _(we, Ce, ae, l, d, Ie); - if (!(Ye === n ? kc(Ce, we, E | b, _, Ie) : Ye)) return !1; - } - } - return !0; - } - function VT(l) { - if (!In(l) || p$(l)) return !1; - var d = No(l) ? RB : it; - return d.test(Dl(l)); - } - function NU(l) { - return Ln(l) && qr(l) == ke; - } - function OU(l) { - return Ln(l) && Dr(l) == ve; - } - function DU(l) { - return Ln(l) && jf(l.length) && !!En[qr(l)]; - } - function WT(l) { - return typeof l == "function" - ? l - : l == null - ? li - : typeof l == "object" - ? Tt(l) - ? YT(l[0], l[1]) - : KT(l) - : hw(l); - } - function Vm(l) { - if (!Nc(l)) return FB(l); - var d = []; - for (var h in dn(l)) rn.call(l, h) && h != "constructor" && d.push(h); - return d; - } - function LU(l) { - if (!In(l)) return m$(l); - var d = Nc(l), - h = []; - for (var _ in l) - (_ == "constructor" && (d || !rn.call(l, _))) || h.push(_); - return h; - } - function Wm(l, d) { - return l < d; - } - function qT(l, d) { - var h = -1, - _ = oi(l) ? ge(l.length) : []; - return ( - vs(l, function (x, F, H) { - _[++h] = d(x, F, H); - }), - _ - ); - } - function KT(l) { - var d = s5(l); - return d.length == 1 && d[0][2] - ? kS(d[0][0], d[0][1]) - : function (h) { - return h === l || Gm(h, l, d); - }; - } - function YT(l, d) { - return u5(l) && xS(d) - ? kS(Ja(l), d) - : function (h) { - var _ = v5(h, l); - return _ === n && _ === d ? y5(h, l) : kc(d, _, E | b); - }; - } - function xf(l, d, h, _, x) { - l !== d && - $m( - d, - function (F, H) { - if ((x || (x = new wa()), In(F))) MU(l, d, H, h, xf, _, x); - else { - var X = _ ? _(d5(l, H), F, H + "", l, d, x) : n; - X === n && (X = F), Bm(l, H, X); - } - }, - si - ); - } - function MU(l, d, h, _, x, F, H) { - var X = d5(l, h), - ae = d5(d, h), - we = H.get(ae); - if (we) { - Bm(l, h, we); - return; - } - var Ce = F ? F(X, ae, h + "", l, d, H) : n, - Ie = Ce === n; - if (Ie) { - var Ye = Tt(ae), - st = !Ye && Ss(ae), - bt = !Ye && !st && ju(ae); - (Ce = ae), - Ye || st || bt - ? Tt(X) - ? (Ce = X) - : $n(X) - ? (Ce = ai(X)) - : st - ? ((Ie = !1), (Ce = sS(ae, !0))) - : bt - ? ((Ie = !1), (Ce = lS(ae, !0))) - : (Ce = []) - : Dc(ae) || Ll(ae) - ? ((Ce = X), - Ll(X) ? (Ce = iw(X)) : (!In(X) || No(X)) && (Ce = CS(ae))) - : (Ie = !1); - } - Ie && (H.set(ae, Ce), x(Ce, ae, _, F, H), H.delete(ae)), Bm(l, h, Ce); - } - function XT(l, d) { - var h = l.length; - if (h) return (d += d < 0 ? h : 0), Ro(d, h) ? l[d] : n; - } - function ZT(l, d, h) { - d.length - ? (d = wn(d, function (F) { - return Tt(F) - ? function (H) { - return Nl(H, F.length === 1 ? F[0] : F); - } - : F; - })) - : (d = [li]); - var _ = -1; - d = wn(d, Si(mt())); - var x = qT(l, function (F, H, X) { - var ae = wn(d, function (we) { - return we(F); - }); - return { criteria: ae, index: ++_, value: F }; - }); - return lB(x, function (F, H) { - return KU(F, H, h); - }); - } - function FU(l, d) { - return QT(l, d, function (h, _) { - return y5(l, _); - }); - } - function QT(l, d, h) { - for (var _ = -1, x = d.length, F = {}; ++_ < x; ) { - var H = d[_], - X = Nl(l, H); - h(X, H) && Ic(F, _s(H, l), X); - } - return F; - } - function PU(l) { - return function (d) { - return Nl(d, l); - }; - } - function qm(l, d, h, _) { - var x = _ ? sB : Ou, - F = -1, - H = d.length, - X = l; - for (l === d && (d = ai(d)), h && (X = wn(l, Si(h))); ++F < H; ) - for ( - var ae = 0, we = d[F], Ce = h ? h(we) : we; - (ae = x(X, Ce, ae, _)) > -1; - - ) - X !== l && bf.call(X, ae, 1), bf.call(l, ae, 1); - return l; - } - function JT(l, d) { - for (var h = l ? d.length : 0, _ = h - 1; h--; ) { - var x = d[h]; - if (h == _ || x !== F) { - var F = x; - Ro(x) ? bf.call(l, x, 1) : Zm(l, x); - } - } - return l; - } - function Km(l, d) { - return l + yf(DT() * (d - l + 1)); - } - function BU(l, d, h, _) { - for (var x = -1, F = Zn(vf((d - l) / (h || 1)), 0), H = ge(F); F--; ) - (H[_ ? F : ++x] = l), (l += h); - return H; - } - function Ym(l, d) { - var h = ""; - if (!l || d < 1 || d > V) return h; - do d % 2 && (h += l), (d = yf(d / 2)), d && (l += l); - while (d); - return h; - } - function It(l, d) { - return p5(IS(l, d, li), l + ""); - } - function UU(l) { - return FT(Gu(l)); - } - function $U(l, d) { - var h = Gu(l); - return Pf(h, Rl(d, 0, h.length)); - } - function Ic(l, d, h, _) { - if (!In(l)) return l; - d = _s(d, l); - for ( - var x = -1, F = d.length, H = F - 1, X = l; - X != null && ++x < F; - - ) { - var ae = Ja(d[x]), - we = h; - if ( - ae === "__proto__" || - ae === "constructor" || - ae === "prototype" - ) - return l; - if (x != H) { - var Ce = X[ae]; - (we = _ ? _(Ce, ae, X) : n), - we === n && (we = In(Ce) ? Ce : Ro(d[x + 1]) ? [] : {}); - } - Ac(X, ae, we), (X = X[ae]); - } - return l; - } - var eS = _f - ? function (l, d) { - return _f.set(l, d), l; - } - : li, - zU = Ef - ? function (l, d) { - return Ef(l, "toString", { - configurable: !0, - enumerable: !1, - value: T5(d), - writable: !0, - }); - } - : li; - function HU(l) { - return Pf(Gu(l)); - } - function Zi(l, d, h) { - var _ = -1, - x = l.length; - d < 0 && (d = -d > x ? 0 : x + d), - (h = h > x ? x : h), - h < 0 && (h += x), - (x = d > h ? 0 : (h - d) >>> 0), - (d >>>= 0); - for (var F = ge(x); ++_ < x; ) F[_] = l[_ + d]; - return F; - } - function jU(l, d) { - var h; - return ( - vs(l, function (_, x, F) { - return (h = d(_, x, F)), !h; - }), - !!h - ); - } - function kf(l, d, h) { - var _ = 0, - x = l == null ? _ : l.length; - if (typeof d == "number" && d === d && x <= O) { - for (; _ < x; ) { - var F = (_ + x) >>> 1, - H = l[F]; - H !== null && !Ai(H) && (h ? H <= d : H < d) - ? (_ = F + 1) - : (x = F); - } - return x; - } - return Xm(l, d, li, h); - } - function Xm(l, d, h, _) { - var x = 0, - F = l == null ? 0 : l.length; - if (F === 0) return 0; - d = h(d); - for ( - var H = d !== d, X = d === null, ae = Ai(d), we = d === n; - x < F; - - ) { - var Ce = yf((x + F) / 2), - Ie = h(l[Ce]), - Ye = Ie !== n, - st = Ie === null, - bt = Ie === Ie, - At = Ai(Ie); - if (H) var Et = _ || bt; - else - we - ? (Et = bt && (_ || Ye)) - : X - ? (Et = bt && Ye && (_ || !st)) - : ae - ? (Et = bt && Ye && !st && (_ || !At)) - : st || At - ? (Et = !1) - : (Et = _ ? Ie <= d : Ie < d); - Et ? (x = Ce + 1) : (F = Ce); - } - return Or(F, oe); - } - function tS(l, d) { - for (var h = -1, _ = l.length, x = 0, F = []; ++h < _; ) { - var H = l[h], - X = d ? d(H) : H; - if (!h || !Aa(X, ae)) { - var ae = X; - F[x++] = H === 0 ? 0 : H; - } - } - return F; - } - function nS(l) { - return typeof l == "number" ? l : Ai(l) ? N : +l; - } - function wi(l) { - if (typeof l == "string") return l; - if (Tt(l)) return wn(l, wi) + ""; - if (Ai(l)) return LT ? LT.call(l) : ""; - var d = l + ""; - return d == "0" && 1 / l == -Z ? "-0" : d; - } - function ys(l, d, h) { - var _ = -1, - x = sf, - F = l.length, - H = !0, - X = [], - ae = X; - if (h) (H = !1), (x = Am); - else if (F >= i) { - var we = d ? null : e$(l); - if (we) return uf(we); - (H = !1), (x = vc), (ae = new Il()); - } else ae = d ? [] : X; - e: for (; ++_ < F; ) { - var Ce = l[_], - Ie = d ? d(Ce) : Ce; - if (((Ce = h || Ce !== 0 ? Ce : 0), H && Ie === Ie)) { - for (var Ye = ae.length; Ye--; ) if (ae[Ye] === Ie) continue e; - d && ae.push(Ie), X.push(Ce); - } else x(ae, Ie, h) || (ae !== X && ae.push(Ie), X.push(Ce)); - } - return X; - } - function Zm(l, d) { - return ( - (d = _s(d, l)), (l = RS(l, d)), l == null || delete l[Ja(Qi(d))] - ); - } - function rS(l, d, h, _) { - return Ic(l, d, h(Nl(l, d)), _); - } - function If(l, d, h, _) { - for ( - var x = l.length, F = _ ? x : -1; - (_ ? F-- : ++F < x) && d(l[F], F, l); - - ); - return h - ? Zi(l, _ ? 0 : F, _ ? F + 1 : x) - : Zi(l, _ ? F + 1 : 0, _ ? x : F); - } - function iS(l, d) { - var h = l; - return ( - h instanceof Ft && (h = h.value()), - Cm( - d, - function (_, x) { - return x.func.apply(x.thisArg, ms([_], x.args)); - }, - h - ) - ); - } - function Qm(l, d, h) { - var _ = l.length; - if (_ < 2) return _ ? ys(l[0]) : []; - for (var x = -1, F = ge(_); ++x < _; ) - for (var H = l[x], X = -1; ++X < _; ) - X != x && (F[x] = Cc(F[x] || H, l[X], d, h)); - return ys(gr(F, 1), d, h); - } - function aS(l, d, h) { - for (var _ = -1, x = l.length, F = d.length, H = {}; ++_ < x; ) { - var X = _ < F ? d[_] : n; - h(H, l[_], X); - } - return H; - } - function Jm(l) { - return $n(l) ? l : []; - } - function e5(l) { - return typeof l == "function" ? l : li; - } - function _s(l, d) { - return Tt(l) ? l : u5(l, d) ? [l] : LS(Jt(l)); - } - var GU = It; - function Ts(l, d, h) { - var _ = l.length; - return (h = h === n ? _ : h), !d && h >= _ ? l : Zi(l, d, h); - } - var oS = - NB || - function (l) { - return hr.clearTimeout(l); - }; - function sS(l, d) { - if (d) return l.slice(); - var h = l.length, - _ = kT ? kT(h) : new l.constructor(h); - return l.copy(_), _; - } - function t5(l) { - var d = new l.constructor(l.byteLength); - return new gf(d).set(new gf(l)), d; - } - function VU(l, d) { - var h = d ? t5(l.buffer) : l.buffer; - return new l.constructor(h, l.byteOffset, l.byteLength); - } - function WU(l) { - var d = new l.constructor(l.source, qe.exec(l)); - return (d.lastIndex = l.lastIndex), d; - } - function qU(l) { - return wc ? dn(wc.call(l)) : {}; - } - function lS(l, d) { - var h = d ? t5(l.buffer) : l.buffer; - return new l.constructor(h, l.byteOffset, l.length); - } - function uS(l, d) { - if (l !== d) { - var h = l !== n, - _ = l === null, - x = l === l, - F = Ai(l), - H = d !== n, - X = d === null, - ae = d === d, - we = Ai(d); - if ( - (!X && !we && !F && l > d) || - (F && H && ae && !X && !we) || - (_ && H && ae) || - (!h && ae) || - !x - ) - return 1; - if ( - (!_ && !F && !we && l < d) || - (we && h && x && !_ && !F) || - (X && h && x) || - (!H && x) || - !ae - ) - return -1; - } - return 0; - } - function KU(l, d, h) { - for ( - var _ = -1, - x = l.criteria, - F = d.criteria, - H = x.length, - X = h.length; - ++_ < H; - - ) { - var ae = uS(x[_], F[_]); - if (ae) { - if (_ >= X) return ae; - var we = h[_]; - return ae * (we == "desc" ? -1 : 1); - } - } - return l.index - d.index; - } - function cS(l, d, h, _) { - for ( - var x = -1, - F = l.length, - H = h.length, - X = -1, - ae = d.length, - we = Zn(F - H, 0), - Ce = ge(ae + we), - Ie = !_; - ++X < ae; - - ) - Ce[X] = d[X]; - for (; ++x < H; ) (Ie || x < F) && (Ce[h[x]] = l[x]); - for (; we--; ) Ce[X++] = l[x++]; - return Ce; - } - function dS(l, d, h, _) { - for ( - var x = -1, - F = l.length, - H = -1, - X = h.length, - ae = -1, - we = d.length, - Ce = Zn(F - X, 0), - Ie = ge(Ce + we), - Ye = !_; - ++x < Ce; - - ) - Ie[x] = l[x]; - for (var st = x; ++ae < we; ) Ie[st + ae] = d[ae]; - for (; ++H < X; ) (Ye || x < F) && (Ie[st + h[H]] = l[x++]); - return Ie; - } - function ai(l, d) { - var h = -1, - _ = l.length; - for (d || (d = ge(_)); ++h < _; ) d[h] = l[h]; - return d; - } - function Qa(l, d, h, _) { - var x = !h; - h || (h = {}); - for (var F = -1, H = d.length; ++F < H; ) { - var X = d[F], - ae = _ ? _(h[X], l[X], X, h, l) : n; - ae === n && (ae = l[X]), x ? xo(h, X, ae) : Ac(h, X, ae); - } - return h; - } - function YU(l, d) { - return Qa(l, l5(l), d); - } - function XU(l, d) { - return Qa(l, wS(l), d); - } - function Rf(l, d) { - return function (h, _) { - var x = Tt(h) ? tB : EU, - F = d ? d() : {}; - return x(h, l, mt(_, 2), F); - }; - } - function $u(l) { - return It(function (d, h) { - var _ = -1, - x = h.length, - F = x > 1 ? h[x - 1] : n, - H = x > 2 ? h[2] : n; - for ( - F = l.length > 3 && typeof F == "function" ? (x--, F) : n, - H && Kr(h[0], h[1], H) && ((F = x < 3 ? n : F), (x = 1)), - d = dn(d); - ++_ < x; - - ) { - var X = h[_]; - X && l(d, X, _, F); - } - return d; - }); - } - function pS(l, d) { - return function (h, _) { - if (h == null) return h; - if (!oi(h)) return l(h, _); - for ( - var x = h.length, F = d ? x : -1, H = dn(h); - (d ? F-- : ++F < x) && _(H[F], F, H) !== !1; - - ); - return h; - }; - } - function fS(l) { - return function (d, h, _) { - for (var x = -1, F = dn(d), H = _(d), X = H.length; X--; ) { - var ae = H[l ? X : ++x]; - if (h(F[ae], ae, F) === !1) break; - } - return d; - }; - } - function ZU(l, d, h) { - var _ = d & T, - x = Rc(l); - function F() { - var H = this && this !== hr && this instanceof F ? x : l; - return H.apply(_ ? h : this, arguments); - } - return F; - } - function hS(l) { - return function (d) { - d = Jt(d); - var h = Du(d) ? Sa(d) : n, - _ = h ? h[0] : d.charAt(0), - x = h ? Ts(h, 1).join("") : d.slice(1); - return _[l]() + x; - }; - } - function zu(l) { - return function (d) { - return Cm(pw(dw(d).replace(zP, "")), l, ""); - }; - } - function Rc(l) { - return function () { - var d = arguments; - switch (d.length) { - case 0: - return new l(); - case 1: - return new l(d[0]); - case 2: - return new l(d[0], d[1]); - case 3: - return new l(d[0], d[1], d[2]); - case 4: - return new l(d[0], d[1], d[2], d[3]); - case 5: - return new l(d[0], d[1], d[2], d[3], d[4]); - case 6: - return new l(d[0], d[1], d[2], d[3], d[4], d[5]); - case 7: - return new l(d[0], d[1], d[2], d[3], d[4], d[5], d[6]); - } - var h = Uu(l.prototype), - _ = l.apply(h, d); - return In(_) ? _ : h; - }; - } - function QU(l, d, h) { - var _ = Rc(l); - function x() { - for (var F = arguments.length, H = ge(F), X = F, ae = Hu(x); X--; ) - H[X] = arguments[X]; - var we = F < 3 && H[0] !== ae && H[F - 1] !== ae ? [] : bs(H, ae); - if (((F -= we.length), F < h)) - return vS(l, d, Nf, x.placeholder, n, H, we, n, n, h - F); - var Ce = this && this !== hr && this instanceof x ? _ : l; - return Ti(Ce, this, H); - } - return x; - } - function gS(l) { - return function (d, h, _) { - var x = dn(d); - if (!oi(d)) { - var F = mt(h, 3); - (d = or(d)), - (h = function (X) { - return F(x[X], X, x); - }); - } - var H = l(d, h, _); - return H > -1 ? x[F ? d[H] : H] : n; - }; - } - function mS(l) { - return Io(function (d) { - var h = d.length, - _ = h, - x = Yi.prototype.thru; - for (l && d.reverse(); _--; ) { - var F = d[_]; - if (typeof F != "function") throw new Ki(o); - if (x && !H && Mf(F) == "wrapper") var H = new Yi([], !0); - } - for (_ = H ? _ : h; ++_ < h; ) { - F = d[_]; - var X = Mf(F), - ae = X == "wrapper" ? o5(F) : n; - ae && - c5(ae[0]) && - ae[1] == (R | w | D | B) && - !ae[4].length && - ae[9] == 1 - ? (H = H[Mf(ae[0])].apply(H, ae[3])) - : (H = F.length == 1 && c5(F) ? H[X]() : H.thru(F)); - } - return function () { - var we = arguments, - Ce = we[0]; - if (H && we.length == 1 && Tt(Ce)) return H.plant(Ce).value(); - for (var Ie = 0, Ye = h ? d[Ie].apply(this, we) : Ce; ++Ie < h; ) - Ye = d[Ie].call(this, Ye); - return Ye; - }; - }); - } - function Nf(l, d, h, _, x, F, H, X, ae, we) { - var Ce = d & R, - Ie = d & T, - Ye = d & v, - st = d & (w | A), - bt = d & W, - At = Ye ? n : Rc(l); - function Et() { - for (var Nt = arguments.length, Ut = ge(Nt), Ci = Nt; Ci--; ) - Ut[Ci] = arguments[Ci]; - if (st) - var Yr = Hu(Et), - xi = cB(Ut, Yr); - if ( - (_ && (Ut = cS(Ut, _, x, st)), - F && (Ut = dS(Ut, F, H, st)), - (Nt -= xi), - st && Nt < we) - ) { - var zn = bs(Ut, Yr); - return vS(l, d, Nf, Et.placeholder, h, Ut, zn, X, ae, we - Nt); - } - var Ca = Ie ? h : this, - Do = Ye ? Ca[l] : l; - return ( - (Nt = Ut.length), - X ? (Ut = E$(Ut, X)) : bt && Nt > 1 && Ut.reverse(), - Ce && ae < Nt && (Ut.length = ae), - this && this !== hr && this instanceof Et && (Do = At || Rc(Do)), - Do.apply(Ca, Ut) - ); - } - return Et; - } - function bS(l, d) { - return function (h, _) { - return CU(h, l, d(_), {}); - }; - } - function Of(l, d) { - return function (h, _) { - var x; - if (h === n && _ === n) return d; - if ((h !== n && (x = h), _ !== n)) { - if (x === n) return _; - typeof h == "string" || typeof _ == "string" - ? ((h = wi(h)), (_ = wi(_))) - : ((h = nS(h)), (_ = nS(_))), - (x = l(h, _)); - } - return x; - }; - } - function n5(l) { - return Io(function (d) { - return ( - (d = wn(d, Si(mt()))), - It(function (h) { - var _ = this; - return l(d, function (x) { - return Ti(x, _, h); - }); - }) - ); - }); - } - function Df(l, d) { - d = d === n ? " " : wi(d); - var h = d.length; - if (h < 2) return h ? Ym(d, l) : d; - var _ = Ym(d, vf(l / Lu(d))); - return Du(d) ? Ts(Sa(_), 0, l).join("") : _.slice(0, l); - } - function JU(l, d, h, _) { - var x = d & T, - F = Rc(l); - function H() { - for ( - var X = -1, - ae = arguments.length, - we = -1, - Ce = _.length, - Ie = ge(Ce + ae), - Ye = this && this !== hr && this instanceof H ? F : l; - ++we < Ce; - - ) - Ie[we] = _[we]; - for (; ae--; ) Ie[we++] = arguments[++X]; - return Ti(Ye, x ? h : this, Ie); - } - return H; - } - function ES(l) { - return function (d, h, _) { - return ( - _ && typeof _ != "number" && Kr(d, h, _) && (h = _ = n), - (d = Oo(d)), - h === n ? ((h = d), (d = 0)) : (h = Oo(h)), - (_ = _ === n ? (d < h ? 1 : -1) : Oo(_)), - BU(d, h, _, l) - ); - }; - } - function Lf(l) { - return function (d, h) { - return ( - (typeof d == "string" && typeof h == "string") || - ((d = Ji(d)), (h = Ji(h))), - l(d, h) - ); - }; - } - function vS(l, d, h, _, x, F, H, X, ae, we) { - var Ce = d & w, - Ie = Ce ? H : n, - Ye = Ce ? n : H, - st = Ce ? F : n, - bt = Ce ? n : F; - (d |= Ce ? D : k), (d &= ~(Ce ? k : D)), d & y || (d &= ~(T | v)); - var At = [l, d, x, st, Ie, bt, Ye, X, ae, we], - Et = h.apply(n, At); - return c5(l) && NS(Et, At), (Et.placeholder = _), OS(Et, l, d); - } - function r5(l) { - var d = Xn[l]; - return function (h, _) { - if ( - ((h = Ji(h)), (_ = _ == null ? 0 : Or(St(_), 292)), _ && OT(h)) - ) { - var x = (Jt(h) + "e").split("e"), - F = d(x[0] + "e" + (+x[1] + _)); - return ( - (x = (Jt(F) + "e").split("e")), +(x[0] + "e" + (+x[1] - _)) - ); - } - return d(h); - }; - } - var e$ = - Pu && 1 / uf(new Pu([, -0]))[1] == Z - ? function (l) { - return new Pu(l); - } - : A5; - function yS(l) { - return function (d) { - var h = Dr(d); - return h == ot ? Dm(d) : h == ve ? bB(d) : uB(d, l(d)); - }; - } - function ko(l, d, h, _, x, F, H, X) { - var ae = d & v; - if (!ae && typeof l != "function") throw new Ki(o); - var we = _ ? _.length : 0; - if ( - (we || ((d &= ~(D | k)), (_ = x = n)), - (H = H === n ? H : Zn(St(H), 0)), - (X = X === n ? X : St(X)), - (we -= x ? x.length : 0), - d & k) - ) { - var Ce = _, - Ie = x; - _ = x = n; - } - var Ye = ae ? n : o5(l), - st = [l, d, h, _, x, Ce, Ie, F, H, X]; - if ( - (Ye && g$(st, Ye), - (l = st[0]), - (d = st[1]), - (h = st[2]), - (_ = st[3]), - (x = st[4]), - (X = st[9] = st[9] === n ? (ae ? 0 : l.length) : Zn(st[9] - we, 0)), - !X && d & (w | A) && (d &= ~(w | A)), - !d || d == T) - ) - var bt = ZU(l, d, h); - else - d == w || d == A - ? (bt = QU(l, d, X)) - : (d == D || d == (T | D)) && !x.length - ? (bt = JU(l, d, h, _)) - : (bt = Nf.apply(n, st)); - var At = Ye ? eS : NS; - return OS(At(bt, st), l, d); - } - function _S(l, d, h, _) { - return l === n || (Aa(l, Fu[h]) && !rn.call(_, h)) ? d : l; - } - function TS(l, d, h, _, x, F) { - return ( - In(l) && In(d) && (F.set(d, l), xf(l, d, n, TS, F), F.delete(d)), l - ); - } - function t$(l) { - return Dc(l) ? n : l; - } - function SS(l, d, h, _, x, F) { - var H = h & E, - X = l.length, - ae = d.length; - if (X != ae && !(H && ae > X)) return !1; - var we = F.get(l), - Ce = F.get(d); - if (we && Ce) return we == d && Ce == l; - var Ie = -1, - Ye = !0, - st = h & b ? new Il() : n; - for (F.set(l, d), F.set(d, l); ++Ie < X; ) { - var bt = l[Ie], - At = d[Ie]; - if (_) var Et = H ? _(At, bt, Ie, d, l, F) : _(bt, At, Ie, l, d, F); - if (Et !== n) { - if (Et) continue; - Ye = !1; - break; - } - if (st) { - if ( - !xm(d, function (Nt, Ut) { - if (!vc(st, Ut) && (bt === Nt || x(bt, Nt, h, _, F))) - return st.push(Ut); - }) - ) { - Ye = !1; - break; - } - } else if (!(bt === At || x(bt, At, h, _, F))) { - Ye = !1; - break; - } - } - return F.delete(l), F.delete(d), Ye; - } - function n$(l, d, h, _, x, F, H) { - switch (h) { - case ye: - if (l.byteLength != d.byteLength || l.byteOffset != d.byteOffset) - return !1; - (l = l.buffer), (d = d.buffer); - case ue: - return !( - l.byteLength != d.byteLength || !F(new gf(l), new gf(d)) - ); - case ne: - case Le: - case Ge: - return Aa(+l, +d); - case Xe: - return l.name == d.name && l.message == d.message; - case ke: - case Se: - return l == d + ""; - case ot: - var X = Dm; - case ve: - var ae = _ & E; - if ((X || (X = uf), l.size != d.size && !ae)) return !1; - var we = H.get(l); - if (we) return we == d; - (_ |= b), H.set(l, d); - var Ce = SS(X(l), X(d), _, x, F, H); - return H.delete(l), Ce; - case Me: - if (wc) return wc.call(l) == wc.call(d); - } - return !1; - } - function r$(l, d, h, _, x, F) { - var H = h & E, - X = i5(l), - ae = X.length, - we = i5(d), - Ce = we.length; - if (ae != Ce && !H) return !1; - for (var Ie = ae; Ie--; ) { - var Ye = X[Ie]; - if (!(H ? Ye in d : rn.call(d, Ye))) return !1; - } - var st = F.get(l), - bt = F.get(d); - if (st && bt) return st == d && bt == l; - var At = !0; - F.set(l, d), F.set(d, l); - for (var Et = H; ++Ie < ae; ) { - Ye = X[Ie]; - var Nt = l[Ye], - Ut = d[Ye]; - if (_) var Ci = H ? _(Ut, Nt, Ye, d, l, F) : _(Nt, Ut, Ye, l, d, F); - if (!(Ci === n ? Nt === Ut || x(Nt, Ut, h, _, F) : Ci)) { - At = !1; - break; - } - Et || (Et = Ye == "constructor"); - } - if (At && !Et) { - var Yr = l.constructor, - xi = d.constructor; - Yr != xi && - "constructor" in l && - "constructor" in d && - !( - typeof Yr == "function" && - Yr instanceof Yr && - typeof xi == "function" && - xi instanceof xi - ) && - (At = !1); - } - return F.delete(l), F.delete(d), At; - } - function Io(l) { - return p5(IS(l, n, BS), l + ""); - } - function i5(l) { - return jT(l, or, l5); - } - function a5(l) { - return jT(l, si, wS); - } - var o5 = _f - ? function (l) { - return _f.get(l); - } - : A5; - function Mf(l) { - for ( - var d = l.name + "", h = Bu[d], _ = rn.call(Bu, d) ? h.length : 0; - _--; - - ) { - var x = h[_], - F = x.func; - if (F == null || F == l) return x.name; - } - return d; - } - function Hu(l) { - var d = rn.call(M, "placeholder") ? M : l; - return d.placeholder; - } - function mt() { - var l = M.iteratee || S5; - return ( - (l = l === S5 ? WT : l), - arguments.length ? l(arguments[0], arguments[1]) : l - ); - } - function Ff(l, d) { - var h = l.__data__; - return d$(d) ? h[typeof d == "string" ? "string" : "hash"] : h.map; - } - function s5(l) { - for (var d = or(l), h = d.length; h--; ) { - var _ = d[h], - x = l[_]; - d[h] = [_, x, xS(x)]; - } - return d; - } - function Ol(l, d) { - var h = hB(l, d); - return VT(h) ? h : n; - } - function i$(l) { - var d = rn.call(l, xl), - h = l[xl]; - try { - l[xl] = n; - var _ = !0; - } catch {} - var x = ff.call(l); - return _ && (d ? (l[xl] = h) : delete l[xl]), x; - } - var l5 = Mm - ? function (l) { - return l == null - ? [] - : ((l = dn(l)), - gs(Mm(l), function (d) { - return RT.call(l, d); - })); - } - : C5, - wS = Mm - ? function (l) { - for (var d = []; l; ) ms(d, l5(l)), (l = mf(l)); - return d; - } - : C5, - Dr = qr; - ((Fm && Dr(new Fm(new ArrayBuffer(1))) != ye) || - (_c && Dr(new _c()) != ot) || - (Pm && Dr(Pm.resolve()) != ie) || - (Pu && Dr(new Pu()) != ve) || - (Tc && Dr(new Tc()) != Ke)) && - (Dr = function (l) { - var d = qr(l), - h = d == U ? l.constructor : n, - _ = h ? Dl(h) : ""; - if (_) - switch (_) { - case $B: - return ye; - case zB: - return ot; - case HB: - return ie; - case jB: - return ve; - case GB: - return Ke; - } - return d; - }); - function a$(l, d, h) { - for (var _ = -1, x = h.length; ++_ < x; ) { - var F = h[_], - H = F.size; - switch (F.type) { - case "drop": - l += H; - break; - case "dropRight": - d -= H; - break; - case "take": - d = Or(d, l + H); - break; - case "takeRight": - l = Zn(l, d - H); - break; - } - } - return { start: l, end: d }; - } - function o$(l) { - var d = l.match(Wr); - return d ? d[1].split(hs) : []; - } - function AS(l, d, h) { - d = _s(d, l); - for (var _ = -1, x = d.length, F = !1; ++_ < x; ) { - var H = Ja(d[_]); - if (!(F = l != null && h(l, H))) break; - l = l[H]; - } - return F || ++_ != x - ? F - : ((x = l == null ? 0 : l.length), - !!x && jf(x) && Ro(H, x) && (Tt(l) || Ll(l))); - } - function s$(l) { - var d = l.length, - h = new l.constructor(d); - return ( - d && - typeof l[0] == "string" && - rn.call(l, "index") && - ((h.index = l.index), (h.input = l.input)), - h - ); - } - function CS(l) { - return typeof l.constructor == "function" && !Nc(l) ? Uu(mf(l)) : {}; - } - function l$(l, d, h) { - var _ = l.constructor; - switch (d) { - case ue: - return t5(l); - case ne: - case Le: - return new _(+l); - case ye: - return VU(l, h); - case We: - case at: - case Qe: - case Y: - case se: - case j: - case $: - case J: - case be: - return lS(l, h); - case ot: - return new _(); - case Ge: - case Se: - return new _(l); - case ke: - return WU(l); - case ve: - return new _(); - case Me: - return qU(l); - } - } - function u$(l, d) { - var h = d.length; - if (!h) return l; - var _ = h - 1; - return ( - (d[_] = (h > 1 ? "& " : "") + d[_]), - (d = d.join(h > 2 ? ", " : " ")), - l.replace( - fs, - `{ -/* [wrapped with ` + - d + - `] */ -` - ) - ); - } - function c$(l) { - return Tt(l) || Ll(l) || !!(NT && l && l[NT]); - } - function Ro(l, d) { - var h = typeof l; - return ( - (d = d ?? V), - !!d && - (h == "number" || (h != "symbol" && ir.test(l))) && - l > -1 && - l % 1 == 0 && - l < d - ); - } - function Kr(l, d, h) { - if (!In(h)) return !1; - var _ = typeof d; - return ( - _ == "number" ? oi(h) && Ro(d, h.length) : _ == "string" && d in h - ) - ? Aa(h[d], l) - : !1; - } - function u5(l, d) { - if (Tt(l)) return !1; - var h = typeof l; - return h == "number" || - h == "symbol" || - h == "boolean" || - l == null || - Ai(l) - ? !0 - : Gr.test(l) || !jr.test(l) || (d != null && l in dn(d)); - } - function d$(l) { - var d = typeof l; - return d == "string" || - d == "number" || - d == "symbol" || - d == "boolean" - ? l !== "__proto__" - : l === null; - } - function c5(l) { - var d = Mf(l), - h = M[d]; - if (typeof h != "function" || !(d in Ft.prototype)) return !1; - if (l === h) return !0; - var _ = o5(h); - return !!_ && l === _[0]; - } - function p$(l) { - return !!xT && xT in l; - } - var f$ = df ? No : x5; - function Nc(l) { - var d = l && l.constructor, - h = (typeof d == "function" && d.prototype) || Fu; - return l === h; - } - function xS(l) { - return l === l && !In(l); - } - function kS(l, d) { - return function (h) { - return h == null ? !1 : h[l] === d && (d !== n || l in dn(h)); - }; - } - function h$(l) { - var d = zf(l, function (_) { - return h.size === c && h.clear(), _; - }), - h = d.cache; - return d; - } - function g$(l, d) { - var h = l[1], - _ = d[1], - x = h | _, - F = x < (T | v | R), - H = - (_ == R && h == w) || - (_ == R && h == B && l[7].length <= d[8]) || - (_ == (R | B) && d[7].length <= d[8] && h == w); - if (!(F || H)) return l; - _ & T && ((l[2] = d[2]), (x |= h & T ? 0 : y)); - var X = d[3]; - if (X) { - var ae = l[3]; - (l[3] = ae ? cS(ae, X, d[4]) : X), (l[4] = ae ? bs(l[3], p) : d[4]); - } - return ( - (X = d[5]), - X && - ((ae = l[5]), - (l[5] = ae ? dS(ae, X, d[6]) : X), - (l[6] = ae ? bs(l[5], p) : d[6])), - (X = d[7]), - X && (l[7] = X), - _ & R && (l[8] = l[8] == null ? d[8] : Or(l[8], d[8])), - l[9] == null && (l[9] = d[9]), - (l[0] = d[0]), - (l[1] = x), - l - ); - } - function m$(l) { - var d = []; - if (l != null) for (var h in dn(l)) d.push(h); - return d; - } - function b$(l) { - return ff.call(l); - } - function IS(l, d, h) { - return ( - (d = Zn(d === n ? l.length - 1 : d, 0)), - function () { - for ( - var _ = arguments, x = -1, F = Zn(_.length - d, 0), H = ge(F); - ++x < F; - - ) - H[x] = _[d + x]; - x = -1; - for (var X = ge(d + 1); ++x < d; ) X[x] = _[x]; - return (X[d] = h(H)), Ti(l, this, X); - } - ); - } - function RS(l, d) { - return d.length < 2 ? l : Nl(l, Zi(d, 0, -1)); - } - function E$(l, d) { - for (var h = l.length, _ = Or(d.length, h), x = ai(l); _--; ) { - var F = d[_]; - l[_] = Ro(F, h) ? x[F] : n; - } - return l; - } - function d5(l, d) { - if ( - !(d === "constructor" && typeof l[d] == "function") && - d != "__proto__" - ) - return l[d]; - } - var NS = DS(eS), - Oc = - DB || - function (l, d) { - return hr.setTimeout(l, d); - }, - p5 = DS(zU); - function OS(l, d, h) { - var _ = d + ""; - return p5(l, u$(_, v$(o$(_), h))); - } - function DS(l) { - var d = 0, - h = 0; - return function () { - var _ = PB(), - x = le - (_ - h); - if (((h = _), x > 0)) { - if (++d >= z) return arguments[0]; - } else d = 0; - return l.apply(n, arguments); - }; - } - function Pf(l, d) { - var h = -1, - _ = l.length, - x = _ - 1; - for (d = d === n ? _ : d; ++h < d; ) { - var F = Km(h, x), - H = l[F]; - (l[F] = l[h]), (l[h] = H); - } - return (l.length = d), l; - } - var LS = h$(function (l) { - var d = []; - return ( - l.charCodeAt(0) === 46 && d.push(""), - l.replace(Vr, function (h, _, x, F) { - d.push(x ? F.replace(_i, "$1") : _ || h); - }), - d - ); - }); - function Ja(l) { - if (typeof l == "string" || Ai(l)) return l; - var d = l + ""; - return d == "0" && 1 / l == -Z ? "-0" : d; - } - function Dl(l) { - if (l != null) { - try { - return pf.call(l); - } catch {} - try { - return l + ""; - } catch {} - } - return ""; - } - function v$(l, d) { - return ( - qi(re, function (h) { - var _ = "_." + h[0]; - d & h[1] && !sf(l, _) && l.push(_); - }), - l.sort() - ); - } - function MS(l) { - if (l instanceof Ft) return l.clone(); - var d = new Yi(l.__wrapped__, l.__chain__); - return ( - (d.__actions__ = ai(l.__actions__)), - (d.__index__ = l.__index__), - (d.__values__ = l.__values__), - d - ); - } - function y$(l, d, h) { - (h ? Kr(l, d, h) : d === n) ? (d = 1) : (d = Zn(St(d), 0)); - var _ = l == null ? 0 : l.length; - if (!_ || d < 1) return []; - for (var x = 0, F = 0, H = ge(vf(_ / d)); x < _; ) - H[F++] = Zi(l, x, (x += d)); - return H; - } - function _$(l) { - for ( - var d = -1, h = l == null ? 0 : l.length, _ = 0, x = []; - ++d < h; - - ) { - var F = l[d]; - F && (x[_++] = F); - } - return x; - } - function T$() { - var l = arguments.length; - if (!l) return []; - for (var d = ge(l - 1), h = arguments[0], _ = l; _--; ) - d[_ - 1] = arguments[_]; - return ms(Tt(h) ? ai(h) : [h], gr(d, 1)); - } - var S$ = It(function (l, d) { - return $n(l) ? Cc(l, gr(d, 1, $n, !0)) : []; - }), - w$ = It(function (l, d) { - var h = Qi(d); - return ( - $n(h) && (h = n), $n(l) ? Cc(l, gr(d, 1, $n, !0), mt(h, 2)) : [] - ); - }), - A$ = It(function (l, d) { - var h = Qi(d); - return $n(h) && (h = n), $n(l) ? Cc(l, gr(d, 1, $n, !0), n, h) : []; - }); - function C$(l, d, h) { - var _ = l == null ? 0 : l.length; - return _ - ? ((d = h || d === n ? 1 : St(d)), Zi(l, d < 0 ? 0 : d, _)) - : []; - } - function x$(l, d, h) { - var _ = l == null ? 0 : l.length; - return _ - ? ((d = h || d === n ? 1 : St(d)), - (d = _ - d), - Zi(l, 0, d < 0 ? 0 : d)) - : []; - } - function k$(l, d) { - return l && l.length ? If(l, mt(d, 3), !0, !0) : []; - } - function I$(l, d) { - return l && l.length ? If(l, mt(d, 3), !0) : []; - } - function R$(l, d, h, _) { - var x = l == null ? 0 : l.length; - return x - ? (h && typeof h != "number" && Kr(l, d, h) && ((h = 0), (_ = x)), - TU(l, d, h, _)) - : []; - } - function FS(l, d, h) { - var _ = l == null ? 0 : l.length; - if (!_) return -1; - var x = h == null ? 0 : St(h); - return x < 0 && (x = Zn(_ + x, 0)), lf(l, mt(d, 3), x); - } - function PS(l, d, h) { - var _ = l == null ? 0 : l.length; - if (!_) return -1; - var x = _ - 1; - return ( - h !== n && ((x = St(h)), (x = h < 0 ? Zn(_ + x, 0) : Or(x, _ - 1))), - lf(l, mt(d, 3), x, !0) - ); - } - function BS(l) { - var d = l == null ? 0 : l.length; - return d ? gr(l, 1) : []; - } - function N$(l) { - var d = l == null ? 0 : l.length; - return d ? gr(l, Z) : []; - } - function O$(l, d) { - var h = l == null ? 0 : l.length; - return h ? ((d = d === n ? 1 : St(d)), gr(l, d)) : []; - } - function D$(l) { - for (var d = -1, h = l == null ? 0 : l.length, _ = {}; ++d < h; ) { - var x = l[d]; - _[x[0]] = x[1]; - } - return _; - } - function US(l) { - return l && l.length ? l[0] : n; - } - function L$(l, d, h) { - var _ = l == null ? 0 : l.length; - if (!_) return -1; - var x = h == null ? 0 : St(h); - return x < 0 && (x = Zn(_ + x, 0)), Ou(l, d, x); - } - function M$(l) { - var d = l == null ? 0 : l.length; - return d ? Zi(l, 0, -1) : []; - } - var F$ = It(function (l) { - var d = wn(l, Jm); - return d.length && d[0] === l[0] ? jm(d) : []; - }), - P$ = It(function (l) { - var d = Qi(l), - h = wn(l, Jm); - return ( - d === Qi(h) ? (d = n) : h.pop(), - h.length && h[0] === l[0] ? jm(h, mt(d, 2)) : [] - ); - }), - B$ = It(function (l) { - var d = Qi(l), - h = wn(l, Jm); - return ( - (d = typeof d == "function" ? d : n), - d && h.pop(), - h.length && h[0] === l[0] ? jm(h, n, d) : [] - ); - }); - function U$(l, d) { - return l == null ? "" : MB.call(l, d); - } - function Qi(l) { - var d = l == null ? 0 : l.length; - return d ? l[d - 1] : n; - } - function $$(l, d, h) { - var _ = l == null ? 0 : l.length; - if (!_) return -1; - var x = _; - return ( - h !== n && ((x = St(h)), (x = x < 0 ? Zn(_ + x, 0) : Or(x, _ - 1))), - d === d ? vB(l, d, x) : lf(l, vT, x, !0) - ); - } - function z$(l, d) { - return l && l.length ? XT(l, St(d)) : n; - } - var H$ = It($S); - function $S(l, d) { - return l && l.length && d && d.length ? qm(l, d) : l; - } - function j$(l, d, h) { - return l && l.length && d && d.length ? qm(l, d, mt(h, 2)) : l; - } - function G$(l, d, h) { - return l && l.length && d && d.length ? qm(l, d, n, h) : l; - } - var V$ = Io(function (l, d) { - var h = l == null ? 0 : l.length, - _ = Um(l, d); - return ( - JT( - l, - wn(d, function (x) { - return Ro(x, h) ? +x : x; - }).sort(uS) - ), - _ - ); - }); - function W$(l, d) { - var h = []; - if (!(l && l.length)) return h; - var _ = -1, - x = [], - F = l.length; - for (d = mt(d, 3); ++_ < F; ) { - var H = l[_]; - d(H, _, l) && (h.push(H), x.push(_)); - } - return JT(l, x), h; - } - function f5(l) { - return l == null ? l : UB.call(l); - } - function q$(l, d, h) { - var _ = l == null ? 0 : l.length; - return _ - ? (h && typeof h != "number" && Kr(l, d, h) - ? ((d = 0), (h = _)) - : ((d = d == null ? 0 : St(d)), (h = h === n ? _ : St(h))), - Zi(l, d, h)) - : []; - } - function K$(l, d) { - return kf(l, d); - } - function Y$(l, d, h) { - return Xm(l, d, mt(h, 2)); - } - function X$(l, d) { - var h = l == null ? 0 : l.length; - if (h) { - var _ = kf(l, d); - if (_ < h && Aa(l[_], d)) return _; - } - return -1; - } - function Z$(l, d) { - return kf(l, d, !0); - } - function Q$(l, d, h) { - return Xm(l, d, mt(h, 2), !0); - } - function J$(l, d) { - var h = l == null ? 0 : l.length; - if (h) { - var _ = kf(l, d, !0) - 1; - if (Aa(l[_], d)) return _; - } - return -1; - } - function ez(l) { - return l && l.length ? tS(l) : []; - } - function tz(l, d) { - return l && l.length ? tS(l, mt(d, 2)) : []; - } - function nz(l) { - var d = l == null ? 0 : l.length; - return d ? Zi(l, 1, d) : []; - } - function rz(l, d, h) { - return l && l.length - ? ((d = h || d === n ? 1 : St(d)), Zi(l, 0, d < 0 ? 0 : d)) - : []; - } - function iz(l, d, h) { - var _ = l == null ? 0 : l.length; - return _ - ? ((d = h || d === n ? 1 : St(d)), - (d = _ - d), - Zi(l, d < 0 ? 0 : d, _)) - : []; - } - function az(l, d) { - return l && l.length ? If(l, mt(d, 3), !1, !0) : []; - } - function oz(l, d) { - return l && l.length ? If(l, mt(d, 3)) : []; - } - var sz = It(function (l) { - return ys(gr(l, 1, $n, !0)); - }), - lz = It(function (l) { - var d = Qi(l); - return $n(d) && (d = n), ys(gr(l, 1, $n, !0), mt(d, 2)); - }), - uz = It(function (l) { - var d = Qi(l); - return ( - (d = typeof d == "function" ? d : n), ys(gr(l, 1, $n, !0), n, d) - ); - }); - function cz(l) { - return l && l.length ? ys(l) : []; - } - function dz(l, d) { - return l && l.length ? ys(l, mt(d, 2)) : []; - } - function pz(l, d) { - return ( - (d = typeof d == "function" ? d : n), - l && l.length ? ys(l, n, d) : [] - ); - } - function h5(l) { - if (!(l && l.length)) return []; - var d = 0; - return ( - (l = gs(l, function (h) { - if ($n(h)) return (d = Zn(h.length, d)), !0; - })), - Nm(d, function (h) { - return wn(l, km(h)); - }) - ); - } - function zS(l, d) { - if (!(l && l.length)) return []; - var h = h5(l); - return d == null - ? h - : wn(h, function (_) { - return Ti(d, n, _); - }); - } - var fz = It(function (l, d) { - return $n(l) ? Cc(l, d) : []; - }), - hz = It(function (l) { - return Qm(gs(l, $n)); - }), - gz = It(function (l) { - var d = Qi(l); - return $n(d) && (d = n), Qm(gs(l, $n), mt(d, 2)); - }), - mz = It(function (l) { - var d = Qi(l); - return (d = typeof d == "function" ? d : n), Qm(gs(l, $n), n, d); - }), - bz = It(h5); - function Ez(l, d) { - return aS(l || [], d || [], Ac); - } - function vz(l, d) { - return aS(l || [], d || [], Ic); - } - var yz = It(function (l) { - var d = l.length, - h = d > 1 ? l[d - 1] : n; - return (h = typeof h == "function" ? (l.pop(), h) : n), zS(l, h); - }); - function HS(l) { - var d = M(l); - return (d.__chain__ = !0), d; - } - function _z(l, d) { - return d(l), l; - } - function Bf(l, d) { - return d(l); - } - var Tz = Io(function (l) { - var d = l.length, - h = d ? l[0] : 0, - _ = this.__wrapped__, - x = function (F) { - return Um(F, l); - }; - return d > 1 || - this.__actions__.length || - !(_ instanceof Ft) || - !Ro(h) - ? this.thru(x) - : ((_ = _.slice(h, +h + (d ? 1 : 0))), - _.__actions__.push({ func: Bf, args: [x], thisArg: n }), - new Yi(_, this.__chain__).thru(function (F) { - return d && !F.length && F.push(n), F; - })); - }); - function Sz() { - return HS(this); - } - function wz() { - return new Yi(this.value(), this.__chain__); - } - function Az() { - this.__values__ === n && (this.__values__ = nw(this.value())); - var l = this.__index__ >= this.__values__.length, - d = l ? n : this.__values__[this.__index__++]; - return { done: l, value: d }; - } - function Cz() { - return this; - } - function xz(l) { - for (var d, h = this; h instanceof Sf; ) { - var _ = MS(h); - (_.__index__ = 0), - (_.__values__ = n), - d ? (x.__wrapped__ = _) : (d = _); - var x = _; - h = h.__wrapped__; - } - return (x.__wrapped__ = l), d; - } - function kz() { - var l = this.__wrapped__; - if (l instanceof Ft) { - var d = l; - return ( - this.__actions__.length && (d = new Ft(this)), - (d = d.reverse()), - d.__actions__.push({ func: Bf, args: [f5], thisArg: n }), - new Yi(d, this.__chain__) - ); - } - return this.thru(f5); - } - function Iz() { - return iS(this.__wrapped__, this.__actions__); - } - var Rz = Rf(function (l, d, h) { - rn.call(l, h) ? ++l[h] : xo(l, h, 1); - }); - function Nz(l, d, h) { - var _ = Tt(l) ? bT : _U; - return h && Kr(l, d, h) && (d = n), _(l, mt(d, 3)); - } - function Oz(l, d) { - var h = Tt(l) ? gs : zT; - return h(l, mt(d, 3)); - } - var Dz = gS(FS), - Lz = gS(PS); - function Mz(l, d) { - return gr(Uf(l, d), 1); - } - function Fz(l, d) { - return gr(Uf(l, d), Z); - } - function Pz(l, d, h) { - return (h = h === n ? 1 : St(h)), gr(Uf(l, d), h); - } - function jS(l, d) { - var h = Tt(l) ? qi : vs; - return h(l, mt(d, 3)); - } - function GS(l, d) { - var h = Tt(l) ? nB : $T; - return h(l, mt(d, 3)); - } - var Bz = Rf(function (l, d, h) { - rn.call(l, h) ? l[h].push(d) : xo(l, h, [d]); - }); - function Uz(l, d, h, _) { - (l = oi(l) ? l : Gu(l)), (h = h && !_ ? St(h) : 0); - var x = l.length; - return ( - h < 0 && (h = Zn(x + h, 0)), - Gf(l) ? h <= x && l.indexOf(d, h) > -1 : !!x && Ou(l, d, h) > -1 - ); - } - var $z = It(function (l, d, h) { - var _ = -1, - x = typeof d == "function", - F = oi(l) ? ge(l.length) : []; - return ( - vs(l, function (H) { - F[++_] = x ? Ti(d, H, h) : xc(H, d, h); - }), - F - ); - }), - zz = Rf(function (l, d, h) { - xo(l, h, d); - }); - function Uf(l, d) { - var h = Tt(l) ? wn : qT; - return h(l, mt(d, 3)); - } - function Hz(l, d, h, _) { - return l == null - ? [] - : (Tt(d) || (d = d == null ? [] : [d]), - (h = _ ? n : h), - Tt(h) || (h = h == null ? [] : [h]), - ZT(l, d, h)); - } - var jz = Rf( - function (l, d, h) { - l[h ? 0 : 1].push(d); - }, - function () { - return [[], []]; - } - ); - function Gz(l, d, h) { - var _ = Tt(l) ? Cm : _T, - x = arguments.length < 3; - return _(l, mt(d, 4), h, x, vs); - } - function Vz(l, d, h) { - var _ = Tt(l) ? rB : _T, - x = arguments.length < 3; - return _(l, mt(d, 4), h, x, $T); - } - function Wz(l, d) { - var h = Tt(l) ? gs : zT; - return h(l, Hf(mt(d, 3))); - } - function qz(l) { - var d = Tt(l) ? FT : UU; - return d(l); - } - function Kz(l, d, h) { - (h ? Kr(l, d, h) : d === n) ? (d = 1) : (d = St(d)); - var _ = Tt(l) ? mU : $U; - return _(l, d); - } - function Yz(l) { - var d = Tt(l) ? bU : HU; - return d(l); - } - function Xz(l) { - if (l == null) return 0; - if (oi(l)) return Gf(l) ? Lu(l) : l.length; - var d = Dr(l); - return d == ot || d == ve ? l.size : Vm(l).length; - } - function Zz(l, d, h) { - var _ = Tt(l) ? xm : jU; - return h && Kr(l, d, h) && (d = n), _(l, mt(d, 3)); - } - var Qz = It(function (l, d) { - if (l == null) return []; - var h = d.length; - return ( - h > 1 && Kr(l, d[0], d[1]) - ? (d = []) - : h > 2 && Kr(d[0], d[1], d[2]) && (d = [d[0]]), - ZT(l, gr(d, 1), []) - ); - }), - $f = - OB || - function () { - return hr.Date.now(); - }; - function Jz(l, d) { - if (typeof d != "function") throw new Ki(o); - return ( - (l = St(l)), - function () { - if (--l < 1) return d.apply(this, arguments); - } - ); - } - function VS(l, d, h) { - return ( - (d = h ? n : d), - (d = l && d == null ? l.length : d), - ko(l, R, n, n, n, n, d) - ); - } - function WS(l, d) { - var h; - if (typeof d != "function") throw new Ki(o); - return ( - (l = St(l)), - function () { - return ( - --l > 0 && (h = d.apply(this, arguments)), l <= 1 && (d = n), h - ); - } - ); - } - var g5 = It(function (l, d, h) { - var _ = T; - if (h.length) { - var x = bs(h, Hu(g5)); - _ |= D; - } - return ko(l, _, d, h, x); - }), - qS = It(function (l, d, h) { - var _ = T | v; - if (h.length) { - var x = bs(h, Hu(qS)); - _ |= D; - } - return ko(d, _, l, h, x); - }); - function KS(l, d, h) { - d = h ? n : d; - var _ = ko(l, w, n, n, n, n, n, d); - return (_.placeholder = KS.placeholder), _; - } - function YS(l, d, h) { - d = h ? n : d; - var _ = ko(l, A, n, n, n, n, n, d); - return (_.placeholder = YS.placeholder), _; - } - function XS(l, d, h) { - var _, - x, - F, - H, - X, - ae, - we = 0, - Ce = !1, - Ie = !1, - Ye = !0; - if (typeof l != "function") throw new Ki(o); - (d = Ji(d) || 0), - In(h) && - ((Ce = !!h.leading), - (Ie = "maxWait" in h), - (F = Ie ? Zn(Ji(h.maxWait) || 0, d) : F), - (Ye = "trailing" in h ? !!h.trailing : Ye)); - function st(zn) { - var Ca = _, - Do = x; - return (_ = x = n), (we = zn), (H = l.apply(Do, Ca)), H; - } - function bt(zn) { - return (we = zn), (X = Oc(Nt, d)), Ce ? st(zn) : H; - } - function At(zn) { - var Ca = zn - ae, - Do = zn - we, - gw = d - Ca; - return Ie ? Or(gw, F - Do) : gw; - } - function Et(zn) { - var Ca = zn - ae, - Do = zn - we; - return ae === n || Ca >= d || Ca < 0 || (Ie && Do >= F); - } - function Nt() { - var zn = $f(); - if (Et(zn)) return Ut(zn); - X = Oc(Nt, At(zn)); - } - function Ut(zn) { - return (X = n), Ye && _ ? st(zn) : ((_ = x = n), H); - } - function Ci() { - X !== n && oS(X), (we = 0), (_ = ae = x = X = n); - } - function Yr() { - return X === n ? H : Ut($f()); - } - function xi() { - var zn = $f(), - Ca = Et(zn); - if (((_ = arguments), (x = this), (ae = zn), Ca)) { - if (X === n) return bt(ae); - if (Ie) return oS(X), (X = Oc(Nt, d)), st(ae); - } - return X === n && (X = Oc(Nt, d)), H; - } - return (xi.cancel = Ci), (xi.flush = Yr), xi; - } - var eH = It(function (l, d) { - return UT(l, 1, d); - }), - tH = It(function (l, d, h) { - return UT(l, Ji(d) || 0, h); - }); - function nH(l) { - return ko(l, W); - } - function zf(l, d) { - if (typeof l != "function" || (d != null && typeof d != "function")) - throw new Ki(o); - var h = function () { - var _ = arguments, - x = d ? d.apply(this, _) : _[0], - F = h.cache; - if (F.has(x)) return F.get(x); - var H = l.apply(this, _); - return (h.cache = F.set(x, H) || F), H; - }; - return (h.cache = new (zf.Cache || Co)()), h; - } - zf.Cache = Co; - function Hf(l) { - if (typeof l != "function") throw new Ki(o); - return function () { - var d = arguments; - switch (d.length) { - case 0: - return !l.call(this); - case 1: - return !l.call(this, d[0]); - case 2: - return !l.call(this, d[0], d[1]); - case 3: - return !l.call(this, d[0], d[1], d[2]); - } - return !l.apply(this, d); - }; - } - function rH(l) { - return WS(2, l); - } - var iH = GU(function (l, d) { - d = - d.length == 1 && Tt(d[0]) - ? wn(d[0], Si(mt())) - : wn(gr(d, 1), Si(mt())); - var h = d.length; - return It(function (_) { - for (var x = -1, F = Or(_.length, h); ++x < F; ) - _[x] = d[x].call(this, _[x]); - return Ti(l, this, _); - }); - }), - m5 = It(function (l, d) { - var h = bs(d, Hu(m5)); - return ko(l, D, n, d, h); - }), - ZS = It(function (l, d) { - var h = bs(d, Hu(ZS)); - return ko(l, k, n, d, h); - }), - aH = Io(function (l, d) { - return ko(l, B, n, n, n, d); - }); - function oH(l, d) { - if (typeof l != "function") throw new Ki(o); - return (d = d === n ? d : St(d)), It(l, d); - } - function sH(l, d) { - if (typeof l != "function") throw new Ki(o); - return ( - (d = d == null ? 0 : Zn(St(d), 0)), - It(function (h) { - var _ = h[d], - x = Ts(h, 0, d); - return _ && ms(x, _), Ti(l, this, x); - }) - ); - } - function lH(l, d, h) { - var _ = !0, - x = !0; - if (typeof l != "function") throw new Ki(o); - return ( - In(h) && - ((_ = "leading" in h ? !!h.leading : _), - (x = "trailing" in h ? !!h.trailing : x)), - XS(l, d, { leading: _, maxWait: d, trailing: x }) - ); - } - function uH(l) { - return VS(l, 1); - } - function cH(l, d) { - return m5(e5(d), l); - } - function dH() { - if (!arguments.length) return []; - var l = arguments[0]; - return Tt(l) ? l : [l]; - } - function pH(l) { - return Xi(l, g); - } - function fH(l, d) { - return (d = typeof d == "function" ? d : n), Xi(l, g, d); - } - function hH(l) { - return Xi(l, f | g); - } - function gH(l, d) { - return (d = typeof d == "function" ? d : n), Xi(l, f | g, d); - } - function mH(l, d) { - return d == null || BT(l, d, or(d)); - } - function Aa(l, d) { - return l === d || (l !== l && d !== d); - } - var bH = Lf(Hm), - EH = Lf(function (l, d) { - return l >= d; - }), - Ll = GT( - (function () { - return arguments; - })() - ) - ? GT - : function (l) { - return Ln(l) && rn.call(l, "callee") && !RT.call(l, "callee"); - }, - Tt = ge.isArray, - vH = dT ? Si(dT) : xU; - function oi(l) { - return l != null && jf(l.length) && !No(l); - } - function $n(l) { - return Ln(l) && oi(l); - } - function yH(l) { - return l === !0 || l === !1 || (Ln(l) && qr(l) == ne); - } - var Ss = LB || x5, - _H = pT ? Si(pT) : kU; - function TH(l) { - return Ln(l) && l.nodeType === 1 && !Dc(l); - } - function SH(l) { - if (l == null) return !0; - if ( - oi(l) && - (Tt(l) || - typeof l == "string" || - typeof l.splice == "function" || - Ss(l) || - ju(l) || - Ll(l)) - ) - return !l.length; - var d = Dr(l); - if (d == ot || d == ve) return !l.size; - if (Nc(l)) return !Vm(l).length; - for (var h in l) if (rn.call(l, h)) return !1; - return !0; - } - function wH(l, d) { - return kc(l, d); - } - function AH(l, d, h) { - h = typeof h == "function" ? h : n; - var _ = h ? h(l, d) : n; - return _ === n ? kc(l, d, n, h) : !!_; - } - function b5(l) { - if (!Ln(l)) return !1; - var d = qr(l); - return ( - d == Xe || - d == Re || - (typeof l.message == "string" && - typeof l.name == "string" && - !Dc(l)) - ); - } - function CH(l) { - return typeof l == "number" && OT(l); - } - function No(l) { - if (!In(l)) return !1; - var d = qr(l); - return d == Ve || d == dt || d == xe || d == pe; - } - function QS(l) { - return typeof l == "number" && l == St(l); - } - function jf(l) { - return typeof l == "number" && l > -1 && l % 1 == 0 && l <= V; - } - function In(l) { - var d = typeof l; - return l != null && (d == "object" || d == "function"); - } - function Ln(l) { - return l != null && typeof l == "object"; - } - var JS = fT ? Si(fT) : RU; - function xH(l, d) { - return l === d || Gm(l, d, s5(d)); - } - function kH(l, d, h) { - return (h = typeof h == "function" ? h : n), Gm(l, d, s5(d), h); - } - function IH(l) { - return ew(l) && l != +l; - } - function RH(l) { - if (f$(l)) throw new _t(a); - return VT(l); - } - function NH(l) { - return l === null; - } - function OH(l) { - return l == null; - } - function ew(l) { - return typeof l == "number" || (Ln(l) && qr(l) == Ge); - } - function Dc(l) { - if (!Ln(l) || qr(l) != U) return !1; - var d = mf(l); - if (d === null) return !0; - var h = rn.call(d, "constructor") && d.constructor; - return typeof h == "function" && h instanceof h && pf.call(h) == kB; - } - var E5 = hT ? Si(hT) : NU; - function DH(l) { - return QS(l) && l >= -V && l <= V; - } - var tw = gT ? Si(gT) : OU; - function Gf(l) { - return typeof l == "string" || (!Tt(l) && Ln(l) && qr(l) == Se); - } - function Ai(l) { - return typeof l == "symbol" || (Ln(l) && qr(l) == Me); - } - var ju = mT ? Si(mT) : DU; - function LH(l) { - return l === n; - } - function MH(l) { - return Ln(l) && Dr(l) == Ke; - } - function FH(l) { - return Ln(l) && qr(l) == jt; - } - var PH = Lf(Wm), - BH = Lf(function (l, d) { - return l <= d; - }); - function nw(l) { - if (!l) return []; - if (oi(l)) return Gf(l) ? Sa(l) : ai(l); - if (yc && l[yc]) return mB(l[yc]()); - var d = Dr(l), - h = d == ot ? Dm : d == ve ? uf : Gu; - return h(l); - } - function Oo(l) { - if (!l) return l === 0 ? l : 0; - if (((l = Ji(l)), l === Z || l === -Z)) { - var d = l < 0 ? -1 : 1; - return d * ce; - } - return l === l ? l : 0; - } - function St(l) { - var d = Oo(l), - h = d % 1; - return d === d ? (h ? d - h : d) : 0; - } - function rw(l) { - return l ? Rl(St(l), 0, me) : 0; - } - function Ji(l) { - if (typeof l == "number") return l; - if (Ai(l)) return N; - if (In(l)) { - var d = typeof l.valueOf == "function" ? l.valueOf() : l; - l = In(d) ? d + "" : d; - } - if (typeof l != "string") return l === 0 ? l : +l; - l = TT(l); - var h = Be.test(l); - return h || ln.test(l) - ? JP(l.slice(2), h ? 2 : 8) - : ee.test(l) - ? N - : +l; - } - function iw(l) { - return Qa(l, si(l)); - } - function UH(l) { - return l ? Rl(St(l), -V, V) : l === 0 ? l : 0; - } - function Jt(l) { - return l == null ? "" : wi(l); - } - var $H = $u(function (l, d) { - if (Nc(d) || oi(d)) { - Qa(d, or(d), l); - return; - } - for (var h in d) rn.call(d, h) && Ac(l, h, d[h]); - }), - aw = $u(function (l, d) { - Qa(d, si(d), l); - }), - Vf = $u(function (l, d, h, _) { - Qa(d, si(d), l, _); - }), - zH = $u(function (l, d, h, _) { - Qa(d, or(d), l, _); - }), - HH = Io(Um); - function jH(l, d) { - var h = Uu(l); - return d == null ? h : PT(h, d); - } - var GH = It(function (l, d) { - l = dn(l); - var h = -1, - _ = d.length, - x = _ > 2 ? d[2] : n; - for (x && Kr(d[0], d[1], x) && (_ = 1); ++h < _; ) - for (var F = d[h], H = si(F), X = -1, ae = H.length; ++X < ae; ) { - var we = H[X], - Ce = l[we]; - (Ce === n || (Aa(Ce, Fu[we]) && !rn.call(l, we))) && - (l[we] = F[we]); - } - return l; - }), - VH = It(function (l) { - return l.push(n, TS), Ti(ow, n, l); - }); - function WH(l, d) { - return ET(l, mt(d, 3), Za); - } - function qH(l, d) { - return ET(l, mt(d, 3), zm); - } - function KH(l, d) { - return l == null ? l : $m(l, mt(d, 3), si); - } - function YH(l, d) { - return l == null ? l : HT(l, mt(d, 3), si); - } - function XH(l, d) { - return l && Za(l, mt(d, 3)); - } - function ZH(l, d) { - return l && zm(l, mt(d, 3)); - } - function QH(l) { - return l == null ? [] : Cf(l, or(l)); - } - function JH(l) { - return l == null ? [] : Cf(l, si(l)); - } - function v5(l, d, h) { - var _ = l == null ? n : Nl(l, d); - return _ === n ? h : _; - } - function ej(l, d) { - return l != null && AS(l, d, SU); - } - function y5(l, d) { - return l != null && AS(l, d, wU); - } - var tj = bS(function (l, d, h) { - d != null && typeof d.toString != "function" && (d = ff.call(d)), - (l[d] = h); - }, T5(li)), - nj = bS(function (l, d, h) { - d != null && typeof d.toString != "function" && (d = ff.call(d)), - rn.call(l, d) ? l[d].push(h) : (l[d] = [h]); - }, mt), - rj = It(xc); - function or(l) { - return oi(l) ? MT(l) : Vm(l); - } - function si(l) { - return oi(l) ? MT(l, !0) : LU(l); - } - function ij(l, d) { - var h = {}; - return ( - (d = mt(d, 3)), - Za(l, function (_, x, F) { - xo(h, d(_, x, F), _); - }), - h - ); - } - function aj(l, d) { - var h = {}; - return ( - (d = mt(d, 3)), - Za(l, function (_, x, F) { - xo(h, x, d(_, x, F)); - }), - h - ); - } - var oj = $u(function (l, d, h) { - xf(l, d, h); - }), - ow = $u(function (l, d, h, _) { - xf(l, d, h, _); - }), - sj = Io(function (l, d) { - var h = {}; - if (l == null) return h; - var _ = !1; - (d = wn(d, function (F) { - return (F = _s(F, l)), _ || (_ = F.length > 1), F; - })), - Qa(l, a5(l), h), - _ && (h = Xi(h, f | m | g, t$)); - for (var x = d.length; x--; ) Zm(h, d[x]); - return h; - }); - function lj(l, d) { - return sw(l, Hf(mt(d))); - } - var uj = Io(function (l, d) { - return l == null ? {} : FU(l, d); - }); - function sw(l, d) { - if (l == null) return {}; - var h = wn(a5(l), function (_) { - return [_]; - }); - return ( - (d = mt(d)), - QT(l, h, function (_, x) { - return d(_, x[0]); - }) - ); - } - function cj(l, d, h) { - d = _s(d, l); - var _ = -1, - x = d.length; - for (x || ((x = 1), (l = n)); ++_ < x; ) { - var F = l == null ? n : l[Ja(d[_])]; - F === n && ((_ = x), (F = h)), (l = No(F) ? F.call(l) : F); - } - return l; - } - function dj(l, d, h) { - return l == null ? l : Ic(l, d, h); - } - function pj(l, d, h, _) { - return ( - (_ = typeof _ == "function" ? _ : n), l == null ? l : Ic(l, d, h, _) - ); - } - var lw = yS(or), - uw = yS(si); - function fj(l, d, h) { - var _ = Tt(l), - x = _ || Ss(l) || ju(l); - if (((d = mt(d, 4)), h == null)) { - var F = l && l.constructor; - x - ? (h = _ ? new F() : []) - : In(l) - ? (h = No(F) ? Uu(mf(l)) : {}) - : (h = {}); - } - return ( - (x ? qi : Za)(l, function (H, X, ae) { - return d(h, H, X, ae); - }), - h - ); - } - function hj(l, d) { - return l == null ? !0 : Zm(l, d); - } - function gj(l, d, h) { - return l == null ? l : rS(l, d, e5(h)); - } - function mj(l, d, h, _) { - return ( - (_ = typeof _ == "function" ? _ : n), - l == null ? l : rS(l, d, e5(h), _) - ); - } - function Gu(l) { - return l == null ? [] : Om(l, or(l)); - } - function bj(l) { - return l == null ? [] : Om(l, si(l)); - } - function Ej(l, d, h) { - return ( - h === n && ((h = d), (d = n)), - h !== n && ((h = Ji(h)), (h = h === h ? h : 0)), - d !== n && ((d = Ji(d)), (d = d === d ? d : 0)), - Rl(Ji(l), d, h) - ); - } - function vj(l, d, h) { - return ( - (d = Oo(d)), - h === n ? ((h = d), (d = 0)) : (h = Oo(h)), - (l = Ji(l)), - AU(l, d, h) - ); - } - function yj(l, d, h) { - if ( - (h && typeof h != "boolean" && Kr(l, d, h) && (d = h = n), - h === n && - (typeof d == "boolean" - ? ((h = d), (d = n)) - : typeof l == "boolean" && ((h = l), (l = n))), - l === n && d === n - ? ((l = 0), (d = 1)) - : ((l = Oo(l)), d === n ? ((d = l), (l = 0)) : (d = Oo(d))), - l > d) - ) { - var _ = l; - (l = d), (d = _); - } - if (h || l % 1 || d % 1) { - var x = DT(); - return Or(l + x * (d - l + QP("1e-" + ((x + "").length - 1))), d); - } - return Km(l, d); - } - var _j = zu(function (l, d, h) { - return (d = d.toLowerCase()), l + (h ? cw(d) : d); - }); - function cw(l) { - return _5(Jt(l).toLowerCase()); - } - function dw(l) { - return (l = Jt(l)), l && l.replace(ar, dB).replace(HP, ""); - } - function Tj(l, d, h) { - (l = Jt(l)), (d = wi(d)); - var _ = l.length; - h = h === n ? _ : Rl(St(h), 0, _); - var x = h; - return (h -= d.length), h >= 0 && l.slice(h, x) == d; - } - function Sj(l) { - return (l = Jt(l)), l && Zt.test(l) ? l.replace(Ze, pB) : l; - } - function wj(l) { - return (l = Jt(l)), l && ii.test(l) ? l.replace(Ta, "\\$&") : l; - } - var Aj = zu(function (l, d, h) { - return l + (h ? "-" : "") + d.toLowerCase(); - }), - Cj = zu(function (l, d, h) { - return l + (h ? " " : "") + d.toLowerCase(); - }), - xj = hS("toLowerCase"); - function kj(l, d, h) { - (l = Jt(l)), (d = St(d)); - var _ = d ? Lu(l) : 0; - if (!d || _ >= d) return l; - var x = (d - _) / 2; - return Df(yf(x), h) + l + Df(vf(x), h); - } - function Ij(l, d, h) { - (l = Jt(l)), (d = St(d)); - var _ = d ? Lu(l) : 0; - return d && _ < d ? l + Df(d - _, h) : l; - } - function Rj(l, d, h) { - (l = Jt(l)), (d = St(d)); - var _ = d ? Lu(l) : 0; - return d && _ < d ? Df(d - _, h) + l : l; - } - function Nj(l, d, h) { - return ( - h || d == null ? (d = 0) : d && (d = +d), - BB(Jt(l).replace(Ir, ""), d || 0) - ); - } - function Oj(l, d, h) { - return ( - (h ? Kr(l, d, h) : d === n) ? (d = 1) : (d = St(d)), Ym(Jt(l), d) - ); - } - function Dj() { - var l = arguments, - d = Jt(l[0]); - return l.length < 3 ? d : d.replace(l[1], l[2]); - } - var Lj = zu(function (l, d, h) { - return l + (h ? "_" : "") + d.toLowerCase(); - }); - function Mj(l, d, h) { - return ( - h && typeof h != "number" && Kr(l, d, h) && (d = h = n), - (h = h === n ? me : h >>> 0), - h - ? ((l = Jt(l)), - l && - (typeof d == "string" || (d != null && !E5(d))) && - ((d = wi(d)), !d && Du(l)) - ? Ts(Sa(l), 0, h) - : l.split(d, h)) - : [] - ); - } - var Fj = zu(function (l, d, h) { - return l + (h ? " " : "") + _5(d); - }); - function Pj(l, d, h) { - return ( - (l = Jt(l)), - (h = h == null ? 0 : Rl(St(h), 0, l.length)), - (d = wi(d)), - l.slice(h, h + d.length) == d - ); - } - function Bj(l, d, h) { - var _ = M.templateSettings; - h && Kr(l, d, h) && (d = n), (l = Jt(l)), (d = Vf({}, d, _, _S)); - var x = Vf({}, d.imports, _.imports, _S), - F = or(x), - H = Om(x, F), - X, - ae, - we = 0, - Ce = d.interpolate || Yn, - Ie = "__p += '", - Ye = Lm( - (d.escape || Yn).source + - "|" + - Ce.source + - "|" + - (Ce === Yt ? Al : Yn).source + - "|" + - (d.evaluate || Yn).source + - "|$", - "g" - ), - st = - "//# sourceURL=" + - (rn.call(d, "sourceURL") - ? (d.sourceURL + "").replace(/\s/g, " ") - : "lodash.templateSources[" + ++qP + "]") + - ` -`; - l.replace(Ye, function (Et, Nt, Ut, Ci, Yr, xi) { - return ( - Ut || (Ut = Ci), - (Ie += l.slice(we, xi).replace(wo, fB)), - Nt && - ((X = !0), - (Ie += - `' + -__e(` + - Nt + - `) + -'`)), - Yr && - ((ae = !0), - (Ie += - `'; -` + - Yr + - `; -__p += '`)), - Ut && - (Ie += - `' + -((__t = (` + - Ut + - `)) == null ? '' : __t) + -'`), - (we = xi + Et.length), - Et - ); - }), - (Ie += `'; -`); - var bt = rn.call(d, "variable") && d.variable; - if (!bt) - Ie = - `with (obj) { -` + - Ie + - ` + */Lg.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",s="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",c=500,p="__lodash_placeholder__",f=1,m=2,g=4,E=1,b=2,T=1,v=2,y=4,w=8,A=16,D=32,k=64,R=128,B=256,W=512,P=30,Q="...",z=800,le=16,he=1,de=2,fe=3,Z=1/0,V=9007199254740991,ce=17976931348623157e292,N=0/0,me=4294967295,oe=me-1,O=me>>>1,re=[["ary",R],["bind",T],["bindKey",v],["curry",w],["curryRight",A],["flip",W],["partial",D],["partialRight",k],["rearg",B]],Te="[object Arguments]",K="[object Array]",xe="[object AsyncFunction]",ne="[object Boolean]",Le="[object Date]",Re="[object DOMException]",Xe="[object Error]",Ve="[object Function]",dt="[object GeneratorFunction]",ot="[object Map]",Ge="[object Number]",pt="[object Null]",U="[object Object]",ie="[object Promise]",pe="[object Proxy]",ke="[object RegExp]",ve="[object Set]",Se="[object String]",Me="[object Symbol]",ze="[object Undefined]",Ke="[object WeakMap]",jt="[object WeakSet]",ue="[object ArrayBuffer]",ye="[object DataView]",We="[object Float32Array]",at="[object Float64Array]",Qe="[object Int8Array]",Y="[object Int16Array]",se="[object Int32Array]",j="[object Uint8Array]",$="[object Uint8ClampedArray]",J="[object Uint16Array]",be="[object Uint32Array]",Fe=/\b__p \+= '';/g,De=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Je=/&(?:amp|lt|gt|quot|#39);/g,Ze=/[&<>"']/g,Rt=RegExp(Je.source),Zt=RegExp(Ze.source),kt=/<%-([\s\S]+?)%>/g,nn=/<%([\s\S]+?)%>/g,Yt=/<%=([\s\S]+?)%>/g,jr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gr=/^\w*$/,Vr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ta=/[\\^$.*+?()[\]{}|]/g,ii=RegExp(Ta.source),Ir=/^\s+/,ps=/\s/,fs=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Wr=/\{\n\/\* \[wrapped with (.+)\] \*/,hs=/,? & /,Wt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rr=/[()=,{}\[\]\/\s]/,_i=/\\(\\)?/g,Al=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qe=/\w*$/,ee=/^[-+]0x[0-9a-f]+$/i,Be=/^0b[01]+$/i,it=/^\[object .+?Constructor\]$/,ln=/^0o[0-7]+$/i,ir=/^(?:0|[1-9]\d*)$/,ar=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Yn=/($^)/,wo=/['\n\r\u2028\u2029\\]/g,Xa="\\ud800-\\udfff",Nr="\\u0300-\\u036f",rf="\\ufe20-\\ufe2f",af="\\u20d0-\\u20ff",V7=Nr+rf+af,W7="\\u2700-\\u27bf",q7="a-z\\xdf-\\xf6\\xf8-\\xff",kP="\\xac\\xb1\\xd7\\xf7",IP="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",RP="\\u2000-\\u206f",NP=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",K7="A-Z\\xc0-\\xd6\\xd8-\\xde",Y7="\\ufe0e\\ufe0f",X7=kP+IP+RP+NP,Em="['’]",OP="["+Xa+"]",Z7="["+X7+"]",of="["+V7+"]",Q7="\\d+",DP="["+W7+"]",J7="["+q7+"]",eT="[^"+Xa+X7+Q7+W7+q7+K7+"]",vm="\\ud83c[\\udffb-\\udfff]",LP="(?:"+of+"|"+vm+")",tT="[^"+Xa+"]",ym="(?:\\ud83c[\\udde6-\\uddff]){2}",_m="[\\ud800-\\udbff][\\udc00-\\udfff]",Nu="["+K7+"]",nT="\\u200d",rT="(?:"+J7+"|"+eT+")",MP="(?:"+Nu+"|"+eT+")",iT="(?:"+Em+"(?:d|ll|m|re|s|t|ve))?",aT="(?:"+Em+"(?:D|LL|M|RE|S|T|VE))?",oT=LP+"?",sT="["+Y7+"]?",FP="(?:"+nT+"(?:"+[tT,ym,_m].join("|")+")"+sT+oT+")*",PP="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",BP="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",lT=sT+oT+FP,UP="(?:"+[DP,ym,_m].join("|")+")"+lT,$P="(?:"+[tT+of+"?",of,ym,_m,OP].join("|")+")",zP=RegExp(Em,"g"),HP=RegExp(of,"g"),Tm=RegExp(vm+"(?="+vm+")|"+$P+lT,"g"),jP=RegExp([Nu+"?"+J7+"+"+iT+"(?="+[Z7,Nu,"$"].join("|")+")",MP+"+"+aT+"(?="+[Z7,Nu+rT,"$"].join("|")+")",Nu+"?"+rT+"+"+iT,Nu+"+"+aT,BP,PP,Q7,UP].join("|"),"g"),GP=RegExp("["+nT+Xa+V7+Y7+"]"),VP=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,WP=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],qP=-1,En={};En[We]=En[at]=En[Qe]=En[Y]=En[se]=En[j]=En[$]=En[J]=En[be]=!0,En[Te]=En[K]=En[ue]=En[ne]=En[ye]=En[Le]=En[Xe]=En[Ve]=En[ot]=En[Ge]=En[U]=En[ke]=En[ve]=En[Se]=En[Ke]=!1;var gn={};gn[Te]=gn[K]=gn[ue]=gn[ye]=gn[ne]=gn[Le]=gn[We]=gn[at]=gn[Qe]=gn[Y]=gn[se]=gn[ot]=gn[Ge]=gn[U]=gn[ke]=gn[ve]=gn[Se]=gn[Me]=gn[j]=gn[$]=gn[J]=gn[be]=!0,gn[Xe]=gn[Ve]=gn[Ke]=!1;var KP={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},YP={"&":"&","<":"<",">":">",'"':""","'":"'"},XP={"&":"&","<":"<",">":">",""":'"',"'":"'"},ZP={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},QP=parseFloat,JP=parseInt,uT=typeof ql=="object"&&ql&&ql.Object===Object&&ql,eB=typeof self=="object"&&self&&self.Object===Object&&self,hr=uT||eB||Function("return this")(),Sm=t&&!t.nodeType&&t,Cl=Sm&&!0&&e&&!e.nodeType&&e,cT=Cl&&Cl.exports===Sm,wm=cT&&uT.process,Wi=function(){try{var te=Cl&&Cl.require&&Cl.require("util").types;return te||wm&&wm.binding&&wm.binding("util")}catch{}}(),dT=Wi&&Wi.isArrayBuffer,pT=Wi&&Wi.isDate,fT=Wi&&Wi.isMap,hT=Wi&&Wi.isRegExp,gT=Wi&&Wi.isSet,mT=Wi&&Wi.isTypedArray;function Ti(te,_e,ge){switch(ge.length){case 0:return te.call(_e);case 1:return te.call(_e,ge[0]);case 2:return te.call(_e,ge[0],ge[1]);case 3:return te.call(_e,ge[0],ge[1],ge[2])}return te.apply(_e,ge)}function tB(te,_e,ge,et){for(var _t=-1,Qt=te==null?0:te.length;++_t-1}function Am(te,_e,ge){for(var et=-1,_t=te==null?0:te.length;++et<_t;)if(ge(_e,te[et]))return!0;return!1}function wn(te,_e){for(var ge=-1,et=te==null?0:te.length,_t=Array(et);++ge-1;);return ge}function wT(te,_e){for(var ge=te.length;ge--&&Ou(_e,te[ge],0)>-1;);return ge}function cB(te,_e){for(var ge=te.length,et=0;ge--;)te[ge]===_e&&++et;return et}var dB=Im(KP),pB=Im(YP);function fB(te){return"\\"+ZP[te]}function hB(te,_e){return te==null?n:te[_e]}function Du(te){return GP.test(te)}function gB(te){return VP.test(te)}function mB(te){for(var _e,ge=[];!(_e=te.next()).done;)ge.push(_e.value);return ge}function Dm(te){var _e=-1,ge=Array(te.size);return te.forEach(function(et,_t){ge[++_e]=[_t,et]}),ge}function AT(te,_e){return function(ge){return te(_e(ge))}}function bs(te,_e){for(var ge=-1,et=te.length,_t=0,Qt=[];++ge-1}function rU(l,d){var h=this.__data__,_=wf(h,l);return _<0?(++this.size,h.push([l,d])):h[_][1]=d,this}Ao.prototype.clear=JB,Ao.prototype.delete=eU,Ao.prototype.get=tU,Ao.prototype.has=nU,Ao.prototype.set=rU;function Co(l){var d=-1,h=l==null?0:l.length;for(this.clear();++d=d?l:d)),l}function Xi(l,d,h,_,x,F){var H,X=d&f,ae=d&m,we=d&g;if(h&&(H=x?h(l,_,x,F):h(l)),H!==n)return H;if(!In(l))return l;var Ce=Tt(l);if(Ce){if(H=s$(l),!X)return ai(l,H)}else{var Ie=Dr(l),Ye=Ie==Ve||Ie==dt;if(Ss(l))return sS(l,X);if(Ie==U||Ie==Te||Ye&&!x){if(H=ae||Ye?{}:CS(l),!X)return ae?XU(l,vU(H,l)):YU(l,PT(H,l))}else{if(!gn[Ie])return x?l:{};H=l$(l,Ie,X)}}F||(F=new wa);var st=F.get(l);if(st)return st;F.set(l,H),tw(l)?l.forEach(function(Et){H.add(Xi(Et,d,h,Et,l,F))}):JS(l)&&l.forEach(function(Et,Nt){H.set(Nt,Xi(Et,d,h,Nt,l,F))});var bt=we?ae?a5:i5:ae?si:or,At=Ce?n:bt(l);return qi(At||l,function(Et,Nt){At&&(Nt=Et,Et=l[Nt]),Ac(H,Nt,Xi(Et,d,h,Nt,l,F))}),H}function yU(l){var d=or(l);return function(h){return BT(h,l,d)}}function BT(l,d,h){var _=h.length;if(l==null)return!_;for(l=dn(l);_--;){var x=h[_],F=d[x],H=l[x];if(H===n&&!(x in l)||!F(H))return!1}return!0}function UT(l,d,h){if(typeof l!="function")throw new Ki(o);return Oc(function(){l.apply(n,h)},d)}function Cc(l,d,h,_){var x=-1,F=sf,H=!0,X=l.length,ae=[],we=d.length;if(!X)return ae;h&&(d=wn(d,Si(h))),_?(F=Am,H=!1):d.length>=i&&(F=vc,H=!1,d=new Il(d));e:for(;++xx?0:x+h),_=_===n||_>x?x:St(_),_<0&&(_+=x),_=h>_?0:rw(_);h<_;)l[h++]=d;return l}function zT(l,d){var h=[];return vs(l,function(_,x,F){d(_,x,F)&&h.push(_)}),h}function gr(l,d,h,_,x){var F=-1,H=l.length;for(h||(h=c$),x||(x=[]);++F0&&h(X)?d>1?gr(X,d-1,h,_,x):ms(x,X):_||(x[x.length]=X)}return x}var $m=fS(),HT=fS(!0);function Za(l,d){return l&&$m(l,d,or)}function zm(l,d){return l&&HT(l,d,or)}function Cf(l,d){return gs(d,function(h){return No(l[h])})}function Nl(l,d){d=_s(d,l);for(var h=0,_=d.length;l!=null&&h<_;)l=l[Ja(d[h++])];return h&&h==_?l:n}function jT(l,d,h){var _=d(l);return Tt(l)?_:ms(_,h(l))}function qr(l){return l==null?l===n?ze:pt:xl&&xl in dn(l)?i$(l):b$(l)}function Hm(l,d){return l>d}function SU(l,d){return l!=null&&rn.call(l,d)}function wU(l,d){return l!=null&&d in dn(l)}function AU(l,d,h){return l>=Or(d,h)&&l=120&&Ce.length>=120)?new Il(H&&Ce):n}Ce=l[0];var Ie=-1,Ye=X[0];e:for(;++Ie-1;)X!==l&&bf.call(X,ae,1),bf.call(l,ae,1);return l}function JT(l,d){for(var h=l?d.length:0,_=h-1;h--;){var x=d[h];if(h==_||x!==F){var F=x;Ro(x)?bf.call(l,x,1):Zm(l,x)}}return l}function Km(l,d){return l+yf(DT()*(d-l+1))}function BU(l,d,h,_){for(var x=-1,F=Zn(vf((d-l)/(h||1)),0),H=ge(F);F--;)H[_?F:++x]=l,l+=h;return H}function Ym(l,d){var h="";if(!l||d<1||d>V)return h;do d%2&&(h+=l),d=yf(d/2),d&&(l+=l);while(d);return h}function It(l,d){return p5(IS(l,d,li),l+"")}function UU(l){return FT(Gu(l))}function $U(l,d){var h=Gu(l);return Pf(h,Rl(d,0,h.length))}function Ic(l,d,h,_){if(!In(l))return l;d=_s(d,l);for(var x=-1,F=d.length,H=F-1,X=l;X!=null&&++xx?0:x+d),h=h>x?x:h,h<0&&(h+=x),x=d>h?0:h-d>>>0,d>>>=0;for(var F=ge(x);++_>>1,H=l[F];H!==null&&!Ai(H)&&(h?H<=d:H=i){var we=d?null:e$(l);if(we)return uf(we);H=!1,x=vc,ae=new Il}else ae=d?[]:X;e:for(;++_=_?l:Zi(l,d,h)}var oS=NB||function(l){return hr.clearTimeout(l)};function sS(l,d){if(d)return l.slice();var h=l.length,_=kT?kT(h):new l.constructor(h);return l.copy(_),_}function t5(l){var d=new l.constructor(l.byteLength);return new gf(d).set(new gf(l)),d}function VU(l,d){var h=d?t5(l.buffer):l.buffer;return new l.constructor(h,l.byteOffset,l.byteLength)}function WU(l){var d=new l.constructor(l.source,qe.exec(l));return d.lastIndex=l.lastIndex,d}function qU(l){return wc?dn(wc.call(l)):{}}function lS(l,d){var h=d?t5(l.buffer):l.buffer;return new l.constructor(h,l.byteOffset,l.length)}function uS(l,d){if(l!==d){var h=l!==n,_=l===null,x=l===l,F=Ai(l),H=d!==n,X=d===null,ae=d===d,we=Ai(d);if(!X&&!we&&!F&&l>d||F&&H&&ae&&!X&&!we||_&&H&&ae||!h&&ae||!x)return 1;if(!_&&!F&&!we&&l=X)return ae;var we=h[_];return ae*(we=="desc"?-1:1)}}return l.index-d.index}function cS(l,d,h,_){for(var x=-1,F=l.length,H=h.length,X=-1,ae=d.length,we=Zn(F-H,0),Ce=ge(ae+we),Ie=!_;++X1?h[x-1]:n,H=x>2?h[2]:n;for(F=l.length>3&&typeof F=="function"?(x--,F):n,H&&Kr(h[0],h[1],H)&&(F=x<3?n:F,x=1),d=dn(d);++_-1?x[F?d[H]:H]:n}}function mS(l){return Io(function(d){var h=d.length,_=h,x=Yi.prototype.thru;for(l&&d.reverse();_--;){var F=d[_];if(typeof F!="function")throw new Ki(o);if(x&&!H&&Mf(F)=="wrapper")var H=new Yi([],!0)}for(_=H?_:h;++_1&&Ut.reverse(),Ce&&aeX))return!1;var we=F.get(l),Ce=F.get(d);if(we&&Ce)return we==d&&Ce==l;var Ie=-1,Ye=!0,st=h&b?new Il:n;for(F.set(l,d),F.set(d,l);++Ie1?"& ":"")+d[_],d=d.join(h>2?", ":" "),l.replace(fs,`{ +/* [wrapped with `+d+`] */ +`)}function c$(l){return Tt(l)||Ll(l)||!!(NT&&l&&l[NT])}function Ro(l,d){var h=typeof l;return d=d??V,!!d&&(h=="number"||h!="symbol"&&ir.test(l))&&l>-1&&l%1==0&&l0){if(++d>=z)return arguments[0]}else d=0;return l.apply(n,arguments)}}function Pf(l,d){var h=-1,_=l.length,x=_-1;for(d=d===n?_:d;++h1?l[d-1]:n;return h=typeof h=="function"?(l.pop(),h):n,zS(l,h)});function HS(l){var d=M(l);return d.__chain__=!0,d}function _z(l,d){return d(l),l}function Bf(l,d){return d(l)}var Tz=Io(function(l){var d=l.length,h=d?l[0]:0,_=this.__wrapped__,x=function(F){return Um(F,l)};return d>1||this.__actions__.length||!(_ instanceof Ft)||!Ro(h)?this.thru(x):(_=_.slice(h,+h+(d?1:0)),_.__actions__.push({func:Bf,args:[x],thisArg:n}),new Yi(_,this.__chain__).thru(function(F){return d&&!F.length&&F.push(n),F}))});function Sz(){return HS(this)}function wz(){return new Yi(this.value(),this.__chain__)}function Az(){this.__values__===n&&(this.__values__=nw(this.value()));var l=this.__index__>=this.__values__.length,d=l?n:this.__values__[this.__index__++];return{done:l,value:d}}function Cz(){return this}function xz(l){for(var d,h=this;h instanceof Sf;){var _=MS(h);_.__index__=0,_.__values__=n,d?x.__wrapped__=_:d=_;var x=_;h=h.__wrapped__}return x.__wrapped__=l,d}function kz(){var l=this.__wrapped__;if(l instanceof Ft){var d=l;return this.__actions__.length&&(d=new Ft(this)),d=d.reverse(),d.__actions__.push({func:Bf,args:[f5],thisArg:n}),new Yi(d,this.__chain__)}return this.thru(f5)}function Iz(){return iS(this.__wrapped__,this.__actions__)}var Rz=Rf(function(l,d,h){rn.call(l,h)?++l[h]:xo(l,h,1)});function Nz(l,d,h){var _=Tt(l)?bT:_U;return h&&Kr(l,d,h)&&(d=n),_(l,mt(d,3))}function Oz(l,d){var h=Tt(l)?gs:zT;return h(l,mt(d,3))}var Dz=gS(FS),Lz=gS(PS);function Mz(l,d){return gr(Uf(l,d),1)}function Fz(l,d){return gr(Uf(l,d),Z)}function Pz(l,d,h){return h=h===n?1:St(h),gr(Uf(l,d),h)}function jS(l,d){var h=Tt(l)?qi:vs;return h(l,mt(d,3))}function GS(l,d){var h=Tt(l)?nB:$T;return h(l,mt(d,3))}var Bz=Rf(function(l,d,h){rn.call(l,h)?l[h].push(d):xo(l,h,[d])});function Uz(l,d,h,_){l=oi(l)?l:Gu(l),h=h&&!_?St(h):0;var x=l.length;return h<0&&(h=Zn(x+h,0)),Gf(l)?h<=x&&l.indexOf(d,h)>-1:!!x&&Ou(l,d,h)>-1}var $z=It(function(l,d,h){var _=-1,x=typeof d=="function",F=oi(l)?ge(l.length):[];return vs(l,function(H){F[++_]=x?Ti(d,H,h):xc(H,d,h)}),F}),zz=Rf(function(l,d,h){xo(l,h,d)});function Uf(l,d){var h=Tt(l)?wn:qT;return h(l,mt(d,3))}function Hz(l,d,h,_){return l==null?[]:(Tt(d)||(d=d==null?[]:[d]),h=_?n:h,Tt(h)||(h=h==null?[]:[h]),ZT(l,d,h))}var jz=Rf(function(l,d,h){l[h?0:1].push(d)},function(){return[[],[]]});function Gz(l,d,h){var _=Tt(l)?Cm:_T,x=arguments.length<3;return _(l,mt(d,4),h,x,vs)}function Vz(l,d,h){var _=Tt(l)?rB:_T,x=arguments.length<3;return _(l,mt(d,4),h,x,$T)}function Wz(l,d){var h=Tt(l)?gs:zT;return h(l,Hf(mt(d,3)))}function qz(l){var d=Tt(l)?FT:UU;return d(l)}function Kz(l,d,h){(h?Kr(l,d,h):d===n)?d=1:d=St(d);var _=Tt(l)?mU:$U;return _(l,d)}function Yz(l){var d=Tt(l)?bU:HU;return d(l)}function Xz(l){if(l==null)return 0;if(oi(l))return Gf(l)?Lu(l):l.length;var d=Dr(l);return d==ot||d==ve?l.size:Vm(l).length}function Zz(l,d,h){var _=Tt(l)?xm:jU;return h&&Kr(l,d,h)&&(d=n),_(l,mt(d,3))}var Qz=It(function(l,d){if(l==null)return[];var h=d.length;return h>1&&Kr(l,d[0],d[1])?d=[]:h>2&&Kr(d[0],d[1],d[2])&&(d=[d[0]]),ZT(l,gr(d,1),[])}),$f=OB||function(){return hr.Date.now()};function Jz(l,d){if(typeof d!="function")throw new Ki(o);return l=St(l),function(){if(--l<1)return d.apply(this,arguments)}}function VS(l,d,h){return d=h?n:d,d=l&&d==null?l.length:d,ko(l,R,n,n,n,n,d)}function WS(l,d){var h;if(typeof d!="function")throw new Ki(o);return l=St(l),function(){return--l>0&&(h=d.apply(this,arguments)),l<=1&&(d=n),h}}var g5=It(function(l,d,h){var _=T;if(h.length){var x=bs(h,Hu(g5));_|=D}return ko(l,_,d,h,x)}),qS=It(function(l,d,h){var _=T|v;if(h.length){var x=bs(h,Hu(qS));_|=D}return ko(d,_,l,h,x)});function KS(l,d,h){d=h?n:d;var _=ko(l,w,n,n,n,n,n,d);return _.placeholder=KS.placeholder,_}function YS(l,d,h){d=h?n:d;var _=ko(l,A,n,n,n,n,n,d);return _.placeholder=YS.placeholder,_}function XS(l,d,h){var _,x,F,H,X,ae,we=0,Ce=!1,Ie=!1,Ye=!0;if(typeof l!="function")throw new Ki(o);d=Ji(d)||0,In(h)&&(Ce=!!h.leading,Ie="maxWait"in h,F=Ie?Zn(Ji(h.maxWait)||0,d):F,Ye="trailing"in h?!!h.trailing:Ye);function st(zn){var Ca=_,Do=x;return _=x=n,we=zn,H=l.apply(Do,Ca),H}function bt(zn){return we=zn,X=Oc(Nt,d),Ce?st(zn):H}function At(zn){var Ca=zn-ae,Do=zn-we,gw=d-Ca;return Ie?Or(gw,F-Do):gw}function Et(zn){var Ca=zn-ae,Do=zn-we;return ae===n||Ca>=d||Ca<0||Ie&&Do>=F}function Nt(){var zn=$f();if(Et(zn))return Ut(zn);X=Oc(Nt,At(zn))}function Ut(zn){return X=n,Ye&&_?st(zn):(_=x=n,H)}function Ci(){X!==n&&oS(X),we=0,_=ae=x=X=n}function Yr(){return X===n?H:Ut($f())}function xi(){var zn=$f(),Ca=Et(zn);if(_=arguments,x=this,ae=zn,Ca){if(X===n)return bt(ae);if(Ie)return oS(X),X=Oc(Nt,d),st(ae)}return X===n&&(X=Oc(Nt,d)),H}return xi.cancel=Ci,xi.flush=Yr,xi}var eH=It(function(l,d){return UT(l,1,d)}),tH=It(function(l,d,h){return UT(l,Ji(d)||0,h)});function nH(l){return ko(l,W)}function zf(l,d){if(typeof l!="function"||d!=null&&typeof d!="function")throw new Ki(o);var h=function(){var _=arguments,x=d?d.apply(this,_):_[0],F=h.cache;if(F.has(x))return F.get(x);var H=l.apply(this,_);return h.cache=F.set(x,H)||F,H};return h.cache=new(zf.Cache||Co),h}zf.Cache=Co;function Hf(l){if(typeof l!="function")throw new Ki(o);return function(){var d=arguments;switch(d.length){case 0:return!l.call(this);case 1:return!l.call(this,d[0]);case 2:return!l.call(this,d[0],d[1]);case 3:return!l.call(this,d[0],d[1],d[2])}return!l.apply(this,d)}}function rH(l){return WS(2,l)}var iH=GU(function(l,d){d=d.length==1&&Tt(d[0])?wn(d[0],Si(mt())):wn(gr(d,1),Si(mt()));var h=d.length;return It(function(_){for(var x=-1,F=Or(_.length,h);++x=d}),Ll=GT(function(){return arguments}())?GT:function(l){return Ln(l)&&rn.call(l,"callee")&&!RT.call(l,"callee")},Tt=ge.isArray,vH=dT?Si(dT):xU;function oi(l){return l!=null&&jf(l.length)&&!No(l)}function $n(l){return Ln(l)&&oi(l)}function yH(l){return l===!0||l===!1||Ln(l)&&qr(l)==ne}var Ss=LB||x5,_H=pT?Si(pT):kU;function TH(l){return Ln(l)&&l.nodeType===1&&!Dc(l)}function SH(l){if(l==null)return!0;if(oi(l)&&(Tt(l)||typeof l=="string"||typeof l.splice=="function"||Ss(l)||ju(l)||Ll(l)))return!l.length;var d=Dr(l);if(d==ot||d==ve)return!l.size;if(Nc(l))return!Vm(l).length;for(var h in l)if(rn.call(l,h))return!1;return!0}function wH(l,d){return kc(l,d)}function AH(l,d,h){h=typeof h=="function"?h:n;var _=h?h(l,d):n;return _===n?kc(l,d,n,h):!!_}function b5(l){if(!Ln(l))return!1;var d=qr(l);return d==Xe||d==Re||typeof l.message=="string"&&typeof l.name=="string"&&!Dc(l)}function CH(l){return typeof l=="number"&&OT(l)}function No(l){if(!In(l))return!1;var d=qr(l);return d==Ve||d==dt||d==xe||d==pe}function QS(l){return typeof l=="number"&&l==St(l)}function jf(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=V}function In(l){var d=typeof l;return l!=null&&(d=="object"||d=="function")}function Ln(l){return l!=null&&typeof l=="object"}var JS=fT?Si(fT):RU;function xH(l,d){return l===d||Gm(l,d,s5(d))}function kH(l,d,h){return h=typeof h=="function"?h:n,Gm(l,d,s5(d),h)}function IH(l){return ew(l)&&l!=+l}function RH(l){if(f$(l))throw new _t(a);return VT(l)}function NH(l){return l===null}function OH(l){return l==null}function ew(l){return typeof l=="number"||Ln(l)&&qr(l)==Ge}function Dc(l){if(!Ln(l)||qr(l)!=U)return!1;var d=mf(l);if(d===null)return!0;var h=rn.call(d,"constructor")&&d.constructor;return typeof h=="function"&&h instanceof h&&pf.call(h)==kB}var E5=hT?Si(hT):NU;function DH(l){return QS(l)&&l>=-V&&l<=V}var tw=gT?Si(gT):OU;function Gf(l){return typeof l=="string"||!Tt(l)&&Ln(l)&&qr(l)==Se}function Ai(l){return typeof l=="symbol"||Ln(l)&&qr(l)==Me}var ju=mT?Si(mT):DU;function LH(l){return l===n}function MH(l){return Ln(l)&&Dr(l)==Ke}function FH(l){return Ln(l)&&qr(l)==jt}var PH=Lf(Wm),BH=Lf(function(l,d){return l<=d});function nw(l){if(!l)return[];if(oi(l))return Gf(l)?Sa(l):ai(l);if(yc&&l[yc])return mB(l[yc]());var d=Dr(l),h=d==ot?Dm:d==ve?uf:Gu;return h(l)}function Oo(l){if(!l)return l===0?l:0;if(l=Ji(l),l===Z||l===-Z){var d=l<0?-1:1;return d*ce}return l===l?l:0}function St(l){var d=Oo(l),h=d%1;return d===d?h?d-h:d:0}function rw(l){return l?Rl(St(l),0,me):0}function Ji(l){if(typeof l=="number")return l;if(Ai(l))return N;if(In(l)){var d=typeof l.valueOf=="function"?l.valueOf():l;l=In(d)?d+"":d}if(typeof l!="string")return l===0?l:+l;l=TT(l);var h=Be.test(l);return h||ln.test(l)?JP(l.slice(2),h?2:8):ee.test(l)?N:+l}function iw(l){return Qa(l,si(l))}function UH(l){return l?Rl(St(l),-V,V):l===0?l:0}function Jt(l){return l==null?"":wi(l)}var $H=$u(function(l,d){if(Nc(d)||oi(d)){Qa(d,or(d),l);return}for(var h in d)rn.call(d,h)&&Ac(l,h,d[h])}),aw=$u(function(l,d){Qa(d,si(d),l)}),Vf=$u(function(l,d,h,_){Qa(d,si(d),l,_)}),zH=$u(function(l,d,h,_){Qa(d,or(d),l,_)}),HH=Io(Um);function jH(l,d){var h=Uu(l);return d==null?h:PT(h,d)}var GH=It(function(l,d){l=dn(l);var h=-1,_=d.length,x=_>2?d[2]:n;for(x&&Kr(d[0],d[1],x)&&(_=1);++h<_;)for(var F=d[h],H=si(F),X=-1,ae=H.length;++X1),F}),Qa(l,a5(l),h),_&&(h=Xi(h,f|m|g,t$));for(var x=d.length;x--;)Zm(h,d[x]);return h});function lj(l,d){return sw(l,Hf(mt(d)))}var uj=Io(function(l,d){return l==null?{}:FU(l,d)});function sw(l,d){if(l==null)return{};var h=wn(a5(l),function(_){return[_]});return d=mt(d),QT(l,h,function(_,x){return d(_,x[0])})}function cj(l,d,h){d=_s(d,l);var _=-1,x=d.length;for(x||(x=1,l=n);++_d){var _=l;l=d,d=_}if(h||l%1||d%1){var x=DT();return Or(l+x*(d-l+QP("1e-"+((x+"").length-1))),d)}return Km(l,d)}var _j=zu(function(l,d,h){return d=d.toLowerCase(),l+(h?cw(d):d)});function cw(l){return _5(Jt(l).toLowerCase())}function dw(l){return l=Jt(l),l&&l.replace(ar,dB).replace(HP,"")}function Tj(l,d,h){l=Jt(l),d=wi(d);var _=l.length;h=h===n?_:Rl(St(h),0,_);var x=h;return h-=d.length,h>=0&&l.slice(h,x)==d}function Sj(l){return l=Jt(l),l&&Zt.test(l)?l.replace(Ze,pB):l}function wj(l){return l=Jt(l),l&&ii.test(l)?l.replace(Ta,"\\$&"):l}var Aj=zu(function(l,d,h){return l+(h?"-":"")+d.toLowerCase()}),Cj=zu(function(l,d,h){return l+(h?" ":"")+d.toLowerCase()}),xj=hS("toLowerCase");function kj(l,d,h){l=Jt(l),d=St(d);var _=d?Lu(l):0;if(!d||_>=d)return l;var x=(d-_)/2;return Df(yf(x),h)+l+Df(vf(x),h)}function Ij(l,d,h){l=Jt(l),d=St(d);var _=d?Lu(l):0;return d&&_>>0,h?(l=Jt(l),l&&(typeof d=="string"||d!=null&&!E5(d))&&(d=wi(d),!d&&Du(l))?Ts(Sa(l),0,h):l.split(d,h)):[]}var Fj=zu(function(l,d,h){return l+(h?" ":"")+_5(d)});function Pj(l,d,h){return l=Jt(l),h=h==null?0:Rl(St(h),0,l.length),d=wi(d),l.slice(h,h+d.length)==d}function Bj(l,d,h){var _=M.templateSettings;h&&Kr(l,d,h)&&(d=n),l=Jt(l),d=Vf({},d,_,_S);var x=Vf({},d.imports,_.imports,_S),F=or(x),H=Om(x,F),X,ae,we=0,Ce=d.interpolate||Yn,Ie="__p += '",Ye=Lm((d.escape||Yn).source+"|"+Ce.source+"|"+(Ce===Yt?Al:Yn).source+"|"+(d.evaluate||Yn).source+"|$","g"),st="//# sourceURL="+(rn.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++qP+"]")+` +`;l.replace(Ye,function(Et,Nt,Ut,Ci,Yr,xi){return Ut||(Ut=Ci),Ie+=l.slice(we,xi).replace(wo,fB),Nt&&(X=!0,Ie+=`' + +__e(`+Nt+`) + +'`),Yr&&(ae=!0,Ie+=`'; +`+Yr+`; +__p += '`),Ut&&(Ie+=`' + +((__t = (`+Ut+`)) == null ? '' : __t) + +'`),we=xi+Et.length,Et}),Ie+=`'; +`;var bt=rn.call(d,"variable")&&d.variable;if(!bt)Ie=`with (obj) { +`+Ie+` } -`; - else if (Rr.test(bt)) throw new _t(s); - (Ie = (ae ? Ie.replace(Fe, "") : Ie) - .replace(De, "$1") - .replace(tt, "$1;")), - (Ie = - "function(" + - (bt || "obj") + - `) { -` + - (bt - ? "" - : `obj || (obj = {}); -`) + - "var __t, __p = ''" + - (X ? ", __e = _.escape" : "") + - (ae - ? `, __j = Array.prototype.join; +`;else if(Rr.test(bt))throw new _t(s);Ie=(ae?Ie.replace(Fe,""):Ie).replace(De,"$1").replace(tt,"$1;"),Ie="function("+(bt||"obj")+`) { +`+(bt?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(X?", __e = _.escape":"")+(ae?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } -` - : `; -`) + - Ie + - `return __p -}`); - var At = fw(function () { - return Qt(F, st + "return " + Ie).apply(n, H); - }); - if (((At.source = Ie), b5(At))) throw At; - return At; - } - function Uj(l) { - return Jt(l).toLowerCase(); - } - function $j(l) { - return Jt(l).toUpperCase(); - } - function zj(l, d, h) { - if (((l = Jt(l)), l && (h || d === n))) return TT(l); - if (!l || !(d = wi(d))) return l; - var _ = Sa(l), - x = Sa(d), - F = ST(_, x), - H = wT(_, x) + 1; - return Ts(_, F, H).join(""); - } - function Hj(l, d, h) { - if (((l = Jt(l)), l && (h || d === n))) return l.slice(0, CT(l) + 1); - if (!l || !(d = wi(d))) return l; - var _ = Sa(l), - x = wT(_, Sa(d)) + 1; - return Ts(_, 0, x).join(""); - } - function jj(l, d, h) { - if (((l = Jt(l)), l && (h || d === n))) return l.replace(Ir, ""); - if (!l || !(d = wi(d))) return l; - var _ = Sa(l), - x = ST(_, Sa(d)); - return Ts(_, x).join(""); - } - function Gj(l, d) { - var h = P, - _ = Q; - if (In(d)) { - var x = "separator" in d ? d.separator : x; - (h = "length" in d ? St(d.length) : h), - (_ = "omission" in d ? wi(d.omission) : _); - } - l = Jt(l); - var F = l.length; - if (Du(l)) { - var H = Sa(l); - F = H.length; - } - if (h >= F) return l; - var X = h - Lu(_); - if (X < 1) return _; - var ae = H ? Ts(H, 0, X).join("") : l.slice(0, X); - if (x === n) return ae + _; - if ((H && (X += ae.length - X), E5(x))) { - if (l.slice(X).search(x)) { - var we, - Ce = ae; - for ( - x.global || (x = Lm(x.source, Jt(qe.exec(x)) + "g")), - x.lastIndex = 0; - (we = x.exec(Ce)); - - ) - var Ie = we.index; - ae = ae.slice(0, Ie === n ? X : Ie); - } - } else if (l.indexOf(wi(x), X) != X) { - var Ye = ae.lastIndexOf(x); - Ye > -1 && (ae = ae.slice(0, Ye)); - } - return ae + _; - } - function Vj(l) { - return (l = Jt(l)), l && Rt.test(l) ? l.replace(Je, yB) : l; - } - var Wj = zu(function (l, d, h) { - return l + (h ? " " : "") + d.toUpperCase(); - }), - _5 = hS("toUpperCase"); - function pw(l, d, h) { - return ( - (l = Jt(l)), - (d = h ? n : d), - d === n ? (gB(l) ? SB(l) : oB(l)) : l.match(d) || [] - ); - } - var fw = It(function (l, d) { - try { - return Ti(l, n, d); - } catch (h) { - return b5(h) ? h : new _t(h); - } - }), - qj = Io(function (l, d) { - return ( - qi(d, function (h) { - (h = Ja(h)), xo(l, h, g5(l[h], l)); - }), - l - ); - }); - function Kj(l) { - var d = l == null ? 0 : l.length, - h = mt(); - return ( - (l = d - ? wn(l, function (_) { - if (typeof _[1] != "function") throw new Ki(o); - return [h(_[0]), _[1]]; - }) - : []), - It(function (_) { - for (var x = -1; ++x < d; ) { - var F = l[x]; - if (Ti(F[0], this, _)) return Ti(F[1], this, _); - } - }) - ); - } - function Yj(l) { - return yU(Xi(l, f)); - } - function T5(l) { - return function () { - return l; - }; - } - function Xj(l, d) { - return l == null || l !== l ? d : l; - } - var Zj = mS(), - Qj = mS(!0); - function li(l) { - return l; - } - function S5(l) { - return WT(typeof l == "function" ? l : Xi(l, f)); - } - function Jj(l) { - return KT(Xi(l, f)); - } - function eG(l, d) { - return YT(l, Xi(d, f)); - } - var tG = It(function (l, d) { - return function (h) { - return xc(h, l, d); - }; - }), - nG = It(function (l, d) { - return function (h) { - return xc(l, h, d); - }; - }); - function w5(l, d, h) { - var _ = or(d), - x = Cf(d, _); - h == null && - !(In(d) && (x.length || !_.length)) && - ((h = d), (d = l), (l = this), (x = Cf(d, or(d)))); - var F = !(In(h) && "chain" in h) || !!h.chain, - H = No(l); - return ( - qi(x, function (X) { - var ae = d[X]; - (l[X] = ae), - H && - (l.prototype[X] = function () { - var we = this.__chain__; - if (F || we) { - var Ce = l(this.__wrapped__), - Ie = (Ce.__actions__ = ai(this.__actions__)); - return ( - Ie.push({ func: ae, args: arguments, thisArg: l }), - (Ce.__chain__ = we), - Ce - ); - } - return ae.apply(l, ms([this.value()], arguments)); - }); - }), - l - ); - } - function rG() { - return hr._ === this && (hr._ = IB), this; - } - function A5() {} - function iG(l) { - return ( - (l = St(l)), - It(function (d) { - return XT(d, l); - }) - ); - } - var aG = n5(wn), - oG = n5(bT), - sG = n5(xm); - function hw(l) { - return u5(l) ? km(Ja(l)) : PU(l); - } - function lG(l) { - return function (d) { - return l == null ? n : Nl(l, d); - }; - } - var uG = ES(), - cG = ES(!0); - function C5() { - return []; - } - function x5() { - return !1; - } - function dG() { - return {}; - } - function pG() { - return ""; - } - function fG() { - return !0; - } - function hG(l, d) { - if (((l = St(l)), l < 1 || l > V)) return []; - var h = me, - _ = Or(l, me); - (d = mt(d)), (l -= me); - for (var x = Nm(_, d); ++h < l; ) d(h); - return x; - } - function gG(l) { - return Tt(l) ? wn(l, Ja) : Ai(l) ? [l] : ai(LS(Jt(l))); - } - function mG(l) { - var d = ++xB; - return Jt(l) + d; - } - var bG = Of(function (l, d) { - return l + d; - }, 0), - EG = r5("ceil"), - vG = Of(function (l, d) { - return l / d; - }, 1), - yG = r5("floor"); - function _G(l) { - return l && l.length ? Af(l, li, Hm) : n; - } - function TG(l, d) { - return l && l.length ? Af(l, mt(d, 2), Hm) : n; - } - function SG(l) { - return yT(l, li); - } - function wG(l, d) { - return yT(l, mt(d, 2)); - } - function AG(l) { - return l && l.length ? Af(l, li, Wm) : n; - } - function CG(l, d) { - return l && l.length ? Af(l, mt(d, 2), Wm) : n; - } - var xG = Of(function (l, d) { - return l * d; - }, 1), - kG = r5("round"), - IG = Of(function (l, d) { - return l - d; - }, 0); - function RG(l) { - return l && l.length ? Rm(l, li) : 0; - } - function NG(l, d) { - return l && l.length ? Rm(l, mt(d, 2)) : 0; - } - return ( - (M.after = Jz), - (M.ary = VS), - (M.assign = $H), - (M.assignIn = aw), - (M.assignInWith = Vf), - (M.assignWith = zH), - (M.at = HH), - (M.before = WS), - (M.bind = g5), - (M.bindAll = qj), - (M.bindKey = qS), - (M.castArray = dH), - (M.chain = HS), - (M.chunk = y$), - (M.compact = _$), - (M.concat = T$), - (M.cond = Kj), - (M.conforms = Yj), - (M.constant = T5), - (M.countBy = Rz), - (M.create = jH), - (M.curry = KS), - (M.curryRight = YS), - (M.debounce = XS), - (M.defaults = GH), - (M.defaultsDeep = VH), - (M.defer = eH), - (M.delay = tH), - (M.difference = S$), - (M.differenceBy = w$), - (M.differenceWith = A$), - (M.drop = C$), - (M.dropRight = x$), - (M.dropRightWhile = k$), - (M.dropWhile = I$), - (M.fill = R$), - (M.filter = Oz), - (M.flatMap = Mz), - (M.flatMapDeep = Fz), - (M.flatMapDepth = Pz), - (M.flatten = BS), - (M.flattenDeep = N$), - (M.flattenDepth = O$), - (M.flip = nH), - (M.flow = Zj), - (M.flowRight = Qj), - (M.fromPairs = D$), - (M.functions = QH), - (M.functionsIn = JH), - (M.groupBy = Bz), - (M.initial = M$), - (M.intersection = F$), - (M.intersectionBy = P$), - (M.intersectionWith = B$), - (M.invert = tj), - (M.invertBy = nj), - (M.invokeMap = $z), - (M.iteratee = S5), - (M.keyBy = zz), - (M.keys = or), - (M.keysIn = si), - (M.map = Uf), - (M.mapKeys = ij), - (M.mapValues = aj), - (M.matches = Jj), - (M.matchesProperty = eG), - (M.memoize = zf), - (M.merge = oj), - (M.mergeWith = ow), - (M.method = tG), - (M.methodOf = nG), - (M.mixin = w5), - (M.negate = Hf), - (M.nthArg = iG), - (M.omit = sj), - (M.omitBy = lj), - (M.once = rH), - (M.orderBy = Hz), - (M.over = aG), - (M.overArgs = iH), - (M.overEvery = oG), - (M.overSome = sG), - (M.partial = m5), - (M.partialRight = ZS), - (M.partition = jz), - (M.pick = uj), - (M.pickBy = sw), - (M.property = hw), - (M.propertyOf = lG), - (M.pull = H$), - (M.pullAll = $S), - (M.pullAllBy = j$), - (M.pullAllWith = G$), - (M.pullAt = V$), - (M.range = uG), - (M.rangeRight = cG), - (M.rearg = aH), - (M.reject = Wz), - (M.remove = W$), - (M.rest = oH), - (M.reverse = f5), - (M.sampleSize = Kz), - (M.set = dj), - (M.setWith = pj), - (M.shuffle = Yz), - (M.slice = q$), - (M.sortBy = Qz), - (M.sortedUniq = ez), - (M.sortedUniqBy = tz), - (M.split = Mj), - (M.spread = sH), - (M.tail = nz), - (M.take = rz), - (M.takeRight = iz), - (M.takeRightWhile = az), - (M.takeWhile = oz), - (M.tap = _z), - (M.throttle = lH), - (M.thru = Bf), - (M.toArray = nw), - (M.toPairs = lw), - (M.toPairsIn = uw), - (M.toPath = gG), - (M.toPlainObject = iw), - (M.transform = fj), - (M.unary = uH), - (M.union = sz), - (M.unionBy = lz), - (M.unionWith = uz), - (M.uniq = cz), - (M.uniqBy = dz), - (M.uniqWith = pz), - (M.unset = hj), - (M.unzip = h5), - (M.unzipWith = zS), - (M.update = gj), - (M.updateWith = mj), - (M.values = Gu), - (M.valuesIn = bj), - (M.without = fz), - (M.words = pw), - (M.wrap = cH), - (M.xor = hz), - (M.xorBy = gz), - (M.xorWith = mz), - (M.zip = bz), - (M.zipObject = Ez), - (M.zipObjectDeep = vz), - (M.zipWith = yz), - (M.entries = lw), - (M.entriesIn = uw), - (M.extend = aw), - (M.extendWith = Vf), - w5(M, M), - (M.add = bG), - (M.attempt = fw), - (M.camelCase = _j), - (M.capitalize = cw), - (M.ceil = EG), - (M.clamp = Ej), - (M.clone = pH), - (M.cloneDeep = hH), - (M.cloneDeepWith = gH), - (M.cloneWith = fH), - (M.conformsTo = mH), - (M.deburr = dw), - (M.defaultTo = Xj), - (M.divide = vG), - (M.endsWith = Tj), - (M.eq = Aa), - (M.escape = Sj), - (M.escapeRegExp = wj), - (M.every = Nz), - (M.find = Dz), - (M.findIndex = FS), - (M.findKey = WH), - (M.findLast = Lz), - (M.findLastIndex = PS), - (M.findLastKey = qH), - (M.floor = yG), - (M.forEach = jS), - (M.forEachRight = GS), - (M.forIn = KH), - (M.forInRight = YH), - (M.forOwn = XH), - (M.forOwnRight = ZH), - (M.get = v5), - (M.gt = bH), - (M.gte = EH), - (M.has = ej), - (M.hasIn = y5), - (M.head = US), - (M.identity = li), - (M.includes = Uz), - (M.indexOf = L$), - (M.inRange = vj), - (M.invoke = rj), - (M.isArguments = Ll), - (M.isArray = Tt), - (M.isArrayBuffer = vH), - (M.isArrayLike = oi), - (M.isArrayLikeObject = $n), - (M.isBoolean = yH), - (M.isBuffer = Ss), - (M.isDate = _H), - (M.isElement = TH), - (M.isEmpty = SH), - (M.isEqual = wH), - (M.isEqualWith = AH), - (M.isError = b5), - (M.isFinite = CH), - (M.isFunction = No), - (M.isInteger = QS), - (M.isLength = jf), - (M.isMap = JS), - (M.isMatch = xH), - (M.isMatchWith = kH), - (M.isNaN = IH), - (M.isNative = RH), - (M.isNil = OH), - (M.isNull = NH), - (M.isNumber = ew), - (M.isObject = In), - (M.isObjectLike = Ln), - (M.isPlainObject = Dc), - (M.isRegExp = E5), - (M.isSafeInteger = DH), - (M.isSet = tw), - (M.isString = Gf), - (M.isSymbol = Ai), - (M.isTypedArray = ju), - (M.isUndefined = LH), - (M.isWeakMap = MH), - (M.isWeakSet = FH), - (M.join = U$), - (M.kebabCase = Aj), - (M.last = Qi), - (M.lastIndexOf = $$), - (M.lowerCase = Cj), - (M.lowerFirst = xj), - (M.lt = PH), - (M.lte = BH), - (M.max = _G), - (M.maxBy = TG), - (M.mean = SG), - (M.meanBy = wG), - (M.min = AG), - (M.minBy = CG), - (M.stubArray = C5), - (M.stubFalse = x5), - (M.stubObject = dG), - (M.stubString = pG), - (M.stubTrue = fG), - (M.multiply = xG), - (M.nth = z$), - (M.noConflict = rG), - (M.noop = A5), - (M.now = $f), - (M.pad = kj), - (M.padEnd = Ij), - (M.padStart = Rj), - (M.parseInt = Nj), - (M.random = yj), - (M.reduce = Gz), - (M.reduceRight = Vz), - (M.repeat = Oj), - (M.replace = Dj), - (M.result = cj), - (M.round = kG), - (M.runInContext = te), - (M.sample = qz), - (M.size = Xz), - (M.snakeCase = Lj), - (M.some = Zz), - (M.sortedIndex = K$), - (M.sortedIndexBy = Y$), - (M.sortedIndexOf = X$), - (M.sortedLastIndex = Z$), - (M.sortedLastIndexBy = Q$), - (M.sortedLastIndexOf = J$), - (M.startCase = Fj), - (M.startsWith = Pj), - (M.subtract = IG), - (M.sum = RG), - (M.sumBy = NG), - (M.template = Bj), - (M.times = hG), - (M.toFinite = Oo), - (M.toInteger = St), - (M.toLength = rw), - (M.toLower = Uj), - (M.toNumber = Ji), - (M.toSafeInteger = UH), - (M.toString = Jt), - (M.toUpper = $j), - (M.trim = zj), - (M.trimEnd = Hj), - (M.trimStart = jj), - (M.truncate = Gj), - (M.unescape = Vj), - (M.uniqueId = mG), - (M.upperCase = Wj), - (M.upperFirst = _5), - (M.each = jS), - (M.eachRight = GS), - (M.first = US), - w5( - M, - (function () { - var l = {}; - return ( - Za(M, function (d, h) { - rn.call(M.prototype, h) || (l[h] = d); - }), - l - ); - })(), - { chain: !1 } - ), - (M.VERSION = r), - qi( - [ - "bind", - "bindKey", - "curry", - "curryRight", - "partial", - "partialRight", - ], - function (l) { - M[l].placeholder = M; - } - ), - qi(["drop", "take"], function (l, d) { - (Ft.prototype[l] = function (h) { - h = h === n ? 1 : Zn(St(h), 0); - var _ = this.__filtered__ && !d ? new Ft(this) : this.clone(); - return ( - _.__filtered__ - ? (_.__takeCount__ = Or(h, _.__takeCount__)) - : _.__views__.push({ - size: Or(h, me), - type: l + (_.__dir__ < 0 ? "Right" : ""), - }), - _ - ); - }), - (Ft.prototype[l + "Right"] = function (h) { - return this.reverse()[l](h).reverse(); - }); - }), - qi(["filter", "map", "takeWhile"], function (l, d) { - var h = d + 1, - _ = h == he || h == fe; - Ft.prototype[l] = function (x) { - var F = this.clone(); - return ( - F.__iteratees__.push({ iteratee: mt(x, 3), type: h }), - (F.__filtered__ = F.__filtered__ || _), - F - ); - }; - }), - qi(["head", "last"], function (l, d) { - var h = "take" + (d ? "Right" : ""); - Ft.prototype[l] = function () { - return this[h](1).value()[0]; - }; - }), - qi(["initial", "tail"], function (l, d) { - var h = "drop" + (d ? "" : "Right"); - Ft.prototype[l] = function () { - return this.__filtered__ ? new Ft(this) : this[h](1); - }; - }), - (Ft.prototype.compact = function () { - return this.filter(li); - }), - (Ft.prototype.find = function (l) { - return this.filter(l).head(); - }), - (Ft.prototype.findLast = function (l) { - return this.reverse().find(l); - }), - (Ft.prototype.invokeMap = It(function (l, d) { - return typeof l == "function" - ? new Ft(this) - : this.map(function (h) { - return xc(h, l, d); - }); - })), - (Ft.prototype.reject = function (l) { - return this.filter(Hf(mt(l))); - }), - (Ft.prototype.slice = function (l, d) { - l = St(l); - var h = this; - return h.__filtered__ && (l > 0 || d < 0) - ? new Ft(h) - : (l < 0 ? (h = h.takeRight(-l)) : l && (h = h.drop(l)), - d !== n && - ((d = St(d)), (h = d < 0 ? h.dropRight(-d) : h.take(d - l))), - h); - }), - (Ft.prototype.takeRightWhile = function (l) { - return this.reverse().takeWhile(l).reverse(); - }), - (Ft.prototype.toArray = function () { - return this.take(me); - }), - Za(Ft.prototype, function (l, d) { - var h = /^(?:filter|find|map|reject)|While$/.test(d), - _ = /^(?:head|last)$/.test(d), - x = M[_ ? "take" + (d == "last" ? "Right" : "") : d], - F = _ || /^find/.test(d); - x && - (M.prototype[d] = function () { - var H = this.__wrapped__, - X = _ ? [1] : arguments, - ae = H instanceof Ft, - we = X[0], - Ce = ae || Tt(H), - Ie = function (Nt) { - var Ut = x.apply(M, ms([Nt], X)); - return _ && Ye ? Ut[0] : Ut; - }; - Ce && - h && - typeof we == "function" && - we.length != 1 && - (ae = Ce = !1); - var Ye = this.__chain__, - st = !!this.__actions__.length, - bt = F && !Ye, - At = ae && !st; - if (!F && Ce) { - H = At ? H : new Ft(this); - var Et = l.apply(H, X); - return ( - Et.__actions__.push({ func: Bf, args: [Ie], thisArg: n }), - new Yi(Et, Ye) - ); - } - return bt && At - ? l.apply(this, X) - : ((Et = this.thru(Ie)), - bt ? (_ ? Et.value()[0] : Et.value()) : Et); - }); - }), - qi( - ["pop", "push", "shift", "sort", "splice", "unshift"], - function (l) { - var d = cf[l], - h = /^(?:push|sort|unshift)$/.test(l) ? "tap" : "thru", - _ = /^(?:pop|shift)$/.test(l); - M.prototype[l] = function () { - var x = arguments; - if (_ && !this.__chain__) { - var F = this.value(); - return d.apply(Tt(F) ? F : [], x); - } - return this[h](function (H) { - return d.apply(Tt(H) ? H : [], x); - }); - }; - } - ), - Za(Ft.prototype, function (l, d) { - var h = M[d]; - if (h) { - var _ = h.name + ""; - rn.call(Bu, _) || (Bu[_] = []), Bu[_].push({ name: d, func: h }); - } - }), - (Bu[Nf(n, v).name] = [{ name: "wrapper", func: n }]), - (Ft.prototype.clone = VB), - (Ft.prototype.reverse = WB), - (Ft.prototype.value = qB), - (M.prototype.at = Tz), - (M.prototype.chain = Sz), - (M.prototype.commit = wz), - (M.prototype.next = Az), - (M.prototype.plant = xz), - (M.prototype.reverse = kz), - (M.prototype.toJSON = M.prototype.valueOf = M.prototype.value = Iz), - (M.prototype.first = M.prototype.head), - yc && (M.prototype[yc] = Cz), - M - ); - }, - Mu = wB(); - Cl ? (((Cl.exports = Mu)._ = Mu), (Sm._ = Mu)) : (hr._ = Mu); - }).call(ql); -})(Lg, Lg.exports); -var Qme = Lg.exports; -const qs = Hi(Qme); -function ro(e, t) { - const n = qs.cloneDeep(e); - for (const r in t) - typeof t[r] == "function" - ? qs.updateWith(n, r, t[r]) - : qs.updateWith(n, r, (i) => t[r]); - return n; -} -const Ec = {}; -Ec["Requires API Key"] = "#FF0000"; -Ec.Local = "#00bb00"; -Ec["Open-Source"] = "#0033FF"; -Ec.Free = "#ffff00"; -const Jme = { - inputType: "number", - key: "context_length", - label: "Context Length", - defaultValue: 2048, - required: !1, - }, - e5e = { - inputType: "number", - key: "temperature", - label: "Temperature", - defaultValue: void 0, - required: !1, - min: 0, - max: 1, - step: 0.01, - }, - t5e = { - inputType: "number", - key: "top_p", - label: "Top-P", - defaultValue: void 0, - required: !1, - min: 0, - max: 1, - step: 0.01, - }, - n5e = { - inputType: "number", - key: "top_k", - label: "Top-K", - defaultValue: void 0, - required: !1, - min: 0, - max: 1, - step: 0.01, - }, - r5e = { - inputType: "number", - key: "presence_penalty", - label: "Presence Penalty", - defaultValue: void 0, - required: !1, - min: 0, - max: 1, - step: 0.01, - }, - i5e = { - inputType: "number", - key: "frequency_penalty", - label: "Frequency Penalty", - defaultValue: void 0, - required: !1, - min: 0, - max: 1, - step: 0.01, - }, - Ra = [Jme, e5e, n5e, t5e, r5e, i5e], - fR = { - inputType: "text", - key: "server_url", - label: "Server URL", - placeholder: "e.g. http://localhost:8080", - required: !1, - }, - T9 = { - title: "CodeLlama Instruct", - description: - "A model from Meta, fine-tuned for code generation and conversation", - refUrl: "", - params: { - title: "CodeLlama-7b-Instruct", - model: "codellama:7b-instruct", - context_length: 2048, - template_messages: "llama2_template_messages", - }, - icon: "meta.png", - dimensions: [ - { - name: "Parameter Count", - description: "The number of parameters in the model", - options: { - "7b": { - model: "codellama:7b-instruct", - title: "CodeLlama-7b-Instruct", - }, - "13b": { - model: "codellama:13b-instruct", - title: "CodeLlama-13b-Instruct", - }, - "34b": { - model: "codellama:34b-instruct", - title: "CodeLlama-34b-Instruct", - }, - }, - }, - ], - }, - S9 = { - title: "Llama2 Chat", - description: "The latest Llama model from Meta, fine-tuned for chat", - refUrl: "", - params: { - title: "Llama2-7b-Chat", - model: "llama2:7b-chat", - context_length: 2048, - template_messages: "llama2_template_messages", - }, - icon: "meta.png", - dimensions: [ - { - name: "Parameter Count", - description: "The number of parameters in the model", - options: { - "7b": { model: "llama2:7b-chat", title: "Llama2-7b-Chat" }, - "13b": { model: "llama2:13b-chat", title: "Llama2-13b-Chat" }, - "34b": { model: "llama2:34b-chat", title: "Llama2-34b-Chat" }, - }, - }, - ], - }, - w9 = { - title: "WizardCoder", - description: - "A CodeLlama-based code generation model from WizardLM, focused on Python", - refUrl: "", - params: { - title: "WizardCoder-7b-Python", - model: "wizardcoder:7b-python", - context_length: 2048, - template_messages: "template_alpaca_messages", - prompt_templates: { edit: "alpaca_edit_prompt" }, - }, - icon: "wizardlm.png", - dimensions: [ - { - name: "Parameter Count", - description: "The number of parameters in the model", - options: { - "7b": { - model: "wizardcoder:7b-python", - title: "WizardCoder-7b-Python", - }, - "13b": { - model: "wizardcoder:13b-python", - title: "WizardCoder-13b-Python", - }, - "34b": { - model: "wizardcoder:34b-python", - title: "WizardCoder-34b-Python", - }, - }, - }, - ], - }, - wP = { - title: "Phind CodeLlama (34b)", - description: "A finetune of CodeLlama by Phind", - params: { - title: "Phind CodeLlama", - model: "phind-codellama", - context_length: 2048, - template_messages: "llama2_template_messages", - prompt_templates: { edit: "codellama_edit_prompt" }, - }, - }, - A9 = { - title: "Mistral (7b)", - description: - "A 7b parameter base model created by Mistral AI, very competent for code generation and other tasks", - params: { - title: "Mistral", - model: "mistral", - context_length: 2048, - template_messages: "llama2_template_messages", - prompt_templates: { edit: "codellama_edit_prompt" }, - }, - icon: "mistral.png", - }, - AP = { - title: "SQLCoder", - description: - "A finetune of StarCoder by Defog.ai, focused specifically on SQL", - params: { - title: "SQLCoder", - model: "sqlcoder", - context_length: 2048, - template_messages: "sqlcoder_template_messages", - prompt_templates: { edit: "codellama_edit_prompt" }, - }, - dimensions: [ - { - name: "Parameter Count", - description: "The number of parameters in the model", - options: { - "7b": { model: "sqlcoder:7b", title: "SQLCoder-7b" }, - "13b": { model: "sqlcoder:15b", title: "SQLCoder-15b" }, - }, - }, - ], - }, - a5e = { - title: "CodeUp (13b)", - description: "An open-source coding model based on Llama2", - params: { - title: "CodeUp", - model: "codeup", - context_length: 2048, - template_messages: "llama2_template_messages", - prompt_templates: { edit: "alpaca_edit_prompt" }, - }, - }, - Ju = [T9, S9, w9, wP, AP, A9, a5e], - hR = { - title: "GPT-4", - description: "The latest model from OpenAI", - params: { - model: "gpt-4", - context_length: 8096, - api_key: "", - title: "GPT-4", - }, - }, - gR = { - title: "GPT-3.5-Turbo", - description: - "A faster, cheaper OpenAI model with slightly lower capabilities", - params: { - model: "gpt-3.5-turbo", - context_length: 8096, - title: "GPT-3.5-Turbo", - api_key: "", - }, - }, - o5e = { - "codellama:7b-instruct": - "meta/codellama-7b-instruct:6527b83e01e41412db37de5110a8670e3701ee95872697481a355e05ce12af0e", - "codellama:13b-instruct": - "meta/codellama-13b-instruct:1f01a52ff933873dff339d5fb5e1fd6f24f77456836f514fa05e91c1a42699c7", - "codellama:34b-instruct": - "meta/codellama-34b-instruct:8281a5c610f6e88237ff3ddaf3c33b56f60809e2bdd19fbec2fda742aa18167e", - "llama2:7b-chat": - "meta/llama-2-7b-chat:8e6975e5ed6174911a6ff3d60540dfd4844201974602551e10e9e87ab143d81e", - "llama2:13b-chat": - "meta/llama-2-13b-chat:f4e2de70d66816a838a89eeeb621910adffb0dd0baba3976c96980970978018d", - }; -function mR(e) { - return o5e[e] || e; -} -const CP = { - openai: { - title: "OpenAI", - class: "OpenAI", - description: "Use gpt-4, gpt-3.5-turbo, or any other OpenAI model", - longDescription: - "Use gpt-4, gpt-3.5-turbo, or any other OpenAI model. See [here](https://openai.com/product#made-for-developers) to obtain an API key.", - icon: "openai.png", - tags: ["Requires API Key"], - packages: [hR, gR], - collectInputFor: [ - { - inputType: "text", - key: "api_key", - label: "API Key", - placeholder: "Enter your OpenAI API key", - required: !0, - }, - ...Ra, - ], - }, - anthropic: { - title: "Anthropic", - class: "AnthropicLLM", - description: - "Claude-2 is a highly capable model with a 100k context length", - icon: "anthropic.png", - tags: ["Requires API Key"], - longDescription: - "To get started with Anthropic models, you first need to sign up for the open beta [here](https://claude.ai/login) to obtain an API key.", - collectInputFor: [ - { - inputType: "text", - key: "api_key", - label: "API Key", - placeholder: "Enter your Anthropic API key", - required: !0, - }, - ...Ra, - ], - packages: [ - { - title: "Claude-2", - description: "A highly capable model with a 100k context length", - params: { model: "claude-2", context_length: 1e5, title: "Claude-2" }, - }, - ], - }, - ollama: { - title: "Ollama", - class: "Ollama", - description: - "One of the fastest ways to get started with local models on Mac or Linux", - longDescription: - 'To get started with Ollama, follow these steps:\n1. Download from [ollama.ai](https://ollama.ai/) and open the application\n2. Open a terminal and run `ollama pull `. Example model names are `codellama:7b-instruct` or `llama2:7b-text`. You can find the full list [here](https://ollama.ai/library).\n3. Make sure that the model name used in step 2 is the same as the one in config.py (e.g. `model="codellama:7b-instruct"`)\n4. Once the model has finished downloading, you can start asking questions through Continue.', - icon: "ollama.png", - tags: ["Local", "Open-Source"], - packages: Ju, - collectInputFor: [...Ra], - }, - together: { - title: "TogetherAI", - class: "TogetherLLM", - description: - "Use the TogetherAI API for extremely fast streaming of open-source models", - icon: "together.png", - longDescription: `Together is a hosted service that provides extremely fast streaming of open-source language models. To get started with Together: +`:`; +`)+Ie+`return __p +}`;var At=fw(function(){return Qt(F,st+"return "+Ie).apply(n,H)});if(At.source=Ie,b5(At))throw At;return At}function Uj(l){return Jt(l).toLowerCase()}function $j(l){return Jt(l).toUpperCase()}function zj(l,d,h){if(l=Jt(l),l&&(h||d===n))return TT(l);if(!l||!(d=wi(d)))return l;var _=Sa(l),x=Sa(d),F=ST(_,x),H=wT(_,x)+1;return Ts(_,F,H).join("")}function Hj(l,d,h){if(l=Jt(l),l&&(h||d===n))return l.slice(0,CT(l)+1);if(!l||!(d=wi(d)))return l;var _=Sa(l),x=wT(_,Sa(d))+1;return Ts(_,0,x).join("")}function jj(l,d,h){if(l=Jt(l),l&&(h||d===n))return l.replace(Ir,"");if(!l||!(d=wi(d)))return l;var _=Sa(l),x=ST(_,Sa(d));return Ts(_,x).join("")}function Gj(l,d){var h=P,_=Q;if(In(d)){var x="separator"in d?d.separator:x;h="length"in d?St(d.length):h,_="omission"in d?wi(d.omission):_}l=Jt(l);var F=l.length;if(Du(l)){var H=Sa(l);F=H.length}if(h>=F)return l;var X=h-Lu(_);if(X<1)return _;var ae=H?Ts(H,0,X).join(""):l.slice(0,X);if(x===n)return ae+_;if(H&&(X+=ae.length-X),E5(x)){if(l.slice(X).search(x)){var we,Ce=ae;for(x.global||(x=Lm(x.source,Jt(qe.exec(x))+"g")),x.lastIndex=0;we=x.exec(Ce);)var Ie=we.index;ae=ae.slice(0,Ie===n?X:Ie)}}else if(l.indexOf(wi(x),X)!=X){var Ye=ae.lastIndexOf(x);Ye>-1&&(ae=ae.slice(0,Ye))}return ae+_}function Vj(l){return l=Jt(l),l&&Rt.test(l)?l.replace(Je,yB):l}var Wj=zu(function(l,d,h){return l+(h?" ":"")+d.toUpperCase()}),_5=hS("toUpperCase");function pw(l,d,h){return l=Jt(l),d=h?n:d,d===n?gB(l)?SB(l):oB(l):l.match(d)||[]}var fw=It(function(l,d){try{return Ti(l,n,d)}catch(h){return b5(h)?h:new _t(h)}}),qj=Io(function(l,d){return qi(d,function(h){h=Ja(h),xo(l,h,g5(l[h],l))}),l});function Kj(l){var d=l==null?0:l.length,h=mt();return l=d?wn(l,function(_){if(typeof _[1]!="function")throw new Ki(o);return[h(_[0]),_[1]]}):[],It(function(_){for(var x=-1;++xV)return[];var h=me,_=Or(l,me);d=mt(d),l-=me;for(var x=Nm(_,d);++h0||d<0)?new Ft(h):(l<0?h=h.takeRight(-l):l&&(h=h.drop(l)),d!==n&&(d=St(d),h=d<0?h.dropRight(-d):h.take(d-l)),h)},Ft.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},Ft.prototype.toArray=function(){return this.take(me)},Za(Ft.prototype,function(l,d){var h=/^(?:filter|find|map|reject)|While$/.test(d),_=/^(?:head|last)$/.test(d),x=M[_?"take"+(d=="last"?"Right":""):d],F=_||/^find/.test(d);x&&(M.prototype[d]=function(){var H=this.__wrapped__,X=_?[1]:arguments,ae=H instanceof Ft,we=X[0],Ce=ae||Tt(H),Ie=function(Nt){var Ut=x.apply(M,ms([Nt],X));return _&&Ye?Ut[0]:Ut};Ce&&h&&typeof we=="function"&&we.length!=1&&(ae=Ce=!1);var Ye=this.__chain__,st=!!this.__actions__.length,bt=F&&!Ye,At=ae&&!st;if(!F&&Ce){H=At?H:new Ft(this);var Et=l.apply(H,X);return Et.__actions__.push({func:Bf,args:[Ie],thisArg:n}),new Yi(Et,Ye)}return bt&&At?l.apply(this,X):(Et=this.thru(Ie),bt?_?Et.value()[0]:Et.value():Et)})}),qi(["pop","push","shift","sort","splice","unshift"],function(l){var d=cf[l],h=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",_=/^(?:pop|shift)$/.test(l);M.prototype[l]=function(){var x=arguments;if(_&&!this.__chain__){var F=this.value();return d.apply(Tt(F)?F:[],x)}return this[h](function(H){return d.apply(Tt(H)?H:[],x)})}}),Za(Ft.prototype,function(l,d){var h=M[d];if(h){var _=h.name+"";rn.call(Bu,_)||(Bu[_]=[]),Bu[_].push({name:d,func:h})}}),Bu[Nf(n,v).name]=[{name:"wrapper",func:n}],Ft.prototype.clone=VB,Ft.prototype.reverse=WB,Ft.prototype.value=qB,M.prototype.at=Tz,M.prototype.chain=Sz,M.prototype.commit=wz,M.prototype.next=Az,M.prototype.plant=xz,M.prototype.reverse=kz,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Iz,M.prototype.first=M.prototype.head,yc&&(M.prototype[yc]=Cz),M},Mu=wB();Cl?((Cl.exports=Mu)._=Mu,Sm._=Mu):hr._=Mu}).call(ql)})(Lg,Lg.exports);var Qme=Lg.exports;const qs=Hi(Qme);function ro(e,t){const n=qs.cloneDeep(e);for(const r in t)typeof t[r]=="function"?qs.updateWith(n,r,t[r]):qs.updateWith(n,r,i=>t[r]);return n}const Ec={};Ec["Requires API Key"]="#FF0000";Ec.Local="#00bb00";Ec["Open-Source"]="#0033FF";Ec.Free="#ffff00";const Jme={inputType:"number",key:"context_length",label:"Context Length",defaultValue:2048,required:!1},e5e={inputType:"number",key:"temperature",label:"Temperature",defaultValue:void 0,required:!1,min:0,max:1,step:.01},t5e={inputType:"number",key:"top_p",label:"Top-P",defaultValue:void 0,required:!1,min:0,max:1,step:.01},n5e={inputType:"number",key:"top_k",label:"Top-K",defaultValue:void 0,required:!1,min:0,max:1,step:.01},r5e={inputType:"number",key:"presence_penalty",label:"Presence Penalty",defaultValue:void 0,required:!1,min:0,max:1,step:.01},i5e={inputType:"number",key:"frequency_penalty",label:"Frequency Penalty",defaultValue:void 0,required:!1,min:0,max:1,step:.01},Ra=[Jme,e5e,n5e,t5e,r5e,i5e],fR={inputType:"text",key:"server_url",label:"Server URL",placeholder:"e.g. http://localhost:8080",required:!1},T9={title:"CodeLlama Instruct",description:"A model from Meta, fine-tuned for code generation and conversation",refUrl:"",params:{title:"CodeLlama-7b-Instruct",model:"codellama:7b-instruct",context_length:2048,template_messages:"llama2_template_messages"},icon:"meta.png",dimensions:[{name:"Parameter Count",description:"The number of parameters in the model",options:{"7b":{model:"codellama:7b-instruct",title:"CodeLlama-7b-Instruct"},"13b":{model:"codellama:13b-instruct",title:"CodeLlama-13b-Instruct"},"34b":{model:"codellama:34b-instruct",title:"CodeLlama-34b-Instruct"}}}]},S9={title:"Llama2 Chat",description:"The latest Llama model from Meta, fine-tuned for chat",refUrl:"",params:{title:"Llama2-7b-Chat",model:"llama2:7b-chat",context_length:2048,template_messages:"llama2_template_messages"},icon:"meta.png",dimensions:[{name:"Parameter Count",description:"The number of parameters in the model",options:{"7b":{model:"llama2:7b-chat",title:"Llama2-7b-Chat"},"13b":{model:"llama2:13b-chat",title:"Llama2-13b-Chat"},"34b":{model:"llama2:34b-chat",title:"Llama2-34b-Chat"}}}]},w9={title:"WizardCoder",description:"A CodeLlama-based code generation model from WizardLM, focused on Python",refUrl:"",params:{title:"WizardCoder-7b-Python",model:"wizardcoder:7b-python",context_length:2048,template_messages:"template_alpaca_messages",prompt_templates:{edit:"alpaca_edit_prompt"}},icon:"wizardlm.png",dimensions:[{name:"Parameter Count",description:"The number of parameters in the model",options:{"7b":{model:"wizardcoder:7b-python",title:"WizardCoder-7b-Python"},"13b":{model:"wizardcoder:13b-python",title:"WizardCoder-13b-Python"},"34b":{model:"wizardcoder:34b-python",title:"WizardCoder-34b-Python"}}}]},wP={title:"Phind CodeLlama (34b)",description:"A finetune of CodeLlama by Phind",params:{title:"Phind CodeLlama",model:"phind-codellama",context_length:2048,template_messages:"llama2_template_messages",prompt_templates:{edit:"codellama_edit_prompt"}}},A9={title:"Mistral (7b)",description:"A 7b parameter base model created by Mistral AI, very competent for code generation and other tasks",params:{title:"Mistral",model:"mistral",context_length:2048,template_messages:"llama2_template_messages",prompt_templates:{edit:"codellama_edit_prompt"}},icon:"mistral.png"},AP={title:"SQLCoder",description:"A finetune of StarCoder by Defog.ai, focused specifically on SQL",params:{title:"SQLCoder",model:"sqlcoder",context_length:2048,template_messages:"sqlcoder_template_messages",prompt_templates:{edit:"codellama_edit_prompt"}},dimensions:[{name:"Parameter Count",description:"The number of parameters in the model",options:{"7b":{model:"sqlcoder:7b",title:"SQLCoder-7b"},"13b":{model:"sqlcoder:15b",title:"SQLCoder-15b"}}}]},a5e={title:"CodeUp (13b)",description:"An open-source coding model based on Llama2",params:{title:"CodeUp",model:"codeup",context_length:2048,template_messages:"llama2_template_messages",prompt_templates:{edit:"alpaca_edit_prompt"}}},Ju=[T9,S9,w9,wP,AP,A9,a5e],hR={title:"GPT-4",description:"The latest model from OpenAI",params:{model:"gpt-4",context_length:8096,api_key:"",title:"GPT-4"}},gR={title:"GPT-3.5-Turbo",description:"A faster, cheaper OpenAI model with slightly lower capabilities",params:{model:"gpt-3.5-turbo",context_length:8096,title:"GPT-3.5-Turbo",api_key:""}},o5e={"codellama:7b-instruct":"meta/codellama-7b-instruct:6527b83e01e41412db37de5110a8670e3701ee95872697481a355e05ce12af0e","codellama:13b-instruct":"meta/codellama-13b-instruct:1f01a52ff933873dff339d5fb5e1fd6f24f77456836f514fa05e91c1a42699c7","codellama:34b-instruct":"meta/codellama-34b-instruct:8281a5c610f6e88237ff3ddaf3c33b56f60809e2bdd19fbec2fda742aa18167e","llama2:7b-chat":"meta/llama-2-7b-chat:8e6975e5ed6174911a6ff3d60540dfd4844201974602551e10e9e87ab143d81e","llama2:13b-chat":"meta/llama-2-13b-chat:f4e2de70d66816a838a89eeeb621910adffb0dd0baba3976c96980970978018d"};function mR(e){return o5e[e]||e}const CP={openai:{title:"OpenAI",class:"OpenAI",description:"Use gpt-4, gpt-3.5-turbo, or any other OpenAI model",longDescription:"Use gpt-4, gpt-3.5-turbo, or any other OpenAI model. See [here](https://openai.com/product#made-for-developers) to obtain an API key.",icon:"openai.png",tags:["Requires API Key"],packages:[hR,gR],collectInputFor:[{inputType:"text",key:"api_key",label:"API Key",placeholder:"Enter your OpenAI API key",required:!0},...Ra]},anthropic:{title:"Anthropic",class:"AnthropicLLM",description:"Claude-2 is a highly capable model with a 100k context length",icon:"anthropic.png",tags:["Requires API Key"],longDescription:"To get started with Anthropic models, you first need to sign up for the open beta [here](https://claude.ai/login) to obtain an API key.",collectInputFor:[{inputType:"text",key:"api_key",label:"API Key",placeholder:"Enter your Anthropic API key",required:!0},...Ra],packages:[{title:"Claude-2",description:"A highly capable model with a 100k context length",params:{model:"claude-2",context_length:1e5,title:"Claude-2"}}]},ollama:{title:"Ollama",class:"Ollama",description:"One of the fastest ways to get started with local models on Mac or Linux",longDescription:'To get started with Ollama, follow these steps:\n1. Download from [ollama.ai](https://ollama.ai/) and open the application\n2. Open a terminal and run `ollama pull `. Example model names are `codellama:7b-instruct` or `llama2:7b-text`. You can find the full list [here](https://ollama.ai/library).\n3. Make sure that the model name used in step 2 is the same as the one in config.py (e.g. `model="codellama:7b-instruct"`)\n4. Once the model has finished downloading, you can start asking questions through Continue.',icon:"ollama.png",tags:["Local","Open-Source"],packages:Ju,collectInputFor:[...Ra]},together:{title:"TogetherAI",class:"TogetherLLM",description:"Use the TogetherAI API for extremely fast streaming of open-source models",icon:"together.png",longDescription:`Together is a hosted service that provides extremely fast streaming of open-source language models. To get started with Together: 1. Obtain an API key from [here](https://together.ai) 2. Paste below -3. Select a model preset`, - tags: ["Requires API Key", "Open-Source"], - params: { api_key: "" }, - collectInputFor: [ - { - inputType: "text", - key: "api_key", - label: "API Key", - placeholder: "Enter your TogetherAI API key", - required: !0, - }, - ...Ra, - ], - packages: [ - ro(S9, { - "dimensions[0].options": (e) => - qs.mapValues(e, (t) => - qs.assign({}, t, { - model: - "togethercomputer/" + - t.model.replace("llama2", "llama-2").replace(":", "-"), - }) - ), - }), - ro(T9, { - "dimensions[0].options": (e) => - qs.mapValues(e, (t) => - qs.assign({}, t, { - model: - "togethercomputer/" + - t.model - .replace("codellama", "CodeLlama") - .replace(":", "-") - .replace("instruct", "Instruct"), - }) - ), - }), - ro(w9, { - "params.model": "WizardLM/WizardCoder-15B-V1.0", - "params.title": "WizardCoder-15b", - "dimensions[0].options": { - "15b": { - model: "WizardLM/WizardCoder-15B-V1.0", - title: "WizardCoder-15b", - }, - "34b (Python)": { - model: "WizardLM/WizardCoder-Python-34B-V1.0", - title: "WizardCoder-34b-Python", - }, - }, - }), - ro(wP, { "params.model": "Phind/Phind-CodeLlama-34B-Python-v1" }), - ro(A9, { "params.model": "mistralai/Mistral-7B-Instruct-v0.1" }), - ].map((e) => ((e.params.context_length = 4096), e)), - }, - lmstudio: { - title: "LM Studio", - class: "GGML", - description: - "One of the fastest ways to get started with local models on Mac or Windows", - longDescription: `LMStudio provides a professional and well-designed GUI for exploring, configuring, and serving LLMs. It is available on both Mac and Windows. To get started: +3. Select a model preset`,tags:["Requires API Key","Open-Source"],params:{api_key:""},collectInputFor:[{inputType:"text",key:"api_key",label:"API Key",placeholder:"Enter your TogetherAI API key",required:!0},...Ra],packages:[ro(S9,{"dimensions[0].options":e=>qs.mapValues(e,t=>qs.assign({},t,{model:"togethercomputer/"+t.model.replace("llama2","llama-2").replace(":","-")}))}),ro(T9,{"dimensions[0].options":e=>qs.mapValues(e,t=>qs.assign({},t,{model:"togethercomputer/"+t.model.replace("codellama","CodeLlama").replace(":","-").replace("instruct","Instruct")}))}),ro(w9,{"params.model":"WizardLM/WizardCoder-15B-V1.0","params.title":"WizardCoder-15b","dimensions[0].options":{"15b":{model:"WizardLM/WizardCoder-15B-V1.0",title:"WizardCoder-15b"},"34b (Python)":{model:"WizardLM/WizardCoder-Python-34B-V1.0",title:"WizardCoder-34b-Python"}}}),ro(wP,{"params.model":"Phind/Phind-CodeLlama-34B-Python-v1"}),ro(A9,{"params.model":"mistralai/Mistral-7B-Instruct-v0.1"})].map(e=>(e.params.context_length=4096,e))},lmstudio:{title:"LM Studio",class:"GGML",description:"One of the fastest ways to get started with local models on Mac or Windows",longDescription:`LMStudio provides a professional and well-designed GUI for exploring, configuring, and serving LLMs. It is available on both Mac and Windows. To get started: 1. Download from [lmstudio.ai](https://lmstudio.ai/) and open the application 2. Search for and download the desired model from the home screen of LMStudio. 3. In the left-bar, click the '<->' icon to open the Local Inference Server and press 'Start Server'. -4. Once your model is loaded and the server has started, you can begin using Continue.`, - icon: "lmstudio.png", - tags: ["Local", "Open-Source"], - params: { server_url: "http://localhost:1234" }, - packages: Ju, - collectInputFor: [...Ra], - }, - replicate: { - title: "Replicate", - class: "ReplicateLLM", - description: "Use the Replicate API to run open-source models", - longDescription: `Replicate is a hosted service that makes it easy to run ML models. To get started with Replicate: +4. Once your model is loaded and the server has started, you can begin using Continue.`,icon:"lmstudio.png",tags:["Local","Open-Source"],params:{server_url:"http://localhost:1234"},packages:Ju,collectInputFor:[...Ra]},replicate:{title:"Replicate",class:"ReplicateLLM",description:"Use the Replicate API to run open-source models",longDescription:`Replicate is a hosted service that makes it easy to run ML models. To get started with Replicate: 1. Obtain an API key from [here](https://replicate.com) 2. Paste below -3. Select a model preset`, - params: { api_key: "" }, - collectInputFor: [ - { - inputType: "text", - key: "api_key", - label: "API Key", - placeholder: "Enter your Replicate API key", - required: !0, - }, - ...Ra, - ], - icon: "replicate.png", - tags: ["Requires API Key", "Open-Source"], - packages: [ - ...[T9, S9] - .map((e) => - e.title === "Llama2 Chat" - ? ro(e, { - "dimensions[0].options.34b": void 0, - "dimensions[0].options.70b": { - model: - "meta/llama-2-70b-chat:02e509c789964a7ea8736978a43525956ef40397be9033abf9fd2badfe68c9e3", - title: "Llama2-70b-Chat", - }, - }) - : e - ) - .map((e) => - ro(e, { - "params.model": (t) => mR(t), - "dimensions[0].options": (t) => { - var r; - const n = {}; - for (const i in t) - n[i] = { - ...t[i], - model: mR((r = t[i]) == null ? void 0 : r.model), - }; - return n; - }, - }) - ), - ro(w9, { - title: "WizardCoder (15b)", - "params.model": - "andreasjansson/wizardcoder-python-34b-v1-gguf:67eed332a5389263b8ede41be3ee7dc119fa984e2bde287814c4abed19a45e54", - dimensions: void 0, - }), - ro(AP, { - dimensions: void 0, - title: "SQLCoder (15b)", - "params.model": - "gregwdata/defog-sqlcoder-q8:0a9abc0d143072fd5d8920ad90b8fbaafaf16b10ffdad24bd897b5bffacfce0b", - }), - ro(A9, { - "params.model": - "a16z-infra/mistral-7b-instruct-v0.1:83b6a56e7c828e667f21fd596c338fd4f0039b46bcfa18d973e8e70e455fda70", - }), - ], - }, - llamacpp: { - title: "llama.cpp", - class: "LlamaCpp", - description: "If you are running the llama.cpp server from source", - longDescription: - "llama.cpp comes with a [built-in server](https://github.com/ggerganov/llama.cpp/tree/master/examples/server#llamacppexampleserver) that can be run from source. To do this:\n \n1. Clone the repository with `git clone https://github.com/ggerganov/llama.cpp`.\n2. `cd llama.cpp`\n3. Download the model you'd like to use and place it in the `llama.cpp/models` directory (the best place to find models is [The Bloke on HuggingFace](https://huggingface.co/TheBloke))\n4. Run the llama.cpp server with the command below (replacing with the model you downloaded):\n\n```shell\n.\\server.exe -c 4096 --host 0.0.0.0 -t 16 --mlock -m models/codellama-7b-instruct.Q8_0.gguf\n```\n\nAfter it's up and running, you can start using Continue.", - icon: "llamacpp.png", - tags: ["Local", "Open-Source"], - packages: Ju, - collectInputFor: [...Ra], - }, - textgenwebui: { - title: "text-generation-webui", - class: "TextGenWebUI", - description: "A popular open-source front-end for serving LLMs locally", - longDescription: - 'text-generation-webui is a comprehensive, open-source language model UI and local server. You can also set it up with an [OpenAI-compatible server extension](https://github.com/oobabooga/text-generation-webui/tree/main/extensions/openai#an-openedai-api-openai-like), but this model provider is made to interface with the built-in server, which has a different format. To setup the text-generation-webui server, take the following steps:\n\n1. Clone the repository: `git clone https://github.com/oobabooga/text-generation-webui/tree/main`\n2. Change into the directory: `cd text-generation-webui`\n3. Run the one-click installer script for your operating system, using the --api flag:\n - Mac: `sh start_macos.sh --api`\n - Linux: `sh start_linux.sh --api`\n - Windows: `. start_windows.bat --api`\n - WSL: `. start_wsl.bat --api`\n4. Find a model to run and download its weights into the folder `text-generation-webui/models`. The best place to find models is [The Bloke on HuggingFace](https://huggingface.co/TheBloke)\n5. Navigate to [the UI](http://127.0.0.1:7860), click the "Model" tab, and load the model you\'ve downloaded\n6. Once the model is loaded, you can start using Continue', - icon: void 0, - tags: ["Local", "Open-Source"], - packages: Ju, - collectInputFor: [...Ra], - }, - palm: { - title: "Google PaLM API", - class: "GooglePaLMAPI", - description: - "Try out the Google PaLM API, which is currently in public preview, using an API key from Google Makersuite", - longDescription: `To get started with Google Makersuite, obtain your API key from [here](https://developers.generativeai.google/products/makersuite) and paste it below. -> Note: Google's PaLM language models do not support streaming, so the response will appear all at once after a few seconds.`, - icon: "google-palm.png", - tags: ["Requires API Key"], - collectInputFor: [ - { - inputType: "text", - key: "api_key", - label: "API Key", - placeholder: "Enter your MakerSpace API key", - required: !0, - }, - ], - packages: [ - { - title: "chat-bison-001", - description: - "Google PaLM's chat-bison-001 model, fine-tuned for chatting about code", - params: { model: "chat-bison-001", context_length: 8e3 }, - }, - ], - }, - hftgi: { - title: "HuggingFace TGI", - class: "HuggingFaceTGI", - description: - "HuggingFace Text Generation Inference is an advanced, highly-performant option for serving open-source models to multiple people", - longDescription: - "HuggingFace Text Generation Inference is an advanced, highly-performant option for serving open-source models to multiple people. To get started, follow the [Quick Tour](https://huggingface.co/docs/text-generation-inference/quicktour) on their website to set up the Docker container. Make sure to enter the server URL below that corresponds to the host and port you set up for the Docker container.", - icon: "hf.png", - tags: ["Local", "Open-Source"], - packages: Ju, - collectInputFor: [ - ...Ra, - { ...fR, defaultValue: "http://localhost:8080" }, - ], - }, - ggml: { - title: "Other OpenAI-compatible API", - class: "GGML", - description: - "If you are using any other OpenAI-compatible API, for example text-gen-webui, FastChat, LocalAI, or llama-cpp-python, you can simply enter your server URL", - longDescription: `If you are using any other OpenAI-compatible API, you can simply enter your server URL. If you still need to set up your model server, you can follow a guide below: +3. Select a model preset`,params:{api_key:""},collectInputFor:[{inputType:"text",key:"api_key",label:"API Key",placeholder:"Enter your Replicate API key",required:!0},...Ra],icon:"replicate.png",tags:["Requires API Key","Open-Source"],packages:[...[T9,S9].map(e=>e.title==="Llama2 Chat"?ro(e,{"dimensions[0].options.34b":void 0,"dimensions[0].options.70b":{model:"meta/llama-2-70b-chat:02e509c789964a7ea8736978a43525956ef40397be9033abf9fd2badfe68c9e3",title:"Llama2-70b-Chat"}}):e).map(e=>ro(e,{"params.model":t=>mR(t),"dimensions[0].options":t=>{var r;const n={};for(const i in t)n[i]={...t[i],model:mR((r=t[i])==null?void 0:r.model)};return n}})),ro(w9,{title:"WizardCoder (15b)","params.model":"andreasjansson/wizardcoder-python-34b-v1-gguf:67eed332a5389263b8ede41be3ee7dc119fa984e2bde287814c4abed19a45e54",dimensions:void 0}),ro(AP,{dimensions:void 0,title:"SQLCoder (15b)","params.model":"gregwdata/defog-sqlcoder-q8:0a9abc0d143072fd5d8920ad90b8fbaafaf16b10ffdad24bd897b5bffacfce0b"}),ro(A9,{"params.model":"a16z-infra/mistral-7b-instruct-v0.1:83b6a56e7c828e667f21fd596c338fd4f0039b46bcfa18d973e8e70e455fda70"})]},llamacpp:{title:"llama.cpp",class:"LlamaCpp",description:"If you are running the llama.cpp server from source",longDescription:"llama.cpp comes with a [built-in server](https://github.com/ggerganov/llama.cpp/tree/master/examples/server#llamacppexampleserver) that can be run from source. To do this:\n \n1. Clone the repository with `git clone https://github.com/ggerganov/llama.cpp`.\n2. `cd llama.cpp`\n3. Download the model you'd like to use and place it in the `llama.cpp/models` directory (the best place to find models is [The Bloke on HuggingFace](https://huggingface.co/TheBloke))\n4. Run the llama.cpp server with the command below (replacing with the model you downloaded):\n\n```shell\n.\\server.exe -c 4096 --host 0.0.0.0 -t 16 --mlock -m models/codellama-7b-instruct.Q8_0.gguf\n```\n\nAfter it's up and running, you can start using Continue.",icon:"llamacpp.png",tags:["Local","Open-Source"],packages:Ju,collectInputFor:[...Ra]},textgenwebui:{title:"text-generation-webui",class:"TextGenWebUI",description:"A popular open-source front-end for serving LLMs locally",longDescription:'text-generation-webui is a comprehensive, open-source language model UI and local server. You can also set it up with an [OpenAI-compatible server extension](https://github.com/oobabooga/text-generation-webui/tree/main/extensions/openai#an-openedai-api-openai-like), but this model provider is made to interface with the built-in server, which has a different format. To setup the text-generation-webui server, take the following steps:\n\n1. Clone the repository: `git clone https://github.com/oobabooga/text-generation-webui/tree/main`\n2. Change into the directory: `cd text-generation-webui`\n3. Run the one-click installer script for your operating system, using the --api flag:\n - Mac: `sh start_macos.sh --api`\n - Linux: `sh start_linux.sh --api`\n - Windows: `. start_windows.bat --api`\n - WSL: `. start_wsl.bat --api`\n4. Find a model to run and download its weights into the folder `text-generation-webui/models`. The best place to find models is [The Bloke on HuggingFace](https://huggingface.co/TheBloke)\n5. Navigate to [the UI](http://127.0.0.1:7860), click the "Model" tab, and load the model you\'ve downloaded\n6. Once the model is loaded, you can start using Continue',icon:void 0,tags:["Local","Open-Source"],packages:Ju,collectInputFor:[...Ra]},palm:{title:"Google PaLM API",class:"GooglePaLMAPI",description:"Try out the Google PaLM API, which is currently in public preview, using an API key from Google Makersuite",longDescription:`To get started with Google Makersuite, obtain your API key from [here](https://developers.generativeai.google/products/makersuite) and paste it below. +> Note: Google's PaLM language models do not support streaming, so the response will appear all at once after a few seconds.`,icon:"google-palm.png",tags:["Requires API Key"],collectInputFor:[{inputType:"text",key:"api_key",label:"API Key",placeholder:"Enter your MakerSpace API key",required:!0}],packages:[{title:"chat-bison-001",description:"Google PaLM's chat-bison-001 model, fine-tuned for chatting about code",params:{model:"chat-bison-001",context_length:8e3}}]},hftgi:{title:"HuggingFace TGI",class:"HuggingFaceTGI",description:"HuggingFace Text Generation Inference is an advanced, highly-performant option for serving open-source models to multiple people",longDescription:"HuggingFace Text Generation Inference is an advanced, highly-performant option for serving open-source models to multiple people. To get started, follow the [Quick Tour](https://huggingface.co/docs/text-generation-inference/quicktour) on their website to set up the Docker container. Make sure to enter the server URL below that corresponds to the host and port you set up for the Docker container.",icon:"hf.png",tags:["Local","Open-Source"],packages:Ju,collectInputFor:[...Ra,{...fR,defaultValue:"http://localhost:8080"}]},ggml:{title:"Other OpenAI-compatible API",class:"GGML",description:"If you are using any other OpenAI-compatible API, for example text-gen-webui, FastChat, LocalAI, or llama-cpp-python, you can simply enter your server URL",longDescription:`If you are using any other OpenAI-compatible API, you can simply enter your server URL. If you still need to set up your model server, you can follow a guide below: - [text-gen-webui](https://github.com/oobabooga/text-generation-webui/tree/main/extensions/openai#setup--installation) - [LocalAI](https://localai.io/basics/getting_started/) - [llama-cpp-python](https://github.com/continuedev/ggml-server-example) -- [FastChat](https://github.com/lm-sys/FastChat/blob/main/docs/openai_api.md)`, - params: { server_url: "" }, - collectInputFor: [ - { ...fR, defaultValue: "http://localhost:8000" }, - ...Ra, - ], - icon: "openai.png", - tags: ["Local", "Open-Source"], - packages: Ju, - }, - freetrial: { - title: "GPT-4 limited free trial", - class: "OpenAIFreeTrial", - description: - "New users can try out Continue for free using a proxy server that securely makes calls to OpenAI using our API key", - longDescription: - 'New users can try out Continue for free using a proxy server that securely makes calls to OpenAI using our API key. If you are ready to use your own API key or have used all 250 free uses, you can enter your API key in config.py where it says `api_key=""` or select another model provider.', - icon: "openai.png", - tags: ["Free"], - packages: [hR, gR], - collectInputFor: [...Ra], - }, - }, - s5e = He.div` +- [FastChat](https://github.com/lm-sys/FastChat/blob/main/docs/openai_api.md)`,params:{server_url:""},collectInputFor:[{...fR,defaultValue:"http://localhost:8000"},...Ra],icon:"openai.png",tags:["Local","Open-Source"],packages:Ju},freetrial:{title:"GPT-4 limited free trial",class:"OpenAIFreeTrial",description:"New users can try out Continue for free using a proxy server that securely makes calls to OpenAI using our API key",longDescription:'New users can try out Continue for free using a proxy server that securely makes calls to OpenAI using our API key. If you are ready to use your own API key or have used all 250 free uses, you can enter your API key in config.py where it says `api_key=""` or select another model provider.',icon:"openai.png",tags:["Free"],packages:[hR,gR],collectInputFor:[...Ra]}},s5e=He.div` border: 1px solid ${vt}; border-radius: ${wt}; position: relative; width: 100%; transition: all 0.5s; - ${(e) => - e.disabled - ? ` + ${e=>e.disabled?` opacity: 0.5; - ` - : e.hovered - ? ` + `:e.hovered?` border: 1px solid ${e.color}; background-color: ${e.color}22; - cursor: pointer;` - : ""} -`, - l5e = He.div` + cursor: pointer;`:""} +`,l5e=He.div` display: flex; justify-content: flex-end; margin-left: auto; @@ -80953,8 +1212,7 @@ const CP = { /* width: fit-content; */ border-top: 1px solid ${vt}; -`, - u5e = He.div` +`,u5e=He.div` display: flex; flex-direction: column; align-items: center; @@ -80964,9 +1222,7 @@ const CP = { border-radius: ${wt}; outline: 0.5px solid ${vt}; - ${(e) => - e.selected && - ` + ${e=>e.selected&&` background-color: ${da}; color: white; `} @@ -80975,166 +1231,21 @@ const CP = { cursor: pointer; outline: 1px solid ${da}; } -`; -function xP(e) { - var o, s, u, c; - const t = zt((p) => p.config.vscMediaUrl), - [n, r] = C.useState( - ((o = e.dimensions) == null - ? void 0 - : o.map((p) => Object.keys(p.options)[0])) || [] - ), - [i, a] = C.useState(!1); - return I.jsxs(s5e, { - disabled: e.disabled || !1, - color: da, - hovered: i, - children: [ - I.jsxs("div", { - onMouseEnter: () => a(!0), - onMouseLeave: () => a(!1), - className: "px-2 py-1", - onClick: e.disabled - ? void 0 - : (p) => { - p.target.closest("a") || e.onClick(p, n); - }, - children: [ - I.jsxs("div", { - style: { display: "flex", alignItems: "center" }, - children: [ - t && - e.icon && - I.jsx("img", { - src: `${t}/logos/${e.icon}`, - height: "24px", - style: { marginRight: "10px" }, - }), - I.jsx("h3", { children: e.title }), - ], - }), - (s = e.tags) == null - ? void 0 - : s.map((p) => - I.jsx("span", { - style: { - backgroundColor: `${Ec[p]}55`, - color: "white", - padding: "2px 4px", - borderRadius: wt, - marginRight: "4px", - }, - children: p, - }) - ), - I.jsx("p", { children: e.description }), - e.refUrl && - I.jsx("a", { - style: { position: "absolute", right: "8px", top: "8px" }, - href: e.refUrl, - target: "_blank", - children: I.jsx(vi, { - text: "Read the docs", - children: I.jsx(hY, { width: "1.6em", height: "1.6em" }), - }), - }), - ], - }), - ((u = e.dimensions) == null ? void 0 : u.length) && - I.jsx(l5e, { - children: - (c = e.dimensions) == null - ? void 0 - : c.map((p, f) => - I.jsxs("div", { - className: "flex items-center", - children: [ - I.jsx(y9, { msg: p.description }), - I.jsx("p", { - className: "mx-2 text-sm my-0 py-0", - children: p.name, - }), - Object.keys(p.options).map((m) => - I.jsx(u5e, { - onClick: (g) => { - g.stopPropagation(); - const E = [...n]; - (E[f] = m), r(E); - }, - selected: n[f] === m, - children: m, - }) - ), - ], - }) - ), - }), - ], - }); -} -const c5e = He.div` +`;function xP(e){var o,s,u,c;const t=zt(p=>p.config.vscMediaUrl),[n,r]=C.useState(((o=e.dimensions)==null?void 0:o.map(p=>Object.keys(p.options)[0]))||[]),[i,a]=C.useState(!1);return I.jsxs(s5e,{disabled:e.disabled||!1,color:da,hovered:i,children:[I.jsxs("div",{onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),className:"px-2 py-1",onClick:e.disabled?void 0:p=>{p.target.closest("a")||e.onClick(p,n)},children:[I.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[t&&e.icon&&I.jsx("img",{src:`${t}/logos/${e.icon}`,height:"24px",style:{marginRight:"10px"}}),I.jsx("h3",{children:e.title})]}),(s=e.tags)==null?void 0:s.map(p=>I.jsx("span",{style:{backgroundColor:`${Ec[p]}55`,color:"white",padding:"2px 4px",borderRadius:wt,marginRight:"4px"},children:p})),I.jsx("p",{children:e.description}),e.refUrl&&I.jsx("a",{style:{position:"absolute",right:"8px",top:"8px"},href:e.refUrl,target:"_blank",children:I.jsx(vi,{text:"Read the docs",children:I.jsx(hY,{width:"1.6em",height:"1.6em"})})})]}),((u=e.dimensions)==null?void 0:u.length)&&I.jsx(l5e,{children:(c=e.dimensions)==null?void 0:c.map((p,f)=>I.jsxs("div",{className:"flex items-center",children:[I.jsx(y9,{msg:p.description}),I.jsx("p",{className:"mx-2 text-sm my-0 py-0",children:p.name}),Object.keys(p.options).map(m=>I.jsx(u5e,{onClick:g=>{g.stopPropagation();const E=[...n];E[f]=m,r(E)},selected:n[f]===m,children:m}))]}))})]})}const c5e=He.div` display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-gap: 2rem; padding: 1rem; justify-items: center; align-items: center; -`; -function d5e() { - const e = cs(); - return ( - C.useContext(Ya), - us(), - I.jsxs("div", { - className: "overflow-y-scroll", - children: [ - I.jsxs("div", { - className: "items-center flex m-0 p-0 sticky top-0", - style: { - borderBottom: `0.5px solid ${vt}`, - backgroundColor: Kt, - zIndex: 2, - }, - children: [ - I.jsx(ac, { - width: "1.2em", - height: "1.2em", - onClick: () => e("/"), - className: "inline-block ml-4 cursor-pointer", - }), - I.jsx("h3", { - className: "text-lg font-bold m-2 inline-block", - children: "Select LLM Provider", - }), - ], - }), - I.jsx(c5e, { - children: Object.entries(CP).map(([t, n]) => - I.jsx(xP, { - title: n.title, - description: n.description, - tags: n.tags, - icon: n.icon, - refUrl: `https://continue.dev/docs/reference/Models/${n.class.toLowerCase()}`, - onClick: (r) => { - e(`/modelconfig/${t}`); - }, - }) - ), - }), - ], - }) - ); -} -const p5e = He.div` +`;function d5e(){const e=cs();return C.useContext(Ya),us(),I.jsxs("div",{className:"overflow-y-scroll",children:[I.jsxs("div",{className:"items-center flex m-0 p-0 sticky top-0",style:{borderBottom:`0.5px solid ${vt}`,backgroundColor:Kt,zIndex:2},children:[I.jsx(ac,{width:"1.2em",height:"1.2em",onClick:()=>e("/"),className:"inline-block ml-4 cursor-pointer"}),I.jsx("h3",{className:"text-lg font-bold m-2 inline-block",children:"Select LLM Provider"})]}),I.jsx(c5e,{children:Object.entries(CP).map(([t,n])=>I.jsx(xP,{title:n.title,description:n.description,tags:n.tags,icon:n.icon,refUrl:`https://continue.dev/docs/reference/Models/${n.class.toLowerCase()}`,onClick:r=>{e(`/modelconfig/${t}`)}}))})]})}const p5e=He.div` display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-gap: 2rem; padding: 1rem; justify-items: center; align-items: center; -`, - f5e = He.div` +`,f5e=He.div` border: 1px solid ${vt}; border-radius: ${wt}; padding: 4px 8px; @@ -81144,409 +1255,13 @@ const p5e = He.div` width: 100%; transition: all 0.5s; - ${(e) => - e.disabled - ? ` + ${e=>e.disabled?` opacity: 0.5; - ` - : ` + `:` &:hover { border: 1px solid #be1b55; background-color: #be1b5522; cursor: pointer; } `} -`; -function h5e() { - var u, c, p, f, m; - const e = SP(), - { modelName: t } = Whe(), - [n, r] = C.useState(void 0); - C.useEffect(() => { - t && r(CP[t]); - }, [t]); - const i = C.useContext(Ya); - us(); - const a = cs(), - o = zt((g) => g.config.vscMediaUrl), - s = C.useCallback(() => { - var g; - return ( - ((g = n == null ? void 0 : n.collectInputFor) == null - ? void 0 - : g.some((E) => { - if (!E.required) return !1; - const b = e.watch(E.key); - return typeof b > "u" || (typeof b == "string" && b === ""); - })) || !1 - ); - }, [n, e]); - return I.jsx(gP, { - ...e, - children: I.jsxs("div", { - className: "overflow-y-scroll", - children: [ - I.jsxs("div", { - className: "items-center flex m-0 p-0 sticky top-0", - style: { - borderBottom: `0.5px solid ${vt}`, - backgroundColor: Kt, - zIndex: 2, - }, - children: [ - I.jsx(ac, { - width: "1.2em", - height: "1.2em", - onClick: () => a("/models"), - className: "inline-block ml-4 cursor-pointer", - }), - I.jsx("h3", { - className: "text-lg font-bold m-2 inline-block", - children: "Configure Model", - }), - ], - }), - I.jsxs("div", { - className: "px-2", - children: [ - I.jsxs("div", { - style: { display: "flex", alignItems: "center" }, - children: [ - o && - (n == null ? void 0 : n.icon) && - I.jsx("img", { - src: `${o}/logos/${n == null ? void 0 : n.icon}`, - height: "24px", - style: { marginRight: "10px" }, - }), - I.jsx("h2", { children: n == null ? void 0 : n.title }), - ], - }), - (u = n == null ? void 0 : n.tags) == null - ? void 0 - : u.map((g) => - I.jsx("span", { - style: { - backgroundColor: `${Ec[g]}55`, - color: "white", - padding: "2px 4px", - borderRadius: wt, - marginRight: "4px", - }, - children: g, - }) - ), - I.jsx(pg, { - className: "mt-2", - source: - (n == null ? void 0 : n.longDescription) || - (n == null ? void 0 : n.description), - maxHeight: 200, - }), - I.jsx("br", {}), - (((c = n == null ? void 0 : n.collectInputFor) == null - ? void 0 - : c.filter((g) => g.required).length) || 0) > 0 && - I.jsxs(I.Fragment, { - children: [ - I.jsx("h3", { - className: "mb-2", - children: "Enter required parameters", - }), - (p = n == null ? void 0 : n.collectInputFor) == null - ? void 0 - : p - .filter((g) => g.required) - .map((g) => - I.jsxs("div", { - children: [ - I.jsx("label", { - htmlFor: g.key, - children: g.key, - }), - I.jsx(ng, { - type: g.inputType, - id: g.key, - className: - "border-2 border-gray-200 rounded-md p-2 m-2", - placeholder: g.key, - defaultValue: g.defaultValue, - min: g.min, - max: g.max, - step: g.step, - ...e.register(g.key, { required: !0 }), - }), - ], - }) - ), - ], - }), - (((f = n == null ? void 0 : n.collectInputFor) == null - ? void 0 - : f.filter((g) => !g.required).length) || 0) > 0 && - I.jsxs("details", { - children: [ - I.jsx("summary", { - className: "mb-2", - children: I.jsx("b", { children: "Advanced (optional)" }), - }), - (m = n == null ? void 0 : n.collectInputFor) == null - ? void 0 - : m.map((g) => - g.required - ? null - : I.jsxs("div", { - children: [ - I.jsx("label", { - htmlFor: g.key, - children: g.key, - }), - I.jsx(ng, { - type: g.inputType, - id: g.key, - className: - "border-2 border-gray-200 rounded-md p-2 m-2", - placeholder: g.key, - defaultValue: g.defaultValue, - min: g.min, - max: g.max, - step: g.step, - ...e.register(g.key, { required: !1 }), - }), - ], - }) - ), - ], - }), - I.jsx("h3", { - className: "mb-2", - children: "Select a model preset", - }), - ], - }), - I.jsxs(p5e, { - children: [ - n == null - ? void 0 - : n.packages.map((g) => - I.jsx(xP, { - disabled: s(), - title: g.title, - description: g.description, - tags: g.tags, - refUrl: g.refUrl, - icon: g.icon || n.icon, - dimensions: g.dimensions, - onClick: (E, b) => { - var v; - if (s()) return; - const T = {}; - for (const y of n.collectInputFor || []) - T[y.key] = - y.inputType === "text" - ? e.watch(y.key) - : parseFloat(e.watch(y.key)); - i == null || - i.addModelForRole("*", n.class, { - ...g.params, - ...n.params, - ...qs.merge( - {}, - ...(((v = g.dimensions) == null - ? void 0 - : v.map((y, w) => - b != null && b[w] - ? { ...y.options[b[w]] } - : {} - )) || []) - ), - ...T, - }), - a("/"); - }, - }) - ), - I.jsx(f5e, { - disabled: s(), - onClick: (g) => { - var b; - if (!n || s()) return; - const E = {}; - for (const T of n.collectInputFor || []) - E[T.key] = - T.inputType === "text" - ? e.watch(T.key) - : parseFloat(e.watch(T.key)); - i == null || - i.addModelForRole("*", n.class, { - ...((b = n.packages[0]) == null ? void 0 : b.params), - ...n.params, - ...E, - }), - a("/"); - }, - children: I.jsx("h3", { - className: "text-center my-2", - children: "Configure Model in config.py", - }), - }), - ], - }), - ], - }), - }); -} -const g5e = uge([ - { - path: "/", - element: I.jsx(pme, {}), - errorElement: I.jsx(Ame, {}), - children: [ - { path: "/index.html", element: I.jsx(qI, {}) }, - { path: "/", element: I.jsx(qI, {}) }, - { path: "/history", element: I.jsx(Cge, {}) }, - { path: "/help", element: I.jsx(YI, {}) }, - { path: "/settings", element: I.jsx(Zme, {}) }, - { path: "/models", element: I.jsx(d5e, {}) }, - { path: "/help", element: I.jsx(YI, {}) }, - { path: "/modelconfig/:modelName", element: I.jsx(h5e, {}) }, - ], - }, - ]), - Ya = C.createContext(void 0); -function m5e() { - const e = bme(!1), - t = R7(), - n = us(); - return ( - C.useEffect(() => { - const r = (i) => { - switch (i.data.type) { - case "onLoad": - n(vme(i.data.apiUrl)), - n(Eme(i.data.vscMachineId)), - n(_me(i.data.sessionId)), - n(Tme(i.data.vscMediaUrl)), - n(Sme(i.data.dataSwitchOn)), - i.data.uniqueId && (t == null || t.identify(i.data.vscMachineId)), - n(yme(i.data.workspacePaths)); - break; - case "highlightedCode": - n(rfe(i.data.rangeInFile)); - break; - case "serverStatus": - n(ife(i.data.message)); - break; - } - }; - return ( - window.addEventListener("message", r), - rl("onLoad", {}), - () => window.removeEventListener("message", r) - ); - }, []), - C.useEffect(() => { - document.body.style.getPropertyValue("--vscode-editor-foreground") && - localStorage.setItem( - "--vscode-editor-foreground", - document.body.style.getPropertyValue("--vscode-editor-foreground") - ), - document.body.style.getPropertyValue("--vscode-editor-background") && - localStorage.setItem( - "--vscode-editor-background", - document.body.style.getPropertyValue("--vscode-editor-background") - ), - document.body.style.getPropertyValue("--vscode-list-hoverBackground") && - localStorage.setItem( - "--vscode-list-hoverBackground", - document.body.style.getPropertyValue( - "--vscode-list-hoverBackground" - ) - ); - }, []), - I.jsx(Ya.Provider, { value: e, children: I.jsx(ige, { router: g5e }) }) - ); -} -const b5e = Zp({ - name: "chat", - initialState: { messages: [], isStreaming: !1 }, - reducers: { - addMessage: (e, t) => ({ ...e, messages: [...e.messages, t.payload] }), - setIsStreaming: (e, t) => ({ ...e, isStreaming: t.payload }), - streamUpdate: (e, t) => { - if (e.isStreaming) { - let n = e.messages[e.messages.length - 1]; - return n.role !== "assistant" - ? { - ...e, - messages: [ - ...e.messages, - { role: "assistant", content: t.payload }, - ], - isStreaming: !0, - } - : { - ...e, - messages: [ - ...e.messages.slice(0, e.messages.length - 1), - { ...n, content: n.content + t.payload }, - ], - isStreaming: !0, - }; - } else - return { - ...e, - messages: [ - ...e.messages, - { role: "assistant", content: t.payload }, - ], - isStreaming: !0, - }; - }, - closeStream: (e) => ({ ...e, isStreaming: !1 }), - clearChat: (e) => ({ ...e, messages: [], isStreaming: !1 }), - }, - }), - E5e = b5e.reducer, - v5e = rpe({ - reducer: { - chat: E5e, - config: wme, - misc: afe, - uiState: gpe, - serverState: nfe, - }, - }); -const y5e = ({ children: e }) => { - const t = zt((i) => { - var a, o; - return (o = - (a = i == null ? void 0 : i.serverState) == null ? void 0 : a.config) == - null - ? void 0 - : o.allow_anonymous_telemetry; - }), - [n, r] = ut.useState(void 0); - return ( - C.useEffect(() => { - t - ? (Bd.init("phc_JS6XFROuNbhJtVCEdTSYk6gl5ArRrTNMpCcguAXlSPs", { - api_host: "https://app.posthog.com", - disable_session_recording: !0, - }), - r(n)) - : r(void 0); - }, [t]), - t - ? I.jsx(W0e, { client: n, children: e }) - : I.jsx(I.Fragment, { children: e }) - ); -}; -y4.createRoot(document.getElementById("root")).render( - I.jsx(ut.StrictMode, { - children: I.jsx(qpe, { - store: v5e, - children: I.jsx(y5e, { children: I.jsx(m5e, {}) }), - }), - }) -); +`;function h5e(){var u,c,p,f,m;const e=SP(),{modelName:t}=Whe(),[n,r]=C.useState(void 0);C.useEffect(()=>{t&&r(CP[t])},[t]);const i=C.useContext(Ya);us();const a=cs(),o=zt(g=>g.config.vscMediaUrl),s=C.useCallback(()=>{var g;return((g=n==null?void 0:n.collectInputFor)==null?void 0:g.some(E=>{if(!E.required)return!1;const b=e.watch(E.key);return typeof b>"u"||typeof b=="string"&&b===""}))||!1},[n,e]);return I.jsx(gP,{...e,children:I.jsxs("div",{className:"overflow-y-scroll",children:[I.jsxs("div",{className:"items-center flex m-0 p-0 sticky top-0",style:{borderBottom:`0.5px solid ${vt}`,backgroundColor:Kt,zIndex:2},children:[I.jsx(ac,{width:"1.2em",height:"1.2em",onClick:()=>a("/models"),className:"inline-block ml-4 cursor-pointer"}),I.jsx("h3",{className:"text-lg font-bold m-2 inline-block",children:"Configure Model"})]}),I.jsxs("div",{className:"px-2",children:[I.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[o&&(n==null?void 0:n.icon)&&I.jsx("img",{src:`${o}/logos/${n==null?void 0:n.icon}`,height:"24px",style:{marginRight:"10px"}}),I.jsx("h2",{children:n==null?void 0:n.title})]}),(u=n==null?void 0:n.tags)==null?void 0:u.map(g=>I.jsx("span",{style:{backgroundColor:`${Ec[g]}55`,color:"white",padding:"2px 4px",borderRadius:wt,marginRight:"4px"},children:g})),I.jsx(pg,{className:"mt-2",source:(n==null?void 0:n.longDescription)||(n==null?void 0:n.description),maxHeight:200}),I.jsx("br",{}),(((c=n==null?void 0:n.collectInputFor)==null?void 0:c.filter(g=>g.required).length)||0)>0&&I.jsxs(I.Fragment,{children:[I.jsx("h3",{className:"mb-2",children:"Enter required parameters"}),(p=n==null?void 0:n.collectInputFor)==null?void 0:p.filter(g=>g.required).map(g=>I.jsxs("div",{children:[I.jsx("label",{htmlFor:g.key,children:g.key}),I.jsx(ng,{type:g.inputType,id:g.key,className:"border-2 border-gray-200 rounded-md p-2 m-2",placeholder:g.key,defaultValue:g.defaultValue,min:g.min,max:g.max,step:g.step,...e.register(g.key,{required:!0})})]}))]}),(((f=n==null?void 0:n.collectInputFor)==null?void 0:f.filter(g=>!g.required).length)||0)>0&&I.jsxs("details",{children:[I.jsx("summary",{className:"mb-2",children:I.jsx("b",{children:"Advanced (optional)"})}),(m=n==null?void 0:n.collectInputFor)==null?void 0:m.map(g=>g.required?null:I.jsxs("div",{children:[I.jsx("label",{htmlFor:g.key,children:g.key}),I.jsx(ng,{type:g.inputType,id:g.key,className:"border-2 border-gray-200 rounded-md p-2 m-2",placeholder:g.key,defaultValue:g.defaultValue,min:g.min,max:g.max,step:g.step,...e.register(g.key,{required:!1})})]}))]}),I.jsx("h3",{className:"mb-2",children:"Select a model preset"})]}),I.jsxs(p5e,{children:[n==null?void 0:n.packages.map(g=>I.jsx(xP,{disabled:s(),title:g.title,description:g.description,tags:g.tags,refUrl:g.refUrl,icon:g.icon||n.icon,dimensions:g.dimensions,onClick:(E,b)=>{var v;if(s())return;const T={};for(const y of n.collectInputFor||[])T[y.key]=y.inputType==="text"?e.watch(y.key):parseFloat(e.watch(y.key));i==null||i.addModelForRole("*",n.class,{...g.params,...n.params,...qs.merge({},...((v=g.dimensions)==null?void 0:v.map((y,w)=>b!=null&&b[w]?{...y.options[b[w]]}:{}))||[]),...T}),a("/")}})),I.jsx(f5e,{disabled:s(),onClick:g=>{var b;if(!n||s())return;const E={};for(const T of n.collectInputFor||[])E[T.key]=T.inputType==="text"?e.watch(T.key):parseFloat(e.watch(T.key));i==null||i.addModelForRole("*",n.class,{...(b=n.packages[0])==null?void 0:b.params,...n.params,...E}),a("/")},children:I.jsx("h3",{className:"text-center my-2",children:"Configure Model in config.py"})})]})]})})}const g5e=uge([{path:"/",element:I.jsx(pme,{}),errorElement:I.jsx(Ame,{}),children:[{path:"/index.html",element:I.jsx(qI,{})},{path:"/",element:I.jsx(qI,{})},{path:"/history",element:I.jsx(Cge,{})},{path:"/help",element:I.jsx(YI,{})},{path:"/settings",element:I.jsx(Zme,{})},{path:"/models",element:I.jsx(d5e,{})},{path:"/help",element:I.jsx(YI,{})},{path:"/modelconfig/:modelName",element:I.jsx(h5e,{})}]}]),Ya=C.createContext(void 0);function m5e(){const e=bme(!1),t=R7(),n=us();return C.useEffect(()=>{const r=i=>{switch(i.data.type){case"onLoad":n(vme(i.data.apiUrl)),n(Eme(i.data.vscMachineId)),n(_me(i.data.sessionId)),n(Tme(i.data.vscMediaUrl)),n(Sme(i.data.dataSwitchOn)),i.data.uniqueId&&(t==null||t.identify(i.data.vscMachineId)),n(yme(i.data.workspacePaths));break;case"highlightedCode":n(rfe(i.data.rangeInFile));break;case"serverStatus":n(ife(i.data.message));break}};return window.addEventListener("message",r),rl("onLoad",{}),()=>window.removeEventListener("message",r)},[]),C.useEffect(()=>{document.body.style.getPropertyValue("--vscode-editor-foreground")&&localStorage.setItem("--vscode-editor-foreground",document.body.style.getPropertyValue("--vscode-editor-foreground")),document.body.style.getPropertyValue("--vscode-editor-background")&&localStorage.setItem("--vscode-editor-background",document.body.style.getPropertyValue("--vscode-editor-background")),document.body.style.getPropertyValue("--vscode-list-hoverBackground")&&localStorage.setItem("--vscode-list-hoverBackground",document.body.style.getPropertyValue("--vscode-list-hoverBackground"))},[]),I.jsx(Ya.Provider,{value:e,children:I.jsx(ige,{router:g5e})})}const b5e=Zp({name:"chat",initialState:{messages:[],isStreaming:!1},reducers:{addMessage:(e,t)=>({...e,messages:[...e.messages,t.payload]}),setIsStreaming:(e,t)=>({...e,isStreaming:t.payload}),streamUpdate:(e,t)=>{if(e.isStreaming){let n=e.messages[e.messages.length-1];return n.role!=="assistant"?{...e,messages:[...e.messages,{role:"assistant",content:t.payload}],isStreaming:!0}:{...e,messages:[...e.messages.slice(0,e.messages.length-1),{...n,content:n.content+t.payload}],isStreaming:!0}}else return{...e,messages:[...e.messages,{role:"assistant",content:t.payload}],isStreaming:!0}},closeStream:e=>({...e,isStreaming:!1}),clearChat:e=>({...e,messages:[],isStreaming:!1})}}),E5e=b5e.reducer,v5e=rpe({reducer:{chat:E5e,config:wme,misc:afe,uiState:gpe,serverState:nfe}});const y5e=({children:e})=>{const t=zt(i=>{var a,o;return(o=(a=i==null?void 0:i.serverState)==null?void 0:a.config)==null?void 0:o.allow_anonymous_telemetry}),[n,r]=ut.useState(void 0);return C.useEffect(()=>{t?(Bd.init("phc_JS6XFROuNbhJtVCEdTSYk6gl5ArRrTNMpCcguAXlSPs",{api_host:"https://app.posthog.com",disable_session_recording:!0}),r(n)):r(void 0)},[t]),t?I.jsx(W0e,{client:n,children:e}):I.jsx(I.Fragment,{children:e})};y4.createRoot(document.getElementById("root")).render(I.jsx(ut.StrictMode,{children:I.jsx(qpe,{store:v5e,children:I.jsx(y5e,{children:I.jsx(m5e,{})})})})); diff --git a/extensions/vscode/manual-testing-sandbox/example.ts b/extensions/vscode/manual-testing-sandbox/example.ts index 0633beaf2..ad42c22d0 100644 --- a/extensions/vscode/manual-testing-sandbox/example.ts +++ b/extensions/vscode/manual-testing-sandbox/example.ts @@ -1,3 +1,3 @@ function mergeSortAlgorithm() { - // TODO: implement -} \ No newline at end of file + // TODO: implement +} diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index 1eaedb3fd..07f7dddcc 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -24,6 +24,7 @@ "request": "^2.88.2", "strip-ansi": "^7.1.0", "tailwindcss": "^3.3.2", + "uuidv4": "^6.2.13", "vscode-languageclient": "^8.0.2", "ws": "^8.13.0" }, @@ -2529,6 +2530,11 @@ "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==" }, + "node_modules/@types/uuid": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", + "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==" + }, "node_modules/@types/vscode": { "version": "1.67.0", "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.67.0.tgz", @@ -11346,11 +11352,19 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, "bin": { "uuid": "dist/bin/uuid" } }, + "node_modules/uuidv4": { + "version": "6.2.13", + "resolved": "https://registry.npmjs.org/uuidv4/-/uuidv4-6.2.13.tgz", + "integrity": "sha512-AXyzMjazYB3ovL3q051VLH06Ixj//Knx7QnUSi1T//Ie3io6CpsPu9nVMOx5MoLWh6xV0B9J0hIaxungxXUbPQ==", + "dependencies": { + "@types/uuid": "8.3.4", + "uuid": "8.3.2" + } + }, "node_modules/uvu": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/uvu/-/uvu-0.5.6.tgz", @@ -13734,6 +13748,11 @@ "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==" }, + "@types/uuid": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", + "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==" + }, "@types/vscode": { "version": "1.67.0", "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.67.0.tgz", @@ -20120,8 +20139,16 @@ "uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "uuidv4": { + "version": "6.2.13", + "resolved": "https://registry.npmjs.org/uuidv4/-/uuidv4-6.2.13.tgz", + "integrity": "sha512-AXyzMjazYB3ovL3q051VLH06Ixj//Knx7QnUSi1T//Ie3io6CpsPu9nVMOx5MoLWh6xV0B9J0hIaxungxXUbPQ==", + "requires": { + "@types/uuid": "8.3.4", + "uuid": "8.3.2" + } }, "uvu": { "version": "0.5.6", diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 4b8de4e10..9301c4bf6 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -267,6 +267,7 @@ "request": "^2.88.2", "strip-ansi": "^7.1.0", "tailwindcss": "^3.3.2", + "uuidv4": "^6.2.13", "vscode-languageclient": "^8.0.2", "ws": "^8.13.0" }, diff --git a/extensions/vscode/src/continueIdeClient.ts b/extensions/vscode/src/continueIdeClient.ts index f47f988a5..90843d12f 100644 --- a/extensions/vscode/src/continueIdeClient.ts +++ b/extensions/vscode/src/continueIdeClient.ts @@ -20,6 +20,7 @@ import { WebsocketMessenger } from "./util/messenger"; import { diffManager } from "./diffs"; const os = require("os"); const path = require("path"); +import { uuid } from "uuidv4"; const continueVirtualDocumentScheme = "continue"; @@ -68,21 +69,23 @@ class IdeProtocolClient { messenger.onError(() => { reconnect(); }); - messenger.onMessage((messageType, data, messenger) => { - this.handleMessage(messageType, data, messenger).catch((err) => { - console.log("Error handling message: ", err); - vscode.window - .showErrorMessage( - `Error handling message (${messageType}) from Continue server: ` + - err, - "View Logs" - ) - .then((selection) => { - if (selection === "View Logs") { - vscode.commands.executeCommand("continue.viewLogs"); - } - }); - }); + messenger.onMessage((messageType, data, messageId, messenger) => { + this.handleMessage(messageType, data, messageId, messenger).catch( + (err) => { + console.log("Error handling message: ", err); + vscode.window + .showErrorMessage( + `Error handling message (${messageType}) from Continue server: ` + + err, + "View Logs" + ) + .then((selection) => { + if (selection === "View Logs") { + vscode.commands.executeCommand("continue.viewLogs"); + } + }); + } + ); }); } @@ -124,20 +127,20 @@ class IdeProtocolClient { // Listen for new file creation vscode.workspace.onDidCreateFiles((event) => { const filepaths = event.files.map((file) => file.fsPath); - this.messenger?.send("filesCreated", { filepaths }); + this.messenger?.send("filesCreated", uuid(), { filepaths }); }); // Listen for file deletion vscode.workspace.onDidDeleteFiles((event) => { const filepaths = event.files.map((file) => file.fsPath); - this.messenger?.send("filesDeleted", { filepaths }); + this.messenger?.send("filesDeleted", uuid(), { filepaths }); }); // Listen for file renaming vscode.workspace.onDidRenameFiles((event) => { const oldFilepaths = event.files.map((file) => file.oldUri.fsPath); const newFilepaths = event.files.map((file) => file.newUri.fsPath); - this.messenger?.send("filesRenamed", { + this.messenger?.send("filesRenamed", uuid(), { old_filepaths: oldFilepaths, new_filepaths: newFilepaths, }); @@ -147,7 +150,7 @@ class IdeProtocolClient { vscode.workspace.onDidSaveTextDocument((event) => { const filepath = event.uri.fsPath; const contents = event.getText(); - this.messenger?.send("fileSaved", { filepath, contents }); + this.messenger?.send("fileSaved", uuid(), { filepath, contents }); }); // Setup listeners for any selection changes in open editors @@ -234,58 +237,59 @@ class IdeProtocolClient { async handleMessage( messageType: string, data: any, + messageId: string, messenger: WebsocketMessenger ) { switch (messageType) { case "highlightedCode": - messenger.send("highlightedCode", { + messenger.send("highlightedCode", messageId, { highlightedCode: this.getHighlightedCode(), }); break; case "workspaceDirectory": - messenger.send("workspaceDirectory", { + messenger.send("workspaceDirectory", messageId, { workspaceDirectory: this.getWorkspaceDirectory(), }); break; case "uniqueId": - messenger.send("uniqueId", { + messenger.send("uniqueId", messageId, { uniqueId: this.getUniqueId(), }); break; case "ide": - messenger.send("ide", { + messenger.send("ide", messageId, { name: "vscode", version: vscode.version, remoteName: vscode.env.remoteName, }); break; case "fileExists": - messenger.send("fileExists", { + messenger.send("fileExists", messageId, { exists: await this.fileExists(data.filepath), }); break; case "getUserSecret": - messenger.send("getUserSecret", { + messenger.send("getUserSecret", messageId, { value: await this.getUserSecret(data.key), }); break; case "openFiles": - messenger.send("openFiles", { + messenger.send("openFiles", messageId, { openFiles: this.getOpenFiles(), }); break; case "visibleFiles": - messenger.send("visibleFiles", { + messenger.send("visibleFiles", messageId, { visibleFiles: this.getVisibleFiles(), }); break; case "readFile": - messenger.send("readFile", { + messenger.send("readFile", messageId, { contents: await this.readFile(data.filepath), }); break; case "getTerminalContents": - messenger.send("getTerminalContents", { + messenger.send("getTerminalContents", messageId, { contents: await this.getTerminalContents(data.commands), }); break; @@ -300,13 +304,13 @@ class IdeProtocolClient { console.log("Error listing directory contents: ", e); contents = []; } - messenger.send("listDirectoryContents", { + messenger.send("listDirectoryContents", messageId, { contents, }); break; case "editFile": const fileEdit = await this.editFile(data.edit); - messenger.send("editFile", { + messenger.send("editFile", messageId, { fileEdit, }); break; @@ -314,7 +318,7 @@ class IdeProtocolClient { this.highlightCode(data.rangeInFile, data.color); break; case "runCommand": - messenger.send("runCommand", { + messenger.send("runCommand", messageId, { output: await this.runCommand(data.command), }); break; @@ -429,7 +433,7 @@ class IdeProtocolClient { } async setTelemetryEnabled(enabled: boolean) { - this.messenger?.send("setTelemetryEnabled", { enabled }); + this.messenger?.send("setTelemetryEnabled", uuid(), { enabled }); } async showDiff(filepath: string, replacement: string, step_index: number) { @@ -509,7 +513,11 @@ class IdeProtocolClient { }, 1000); }); console.log("Getting session ID"); - const resp = await this.messenger?.sendAndReceive("getSessionId", {}); + const resp = await this.messenger?.sendAndReceive( + "getSessionId", + uuid(), + {} + ); console.log("New Continue session with ID: ", resp.sessionId); this.sessionId = resp.sessionId; return resp.sessionId; @@ -729,35 +737,38 @@ class IdeProtocolClient { } sendCommandOutput(output: string) { - this.messenger?.send("commandOutput", { output }); + this.messenger?.send("commandOutput", uuid(), { output }); } sendHighlightedCode( highlightedCode: (RangeInFile & { contents: string })[], edit?: boolean ) { - this.messenger?.send("highlightedCodePush", { highlightedCode, edit }); + this.messenger?.send("highlightedCodePush", uuid(), { + highlightedCode, + edit, + }); } sendAcceptRejectSuggestion(accepted: boolean) { - this.messenger?.send("acceptRejectSuggestion", { accepted }); + this.messenger?.send("acceptRejectSuggestion", uuid(), { accepted }); } sendAcceptRejectDiff(accepted: boolean, stepIndex: number) { - this.messenger?.send("acceptRejectDiff", { accepted, stepIndex }); + this.messenger?.send("acceptRejectDiff", uuid(), { accepted, stepIndex }); } sendMainUserInput(input: string) { - this.messenger?.send("mainUserInput", { input }); + this.messenger?.send("mainUserInput", uuid(), { input }); } async debugTerminal() { const contents = await this.getTerminalContents(); - this.messenger?.send("debugTerminal", { contents }); + this.messenger?.send("debugTerminal", uuid(), { contents }); } deleteAtIndex(index: number) { - this.messenger?.send("deleteAtIndex", { index }); + this.messenger?.send("deleteAtIndex", uuid(), { index }); } } diff --git a/extensions/vscode/src/util/messenger.ts b/extensions/vscode/src/util/messenger.ts index 3e17896cd..76ac8d19d 100644 --- a/extensions/vscode/src/util/messenger.ts +++ b/extensions/vscode/src/util/messenger.ts @@ -1,14 +1,16 @@ const WebSocket = require("ws"); export abstract class Messenger { - abstract send(messageType: string, data: object): void; + abstract send(messageType: string, messageId: string, data: object): void; abstract onMessageType( messageType: string, callback: (data: object) => void ): void; - abstract onMessage(callback: (messageType: string, data: any) => void): void; + abstract onMessage( + callback: (messageType: string, messageId: string, data: any) => void + ): void; abstract onOpen(callback: () => void): void; @@ -16,7 +18,11 @@ export abstract class Messenger { abstract onError(callback: () => void): void; - abstract sendAndReceive(messageType: string, data: any): Promise; + abstract sendAndReceive( + messageType: string, + messageId: string, + data: any + ): Promise; abstract close(): void; } @@ -55,14 +61,16 @@ export class WebsocketMessenger extends Messenger { } } - newWebsocket.addEventListener("open", () => console.log("Websocket connection opened")); + newWebsocket.addEventListener("open", () => + console.log("Websocket connection opened") + ); newWebsocket.addEventListener("error", (error: any) => { console.error("Websocket error occurred: ", error); }); newWebsocket.addEventListener("close", (error: any) => { console.log("Websocket connection closed: ", error); }); - + return newWebsocket; } @@ -111,8 +119,8 @@ export class WebsocketMessenger extends Messenger { // }, 1000); } - send(messageType: string, data: object) { - const payload = JSON.stringify({ messageType, data }); + send(messageType: string, messageId: string, data: object) { + const payload = JSON.stringify({ messageType, data, messageId }); if (this.websocket.readyState === this.websocket.OPEN) { this.websocket.send(payload); } else { @@ -125,7 +133,11 @@ export class WebsocketMessenger extends Messenger { } } - sendAndReceive(messageType: string, data: any): Promise { + sendAndReceive( + messageType: string, + messageId: string, + data: any + ): Promise { return new Promise((resolve, reject) => { const eventListener = (data: any) => { // THIS ISN"T GETTING CALLED @@ -133,7 +145,7 @@ export class WebsocketMessenger extends Messenger { this.websocket.removeEventListener("message", eventListener); }; this.onMessageType(messageType, eventListener); - this.send(messageType, data); + this.send(messageType, messageId, data); }); } @@ -150,12 +162,13 @@ export class WebsocketMessenger extends Messenger { callback: ( messageType: string, data: any, + messageId: string, messenger: WebsocketMessenger ) => void ): void { this.websocket.addEventListener("message", (event) => { const msg = JSON.parse(event.data); - callback(msg.messageType, msg.data, this); + callback(msg.messageType, msg.data, msg.messageId, this); }); } diff --git a/server/continuedev/core/autopilot.py b/server/continuedev/core/autopilot.py index df696a6d8..092054781 100644 --- a/server/continuedev/core/autopilot.py +++ b/server/continuedev/core/autopilot.py @@ -108,7 +108,6 @@ class Autopilot(ContinueBaseModel): self.policy = override_policy # Load documents into the search index - logger.debug("Starting context manager") await self.context_manager.start( self.continue_sdk.config.context_providers + [ diff --git a/server/continuedev/core/context.py b/server/continuedev/core/context.py index 01a234455..da024c5e2 100644 --- a/server/continuedev/core/context.py +++ b/server/continuedev/core/context.py @@ -304,11 +304,11 @@ class ContextManager: ) return - logger.debug("Loading Meilisearch index...") + ti = time.time() await self.load_index( sdk.ide.workspace_directory, providers_to_load=providers_to_load ) - logger.debug("Loaded Meilisearch index") + logger.info(f"Loaded Meilisearch index in {time.time() - ti:.3f} seconds") providers_to_load = ( new_context_providers if only_reloading else context_providers @@ -420,9 +420,9 @@ class ContextManager: return tf = time.time() - logger.debug( - f"Loaded {num_documents} documents into meilisearch in {tf - ti} seconds for context provider {provider.title}" - ) + # logger.info( + # f"Loaded {num_documents} documents into meilisearch in {tf - ti} seconds for context provider {provider.title}" + # ) tasks = [ safe_load(provider) diff --git a/server/continuedev/core/sdk.py b/server/continuedev/core/sdk.py index ffb545dca..47265fd09 100644 --- a/server/continuedev/core/sdk.py +++ b/server/continuedev/core/sdk.py @@ -254,8 +254,6 @@ class ContinueSDK(AbstractContinueSDK): config = ContinueConfig.from_filepath(path) self._last_valid_config = config - logger.debug("Loaded Continue config file from %s", path) - return config except ModuleNotFoundError as e: if not retry: diff --git a/server/continuedev/headless/headless_ide.py b/server/continuedev/headless/headless_ide.py index 088da2c99..cbffb6441 100644 --- a/server/continuedev/headless/headless_ide.py +++ b/server/continuedev/headless/headless_ide.py @@ -60,10 +60,6 @@ class LocalIdeProtocol(AbstractIdeProtocolServer): """Get a new session ID""" pass - async def showSuggestionsAndWait(self, suggestions: List[FileEdit]) -> bool: - """Show suggestions to the user and wait for a response""" - pass - def onAcceptRejectSuggestion(self, accepted: bool): """Called when the user accepts or rejects a suggestion""" pass diff --git a/server/continuedev/libs/util/logging.py b/server/continuedev/libs/util/logging.py index a4dc3562b..a4c6c3d97 100644 --- a/server/continuedev/libs/util/logging.py +++ b/server/continuedev/libs/util/logging.py @@ -34,6 +34,7 @@ console_handler.setLevel(logging.DEBUG) # Create a formatter formatter = logging.Formatter("[%(asctime)s] [%(levelname)s] %(message)s") +formatter.datefmt = "%Y-%m-%d %H:%M:%S" # Add the formatter to the handlers file_handler.setFormatter(formatter) @@ -42,6 +43,3 @@ console_handler.setFormatter(formatter) # Add the handlers to the logger logger.addHandler(file_handler) logger.addHandler(console_handler) - -# Log a test message -logger.debug("------ Begin Logs ------") diff --git a/server/continuedev/libs/util/queue.py b/server/continuedev/libs/util/queue.py index e1f98cc64..87db59988 100644 --- a/server/continuedev/libs/util/queue.py +++ b/server/continuedev/libs/util/queue.py @@ -3,7 +3,6 @@ from typing import Dict class AsyncSubscriptionQueue: - # The correct way to do this is probably to keep request IDs queues: Dict[str, asyncio.Queue] = {} def post(self, messageType: str, data: any): @@ -15,3 +14,7 @@ class AsyncSubscriptionQueue: if message_type not in self.queues: self.queues.update({message_type: asyncio.Queue()}) return await self.queues[message_type].get() + + async def delete(self, message_type: str): + if message_type in self.queues: + del self.queues[message_type] diff --git a/server/continuedev/libs/util/telemetry.py b/server/continuedev/libs/util/telemetry.py index 09815fa92..90ffec44e 100644 --- a/server/continuedev/libs/util/telemetry.py +++ b/server/continuedev/libs/util/telemetry.py @@ -54,19 +54,6 @@ class PostHogLogger: _found_disconnected: bool = False def _capture_event(self, event_name: str, event_properties: Any): - # logger.debug( - # f"Logging to PostHog: {event_name} ({self.unique_id}, {self.allow_anonymous_telemetry}): {event_properties}") - telemetry_path = os.path.expanduser("~/.continue/telemetry.log") - - # Make sure the telemetry file exists - if not os.path.exists(telemetry_path): - os.makedirs(os.path.dirname(telemetry_path), exist_ok=True) - open(telemetry_path, "w").close() - - with open(telemetry_path, "a") as f: - str_to_write = f"{event_name}: {event_properties}\n{self.unique_id}\n{self.allow_anonymous_telemetry}\n\n" - f.write(str_to_write) - if not self.allow_anonymous_telemetry: return diff --git a/server/continuedev/plugins/context_providers/file.py b/server/continuedev/plugins/context_providers/file.py index 6f3104579..64cf82ad2 100644 --- a/server/continuedev/plugins/context_providers/file.py +++ b/server/continuedev/plugins/context_providers/file.py @@ -137,7 +137,7 @@ class FileContextProvider(ContextProvider): ) i += 100 - asyncio.sleep(0.1) + await asyncio.sleep(0.1) items = list(filter(lambda item: item is not None, items)) diff --git a/server/continuedev/server/gui.py b/server/continuedev/server/gui.py index b613d91ba..c2c8ea7b4 100644 --- a/server/continuedev/server/gui.py +++ b/server/continuedev/server/gui.py @@ -2,6 +2,7 @@ import asyncio import json import traceback from typing import Any, List, Optional, Type, TypeVar +import uuid from ..plugins.steps.setup_model import SetupModelStep from fastapi import APIRouter, Depends, WebSocket @@ -67,24 +68,36 @@ class GUIProtocolServer: def __init__(self, session: Session): self.session = session - async def _send_json(self, message_type: str, data: Any): + async def _send_json( + self, message_type: str, data: Any, message_id: Optional[str] = None + ): if self.websocket.application_state == WebSocketState.DISCONNECTED: - return - await self.websocket.send_json({"messageType": message_type, "data": data}) + return message_id - async def _receive_json(self, message_type: str, timeout: int = 20) -> Any: + message_id = message_id or uuid.uuid4().hex + await self.websocket.send_json( + {"messageType": message_type, "data": data, "messageId": message_id} + ) + return message_id + + async def _receive_json(self, message_id: str, timeout: int = 20) -> Any: try: - return await asyncio.wait_for( - self.sub_queue.get(message_type), timeout=timeout + resp = await asyncio.wait_for( + self.sub_queue.get(message_id), timeout=timeout ) except asyncio.TimeoutError: raise Exception("GUI Protocol _receive_json timed out after 20 seconds") + finally: + await self.sub_queue.delete(message_id) + + return resp async def _send_and_receive_json( self, data: Any, resp_model: Type[T], message_type: str ) -> T: - await self._send_json(message_type, data) - resp = await self._receive_json(message_type) + message_id = uuid.uuid4().hex + await self._send_json(message_type, data, message_id=message_id) + resp = await self._receive_json(message_id) return resp_model.parse_obj(resp) def on_error(self, e: Exception): @@ -463,10 +476,8 @@ async def websocket_endpoint( websocket: WebSocket, session: Session = Depends(websocket_session) ): try: - logger.debug(f"Received websocket connection at url: {websocket.url}") await websocket.accept() - logger.debug("Session started") session_manager.register_websocket(session.session_id, websocket) protocol = GUIProtocolServer(session) protocol.websocket = websocket @@ -476,16 +487,18 @@ async def websocket_endpoint( while AppStatus.should_exit is False: message = await websocket.receive_text() - logger.debug(f"Received GUI message {message}") if isinstance(message, str): message = json.loads(message) if "messageType" not in message or "data" not in message: + logger.warning(f"Invalid message received: {message}") continue # :o message_type = message["messageType"] data = message["data"] + logger.debug(f"Received '{message_type}': {data}") protocol.handle_json(message_type, data) + except WebSocketDisconnect: logger.debug("GUI websocket disconnected") except Exception as e: diff --git a/server/continuedev/server/ide.py b/server/continuedev/server/ide.py index fc63ac13a..5cbc87d31 100644 --- a/server/continuedev/server/ide.py +++ b/server/continuedev/server/ide.py @@ -176,9 +176,7 @@ class IdeProtocolServer(AbstractIdeProtocolServer): continue # <-- hey that's the name of this repo! message_type = message["messageType"] data = message["data"] - logger.debug(f"Received message while initializing {message_type}") - logger.debug(data) - logger.debug(message) + if message_type == "workspaceDirectory": self.workspace_directory = data["workspaceDirectory"] elif message_type == "uniqueId": @@ -193,7 +191,9 @@ class IdeProtocolServer(AbstractIdeProtocolServer): return other_msgs - async def _send_json(self, message_type: str, data: Any): + async def _send_json( + self, message_type: str, data: Any, message_id: Optional[str] = None + ) -> Optional[str]: # TODO: You breakpointed here, set it to disconnected, and then saw # that even after reloading, it couldn't connect the server. # Is this because there is an IDE registered without a websocket? @@ -205,20 +205,28 @@ class IdeProtocolServer(AbstractIdeProtocolServer): ) return # logger.debug(f"Sending IDE message: {message_type}") - await self.websocket.send_json({"messageType": message_type, "data": data}) + message_id = message_id or uuid.uuid4().hex + await self.websocket.send_json( + {"messageType": message_type, "data": data, "messageId": message_id} + ) + return message_id except RuntimeError as e: logger.warning(f"Error sending IDE message, websocket probably closed: {e}") + return message_id - async def _receive_json(self, message_type: str, message=None) -> Any: - return await self.sub_queue.get(message_type) + async def _receive_json(self, message_id: str, message=None) -> Any: + resp = await self.sub_queue.get(message_id) + await self.sub_queue.delete(message_id) + return resp async def _send_and_receive_json( self, data: Any, resp_model: Type[T], message_type: str ) -> T: async def try_with_timeout(timeout: int): - await self._send_json(message_type, data) + message_id = uuid.uuid4().hex + await self._send_json(message_type, data, message_id=message_id) resp = await asyncio.wait_for( - self._receive_json(message_type, message=data), timeout=timeout + self._receive_json(message_id, message=data), timeout=timeout ) return resp_model.parse_obj(resp) @@ -234,7 +242,7 @@ class IdeProtocolServer(AbstractIdeProtocolServer): message=f"IDE Protocol _receive_json timed out. The message sent was: {message or ''}", ) - async def handle_json(self, message_type: str, data: Any): + async def handle_json(self, message_type: str, data: Any, message_id: str): if message_type == "getSessionId": await self.getSessionId() elif message_type == "setFileOpen": @@ -277,7 +285,7 @@ class IdeProtocolServer(AbstractIdeProtocolServer): "listDirectoryContents", "fileExists", ]: - self.sub_queue.post(message_type, data) + self.sub_queue.post(message_id, data) elif message_type == "workspaceDirectory": self.workspace_directory = data["workspaceDirectory"] elif message_type == "uniqueId": @@ -342,7 +350,6 @@ class IdeProtocolServer(AbstractIdeProtocolServer): self.session_manager.new_session(self, self.session_id), timeout=5 ) session_id = new_session.session_id - logger.debug(f"Sending session id: {session_id}") await self._send_json("getSessionId", {"sessionId": session_id}) async def highlightCode(self, range_in_file: RangeInFile, color: str = "#00ff0022"): @@ -357,21 +364,6 @@ class IdeProtocolServer(AbstractIdeProtocolServer): ) ).output - async def showSuggestionsAndWait(self, suggestions: List[FileEdit]) -> bool: - ids = [str(uuid.uuid4()) for _ in suggestions] - for i in range(len(suggestions)): - self._send_json( - "showSuggestion", {"suggestion": suggestions[i], "suggestionId": ids[i]} - ) - responses = await asyncio.gather( - *[ - self._receive_json(ShowSuggestionResponse) - for i in range(len(suggestions)) - ] - ) # WORKING ON THIS FLOW HERE. Fine now to just await for response, instead of doing something fancy with a "waiting" state on the autopilot. - # Just need connect the suggestionId to the IDE (and the gui) - return any([r.accepted for r in responses]) - def on_error(self, e: Exception) -> Coroutine: err_msg = "\n".join(traceback.format_exception(e)) e_title = e.__str__() or e.__repr__() @@ -632,8 +624,9 @@ async def websocket_endpoint(websocket: WebSocket, session_id: str = None): try: # Accept the websocket connection await websocket.accept() - logger.debug(f"Accepted websocket connection from {websocket.client}") - await websocket.send_json({"messageType": "connected", "data": {}}) + await websocket.send_json( + {"messageType": "connected", "data": {}, "messageId": uuid.uuid4().hex} + ) # Message handler def handle_msg(msg): @@ -643,14 +636,19 @@ async def websocket_endpoint(websocket: WebSocket, session_id: str = None): logger.critical(f"Error decoding json: {msg}") return - if "messageType" not in message or "data" not in message: + if ( + "messageType" not in message + or "data" not in message + or "messageId" not in message + ): return message_type = message["messageType"] + message_id = message["messageId"] data = message["data"] # logger.debug(f"Received IDE message: {message_type}") create_async_task( - ideProtocolServer.handle_json(message_type, data), + ideProtocolServer.handle_json(message_type, data, message_id), ideProtocolServer.on_error, ) @@ -659,13 +657,8 @@ async def websocket_endpoint(websocket: WebSocket, session_id: str = None): if session_id is not None: session_manager.registered_ides[session_id] = ideProtocolServer other_msgs = await ideProtocolServer.initialize(session_id) - logger.debug(other_msgs) - # posthog_logger.capture_event( - # "session_started", {"session_id": ideProtocolServer.session_id} - # ) for other_msg in other_msgs: - logger.debug("processing....:") handle_msg(other_msg) # Handle messages diff --git a/server/continuedev/server/ide_protocol.py b/server/continuedev/server/ide_protocol.py index 832dd338d..5af2a9d43 100644 --- a/server/continuedev/server/ide_protocol.py +++ b/server/continuedev/server/ide_protocol.py @@ -40,10 +40,6 @@ class AbstractIdeProtocolServer(ABC): async def getSessionId(self): """Get a new session ID""" - @abstractmethod - async def showSuggestionsAndWait(self, suggestions: List[FileEdit]) -> bool: - """Show suggestions to the user and wait for a response""" - @abstractmethod def onAcceptRejectSuggestion(self, accepted: bool): """Called when the user accepts or rejects a suggestion""" diff --git a/server/continuedev/server/meilisearch_server.py b/server/continuedev/server/meilisearch_server.py index 87bc4d48d..544d6182f 100644 --- a/server/continuedev/server/meilisearch_server.py +++ b/server/continuedev/server/meilisearch_server.py @@ -160,7 +160,7 @@ async def start_meilisearch(url: Optional[str] = None): shell=True, ) - logger.debug("Meilisearch started") + logger.info(f"Meilisearch started at {meilisearch_url}") def stop_meilisearch(): diff --git a/server/continuedev/server/session_manager.py b/server/continuedev/server/session_manager.py index 62b2b3232..66b88af0e 100644 --- a/server/continuedev/server/session_manager.py +++ b/server/continuedev/server/session_manager.py @@ -63,8 +63,6 @@ class SessionManager: session_id: Optional[str] = None, config: Optional[ContinueConfig] = None, ) -> Session: - logger.debug(f"New session: {session_id}") - # Load the persisted state (not being used right now) full_state = None if session_id is not None and os.path.exists(getSessionFilePath(session_id)): @@ -98,10 +96,17 @@ class SessionManager: return ide.showMessage(f"Error in Continue server: {err_msg}") create_async_task(autopilot.run_policy(), on_error) + + session_info = { + "session_id": session_id, + "workspace_directory": ide.workspace_directory, + } + logger.info(f"New session: {json.dumps(session_info, indent=2)}") + return session async def remove_session(self, session_id: str): - logger.debug(f"Removing session: {session_id}") + logger.info(f"Removing session: {session_id}") if session_id in self.sessions: if ( session_id in self.registered_ides @@ -111,7 +116,7 @@ class SessionManager: if ( ws_to_close is not None and ws_to_close.client_state != WebSocketState.DISCONNECTED - and ws_to_close.application_state != WebSocketState.DISCONNECTED + and ws_to_close.application_state != WebSocketState.DISCONNECTED ): await self.sessions[session_id].autopilot.ide.websocket.close() @@ -164,7 +169,6 @@ class SessionManager: def register_websocket(self, session_id: str, ws: WebSocket): self.sessions[session_id].ws = ws - logger.debug(f"Registered websocket for session {session_id}") async def send_ws_data(self, session_id: str, message_type: str, data: Any): if session_id not in self.sessions: @@ -174,9 +178,12 @@ class SessionManager: return ws = self.sessions[session_id].ws - if ws.client_state != WebSocketState.DISCONNECTED and ws.application_state != WebSocketState.DISCONNECTED: + if ( + ws.client_state != WebSocketState.DISCONNECTED + and ws.application_state != WebSocketState.DISCONNECTED + ): await ws.send_json( - {"messageType": message_type, "data": data} + {"messageType": message_type, "data": data, "messageId": uuid4().hex} )